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.Descriptor
com.google.protobuf.Descriptors.Descriptor
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.com.google.protobuf.ByteString
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.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.ByteString
A hint to the participant which party ID to allocate.boolean
Participant-local metadata to be stored in the ``PartyDetails`` of this newly allocated party.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
-
setField
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
-
clearField
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
-
clearOneof
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
-
addRepeatedField
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
-
mergeFrom
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getPartyIdHint
in 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:
getPartyIdHintBytes
in 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:
hasLocalMetadata
in 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:
getLocalMetadata
in 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:
getLocalMetadataOrBuilder
in 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:
getIdentityProviderId
in 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:
getIdentityProviderIdBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
-
mergeUnknownFields
public final PartyManagementServiceOuterClass.AllocatePartyRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
-