Package com.daml.ledger.api.v1.admin
Class PartyManagementServiceOuterClass.PartyDetails.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.PartyDetails.Builder>
-
- com.daml.ledger.api.v1.admin.PartyManagementServiceOuterClass.PartyDetails.Builder
-
- All Implemented Interfaces:
PartyManagementServiceOuterClass.PartyDetailsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- PartyManagementServiceOuterClass.PartyDetails
public static final class PartyManagementServiceOuterClass.PartyDetails.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.PartyDetails.Builder> implements PartyManagementServiceOuterClass.PartyDetailsOrBuilder
Protobuf typecom.daml.ledger.api.v1.admin.PartyDetails
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PartyManagementServiceOuterClass.PartyDetails.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
PartyManagementServiceOuterClass.PartyDetails
build()
PartyManagementServiceOuterClass.PartyDetails
buildPartial()
PartyManagementServiceOuterClass.PartyDetails.Builder
clear()
PartyManagementServiceOuterClass.PartyDetails.Builder
clearDisplayName()
Human readable name associated with the party at allocation time.PartyManagementServiceOuterClass.PartyDetails.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
PartyManagementServiceOuterClass.PartyDetails.Builder
clearIsLocal()
true if party is hosted by the participant.PartyManagementServiceOuterClass.PartyDetails.Builder
clearLocalMetadata()
Participant-local metadata of this party.PartyManagementServiceOuterClass.PartyDetails.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
PartyManagementServiceOuterClass.PartyDetails.Builder
clearParty()
The stable unique identifier of a Daml party.PartyManagementServiceOuterClass.PartyDetails.Builder
clone()
PartyManagementServiceOuterClass.PartyDetails
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getDisplayName()
Human readable name associated with the party at allocation time.com.google.protobuf.ByteString
getDisplayNameBytes()
Human readable name associated with the party at allocation time.boolean
getIsLocal()
true if party is hosted by the participant.ObjectMetaOuterClass.ObjectMeta
getLocalMetadata()
Participant-local metadata of this party.ObjectMetaOuterClass.ObjectMeta.Builder
getLocalMetadataBuilder()
Participant-local metadata of this party.ObjectMetaOuterClass.ObjectMetaOrBuilder
getLocalMetadataOrBuilder()
Participant-local metadata of this party.java.lang.String
getParty()
The stable unique identifier of a Daml party.com.google.protobuf.ByteString
getPartyBytes()
The stable unique identifier of a Daml party.boolean
hasLocalMetadata()
Participant-local metadata of this party.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
PartyManagementServiceOuterClass.PartyDetails.Builder
mergeFrom(PartyManagementServiceOuterClass.PartyDetails other)
PartyManagementServiceOuterClass.PartyDetails.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
PartyManagementServiceOuterClass.PartyDetails.Builder
mergeFrom(com.google.protobuf.Message other)
PartyManagementServiceOuterClass.PartyDetails.Builder
mergeLocalMetadata(ObjectMetaOuterClass.ObjectMeta value)
Participant-local metadata of this party.PartyManagementServiceOuterClass.PartyDetails.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
PartyManagementServiceOuterClass.PartyDetails.Builder
setDisplayName(java.lang.String value)
Human readable name associated with the party at allocation time.PartyManagementServiceOuterClass.PartyDetails.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
Human readable name associated with the party at allocation time.PartyManagementServiceOuterClass.PartyDetails.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
PartyManagementServiceOuterClass.PartyDetails.Builder
setIsLocal(boolean value)
true if party is hosted by the participant.PartyManagementServiceOuterClass.PartyDetails.Builder
setLocalMetadata(ObjectMetaOuterClass.ObjectMeta value)
Participant-local metadata of this party.PartyManagementServiceOuterClass.PartyDetails.Builder
setLocalMetadata(ObjectMetaOuterClass.ObjectMeta.Builder builderForValue)
Participant-local metadata of this party.PartyManagementServiceOuterClass.PartyDetails.Builder
setParty(java.lang.String value)
The stable unique identifier of a Daml party.PartyManagementServiceOuterClass.PartyDetails.Builder
setPartyBytes(com.google.protobuf.ByteString value)
The stable unique identifier of a Daml party.PartyManagementServiceOuterClass.PartyDetails.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
PartyManagementServiceOuterClass.PartyDetails.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.PartyDetails.Builder>
-
clear
public PartyManagementServiceOuterClass.PartyDetails.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.PartyDetails.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.PartyDetails.Builder>
-
getDefaultInstanceForType
public PartyManagementServiceOuterClass.PartyDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PartyManagementServiceOuterClass.PartyDetails build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PartyManagementServiceOuterClass.PartyDetails buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PartyManagementServiceOuterClass.PartyDetails.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.PartyDetails.Builder>
-
setField
public PartyManagementServiceOuterClass.PartyDetails.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.PartyDetails.Builder>
-
clearField
public PartyManagementServiceOuterClass.PartyDetails.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.PartyDetails.Builder>
-
clearOneof
public PartyManagementServiceOuterClass.PartyDetails.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.PartyDetails.Builder>
-
setRepeatedField
public PartyManagementServiceOuterClass.PartyDetails.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.PartyDetails.Builder>
-
addRepeatedField
public PartyManagementServiceOuterClass.PartyDetails.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.PartyDetails.Builder>
-
mergeFrom
public PartyManagementServiceOuterClass.PartyDetails.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.PartyDetails.Builder>
-
mergeFrom
public PartyManagementServiceOuterClass.PartyDetails.Builder mergeFrom(PartyManagementServiceOuterClass.PartyDetails other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.PartyDetails.Builder>
-
mergeFrom
public PartyManagementServiceOuterClass.PartyDetails.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.PartyDetails.Builder>
- Throws:
java.io.IOException
-
getParty
public java.lang.String getParty()
The stable unique identifier of a Daml party. Must be a valid PartyIdString (as described in ``value.proto``). Required
string party = 1 [json_name = "party"];
- Specified by:
getParty
in interfacePartyManagementServiceOuterClass.PartyDetailsOrBuilder
- Returns:
- The party.
-
getPartyBytes
public com.google.protobuf.ByteString getPartyBytes()
The stable unique identifier of a Daml party. Must be a valid PartyIdString (as described in ``value.proto``). Required
string party = 1 [json_name = "party"];
- Specified by:
getPartyBytes
in interfacePartyManagementServiceOuterClass.PartyDetailsOrBuilder
- Returns:
- The bytes for party.
-
setParty
public PartyManagementServiceOuterClass.PartyDetails.Builder setParty(java.lang.String value)
The stable unique identifier of a Daml party. Must be a valid PartyIdString (as described in ``value.proto``). Required
string party = 1 [json_name = "party"];
- Parameters:
value
- The party to set.- Returns:
- This builder for chaining.
-
clearParty
public PartyManagementServiceOuterClass.PartyDetails.Builder clearParty()
The stable unique identifier of a Daml party. Must be a valid PartyIdString (as described in ``value.proto``). Required
string party = 1 [json_name = "party"];
- Returns:
- This builder for chaining.
-
setPartyBytes
public PartyManagementServiceOuterClass.PartyDetails.Builder setPartyBytes(com.google.protobuf.ByteString value)
The stable unique identifier of a Daml party. Must be a valid PartyIdString (as described in ``value.proto``). Required
string party = 1 [json_name = "party"];
- Parameters:
value
- The bytes for party to set.- Returns:
- This builder for chaining.
-
getDisplayName
public java.lang.String getDisplayName()
Human readable name associated with the party at allocation time. Caution, it might not be unique. Use of this field is discouraged. Use the `local_metadata` field instead. Optional
string display_name = 2 [json_name = "displayName"];
- Specified by:
getDisplayName
in interfacePartyManagementServiceOuterClass.PartyDetailsOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Human readable name associated with the party at allocation time. Caution, it might not be unique. Use of this field is discouraged. Use the `local_metadata` field instead. Optional
string display_name = 2 [json_name = "displayName"];
- Specified by:
getDisplayNameBytes
in interfacePartyManagementServiceOuterClass.PartyDetailsOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public PartyManagementServiceOuterClass.PartyDetails.Builder setDisplayName(java.lang.String value)
Human readable name associated with the party at allocation time. Caution, it might not be unique. Use of this field is discouraged. Use the `local_metadata` field instead. Optional
string display_name = 2 [json_name = "displayName"];
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public PartyManagementServiceOuterClass.PartyDetails.Builder clearDisplayName()
Human readable name associated with the party at allocation time. Caution, it might not be unique. Use of this field is discouraged. Use the `local_metadata` field instead. Optional
string display_name = 2 [json_name = "displayName"];
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public PartyManagementServiceOuterClass.PartyDetails.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Human readable name associated with the party at allocation time. Caution, it might not be unique. Use of this field is discouraged. Use the `local_metadata` field instead. Optional
string display_name = 2 [json_name = "displayName"];
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getIsLocal
public boolean getIsLocal()
true if party is hosted by the participant. Optional
bool is_local = 3 [json_name = "isLocal"];
- Specified by:
getIsLocal
in interfacePartyManagementServiceOuterClass.PartyDetailsOrBuilder
- Returns:
- The isLocal.
-
setIsLocal
public PartyManagementServiceOuterClass.PartyDetails.Builder setIsLocal(boolean value)
true if party is hosted by the participant. Optional
bool is_local = 3 [json_name = "isLocal"];
- Parameters:
value
- The isLocal to set.- Returns:
- This builder for chaining.
-
clearIsLocal
public PartyManagementServiceOuterClass.PartyDetails.Builder clearIsLocal()
true if party is hosted by the participant. Optional
bool is_local = 3 [json_name = "isLocal"];
- Returns:
- This builder for chaining.
-
hasLocalMetadata
public boolean hasLocalMetadata()
Participant-local metadata of this party. Optional, Modifiable
.com.daml.ledger.api.v1.admin.ObjectMeta local_metadata = 4 [json_name = "localMetadata"];
- Specified by:
hasLocalMetadata
in interfacePartyManagementServiceOuterClass.PartyDetailsOrBuilder
- Returns:
- Whether the localMetadata field is set.
-
getLocalMetadata
public ObjectMetaOuterClass.ObjectMeta getLocalMetadata()
Participant-local metadata of this party. Optional, Modifiable
.com.daml.ledger.api.v1.admin.ObjectMeta local_metadata = 4 [json_name = "localMetadata"];
- Specified by:
getLocalMetadata
in interfacePartyManagementServiceOuterClass.PartyDetailsOrBuilder
- Returns:
- The localMetadata.
-
setLocalMetadata
public PartyManagementServiceOuterClass.PartyDetails.Builder setLocalMetadata(ObjectMetaOuterClass.ObjectMeta value)
Participant-local metadata of this party. Optional, Modifiable
.com.daml.ledger.api.v1.admin.ObjectMeta local_metadata = 4 [json_name = "localMetadata"];
-
setLocalMetadata
public PartyManagementServiceOuterClass.PartyDetails.Builder setLocalMetadata(ObjectMetaOuterClass.ObjectMeta.Builder builderForValue)
Participant-local metadata of this party. Optional, Modifiable
.com.daml.ledger.api.v1.admin.ObjectMeta local_metadata = 4 [json_name = "localMetadata"];
-
mergeLocalMetadata
public PartyManagementServiceOuterClass.PartyDetails.Builder mergeLocalMetadata(ObjectMetaOuterClass.ObjectMeta value)
Participant-local metadata of this party. Optional, Modifiable
.com.daml.ledger.api.v1.admin.ObjectMeta local_metadata = 4 [json_name = "localMetadata"];
-
clearLocalMetadata
public PartyManagementServiceOuterClass.PartyDetails.Builder clearLocalMetadata()
Participant-local metadata of this party. Optional, Modifiable
.com.daml.ledger.api.v1.admin.ObjectMeta local_metadata = 4 [json_name = "localMetadata"];
-
getLocalMetadataBuilder
public ObjectMetaOuterClass.ObjectMeta.Builder getLocalMetadataBuilder()
Participant-local metadata of this party. Optional, Modifiable
.com.daml.ledger.api.v1.admin.ObjectMeta local_metadata = 4 [json_name = "localMetadata"];
-
getLocalMetadataOrBuilder
public ObjectMetaOuterClass.ObjectMetaOrBuilder getLocalMetadataOrBuilder()
Participant-local metadata of this party. Optional, Modifiable
.com.daml.ledger.api.v1.admin.ObjectMeta local_metadata = 4 [json_name = "localMetadata"];
- Specified by:
getLocalMetadataOrBuilder
in interfacePartyManagementServiceOuterClass.PartyDetailsOrBuilder
-
setUnknownFields
public final PartyManagementServiceOuterClass.PartyDetails.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.PartyDetails.Builder>
-
mergeUnknownFields
public final PartyManagementServiceOuterClass.PartyDetails.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.PartyDetails.Builder>
-
-