public final class FabricNodeOUs extends com.google.protobuf.GeneratedMessageV3 implements FabricNodeOUsOrBuilder
FabricNodeOUs contains configuration to tell apart clients from peers from orderers based on OUs. If NodeOUs recognition is enabled then an msp identity that does not contain any of the specified OU will be considered invalid.Protobuf type
msp.FabricNodeOUs
Modifier and Type | Class and Description |
---|---|
static class |
FabricNodeOUs.Builder
FabricNodeOUs contains configuration to tell apart clients from peers from orderers
based on OUs.
|
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
ADMIN_OU_IDENTIFIER_FIELD_NUMBER |
static int |
CLIENT_OU_IDENTIFIER_FIELD_NUMBER |
static int |
ENABLE_FIELD_NUMBER |
static int |
ORDERER_OU_IDENTIFIER_FIELD_NUMBER |
static int |
PEER_OU_IDENTIFIER_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
FabricOUIdentifier |
getAdminOuIdentifier()
OU Identifier of the admins
|
FabricOUIdentifierOrBuilder |
getAdminOuIdentifierOrBuilder()
OU Identifier of the admins
|
FabricOUIdentifier |
getClientOuIdentifier()
OU Identifier of the clients
|
FabricOUIdentifierOrBuilder |
getClientOuIdentifierOrBuilder()
OU Identifier of the clients
|
static FabricNodeOUs |
getDefaultInstance() |
FabricNodeOUs |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnable()
If true then an msp identity that does not contain any of the specified OU will be considered invalid.
|
FabricOUIdentifier |
getOrdererOuIdentifier()
OU Identifier of the orderers
|
FabricOUIdentifierOrBuilder |
getOrdererOuIdentifierOrBuilder()
OU Identifier of the orderers
|
com.google.protobuf.Parser<FabricNodeOUs> |
getParserForType() |
FabricOUIdentifier |
getPeerOuIdentifier()
OU Identifier of the peers
|
FabricOUIdentifierOrBuilder |
getPeerOuIdentifierOrBuilder()
OU Identifier of the peers
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAdminOuIdentifier()
OU Identifier of the admins
|
boolean |
hasClientOuIdentifier()
OU Identifier of the clients
|
int |
hashCode() |
boolean |
hasOrdererOuIdentifier()
OU Identifier of the orderers
|
boolean |
hasPeerOuIdentifier()
OU Identifier of the peers
|
boolean |
isInitialized() |
static FabricNodeOUs.Builder |
newBuilder() |
static FabricNodeOUs.Builder |
newBuilder(FabricNodeOUs prototype) |
FabricNodeOUs.Builder |
newBuilderForType() |
static FabricNodeOUs |
parseDelimitedFrom(InputStream input) |
static FabricNodeOUs |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FabricNodeOUs |
parseFrom(byte[] data) |
static FabricNodeOUs |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FabricNodeOUs |
parseFrom(ByteBuffer data) |
static FabricNodeOUs |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FabricNodeOUs |
parseFrom(com.google.protobuf.ByteString data) |
static FabricNodeOUs |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FabricNodeOUs |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FabricNodeOUs |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FabricNodeOUs |
parseFrom(InputStream input) |
static FabricNodeOUs |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FabricNodeOUs> |
parser() |
FabricNodeOUs.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
findInitializationErrors, getInitializationErrorString, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int ENABLE_FIELD_NUMBER
public static final int CLIENT_OU_IDENTIFIER_FIELD_NUMBER
public static final int PEER_OU_IDENTIFIER_FIELD_NUMBER
public static final int ADMIN_OU_IDENTIFIER_FIELD_NUMBER
public static final int ORDERER_OU_IDENTIFIER_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public boolean getEnable()
If true then an msp identity that does not contain any of the specified OU will be considered invalid.
bool enable = 1 [json_name = "enable"];
getEnable
in interface FabricNodeOUsOrBuilder
public boolean hasClientOuIdentifier()
OU Identifier of the clients
.msp.FabricOUIdentifier client_ou_identifier = 2 [json_name = "clientOuIdentifier"];
hasClientOuIdentifier
in interface FabricNodeOUsOrBuilder
public FabricOUIdentifier getClientOuIdentifier()
OU Identifier of the clients
.msp.FabricOUIdentifier client_ou_identifier = 2 [json_name = "clientOuIdentifier"];
getClientOuIdentifier
in interface FabricNodeOUsOrBuilder
public FabricOUIdentifierOrBuilder getClientOuIdentifierOrBuilder()
OU Identifier of the clients
.msp.FabricOUIdentifier client_ou_identifier = 2 [json_name = "clientOuIdentifier"];
getClientOuIdentifierOrBuilder
in interface FabricNodeOUsOrBuilder
public boolean hasPeerOuIdentifier()
OU Identifier of the peers
.msp.FabricOUIdentifier peer_ou_identifier = 3 [json_name = "peerOuIdentifier"];
hasPeerOuIdentifier
in interface FabricNodeOUsOrBuilder
public FabricOUIdentifier getPeerOuIdentifier()
OU Identifier of the peers
.msp.FabricOUIdentifier peer_ou_identifier = 3 [json_name = "peerOuIdentifier"];
getPeerOuIdentifier
in interface FabricNodeOUsOrBuilder
public FabricOUIdentifierOrBuilder getPeerOuIdentifierOrBuilder()
OU Identifier of the peers
.msp.FabricOUIdentifier peer_ou_identifier = 3 [json_name = "peerOuIdentifier"];
getPeerOuIdentifierOrBuilder
in interface FabricNodeOUsOrBuilder
public boolean hasAdminOuIdentifier()
OU Identifier of the admins
.msp.FabricOUIdentifier admin_ou_identifier = 4 [json_name = "adminOuIdentifier"];
hasAdminOuIdentifier
in interface FabricNodeOUsOrBuilder
public FabricOUIdentifier getAdminOuIdentifier()
OU Identifier of the admins
.msp.FabricOUIdentifier admin_ou_identifier = 4 [json_name = "adminOuIdentifier"];
getAdminOuIdentifier
in interface FabricNodeOUsOrBuilder
public FabricOUIdentifierOrBuilder getAdminOuIdentifierOrBuilder()
OU Identifier of the admins
.msp.FabricOUIdentifier admin_ou_identifier = 4 [json_name = "adminOuIdentifier"];
getAdminOuIdentifierOrBuilder
in interface FabricNodeOUsOrBuilder
public boolean hasOrdererOuIdentifier()
OU Identifier of the orderers
.msp.FabricOUIdentifier orderer_ou_identifier = 5 [json_name = "ordererOuIdentifier"];
hasOrdererOuIdentifier
in interface FabricNodeOUsOrBuilder
public FabricOUIdentifier getOrdererOuIdentifier()
OU Identifier of the orderers
.msp.FabricOUIdentifier orderer_ou_identifier = 5 [json_name = "ordererOuIdentifier"];
getOrdererOuIdentifier
in interface FabricNodeOUsOrBuilder
public FabricOUIdentifierOrBuilder getOrdererOuIdentifierOrBuilder()
OU Identifier of the orderers
.msp.FabricOUIdentifier orderer_ou_identifier = 5 [json_name = "ordererOuIdentifier"];
getOrdererOuIdentifierOrBuilder
in interface FabricNodeOUsOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static FabricNodeOUs parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FabricNodeOUs parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FabricNodeOUs parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FabricNodeOUs parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FabricNodeOUs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FabricNodeOUs parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FabricNodeOUs parseFrom(InputStream input) throws IOException
IOException
public static FabricNodeOUs parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FabricNodeOUs parseDelimitedFrom(InputStream input) throws IOException
IOException
public static FabricNodeOUs parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FabricNodeOUs parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static FabricNodeOUs parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public FabricNodeOUs.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static FabricNodeOUs.Builder newBuilder()
public static FabricNodeOUs.Builder newBuilder(FabricNodeOUs prototype)
public FabricNodeOUs.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public static FabricNodeOUs getDefaultInstance()
public static com.google.protobuf.Parser<FabricNodeOUs> parser()
public com.google.protobuf.Parser<FabricNodeOUs> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public FabricNodeOUs getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.