public static final class OrganizationUnit.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OrganizationUnit.Builder> implements OrganizationUnitOrBuilder
OrganizationUnit governs the organization of the Principal field of a policy principal when a specific organization unity members are to be defined within a policy principal.Protobuf type
common.OrganizationUnit
Modifier and Type | Method and Description |
---|---|
OrganizationUnit.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OrganizationUnit |
build() |
OrganizationUnit |
buildPartial() |
OrganizationUnit.Builder |
clear() |
OrganizationUnit.Builder |
clearCertifiersIdentifier()
CertifiersIdentifier is the hash of certificates chain of trust
related to this organizational unit
|
OrganizationUnit.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OrganizationUnit.Builder |
clearMspIdentifier()
MSPIdentifier represents the identifier of the MSP this organization unit
refers to
|
OrganizationUnit.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OrganizationUnit.Builder |
clearOrganizationalUnitIdentifier()
OrganizationUnitIdentifier defines the organizational unit under the
MSP identified with MSPIdentifier
|
OrganizationUnit.Builder |
clone() |
com.google.protobuf.ByteString |
getCertifiersIdentifier()
CertifiersIdentifier is the hash of certificates chain of trust
related to this organizational unit
|
OrganizationUnit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMspIdentifier()
MSPIdentifier represents the identifier of the MSP this organization unit
refers to
|
com.google.protobuf.ByteString |
getMspIdentifierBytes()
MSPIdentifier represents the identifier of the MSP this organization unit
refers to
|
String |
getOrganizationalUnitIdentifier()
OrganizationUnitIdentifier defines the organizational unit under the
MSP identified with MSPIdentifier
|
com.google.protobuf.ByteString |
getOrganizationalUnitIdentifierBytes()
OrganizationUnitIdentifier defines the organizational unit under the
MSP identified with MSPIdentifier
|
boolean |
isInitialized() |
OrganizationUnit.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OrganizationUnit.Builder |
mergeFrom(com.google.protobuf.Message other) |
OrganizationUnit.Builder |
mergeFrom(OrganizationUnit other) |
OrganizationUnit.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OrganizationUnit.Builder |
setCertifiersIdentifier(com.google.protobuf.ByteString value)
CertifiersIdentifier is the hash of certificates chain of trust
related to this organizational unit
|
OrganizationUnit.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OrganizationUnit.Builder |
setMspIdentifier(String value)
MSPIdentifier represents the identifier of the MSP this organization unit
refers to
|
OrganizationUnit.Builder |
setMspIdentifierBytes(com.google.protobuf.ByteString value)
MSPIdentifier represents the identifier of the MSP this organization unit
refers to
|
OrganizationUnit.Builder |
setOrganizationalUnitIdentifier(String value)
OrganizationUnitIdentifier defines the organizational unit under the
MSP identified with MSPIdentifier
|
OrganizationUnit.Builder |
setOrganizationalUnitIdentifierBytes(com.google.protobuf.ByteString value)
OrganizationUnitIdentifier defines the organizational unit under the
MSP identified with MSPIdentifier
|
OrganizationUnit.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OrganizationUnit.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public OrganizationUnit.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<OrganizationUnit.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<OrganizationUnit.Builder>
public OrganizationUnit getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public OrganizationUnit build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public OrganizationUnit buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public OrganizationUnit.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<OrganizationUnit.Builder>
public OrganizationUnit.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<OrganizationUnit.Builder>
public OrganizationUnit.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<OrganizationUnit.Builder>
public OrganizationUnit.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<OrganizationUnit.Builder>
public OrganizationUnit.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<OrganizationUnit.Builder>
public OrganizationUnit.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<OrganizationUnit.Builder>
public OrganizationUnit.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<OrganizationUnit.Builder>
public OrganizationUnit.Builder mergeFrom(OrganizationUnit other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<OrganizationUnit.Builder>
public OrganizationUnit.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<OrganizationUnit.Builder>
IOException
public String getMspIdentifier()
MSPIdentifier represents the identifier of the MSP this organization unit refers to
string msp_identifier = 1 [json_name = "mspIdentifier"];
getMspIdentifier
in interface OrganizationUnitOrBuilder
public com.google.protobuf.ByteString getMspIdentifierBytes()
MSPIdentifier represents the identifier of the MSP this organization unit refers to
string msp_identifier = 1 [json_name = "mspIdentifier"];
getMspIdentifierBytes
in interface OrganizationUnitOrBuilder
public OrganizationUnit.Builder setMspIdentifier(String value)
MSPIdentifier represents the identifier of the MSP this organization unit refers to
string msp_identifier = 1 [json_name = "mspIdentifier"];
value
- The mspIdentifier to set.public OrganizationUnit.Builder clearMspIdentifier()
MSPIdentifier represents the identifier of the MSP this organization unit refers to
string msp_identifier = 1 [json_name = "mspIdentifier"];
public OrganizationUnit.Builder setMspIdentifierBytes(com.google.protobuf.ByteString value)
MSPIdentifier represents the identifier of the MSP this organization unit refers to
string msp_identifier = 1 [json_name = "mspIdentifier"];
value
- The bytes for mspIdentifier to set.public String getOrganizationalUnitIdentifier()
OrganizationUnitIdentifier defines the organizational unit under the MSP identified with MSPIdentifier
string organizational_unit_identifier = 2 [json_name = "organizationalUnitIdentifier"];
getOrganizationalUnitIdentifier
in interface OrganizationUnitOrBuilder
public com.google.protobuf.ByteString getOrganizationalUnitIdentifierBytes()
OrganizationUnitIdentifier defines the organizational unit under the MSP identified with MSPIdentifier
string organizational_unit_identifier = 2 [json_name = "organizationalUnitIdentifier"];
getOrganizationalUnitIdentifierBytes
in interface OrganizationUnitOrBuilder
public OrganizationUnit.Builder setOrganizationalUnitIdentifier(String value)
OrganizationUnitIdentifier defines the organizational unit under the MSP identified with MSPIdentifier
string organizational_unit_identifier = 2 [json_name = "organizationalUnitIdentifier"];
value
- The organizationalUnitIdentifier to set.public OrganizationUnit.Builder clearOrganizationalUnitIdentifier()
OrganizationUnitIdentifier defines the organizational unit under the MSP identified with MSPIdentifier
string organizational_unit_identifier = 2 [json_name = "organizationalUnitIdentifier"];
public OrganizationUnit.Builder setOrganizationalUnitIdentifierBytes(com.google.protobuf.ByteString value)
OrganizationUnitIdentifier defines the organizational unit under the MSP identified with MSPIdentifier
string organizational_unit_identifier = 2 [json_name = "organizationalUnitIdentifier"];
value
- The bytes for organizationalUnitIdentifier to set.public com.google.protobuf.ByteString getCertifiersIdentifier()
CertifiersIdentifier is the hash of certificates chain of trust related to this organizational unit
bytes certifiers_identifier = 3 [json_name = "certifiersIdentifier"];
getCertifiersIdentifier
in interface OrganizationUnitOrBuilder
public OrganizationUnit.Builder setCertifiersIdentifier(com.google.protobuf.ByteString value)
CertifiersIdentifier is the hash of certificates chain of trust related to this organizational unit
bytes certifiers_identifier = 3 [json_name = "certifiersIdentifier"];
value
- The certifiersIdentifier to set.public OrganizationUnit.Builder clearCertifiersIdentifier()
CertifiersIdentifier is the hash of certificates chain of trust related to this organizational unit
bytes certifiers_identifier = 3 [json_name = "certifiersIdentifier"];
public final OrganizationUnit.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<OrganizationUnit.Builder>
public final OrganizationUnit.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<OrganizationUnit.Builder>
Copyright © 2022. All rights reserved.