Package com.daml.ledger.api.v1.admin
Class PartyManagementServiceOuterClass.GetPartiesRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.GetPartiesRequest.Builder>
-
- com.daml.ledger.api.v1.admin.PartyManagementServiceOuterClass.GetPartiesRequest.Builder
-
- All Implemented Interfaces:
PartyManagementServiceOuterClass.GetPartiesRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- PartyManagementServiceOuterClass.GetPartiesRequest
public static final class PartyManagementServiceOuterClass.GetPartiesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.GetPartiesRequest.Builder> implements PartyManagementServiceOuterClass.GetPartiesRequestOrBuilder
Required authorization: ``HasRight(ParticipantAdmin)``
Protobuf typecom.daml.ledger.api.v1.admin.GetPartiesRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PartyManagementServiceOuterClass.GetPartiesRequest.Builder
addAllParties(java.lang.Iterable<java.lang.String> values)
The stable, unique identifier of the Daml parties.PartyManagementServiceOuterClass.GetPartiesRequest.Builder
addParties(java.lang.String value)
The stable, unique identifier of the Daml parties.PartyManagementServiceOuterClass.GetPartiesRequest.Builder
addPartiesBytes(com.google.protobuf.ByteString value)
The stable, unique identifier of the Daml parties.PartyManagementServiceOuterClass.GetPartiesRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
PartyManagementServiceOuterClass.GetPartiesRequest
build()
PartyManagementServiceOuterClass.GetPartiesRequest
buildPartial()
PartyManagementServiceOuterClass.GetPartiesRequest.Builder
clear()
PartyManagementServiceOuterClass.GetPartiesRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
PartyManagementServiceOuterClass.GetPartiesRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
PartyManagementServiceOuterClass.GetPartiesRequest.Builder
clearParties()
The stable, unique identifier of the Daml parties.PartyManagementServiceOuterClass.GetPartiesRequest.Builder
clone()
PartyManagementServiceOuterClass.GetPartiesRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getParties(int index)
The stable, unique identifier of the Daml parties.com.google.protobuf.ByteString
getPartiesBytes(int index)
The stable, unique identifier of the Daml parties.int
getPartiesCount()
The stable, unique identifier of the Daml parties.com.google.protobuf.ProtocolStringList
getPartiesList()
The stable, unique identifier of the Daml parties.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
PartyManagementServiceOuterClass.GetPartiesRequest.Builder
mergeFrom(PartyManagementServiceOuterClass.GetPartiesRequest other)
PartyManagementServiceOuterClass.GetPartiesRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
PartyManagementServiceOuterClass.GetPartiesRequest.Builder
mergeFrom(com.google.protobuf.Message other)
PartyManagementServiceOuterClass.GetPartiesRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
PartyManagementServiceOuterClass.GetPartiesRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
PartyManagementServiceOuterClass.GetPartiesRequest.Builder
setParties(int index, java.lang.String value)
The stable, unique identifier of the Daml parties.PartyManagementServiceOuterClass.GetPartiesRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
PartyManagementServiceOuterClass.GetPartiesRequest.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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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.GetPartiesRequest.Builder>
-
clear
public PartyManagementServiceOuterClass.GetPartiesRequest.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.GetPartiesRequest.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.GetPartiesRequest.Builder>
-
getDefaultInstanceForType
public PartyManagementServiceOuterClass.GetPartiesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PartyManagementServiceOuterClass.GetPartiesRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PartyManagementServiceOuterClass.GetPartiesRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PartyManagementServiceOuterClass.GetPartiesRequest.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.GetPartiesRequest.Builder>
-
setField
public PartyManagementServiceOuterClass.GetPartiesRequest.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.GetPartiesRequest.Builder>
-
clearField
public PartyManagementServiceOuterClass.GetPartiesRequest.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.GetPartiesRequest.Builder>
-
clearOneof
public PartyManagementServiceOuterClass.GetPartiesRequest.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.GetPartiesRequest.Builder>
-
setRepeatedField
public PartyManagementServiceOuterClass.GetPartiesRequest.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.GetPartiesRequest.Builder>
-
addRepeatedField
public PartyManagementServiceOuterClass.GetPartiesRequest.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.GetPartiesRequest.Builder>
-
mergeFrom
public PartyManagementServiceOuterClass.GetPartiesRequest.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.GetPartiesRequest.Builder>
-
mergeFrom
public PartyManagementServiceOuterClass.GetPartiesRequest.Builder mergeFrom(PartyManagementServiceOuterClass.GetPartiesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.GetPartiesRequest.Builder>
-
mergeFrom
public PartyManagementServiceOuterClass.GetPartiesRequest.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.GetPartiesRequest.Builder>
- Throws:
java.io.IOException
-
getPartiesList
public com.google.protobuf.ProtocolStringList getPartiesList()
The stable, unique identifier of the Daml parties. Must be valid PartyIdStrings (as described in ``value.proto``). Required
repeated string parties = 1 [json_name = "parties"];
- Specified by:
getPartiesList
in interfacePartyManagementServiceOuterClass.GetPartiesRequestOrBuilder
- Returns:
- A list containing the parties.
-
getPartiesCount
public int getPartiesCount()
The stable, unique identifier of the Daml parties. Must be valid PartyIdStrings (as described in ``value.proto``). Required
repeated string parties = 1 [json_name = "parties"];
- Specified by:
getPartiesCount
in interfacePartyManagementServiceOuterClass.GetPartiesRequestOrBuilder
- Returns:
- The count of parties.
-
getParties
public java.lang.String getParties(int index)
The stable, unique identifier of the Daml parties. Must be valid PartyIdStrings (as described in ``value.proto``). Required
repeated string parties = 1 [json_name = "parties"];
- Specified by:
getParties
in interfacePartyManagementServiceOuterClass.GetPartiesRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The parties at the given index.
-
getPartiesBytes
public com.google.protobuf.ByteString getPartiesBytes(int index)
The stable, unique identifier of the Daml parties. Must be valid PartyIdStrings (as described in ``value.proto``). Required
repeated string parties = 1 [json_name = "parties"];
- Specified by:
getPartiesBytes
in interfacePartyManagementServiceOuterClass.GetPartiesRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the parties at the given index.
-
setParties
public PartyManagementServiceOuterClass.GetPartiesRequest.Builder setParties(int index, java.lang.String value)
The stable, unique identifier of the Daml parties. Must be valid PartyIdStrings (as described in ``value.proto``). Required
repeated string parties = 1 [json_name = "parties"];
- Parameters:
index
- The index to set the value at.value
- The parties to set.- Returns:
- This builder for chaining.
-
addParties
public PartyManagementServiceOuterClass.GetPartiesRequest.Builder addParties(java.lang.String value)
The stable, unique identifier of the Daml parties. Must be valid PartyIdStrings (as described in ``value.proto``). Required
repeated string parties = 1 [json_name = "parties"];
- Parameters:
value
- The parties to add.- Returns:
- This builder for chaining.
-
addAllParties
public PartyManagementServiceOuterClass.GetPartiesRequest.Builder addAllParties(java.lang.Iterable<java.lang.String> values)
The stable, unique identifier of the Daml parties. Must be valid PartyIdStrings (as described in ``value.proto``). Required
repeated string parties = 1 [json_name = "parties"];
- Parameters:
values
- The parties to add.- Returns:
- This builder for chaining.
-
clearParties
public PartyManagementServiceOuterClass.GetPartiesRequest.Builder clearParties()
The stable, unique identifier of the Daml parties. Must be valid PartyIdStrings (as described in ``value.proto``). Required
repeated string parties = 1 [json_name = "parties"];
- Returns:
- This builder for chaining.
-
addPartiesBytes
public PartyManagementServiceOuterClass.GetPartiesRequest.Builder addPartiesBytes(com.google.protobuf.ByteString value)
The stable, unique identifier of the Daml parties. Must be valid PartyIdStrings (as described in ``value.proto``). Required
repeated string parties = 1 [json_name = "parties"];
- Parameters:
value
- The bytes of the parties to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final PartyManagementServiceOuterClass.GetPartiesRequest.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.GetPartiesRequest.Builder>
-
mergeUnknownFields
public final PartyManagementServiceOuterClass.GetPartiesRequest.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.GetPartiesRequest.Builder>
-
-