Package com.daml.ledger.api.v1.admin
Class PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder>
-
- com.daml.ledger.api.v1.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
,java.lang.Cloneable
- Enclosing class:
- PartyManagementServiceOuterClass.AllocatePartyRequest
public static final class PartyManagementServiceOuterClass.AllocatePartyRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.AllocatePartyRequest.Builder> implements PartyManagementServiceOuterClass.AllocatePartyRequestOrBuilder
Protobuf typecom.daml.ledger.api.v1.admin.AllocatePartyRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
PartyManagementServiceOuterClass.AllocatePartyRequest
build()
PartyManagementServiceOuterClass.AllocatePartyRequest
buildPartial()
PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
clear()
PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
clearDisplayName()
Human-readable name of the party to be added to the participant.PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
clearPartyIdHint()
A hint to the backing participant which party ID to allocate.PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
clone()
PartyManagementServiceOuterClass.AllocatePartyRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getDisplayName()
Human-readable name of the party to be added to the participant.com.google.protobuf.ByteString
getDisplayNameBytes()
Human-readable name of the party to be added to the participant.java.lang.String
getPartyIdHint()
A hint to the backing participant which party ID to allocate.com.google.protobuf.ByteString
getPartyIdHintBytes()
A hint to the backing participant which party ID to allocate.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
mergeFrom(PartyManagementServiceOuterClass.AllocatePartyRequest other)
PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
mergeFrom(com.google.protobuf.Message other)
PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
setDisplayName(java.lang.String value)
Human-readable name of the party to be added to the participant.PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
Human-readable name of the party to be added to the participant.PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
setPartyIdHint(java.lang.String value)
A hint to the backing participant which party ID to allocate.PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
setPartyIdHintBytes(com.google.protobuf.ByteString value)
A hint to the backing participant which party ID to allocate.PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
PartyManagementServiceOuterClass.AllocatePartyRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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
public 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
public PartyManagementServiceOuterClass.AllocatePartyRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PartyManagementServiceOuterClass.AllocatePartyRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PartyManagementServiceOuterClass.AllocatePartyRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PartyManagementServiceOuterClass.AllocatePartyRequest.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, java.lang.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, java.lang.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, java.lang.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
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder mergeFrom(PartyManagementServiceOuterClass.AllocatePartyRequest other)
-
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 java.io.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:
java.io.IOException
-
getPartyIdHint
public java.lang.String getPartyIdHint()
A hint to the backing 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 backing 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
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder setPartyIdHint(java.lang.String value)
A hint to the backing 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
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder clearPartyIdHint()
A hint to the backing 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 backing 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.
-
getDisplayName
public java.lang.String getDisplayName()
Human-readable name of the party to be added to the participant. It doesn't have to be unique. Optional
string display_name = 2 [json_name = "displayName"];
- Specified by:
getDisplayName
in interfacePartyManagementServiceOuterClass.AllocatePartyRequestOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Human-readable name of the party to be added to the participant. It doesn't have to be unique. Optional
string display_name = 2 [json_name = "displayName"];
- Specified by:
getDisplayNameBytes
in interfacePartyManagementServiceOuterClass.AllocatePartyRequestOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder setDisplayName(java.lang.String value)
Human-readable name of the party to be added to the participant. It doesn't have to be unique. Optional
string display_name = 2 [json_name = "displayName"];
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder clearDisplayName()
Human-readable name of the party to be added to the participant. It doesn't have to be unique. Optional
string display_name = 2 [json_name = "displayName"];
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public PartyManagementServiceOuterClass.AllocatePartyRequest.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Human-readable name of the party to be added to the participant. It doesn't have to be unique. Optional
string display_name = 2 [json_name = "displayName"];
- Parameters:
value
- The bytes for displayName 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>
-
-