Package com.daml.ledger.api.v2.admin
Class PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder>
com.daml.ledger.api.v2.admin.PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder
- All Implemented Interfaces:
PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
public static final class PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder>
implements PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponseOrBuilder
Response message with topology transactions and the multi-hash to be signed.Protobuf type
com.daml.ledger.api.v2.admin.GenerateExternalPartyTopologyResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllTopologyTransactions(Iterable<? extends com.google.protobuf.ByteString> values) The serialized topology transactions which need to be signed and submitted as part of the allocate party process Note that the serialization includes the versioning information.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTopologyTransactions(com.google.protobuf.ByteString value) The serialized topology transactions which need to be signed and submitted as part of the allocate party process Note that the serialization includes the versioning information.build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) the multi-hash which may be signed instead of each individual transaction Required: must be non-emptyclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The generated party id RequiredThe fingerprint of the supplied public key RequiredThe serialized topology transactions which need to be signed and submitted as part of the allocate party process Note that the serialization includes the versioning information.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.ByteStringthe multi-hash which may be signed instead of each individual transaction Required: must be non-emptyThe generated party id Requiredcom.google.protobuf.ByteStringThe generated party id RequiredThe fingerprint of the supplied public key Requiredcom.google.protobuf.ByteStringThe fingerprint of the supplied public key Requiredcom.google.protobuf.ByteStringgetTopologyTransactions(int index) The serialized topology transactions which need to be signed and submitted as part of the allocate party process Note that the serialization includes the versioning information.intThe serialized topology transactions which need to be signed and submitted as part of the allocate party process Note that the serialization includes the versioning information.List<com.google.protobuf.ByteString> The serialized topology transactions which need to be signed and submitted as part of the allocate party process Note that the serialization includes the versioning information.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setMultiHash(com.google.protobuf.ByteString value) the multi-hash which may be signed instead of each individual transaction Required: must be non-emptysetPartyId(String value) The generated party id RequiredsetPartyIdBytes(com.google.protobuf.ByteString value) The generated party id RequiredsetPublicKeyFingerprint(String value) The fingerprint of the supplied public key RequiredsetPublicKeyFingerprintBytes(com.google.protobuf.ByteString value) The fingerprint of the supplied public key RequiredsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTopologyTransactions(int index, com.google.protobuf.ByteString value) The serialized topology transactions which need to be signed and submitted as part of the allocate party process Note that the serialization includes the versioning information.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder>
-
getDefaultInstanceForType
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse getDefaultInstanceForType()- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder>
-
setField
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder>
-
clearField
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder>
-
clearOneof
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder>
-
setRepeatedField
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder>
-
addRepeatedField
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder>
-
mergeFrom
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder>
-
mergeFrom
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder>- Throws:
IOException
-
getPartyId
The generated party id Required
string party_id = 1;- Specified by:
getPartyIdin interfacePartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponseOrBuilder- Returns:
- The partyId.
-
getPartyIdBytes
public com.google.protobuf.ByteString getPartyIdBytes()The generated party id Required
string party_id = 1;- Specified by:
getPartyIdBytesin interfacePartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponseOrBuilder- Returns:
- The bytes for partyId.
-
setPartyId
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder setPartyId(String value) The generated party id Required
string party_id = 1;- Parameters:
value- The partyId to set.- Returns:
- This builder for chaining.
-
clearPartyId
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder clearPartyId()The generated party id Required
string party_id = 1;- Returns:
- This builder for chaining.
-
setPartyIdBytes
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder setPartyIdBytes(com.google.protobuf.ByteString value) The generated party id Required
string party_id = 1;- Parameters:
value- The bytes for partyId to set.- Returns:
- This builder for chaining.
-
getPublicKeyFingerprint
The fingerprint of the supplied public key Required
string public_key_fingerprint = 2;- Specified by:
getPublicKeyFingerprintin interfacePartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponseOrBuilder- Returns:
- The publicKeyFingerprint.
-
getPublicKeyFingerprintBytes
public com.google.protobuf.ByteString getPublicKeyFingerprintBytes()The fingerprint of the supplied public key Required
string public_key_fingerprint = 2;- Specified by:
getPublicKeyFingerprintBytesin interfacePartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponseOrBuilder- Returns:
- The bytes for publicKeyFingerprint.
-
setPublicKeyFingerprint
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder setPublicKeyFingerprint(String value) The fingerprint of the supplied public key Required
string public_key_fingerprint = 2;- Parameters:
value- The publicKeyFingerprint to set.- Returns:
- This builder for chaining.
-
clearPublicKeyFingerprint
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder clearPublicKeyFingerprint()The fingerprint of the supplied public key Required
string public_key_fingerprint = 2;- Returns:
- This builder for chaining.
-
setPublicKeyFingerprintBytes
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder setPublicKeyFingerprintBytes(com.google.protobuf.ByteString value) The fingerprint of the supplied public key Required
string public_key_fingerprint = 2;- Parameters:
value- The bytes for publicKeyFingerprint to set.- Returns:
- This builder for chaining.
-
getTopologyTransactionsList
The serialized topology transactions which need to be signed and submitted as part of the allocate party process Note that the serialization includes the versioning information. Therefore, the transaction here is serialized as an `UntypedVersionedMessage` which in turn contains the serialized `TopologyTransaction` in the version supported by the synchronizer. Required: must be non-empty
repeated bytes topology_transactions = 3;- Specified by:
getTopologyTransactionsListin interfacePartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponseOrBuilder- Returns:
- A list containing the topologyTransactions.
-
getTopologyTransactionsCount
public int getTopologyTransactionsCount()The serialized topology transactions which need to be signed and submitted as part of the allocate party process Note that the serialization includes the versioning information. Therefore, the transaction here is serialized as an `UntypedVersionedMessage` which in turn contains the serialized `TopologyTransaction` in the version supported by the synchronizer. Required: must be non-empty
repeated bytes topology_transactions = 3;- Specified by:
getTopologyTransactionsCountin interfacePartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponseOrBuilder- Returns:
- The count of topologyTransactions.
-
getTopologyTransactions
public com.google.protobuf.ByteString getTopologyTransactions(int index) The serialized topology transactions which need to be signed and submitted as part of the allocate party process Note that the serialization includes the versioning information. Therefore, the transaction here is serialized as an `UntypedVersionedMessage` which in turn contains the serialized `TopologyTransaction` in the version supported by the synchronizer. Required: must be non-empty
repeated bytes topology_transactions = 3;- Specified by:
getTopologyTransactionsin interfacePartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The topologyTransactions at the given index.
-
setTopologyTransactions
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder setTopologyTransactions(int index, com.google.protobuf.ByteString value) The serialized topology transactions which need to be signed and submitted as part of the allocate party process Note that the serialization includes the versioning information. Therefore, the transaction here is serialized as an `UntypedVersionedMessage` which in turn contains the serialized `TopologyTransaction` in the version supported by the synchronizer. Required: must be non-empty
repeated bytes topology_transactions = 3;- Parameters:
index- The index to set the value at.value- The topologyTransactions to set.- Returns:
- This builder for chaining.
-
addTopologyTransactions
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder addTopologyTransactions(com.google.protobuf.ByteString value) The serialized topology transactions which need to be signed and submitted as part of the allocate party process Note that the serialization includes the versioning information. Therefore, the transaction here is serialized as an `UntypedVersionedMessage` which in turn contains the serialized `TopologyTransaction` in the version supported by the synchronizer. Required: must be non-empty
repeated bytes topology_transactions = 3;- Parameters:
value- The topologyTransactions to add.- Returns:
- This builder for chaining.
-
addAllTopologyTransactions
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder addAllTopologyTransactions(Iterable<? extends com.google.protobuf.ByteString> values) The serialized topology transactions which need to be signed and submitted as part of the allocate party process Note that the serialization includes the versioning information. Therefore, the transaction here is serialized as an `UntypedVersionedMessage` which in turn contains the serialized `TopologyTransaction` in the version supported by the synchronizer. Required: must be non-empty
repeated bytes topology_transactions = 3;- Parameters:
values- The topologyTransactions to add.- Returns:
- This builder for chaining.
-
clearTopologyTransactions
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder clearTopologyTransactions()The serialized topology transactions which need to be signed and submitted as part of the allocate party process Note that the serialization includes the versioning information. Therefore, the transaction here is serialized as an `UntypedVersionedMessage` which in turn contains the serialized `TopologyTransaction` in the version supported by the synchronizer. Required: must be non-empty
repeated bytes topology_transactions = 3;- Returns:
- This builder for chaining.
-
getMultiHash
public com.google.protobuf.ByteString getMultiHash()the multi-hash which may be signed instead of each individual transaction Required: must be non-empty
bytes multi_hash = 4;- Specified by:
getMultiHashin interfacePartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponseOrBuilder- Returns:
- The multiHash.
-
setMultiHash
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder setMultiHash(com.google.protobuf.ByteString value) the multi-hash which may be signed instead of each individual transaction Required: must be non-empty
bytes multi_hash = 4;- Parameters:
value- The multiHash to set.- Returns:
- This builder for chaining.
-
clearMultiHash
public PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder clearMultiHash()the multi-hash which may be signed instead of each individual transaction Required: must be non-empty
bytes multi_hash = 4;- Returns:
- This builder for chaining.
-
setUnknownFields
public final PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder>
-
mergeUnknownFields
public final PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.GenerateExternalPartyTopologyResponse.Builder>
-