public static final class SerializedIdentity.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SerializedIdentity.Builder> implements SerializedIdentityOrBuilder
This struct represents an Identity (with its MSP identifier) to be used to serialize it and deserialize itProtobuf type
msp.SerializedIdentity
Modifier and Type | Method and Description |
---|---|
SerializedIdentity.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SerializedIdentity |
build() |
SerializedIdentity |
buildPartial() |
SerializedIdentity.Builder |
clear() |
SerializedIdentity.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SerializedIdentity.Builder |
clearIdBytes()
the Identity, serialized according to the rules of its MPS
|
SerializedIdentity.Builder |
clearMspid()
The identifier of the associated membership service provider
|
SerializedIdentity.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SerializedIdentity.Builder |
clone() |
SerializedIdentity |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getIdBytes()
the Identity, serialized according to the rules of its MPS
|
String |
getMspid()
The identifier of the associated membership service provider
|
com.google.protobuf.ByteString |
getMspidBytes()
The identifier of the associated membership service provider
|
boolean |
isInitialized() |
SerializedIdentity.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SerializedIdentity.Builder |
mergeFrom(com.google.protobuf.Message other) |
SerializedIdentity.Builder |
mergeFrom(SerializedIdentity other) |
SerializedIdentity.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SerializedIdentity.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SerializedIdentity.Builder |
setIdBytes(com.google.protobuf.ByteString value)
the Identity, serialized according to the rules of its MPS
|
SerializedIdentity.Builder |
setMspid(String value)
The identifier of the associated membership service provider
|
SerializedIdentity.Builder |
setMspidBytes(com.google.protobuf.ByteString value)
The identifier of the associated membership service provider
|
SerializedIdentity.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SerializedIdentity.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 SerializedIdentity.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<SerializedIdentity.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<SerializedIdentity.Builder>
public SerializedIdentity getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public SerializedIdentity build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public SerializedIdentity buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public SerializedIdentity.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<SerializedIdentity.Builder>
public SerializedIdentity.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<SerializedIdentity.Builder>
public SerializedIdentity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<SerializedIdentity.Builder>
public SerializedIdentity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<SerializedIdentity.Builder>
public SerializedIdentity.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<SerializedIdentity.Builder>
public SerializedIdentity.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<SerializedIdentity.Builder>
public SerializedIdentity.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SerializedIdentity.Builder>
public SerializedIdentity.Builder mergeFrom(SerializedIdentity other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<SerializedIdentity.Builder>
public SerializedIdentity.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<SerializedIdentity.Builder>
IOException
public String getMspid()
The identifier of the associated membership service provider
string mspid = 1 [json_name = "mspid"];
getMspid
in interface SerializedIdentityOrBuilder
public com.google.protobuf.ByteString getMspidBytes()
The identifier of the associated membership service provider
string mspid = 1 [json_name = "mspid"];
getMspidBytes
in interface SerializedIdentityOrBuilder
public SerializedIdentity.Builder setMspid(String value)
The identifier of the associated membership service provider
string mspid = 1 [json_name = "mspid"];
value
- The mspid to set.public SerializedIdentity.Builder clearMspid()
The identifier of the associated membership service provider
string mspid = 1 [json_name = "mspid"];
public SerializedIdentity.Builder setMspidBytes(com.google.protobuf.ByteString value)
The identifier of the associated membership service provider
string mspid = 1 [json_name = "mspid"];
value
- The bytes for mspid to set.public com.google.protobuf.ByteString getIdBytes()
the Identity, serialized according to the rules of its MPS
bytes id_bytes = 2 [json_name = "idBytes"];
getIdBytes
in interface SerializedIdentityOrBuilder
public SerializedIdentity.Builder setIdBytes(com.google.protobuf.ByteString value)
the Identity, serialized according to the rules of its MPS
bytes id_bytes = 2 [json_name = "idBytes"];
value
- The idBytes to set.public SerializedIdentity.Builder clearIdBytes()
the Identity, serialized according to the rules of its MPS
bytes id_bytes = 2 [json_name = "idBytes"];
public final SerializedIdentity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SerializedIdentity.Builder>
public final SerializedIdentity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SerializedIdentity.Builder>
Copyright © 2022. All rights reserved.