Package com.daml.ledger.api.v2.admin
Class PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
com.daml.ledger.api.v2.admin.PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
- All Implemented Interfaces:
PartyManagementServiceOuterClass.AllocatePartyRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PartyManagementServiceOuterClass.AllocatePartyRequest
public static final class PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
implements PartyManagementServiceOuterClass.AllocatePartyRequestOrBuilder
Required authorization: ``HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)``Protobuf type
com.daml.ledger.api.v2.admin.AllocatePartyRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The id of the ``Identity Provider`` Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.Participant-local metadata to be stored in the ``PartyDetails`` of this newly allocated party.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) A hint to the participant which party ID to allocate.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe id of the ``Identity Provider`` Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.com.google.protobuf.ByteStringThe id of the ``Identity Provider`` Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.Participant-local metadata to be stored in the ``PartyDetails`` of this newly allocated party.Participant-local metadata to be stored in the ``PartyDetails`` of this newly allocated party.Participant-local metadata to be stored in the ``PartyDetails`` of this newly allocated party.A hint to the participant which party ID to allocate.com.google.protobuf.ByteStringA hint to the participant which party ID to allocate.booleanParticipant-local metadata to be stored in the ``PartyDetails`` of this newly allocated party.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Participant-local metadata to be stored in the ``PartyDetails`` of this newly allocated party.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setIdentityProviderId(String value) The id of the ``Identity Provider`` Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.setIdentityProviderIdBytes(com.google.protobuf.ByteString value) The id of the ``Identity Provider`` Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.Participant-local metadata to be stored in the ``PartyDetails`` of this newly allocated party.setLocalMetadata(ObjectMetaOuterClass.ObjectMeta.Builder builderForValue) Participant-local metadata to be stored in the ``PartyDetails`` of this newly allocated party.setPartyIdHint(String value) A hint to the participant which party ID to allocate.setPartyIdHintBytes(com.google.protobuf.ByteString value) A hint to the participant which party ID to allocate.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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.AllocatePartyRequest.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.AllocatePartyRequest.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.AllocatePartyRequest.Builder>
-
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.AllocatePartyRequest.Builder>
-
setField
public PartyManagementServiceOuterClass.AllocatePartyRequest.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.AllocatePartyRequest.Builder>
-
clearField
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
-
clearOneof
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
-
setRepeatedField
public PartyManagementServiceOuterClass.AllocatePartyRequest.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.AllocatePartyRequest.Builder>
-
addRepeatedField
public PartyManagementServiceOuterClass.AllocatePartyRequest.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.AllocatePartyRequest.Builder>
-
mergeFrom
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
-
mergeFrom
public PartyManagementServiceOuterClass.AllocatePartyRequest.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.AllocatePartyRequest.Builder>- Throws:
IOException
-
getPartyIdHint
A hint to the participant which party ID to allocate. It can be ignored. Must be a valid PartyIdString (as described in ``value.proto``). Optional
string party_id_hint = 1 [json_name = "partyIdHint"];- Specified by:
getPartyIdHintin interfacePartyManagementServiceOuterClass.AllocatePartyRequestOrBuilder- Returns:
- The partyIdHint.
-
getPartyIdHintBytes
public com.google.protobuf.ByteString getPartyIdHintBytes()A hint to the participant which party ID to allocate. It can be ignored. Must be a valid PartyIdString (as described in ``value.proto``). Optional
string party_id_hint = 1 [json_name = "partyIdHint"];- Specified by:
getPartyIdHintBytesin interfacePartyManagementServiceOuterClass.AllocatePartyRequestOrBuilder- Returns:
- The bytes for partyIdHint.
-
setPartyIdHint
A hint to the participant which party ID to allocate. It can be ignored. Must be a valid PartyIdString (as described in ``value.proto``). Optional
string party_id_hint = 1 [json_name = "partyIdHint"];- Parameters:
value- The partyIdHint to set.- Returns:
- This builder for chaining.
-
clearPartyIdHint
A hint to the participant which party ID to allocate. It can be ignored. Must be a valid PartyIdString (as described in ``value.proto``). Optional
string party_id_hint = 1 [json_name = "partyIdHint"];- Returns:
- This builder for chaining.
-
setPartyIdHintBytes
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder setPartyIdHintBytes(com.google.protobuf.ByteString value) A hint to the participant which party ID to allocate. It can be ignored. Must be a valid PartyIdString (as described in ``value.proto``). Optional
string party_id_hint = 1 [json_name = "partyIdHint"];- Parameters:
value- The bytes for partyIdHint to set.- Returns:
- This builder for chaining.
-
hasLocalMetadata
public boolean hasLocalMetadata()Participant-local metadata to be stored in the ``PartyDetails`` of this newly allocated party. Optional
.com.daml.ledger.api.v2.admin.ObjectMeta local_metadata = 3 [json_name = "localMetadata"];- Specified by:
hasLocalMetadatain interfacePartyManagementServiceOuterClass.AllocatePartyRequestOrBuilder- Returns:
- Whether the localMetadata field is set.
-
getLocalMetadata
Participant-local metadata to be stored in the ``PartyDetails`` of this newly allocated party. Optional
.com.daml.ledger.api.v2.admin.ObjectMeta local_metadata = 3 [json_name = "localMetadata"];- Specified by:
getLocalMetadatain interfacePartyManagementServiceOuterClass.AllocatePartyRequestOrBuilder- Returns:
- The localMetadata.
-
setLocalMetadata
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder setLocalMetadata(ObjectMetaOuterClass.ObjectMeta value) Participant-local metadata to be stored in the ``PartyDetails`` of this newly allocated party. Optional
.com.daml.ledger.api.v2.admin.ObjectMeta local_metadata = 3 [json_name = "localMetadata"]; -
setLocalMetadata
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder setLocalMetadata(ObjectMetaOuterClass.ObjectMeta.Builder builderForValue) Participant-local metadata to be stored in the ``PartyDetails`` of this newly allocated party. Optional
.com.daml.ledger.api.v2.admin.ObjectMeta local_metadata = 3 [json_name = "localMetadata"]; -
mergeLocalMetadata
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder mergeLocalMetadata(ObjectMetaOuterClass.ObjectMeta value) Participant-local metadata to be stored in the ``PartyDetails`` of this newly allocated party. Optional
.com.daml.ledger.api.v2.admin.ObjectMeta local_metadata = 3 [json_name = "localMetadata"]; -
clearLocalMetadata
Participant-local metadata to be stored in the ``PartyDetails`` of this newly allocated party. Optional
.com.daml.ledger.api.v2.admin.ObjectMeta local_metadata = 3 [json_name = "localMetadata"]; -
getLocalMetadataBuilder
Participant-local metadata to be stored in the ``PartyDetails`` of this newly allocated party. Optional
.com.daml.ledger.api.v2.admin.ObjectMeta local_metadata = 3 [json_name = "localMetadata"]; -
getLocalMetadataOrBuilder
Participant-local metadata to be stored in the ``PartyDetails`` of this newly allocated party. Optional
.com.daml.ledger.api.v2.admin.ObjectMeta local_metadata = 3 [json_name = "localMetadata"];- Specified by:
getLocalMetadataOrBuilderin interfacePartyManagementServiceOuterClass.AllocatePartyRequestOrBuilder
-
getIdentityProviderId
The id of the ``Identity Provider`` Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.
string identity_provider_id = 4 [json_name = "identityProviderId"];- Specified by:
getIdentityProviderIdin interfacePartyManagementServiceOuterClass.AllocatePartyRequestOrBuilder- Returns:
- The identityProviderId.
-
getIdentityProviderIdBytes
public com.google.protobuf.ByteString getIdentityProviderIdBytes()The id of the ``Identity Provider`` Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.
string identity_provider_id = 4 [json_name = "identityProviderId"];- Specified by:
getIdentityProviderIdBytesin interfacePartyManagementServiceOuterClass.AllocatePartyRequestOrBuilder- Returns:
- The bytes for identityProviderId.
-
setIdentityProviderId
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder setIdentityProviderId(String value) The id of the ``Identity Provider`` Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.
string identity_provider_id = 4 [json_name = "identityProviderId"];- Parameters:
value- The identityProviderId to set.- Returns:
- This builder for chaining.
-
clearIdentityProviderId
The id of the ``Identity Provider`` Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.
string identity_provider_id = 4 [json_name = "identityProviderId"];- Returns:
- This builder for chaining.
-
setIdentityProviderIdBytes
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder setIdentityProviderIdBytes(com.google.protobuf.ByteString value) The id of the ``Identity Provider`` Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.
string identity_provider_id = 4 [json_name = "identityProviderId"];- Parameters:
value- The bytes for identityProviderId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final PartyManagementServiceOuterClass.AllocatePartyRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
-
mergeUnknownFields
public final PartyManagementServiceOuterClass.AllocatePartyRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
-