Package com.daml.ledger.api.v1
Class CommandsOuterClass.Commands.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Commands.Builder>
-
- com.daml.ledger.api.v1.CommandsOuterClass.Commands.Builder
-
- All Implemented Interfaces:
CommandsOuterClass.CommandsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- CommandsOuterClass.Commands
public static final class CommandsOuterClass.Commands.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Commands.Builder> implements CommandsOuterClass.CommandsOrBuilder
A composite command that groups multiple commands together.
Protobuf typecom.daml.ledger.api.v1.Commands
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CommandsOuterClass.Commands.Builder
addActAs(java.lang.String value)
Set of parties on whose behalf the command should be executed.CommandsOuterClass.Commands.Builder
addActAsBytes(com.google.protobuf.ByteString value)
Set of parties on whose behalf the command should be executed.CommandsOuterClass.Commands.Builder
addAllActAs(java.lang.Iterable<java.lang.String> values)
Set of parties on whose behalf the command should be executed.CommandsOuterClass.Commands.Builder
addAllCommands(java.lang.Iterable<? extends CommandsOuterClass.Command> values)
Individual elements of this atomic command.CommandsOuterClass.Commands.Builder
addAllReadAs(java.lang.Iterable<java.lang.String> values)
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.CommandsOuterClass.Commands.Builder
addCommands(int index, CommandsOuterClass.Command value)
Individual elements of this atomic command.CommandsOuterClass.Commands.Builder
addCommands(int index, CommandsOuterClass.Command.Builder builderForValue)
Individual elements of this atomic command.CommandsOuterClass.Commands.Builder
addCommands(CommandsOuterClass.Command value)
Individual elements of this atomic command.CommandsOuterClass.Commands.Builder
addCommands(CommandsOuterClass.Command.Builder builderForValue)
Individual elements of this atomic command.CommandsOuterClass.Command.Builder
addCommandsBuilder()
Individual elements of this atomic command.CommandsOuterClass.Command.Builder
addCommandsBuilder(int index)
Individual elements of this atomic command.CommandsOuterClass.Commands.Builder
addReadAs(java.lang.String value)
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.CommandsOuterClass.Commands.Builder
addReadAsBytes(com.google.protobuf.ByteString value)
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.CommandsOuterClass.Commands.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CommandsOuterClass.Commands
build()
CommandsOuterClass.Commands
buildPartial()
CommandsOuterClass.Commands.Builder
clear()
CommandsOuterClass.Commands.Builder
clearActAs()
Set of parties on whose behalf the command should be executed.CommandsOuterClass.Commands.Builder
clearApplicationId()
Uniquely identifies the application or participant user that issued the command.CommandsOuterClass.Commands.Builder
clearCommandId()
Uniquely identifies the command.CommandsOuterClass.Commands.Builder
clearCommands()
Individual elements of this atomic command.CommandsOuterClass.Commands.Builder
clearDeduplicationDuration()
Specifies the length of the deduplication period.CommandsOuterClass.Commands.Builder
clearDeduplicationOffset()
Specifies the start of the deduplication period by a completion stream offset (exclusive).CommandsOuterClass.Commands.Builder
clearDeduplicationPeriod()
CommandsOuterClass.Commands.Builder
clearDeduplicationTime()
Deprecated.CommandsOuterClass.Commands.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CommandsOuterClass.Commands.Builder
clearLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service.CommandsOuterClass.Commands.Builder
clearMinLedgerTimeAbs()
Lower bound for the ledger time assigned to the resulting transaction.CommandsOuterClass.Commands.Builder
clearMinLedgerTimeRel()
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.CommandsOuterClass.Commands.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CommandsOuterClass.Commands.Builder
clearParty()
Party on whose behalf the command should be executed.CommandsOuterClass.Commands.Builder
clearReadAs()
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.CommandsOuterClass.Commands.Builder
clearSubmissionId()
A unique identifier to distinguish completions for different submissions with the same change ID.CommandsOuterClass.Commands.Builder
clearWorkflowId()
Identifier of the on-ledger workflow that this command is a part of.CommandsOuterClass.Commands.Builder
clone()
java.lang.String
getActAs(int index)
Set of parties on whose behalf the command should be executed.com.google.protobuf.ByteString
getActAsBytes(int index)
Set of parties on whose behalf the command should be executed.int
getActAsCount()
Set of parties on whose behalf the command should be executed.com.google.protobuf.ProtocolStringList
getActAsList()
Set of parties on whose behalf the command should be executed.java.lang.String
getApplicationId()
Uniquely identifies the application or participant user that issued the command.com.google.protobuf.ByteString
getApplicationIdBytes()
Uniquely identifies the application or participant user that issued the command.java.lang.String
getCommandId()
Uniquely identifies the command.com.google.protobuf.ByteString
getCommandIdBytes()
Uniquely identifies the command.CommandsOuterClass.Command
getCommands(int index)
Individual elements of this atomic command.CommandsOuterClass.Command.Builder
getCommandsBuilder(int index)
Individual elements of this atomic command.java.util.List<CommandsOuterClass.Command.Builder>
getCommandsBuilderList()
Individual elements of this atomic command.int
getCommandsCount()
Individual elements of this atomic command.java.util.List<CommandsOuterClass.Command>
getCommandsList()
Individual elements of this atomic command.CommandsOuterClass.CommandOrBuilder
getCommandsOrBuilder(int index)
Individual elements of this atomic command.java.util.List<? extends CommandsOuterClass.CommandOrBuilder>
getCommandsOrBuilderList()
Individual elements of this atomic command.com.google.protobuf.Duration
getDeduplicationDuration()
Specifies the length of the deduplication period.com.google.protobuf.Duration.Builder
getDeduplicationDurationBuilder()
Specifies the length of the deduplication period.com.google.protobuf.DurationOrBuilder
getDeduplicationDurationOrBuilder()
Specifies the length of the deduplication period.java.lang.String
getDeduplicationOffset()
Specifies the start of the deduplication period by a completion stream offset (exclusive).com.google.protobuf.ByteString
getDeduplicationOffsetBytes()
Specifies the start of the deduplication period by a completion stream offset (exclusive).CommandsOuterClass.Commands.DeduplicationPeriodCase
getDeduplicationPeriodCase()
com.google.protobuf.Duration
getDeduplicationTime()
Deprecated.com.google.protobuf.Duration.Builder
getDeduplicationTimeBuilder()
Deprecated.com.google.protobuf.DurationOrBuilder
getDeduplicationTimeOrBuilder()
Deprecated.CommandsOuterClass.Commands
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service.com.google.protobuf.ByteString
getLedgerIdBytes()
Must correspond to the ledger ID reported by the Ledger Identification Service.com.google.protobuf.Timestamp
getMinLedgerTimeAbs()
Lower bound for the ledger time assigned to the resulting transaction.com.google.protobuf.Timestamp.Builder
getMinLedgerTimeAbsBuilder()
Lower bound for the ledger time assigned to the resulting transaction.com.google.protobuf.TimestampOrBuilder
getMinLedgerTimeAbsOrBuilder()
Lower bound for the ledger time assigned to the resulting transaction.com.google.protobuf.Duration
getMinLedgerTimeRel()
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.com.google.protobuf.Duration.Builder
getMinLedgerTimeRelBuilder()
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.com.google.protobuf.DurationOrBuilder
getMinLedgerTimeRelOrBuilder()
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.java.lang.String
getParty()
Party on whose behalf the command should be executed.com.google.protobuf.ByteString
getPartyBytes()
Party on whose behalf the command should be executed.java.lang.String
getReadAs(int index)
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.com.google.protobuf.ByteString
getReadAsBytes(int index)
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.int
getReadAsCount()
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.com.google.protobuf.ProtocolStringList
getReadAsList()
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.java.lang.String
getSubmissionId()
A unique identifier to distinguish completions for different submissions with the same change ID.com.google.protobuf.ByteString
getSubmissionIdBytes()
A unique identifier to distinguish completions for different submissions with the same change ID.java.lang.String
getWorkflowId()
Identifier of the on-ledger workflow that this command is a part of.com.google.protobuf.ByteString
getWorkflowIdBytes()
Identifier of the on-ledger workflow that this command is a part of.boolean
hasDeduplicationDuration()
Specifies the length of the deduplication period.boolean
hasDeduplicationOffset()
Specifies the start of the deduplication period by a completion stream offset (exclusive).boolean
hasDeduplicationTime()
Deprecated.boolean
hasMinLedgerTimeAbs()
Lower bound for the ledger time assigned to the resulting transaction.boolean
hasMinLedgerTimeRel()
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CommandsOuterClass.Commands.Builder
mergeDeduplicationDuration(com.google.protobuf.Duration value)
Specifies the length of the deduplication period.CommandsOuterClass.Commands.Builder
mergeDeduplicationTime(com.google.protobuf.Duration value)
Deprecated.CommandsOuterClass.Commands.Builder
mergeFrom(CommandsOuterClass.Commands other)
CommandsOuterClass.Commands.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CommandsOuterClass.Commands.Builder
mergeFrom(com.google.protobuf.Message other)
CommandsOuterClass.Commands.Builder
mergeMinLedgerTimeAbs(com.google.protobuf.Timestamp value)
Lower bound for the ledger time assigned to the resulting transaction.CommandsOuterClass.Commands.Builder
mergeMinLedgerTimeRel(com.google.protobuf.Duration value)
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.CommandsOuterClass.Commands.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CommandsOuterClass.Commands.Builder
removeCommands(int index)
Individual elements of this atomic command.CommandsOuterClass.Commands.Builder
setActAs(int index, java.lang.String value)
Set of parties on whose behalf the command should be executed.CommandsOuterClass.Commands.Builder
setApplicationId(java.lang.String value)
Uniquely identifies the application or participant user that issued the command.CommandsOuterClass.Commands.Builder
setApplicationIdBytes(com.google.protobuf.ByteString value)
Uniquely identifies the application or participant user that issued the command.CommandsOuterClass.Commands.Builder
setCommandId(java.lang.String value)
Uniquely identifies the command.CommandsOuterClass.Commands.Builder
setCommandIdBytes(com.google.protobuf.ByteString value)
Uniquely identifies the command.CommandsOuterClass.Commands.Builder
setCommands(int index, CommandsOuterClass.Command value)
Individual elements of this atomic command.CommandsOuterClass.Commands.Builder
setCommands(int index, CommandsOuterClass.Command.Builder builderForValue)
Individual elements of this atomic command.CommandsOuterClass.Commands.Builder
setDeduplicationDuration(com.google.protobuf.Duration value)
Specifies the length of the deduplication period.CommandsOuterClass.Commands.Builder
setDeduplicationDuration(com.google.protobuf.Duration.Builder builderForValue)
Specifies the length of the deduplication period.CommandsOuterClass.Commands.Builder
setDeduplicationOffset(java.lang.String value)
Specifies the start of the deduplication period by a completion stream offset (exclusive).CommandsOuterClass.Commands.Builder
setDeduplicationOffsetBytes(com.google.protobuf.ByteString value)
Specifies the start of the deduplication period by a completion stream offset (exclusive).CommandsOuterClass.Commands.Builder
setDeduplicationTime(com.google.protobuf.Duration value)
Deprecated.CommandsOuterClass.Commands.Builder
setDeduplicationTime(com.google.protobuf.Duration.Builder builderForValue)
Deprecated.CommandsOuterClass.Commands.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CommandsOuterClass.Commands.Builder
setLedgerId(java.lang.String value)
Must correspond to the ledger ID reported by the Ledger Identification Service.CommandsOuterClass.Commands.Builder
setLedgerIdBytes(com.google.protobuf.ByteString value)
Must correspond to the ledger ID reported by the Ledger Identification Service.CommandsOuterClass.Commands.Builder
setMinLedgerTimeAbs(com.google.protobuf.Timestamp value)
Lower bound for the ledger time assigned to the resulting transaction.CommandsOuterClass.Commands.Builder
setMinLedgerTimeAbs(com.google.protobuf.Timestamp.Builder builderForValue)
Lower bound for the ledger time assigned to the resulting transaction.CommandsOuterClass.Commands.Builder
setMinLedgerTimeRel(com.google.protobuf.Duration value)
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.CommandsOuterClass.Commands.Builder
setMinLedgerTimeRel(com.google.protobuf.Duration.Builder builderForValue)
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.CommandsOuterClass.Commands.Builder
setParty(java.lang.String value)
Party on whose behalf the command should be executed.CommandsOuterClass.Commands.Builder
setPartyBytes(com.google.protobuf.ByteString value)
Party on whose behalf the command should be executed.CommandsOuterClass.Commands.Builder
setReadAs(int index, java.lang.String value)
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.CommandsOuterClass.Commands.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
CommandsOuterClass.Commands.Builder
setSubmissionId(java.lang.String value)
A unique identifier to distinguish completions for different submissions with the same change ID.CommandsOuterClass.Commands.Builder
setSubmissionIdBytes(com.google.protobuf.ByteString value)
A unique identifier to distinguish completions for different submissions with the same change ID.CommandsOuterClass.Commands.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CommandsOuterClass.Commands.Builder
setWorkflowId(java.lang.String value)
Identifier of the on-ledger workflow that this command is a part of.CommandsOuterClass.Commands.Builder
setWorkflowIdBytes(com.google.protobuf.ByteString value)
Identifier of the on-ledger workflow that this command is a part of.-
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<CommandsOuterClass.Commands.Builder>
-
clear
public CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.Builder>
-
getDefaultInstanceForType
public CommandsOuterClass.Commands getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommandsOuterClass.Commands build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommandsOuterClass.Commands buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.Builder>
-
setField
public CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.Builder>
-
clearField
public CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.Builder>
-
clearOneof
public CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.Builder>
-
setRepeatedField
public CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.Builder>
-
addRepeatedField
public CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.Builder>
-
mergeFrom
public CommandsOuterClass.Commands.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CommandsOuterClass.Commands.Builder>
-
mergeFrom
public CommandsOuterClass.Commands.Builder mergeFrom(CommandsOuterClass.Commands other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Commands.Builder>
-
mergeFrom
public CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.Builder>
- Throws:
java.io.IOException
-
getDeduplicationPeriodCase
public CommandsOuterClass.Commands.DeduplicationPeriodCase getDeduplicationPeriodCase()
- Specified by:
getDeduplicationPeriodCase
in interfaceCommandsOuterClass.CommandsOrBuilder
-
clearDeduplicationPeriod
public CommandsOuterClass.Commands.Builder clearDeduplicationPeriod()
-
getLedgerId
public java.lang.String getLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Specified by:
getLedgerId
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The ledgerId.
-
getLedgerIdBytes
public com.google.protobuf.ByteString getLedgerIdBytes()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Specified by:
getLedgerIdBytes
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The bytes for ledgerId.
-
setLedgerId
public CommandsOuterClass.Commands.Builder setLedgerId(java.lang.String value)
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Parameters:
value
- The ledgerId to set.- Returns:
- This builder for chaining.
-
clearLedgerId
public CommandsOuterClass.Commands.Builder clearLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Returns:
- This builder for chaining.
-
setLedgerIdBytes
public CommandsOuterClass.Commands.Builder setLedgerIdBytes(com.google.protobuf.ByteString value)
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Parameters:
value
- The bytes for ledgerId to set.- Returns:
- This builder for chaining.
-
getWorkflowId
public java.lang.String getWorkflowId()
Identifier of the on-ledger workflow that this command is a part of. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 2 [json_name = "workflowId"];
- Specified by:
getWorkflowId
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The workflowId.
-
getWorkflowIdBytes
public com.google.protobuf.ByteString getWorkflowIdBytes()
Identifier of the on-ledger workflow that this command is a part of. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 2 [json_name = "workflowId"];
- Specified by:
getWorkflowIdBytes
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The bytes for workflowId.
-
setWorkflowId
public CommandsOuterClass.Commands.Builder setWorkflowId(java.lang.String value)
Identifier of the on-ledger workflow that this command is a part of. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 2 [json_name = "workflowId"];
- Parameters:
value
- The workflowId to set.- Returns:
- This builder for chaining.
-
clearWorkflowId
public CommandsOuterClass.Commands.Builder clearWorkflowId()
Identifier of the on-ledger workflow that this command is a part of. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 2 [json_name = "workflowId"];
- Returns:
- This builder for chaining.
-
setWorkflowIdBytes
public CommandsOuterClass.Commands.Builder setWorkflowIdBytes(com.google.protobuf.ByteString value)
Identifier of the on-ledger workflow that this command is a part of. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 2 [json_name = "workflowId"];
- Parameters:
value
- The bytes for workflowId to set.- Returns:
- This builder for chaining.
-
getApplicationId
public java.lang.String getApplicationId()
Uniquely identifies the application or participant user that issued the command. Must be a valid ApplicationIdString (as described in ``value.proto``). Required unless authentication is used with a user token or a custom token specifying an application-id. In that case, the token's user-id, respectively application-id, will be used for the request's application_id.
string application_id = 3 [json_name = "applicationId"];
- Specified by:
getApplicationId
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The applicationId.
-
getApplicationIdBytes
public com.google.protobuf.ByteString getApplicationIdBytes()
Uniquely identifies the application or participant user that issued the command. Must be a valid ApplicationIdString (as described in ``value.proto``). Required unless authentication is used with a user token or a custom token specifying an application-id. In that case, the token's user-id, respectively application-id, will be used for the request's application_id.
string application_id = 3 [json_name = "applicationId"];
- Specified by:
getApplicationIdBytes
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The bytes for applicationId.
-
setApplicationId
public CommandsOuterClass.Commands.Builder setApplicationId(java.lang.String value)
Uniquely identifies the application or participant user that issued the command. Must be a valid ApplicationIdString (as described in ``value.proto``). Required unless authentication is used with a user token or a custom token specifying an application-id. In that case, the token's user-id, respectively application-id, will be used for the request's application_id.
string application_id = 3 [json_name = "applicationId"];
- Parameters:
value
- The applicationId to set.- Returns:
- This builder for chaining.
-
clearApplicationId
public CommandsOuterClass.Commands.Builder clearApplicationId()
Uniquely identifies the application or participant user that issued the command. Must be a valid ApplicationIdString (as described in ``value.proto``). Required unless authentication is used with a user token or a custom token specifying an application-id. In that case, the token's user-id, respectively application-id, will be used for the request's application_id.
string application_id = 3 [json_name = "applicationId"];
- Returns:
- This builder for chaining.
-
setApplicationIdBytes
public CommandsOuterClass.Commands.Builder setApplicationIdBytes(com.google.protobuf.ByteString value)
Uniquely identifies the application or participant user that issued the command. Must be a valid ApplicationIdString (as described in ``value.proto``). Required unless authentication is used with a user token or a custom token specifying an application-id. In that case, the token's user-id, respectively application-id, will be used for the request's application_id.
string application_id = 3 [json_name = "applicationId"];
- Parameters:
value
- The bytes for applicationId to set.- Returns:
- This builder for chaining.
-
getCommandId
public java.lang.String getCommandId()
Uniquely identifies the command. The triple (application_id, party + act_as, command_id) constitutes the change ID for the intended ledger change, where party + act_as is interpreted as a set of party names. The change ID can be used for matching the intended ledger changes with all their completions. Must be a valid LedgerString (as described in ``value.proto``). Required
string command_id = 4 [json_name = "commandId"];
- Specified by:
getCommandId
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The commandId.
-
getCommandIdBytes
public com.google.protobuf.ByteString getCommandIdBytes()
Uniquely identifies the command. The triple (application_id, party + act_as, command_id) constitutes the change ID for the intended ledger change, where party + act_as is interpreted as a set of party names. The change ID can be used for matching the intended ledger changes with all their completions. Must be a valid LedgerString (as described in ``value.proto``). Required
string command_id = 4 [json_name = "commandId"];
- Specified by:
getCommandIdBytes
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The bytes for commandId.
-
setCommandId
public CommandsOuterClass.Commands.Builder setCommandId(java.lang.String value)
Uniquely identifies the command. The triple (application_id, party + act_as, command_id) constitutes the change ID for the intended ledger change, where party + act_as is interpreted as a set of party names. The change ID can be used for matching the intended ledger changes with all their completions. Must be a valid LedgerString (as described in ``value.proto``). Required
string command_id = 4 [json_name = "commandId"];
- Parameters:
value
- The commandId to set.- Returns:
- This builder for chaining.
-
clearCommandId
public CommandsOuterClass.Commands.Builder clearCommandId()
Uniquely identifies the command. The triple (application_id, party + act_as, command_id) constitutes the change ID for the intended ledger change, where party + act_as is interpreted as a set of party names. The change ID can be used for matching the intended ledger changes with all their completions. Must be a valid LedgerString (as described in ``value.proto``). Required
string command_id = 4 [json_name = "commandId"];
- Returns:
- This builder for chaining.
-
setCommandIdBytes
public CommandsOuterClass.Commands.Builder setCommandIdBytes(com.google.protobuf.ByteString value)
Uniquely identifies the command. The triple (application_id, party + act_as, command_id) constitutes the change ID for the intended ledger change, where party + act_as is interpreted as a set of party names. The change ID can be used for matching the intended ledger changes with all their completions. Must be a valid LedgerString (as described in ``value.proto``). Required
string command_id = 4 [json_name = "commandId"];
- Parameters:
value
- The bytes for commandId to set.- Returns:
- This builder for chaining.
-
getParty
public java.lang.String getParty()
Party on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of the given party. Must be a valid PartyIdString (as described in ``value.proto``). Deprecated in favor of the ``act_as`` field. If both are set, then the effective list of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``. Optional
string party = 5 [json_name = "party"];
- Specified by:
getParty
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The party.
-
getPartyBytes
public com.google.protobuf.ByteString getPartyBytes()
Party on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of the given party. Must be a valid PartyIdString (as described in ``value.proto``). Deprecated in favor of the ``act_as`` field. If both are set, then the effective list of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``. Optional
string party = 5 [json_name = "party"];
- Specified by:
getPartyBytes
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The bytes for party.
-
setParty
public CommandsOuterClass.Commands.Builder setParty(java.lang.String value)
Party on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of the given party. Must be a valid PartyIdString (as described in ``value.proto``). Deprecated in favor of the ``act_as`` field. If both are set, then the effective list of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``. Optional
string party = 5 [json_name = "party"];
- Parameters:
value
- The party to set.- Returns:
- This builder for chaining.
-
clearParty
public CommandsOuterClass.Commands.Builder clearParty()
Party on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of the given party. Must be a valid PartyIdString (as described in ``value.proto``). Deprecated in favor of the ``act_as`` field. If both are set, then the effective list of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``. Optional
string party = 5 [json_name = "party"];
- Returns:
- This builder for chaining.
-
setPartyBytes
public CommandsOuterClass.Commands.Builder setPartyBytes(com.google.protobuf.ByteString value)
Party on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of the given party. Must be a valid PartyIdString (as described in ``value.proto``). Deprecated in favor of the ``act_as`` field. If both are set, then the effective list of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``. Optional
string party = 5 [json_name = "party"];
- Parameters:
value
- The bytes for party to set.- Returns:
- This builder for chaining.
-
getCommandsList
public java.util.List<CommandsOuterClass.Command> getCommandsList()
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
- Specified by:
getCommandsList
in interfaceCommandsOuterClass.CommandsOrBuilder
-
getCommandsCount
public int getCommandsCount()
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
- Specified by:
getCommandsCount
in interfaceCommandsOuterClass.CommandsOrBuilder
-
getCommands
public CommandsOuterClass.Command getCommands(int index)
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
- Specified by:
getCommands
in interfaceCommandsOuterClass.CommandsOrBuilder
-
setCommands
public CommandsOuterClass.Commands.Builder setCommands(int index, CommandsOuterClass.Command value)
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
-
setCommands
public CommandsOuterClass.Commands.Builder setCommands(int index, CommandsOuterClass.Command.Builder builderForValue)
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
-
addCommands
public CommandsOuterClass.Commands.Builder addCommands(CommandsOuterClass.Command value)
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
-
addCommands
public CommandsOuterClass.Commands.Builder addCommands(int index, CommandsOuterClass.Command value)
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
-
addCommands
public CommandsOuterClass.Commands.Builder addCommands(CommandsOuterClass.Command.Builder builderForValue)
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
-
addCommands
public CommandsOuterClass.Commands.Builder addCommands(int index, CommandsOuterClass.Command.Builder builderForValue)
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
-
addAllCommands
public CommandsOuterClass.Commands.Builder addAllCommands(java.lang.Iterable<? extends CommandsOuterClass.Command> values)
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
-
clearCommands
public CommandsOuterClass.Commands.Builder clearCommands()
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
-
removeCommands
public CommandsOuterClass.Commands.Builder removeCommands(int index)
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
-
getCommandsBuilder
public CommandsOuterClass.Command.Builder getCommandsBuilder(int index)
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
-
getCommandsOrBuilder
public CommandsOuterClass.CommandOrBuilder getCommandsOrBuilder(int index)
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
- Specified by:
getCommandsOrBuilder
in interfaceCommandsOuterClass.CommandsOrBuilder
-
getCommandsOrBuilderList
public java.util.List<? extends CommandsOuterClass.CommandOrBuilder> getCommandsOrBuilderList()
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
- Specified by:
getCommandsOrBuilderList
in interfaceCommandsOuterClass.CommandsOrBuilder
-
addCommandsBuilder
public CommandsOuterClass.Command.Builder addCommandsBuilder()
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
-
addCommandsBuilder
public CommandsOuterClass.Command.Builder addCommandsBuilder(int index)
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
-
getCommandsBuilderList
public java.util.List<CommandsOuterClass.Command.Builder> getCommandsBuilderList()
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
-
hasDeduplicationTime
@Deprecated public boolean hasDeduplicationTime()
Deprecated.Specifies the length of the deduplication period. Same semantics apply as for `deduplication_duration`. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_time = 9 [json_name = "deduplicationTime", deprecated = true];
- Specified by:
hasDeduplicationTime
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- Whether the deduplicationTime field is set.
-
getDeduplicationTime
@Deprecated public com.google.protobuf.Duration getDeduplicationTime()
Deprecated.Specifies the length of the deduplication period. Same semantics apply as for `deduplication_duration`. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_time = 9 [json_name = "deduplicationTime", deprecated = true];
- Specified by:
getDeduplicationTime
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The deduplicationTime.
-
setDeduplicationTime
@Deprecated public CommandsOuterClass.Commands.Builder setDeduplicationTime(com.google.protobuf.Duration value)
Deprecated.Specifies the length of the deduplication period. Same semantics apply as for `deduplication_duration`. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_time = 9 [json_name = "deduplicationTime", deprecated = true];
-
setDeduplicationTime
@Deprecated public CommandsOuterClass.Commands.Builder setDeduplicationTime(com.google.protobuf.Duration.Builder builderForValue)
Deprecated.Specifies the length of the deduplication period. Same semantics apply as for `deduplication_duration`. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_time = 9 [json_name = "deduplicationTime", deprecated = true];
-
mergeDeduplicationTime
@Deprecated public CommandsOuterClass.Commands.Builder mergeDeduplicationTime(com.google.protobuf.Duration value)
Deprecated.Specifies the length of the deduplication period. Same semantics apply as for `deduplication_duration`. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_time = 9 [json_name = "deduplicationTime", deprecated = true];
-
clearDeduplicationTime
@Deprecated public CommandsOuterClass.Commands.Builder clearDeduplicationTime()
Deprecated.Specifies the length of the deduplication period. Same semantics apply as for `deduplication_duration`. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_time = 9 [json_name = "deduplicationTime", deprecated = true];
-
getDeduplicationTimeBuilder
@Deprecated public com.google.protobuf.Duration.Builder getDeduplicationTimeBuilder()
Deprecated.Specifies the length of the deduplication period. Same semantics apply as for `deduplication_duration`. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_time = 9 [json_name = "deduplicationTime", deprecated = true];
-
getDeduplicationTimeOrBuilder
@Deprecated public com.google.protobuf.DurationOrBuilder getDeduplicationTimeOrBuilder()
Deprecated.Specifies the length of the deduplication period. Same semantics apply as for `deduplication_duration`. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_time = 9 [json_name = "deduplicationTime", deprecated = true];
- Specified by:
getDeduplicationTimeOrBuilder
in interfaceCommandsOuterClass.CommandsOrBuilder
-
hasDeduplicationDuration
public boolean hasDeduplicationDuration()
Specifies the length of the deduplication period. It is interpreted relative to the local clock at some point during the submission's processing. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_duration = 15 [json_name = "deduplicationDuration"];
- Specified by:
hasDeduplicationDuration
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- Whether the deduplicationDuration field is set.
-
getDeduplicationDuration
public com.google.protobuf.Duration getDeduplicationDuration()
Specifies the length of the deduplication period. It is interpreted relative to the local clock at some point during the submission's processing. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_duration = 15 [json_name = "deduplicationDuration"];
- Specified by:
getDeduplicationDuration
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The deduplicationDuration.
-
setDeduplicationDuration
public CommandsOuterClass.Commands.Builder setDeduplicationDuration(com.google.protobuf.Duration value)
Specifies the length of the deduplication period. It is interpreted relative to the local clock at some point during the submission's processing. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_duration = 15 [json_name = "deduplicationDuration"];
-
setDeduplicationDuration
public CommandsOuterClass.Commands.Builder setDeduplicationDuration(com.google.protobuf.Duration.Builder builderForValue)
Specifies the length of the deduplication period. It is interpreted relative to the local clock at some point during the submission's processing. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_duration = 15 [json_name = "deduplicationDuration"];
-
mergeDeduplicationDuration
public CommandsOuterClass.Commands.Builder mergeDeduplicationDuration(com.google.protobuf.Duration value)
Specifies the length of the deduplication period. It is interpreted relative to the local clock at some point during the submission's processing. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_duration = 15 [json_name = "deduplicationDuration"];
-
clearDeduplicationDuration
public CommandsOuterClass.Commands.Builder clearDeduplicationDuration()
Specifies the length of the deduplication period. It is interpreted relative to the local clock at some point during the submission's processing. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_duration = 15 [json_name = "deduplicationDuration"];
-
getDeduplicationDurationBuilder
public com.google.protobuf.Duration.Builder getDeduplicationDurationBuilder()
Specifies the length of the deduplication period. It is interpreted relative to the local clock at some point during the submission's processing. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_duration = 15 [json_name = "deduplicationDuration"];
-
getDeduplicationDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDeduplicationDurationOrBuilder()
Specifies the length of the deduplication period. It is interpreted relative to the local clock at some point during the submission's processing. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_duration = 15 [json_name = "deduplicationDuration"];
- Specified by:
getDeduplicationDurationOrBuilder
in interfaceCommandsOuterClass.CommandsOrBuilder
-
hasDeduplicationOffset
public boolean hasDeduplicationOffset()
Specifies the start of the deduplication period by a completion stream offset (exclusive). Must be a valid LedgerString (as described in ``ledger_offset.proto``).
string deduplication_offset = 16 [json_name = "deduplicationOffset"];
- Specified by:
hasDeduplicationOffset
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- Whether the deduplicationOffset field is set.
-
getDeduplicationOffset
public java.lang.String getDeduplicationOffset()
Specifies the start of the deduplication period by a completion stream offset (exclusive). Must be a valid LedgerString (as described in ``ledger_offset.proto``).
string deduplication_offset = 16 [json_name = "deduplicationOffset"];
- Specified by:
getDeduplicationOffset
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The deduplicationOffset.
-
getDeduplicationOffsetBytes
public com.google.protobuf.ByteString getDeduplicationOffsetBytes()
Specifies the start of the deduplication period by a completion stream offset (exclusive). Must be a valid LedgerString (as described in ``ledger_offset.proto``).
string deduplication_offset = 16 [json_name = "deduplicationOffset"];
- Specified by:
getDeduplicationOffsetBytes
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The bytes for deduplicationOffset.
-
setDeduplicationOffset
public CommandsOuterClass.Commands.Builder setDeduplicationOffset(java.lang.String value)
Specifies the start of the deduplication period by a completion stream offset (exclusive). Must be a valid LedgerString (as described in ``ledger_offset.proto``).
string deduplication_offset = 16 [json_name = "deduplicationOffset"];
- Parameters:
value
- The deduplicationOffset to set.- Returns:
- This builder for chaining.
-
clearDeduplicationOffset
public CommandsOuterClass.Commands.Builder clearDeduplicationOffset()
Specifies the start of the deduplication period by a completion stream offset (exclusive). Must be a valid LedgerString (as described in ``ledger_offset.proto``).
string deduplication_offset = 16 [json_name = "deduplicationOffset"];
- Returns:
- This builder for chaining.
-
setDeduplicationOffsetBytes
public CommandsOuterClass.Commands.Builder setDeduplicationOffsetBytes(com.google.protobuf.ByteString value)
Specifies the start of the deduplication period by a completion stream offset (exclusive). Must be a valid LedgerString (as described in ``ledger_offset.proto``).
string deduplication_offset = 16 [json_name = "deduplicationOffset"];
- Parameters:
value
- The bytes for deduplicationOffset to set.- Returns:
- This builder for chaining.
-
hasMinLedgerTimeAbs
public boolean hasMinLedgerTimeAbs()
Lower bound for the ledger time assigned to the resulting transaction. Note: The ledger time of a transaction is assigned as part of command interpretation. Use this property if you expect that command interpretation will take a considerate amount of time, such that by the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore. Must not be set at the same time as min_ledger_time_rel. Optional
.google.protobuf.Timestamp min_ledger_time_abs = 10 [json_name = "minLedgerTimeAbs"];
- Specified by:
hasMinLedgerTimeAbs
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- Whether the minLedgerTimeAbs field is set.
-
getMinLedgerTimeAbs
public com.google.protobuf.Timestamp getMinLedgerTimeAbs()
Lower bound for the ledger time assigned to the resulting transaction. Note: The ledger time of a transaction is assigned as part of command interpretation. Use this property if you expect that command interpretation will take a considerate amount of time, such that by the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore. Must not be set at the same time as min_ledger_time_rel. Optional
.google.protobuf.Timestamp min_ledger_time_abs = 10 [json_name = "minLedgerTimeAbs"];
- Specified by:
getMinLedgerTimeAbs
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The minLedgerTimeAbs.
-
setMinLedgerTimeAbs
public CommandsOuterClass.Commands.Builder setMinLedgerTimeAbs(com.google.protobuf.Timestamp value)
Lower bound for the ledger time assigned to the resulting transaction. Note: The ledger time of a transaction is assigned as part of command interpretation. Use this property if you expect that command interpretation will take a considerate amount of time, such that by the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore. Must not be set at the same time as min_ledger_time_rel. Optional
.google.protobuf.Timestamp min_ledger_time_abs = 10 [json_name = "minLedgerTimeAbs"];
-
setMinLedgerTimeAbs
public CommandsOuterClass.Commands.Builder setMinLedgerTimeAbs(com.google.protobuf.Timestamp.Builder builderForValue)
Lower bound for the ledger time assigned to the resulting transaction. Note: The ledger time of a transaction is assigned as part of command interpretation. Use this property if you expect that command interpretation will take a considerate amount of time, such that by the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore. Must not be set at the same time as min_ledger_time_rel. Optional
.google.protobuf.Timestamp min_ledger_time_abs = 10 [json_name = "minLedgerTimeAbs"];
-
mergeMinLedgerTimeAbs
public CommandsOuterClass.Commands.Builder mergeMinLedgerTimeAbs(com.google.protobuf.Timestamp value)
Lower bound for the ledger time assigned to the resulting transaction. Note: The ledger time of a transaction is assigned as part of command interpretation. Use this property if you expect that command interpretation will take a considerate amount of time, such that by the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore. Must not be set at the same time as min_ledger_time_rel. Optional
.google.protobuf.Timestamp min_ledger_time_abs = 10 [json_name = "minLedgerTimeAbs"];
-
clearMinLedgerTimeAbs
public CommandsOuterClass.Commands.Builder clearMinLedgerTimeAbs()
Lower bound for the ledger time assigned to the resulting transaction. Note: The ledger time of a transaction is assigned as part of command interpretation. Use this property if you expect that command interpretation will take a considerate amount of time, such that by the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore. Must not be set at the same time as min_ledger_time_rel. Optional
.google.protobuf.Timestamp min_ledger_time_abs = 10 [json_name = "minLedgerTimeAbs"];
-
getMinLedgerTimeAbsBuilder
public com.google.protobuf.Timestamp.Builder getMinLedgerTimeAbsBuilder()
Lower bound for the ledger time assigned to the resulting transaction. Note: The ledger time of a transaction is assigned as part of command interpretation. Use this property if you expect that command interpretation will take a considerate amount of time, such that by the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore. Must not be set at the same time as min_ledger_time_rel. Optional
.google.protobuf.Timestamp min_ledger_time_abs = 10 [json_name = "minLedgerTimeAbs"];
-
getMinLedgerTimeAbsOrBuilder
public com.google.protobuf.TimestampOrBuilder getMinLedgerTimeAbsOrBuilder()
Lower bound for the ledger time assigned to the resulting transaction. Note: The ledger time of a transaction is assigned as part of command interpretation. Use this property if you expect that command interpretation will take a considerate amount of time, such that by the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore. Must not be set at the same time as min_ledger_time_rel. Optional
.google.protobuf.Timestamp min_ledger_time_abs = 10 [json_name = "minLedgerTimeAbs"];
- Specified by:
getMinLedgerTimeAbsOrBuilder
in interfaceCommandsOuterClass.CommandsOrBuilder
-
hasMinLedgerTimeRel
public boolean hasMinLedgerTimeRel()
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server. Must not be set at the same time as min_ledger_time_abs. Optional
.google.protobuf.Duration min_ledger_time_rel = 11 [json_name = "minLedgerTimeRel"];
- Specified by:
hasMinLedgerTimeRel
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- Whether the minLedgerTimeRel field is set.
-
getMinLedgerTimeRel
public com.google.protobuf.Duration getMinLedgerTimeRel()
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server. Must not be set at the same time as min_ledger_time_abs. Optional
.google.protobuf.Duration min_ledger_time_rel = 11 [json_name = "minLedgerTimeRel"];
- Specified by:
getMinLedgerTimeRel
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The minLedgerTimeRel.
-
setMinLedgerTimeRel
public CommandsOuterClass.Commands.Builder setMinLedgerTimeRel(com.google.protobuf.Duration value)
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server. Must not be set at the same time as min_ledger_time_abs. Optional
.google.protobuf.Duration min_ledger_time_rel = 11 [json_name = "minLedgerTimeRel"];
-
setMinLedgerTimeRel
public CommandsOuterClass.Commands.Builder setMinLedgerTimeRel(com.google.protobuf.Duration.Builder builderForValue)
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server. Must not be set at the same time as min_ledger_time_abs. Optional
.google.protobuf.Duration min_ledger_time_rel = 11 [json_name = "minLedgerTimeRel"];
-
mergeMinLedgerTimeRel
public CommandsOuterClass.Commands.Builder mergeMinLedgerTimeRel(com.google.protobuf.Duration value)
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server. Must not be set at the same time as min_ledger_time_abs. Optional
.google.protobuf.Duration min_ledger_time_rel = 11 [json_name = "minLedgerTimeRel"];
-
clearMinLedgerTimeRel
public CommandsOuterClass.Commands.Builder clearMinLedgerTimeRel()
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server. Must not be set at the same time as min_ledger_time_abs. Optional
.google.protobuf.Duration min_ledger_time_rel = 11 [json_name = "minLedgerTimeRel"];
-
getMinLedgerTimeRelBuilder
public com.google.protobuf.Duration.Builder getMinLedgerTimeRelBuilder()
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server. Must not be set at the same time as min_ledger_time_abs. Optional
.google.protobuf.Duration min_ledger_time_rel = 11 [json_name = "minLedgerTimeRel"];
-
getMinLedgerTimeRelOrBuilder
public com.google.protobuf.DurationOrBuilder getMinLedgerTimeRelOrBuilder()
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server. Must not be set at the same time as min_ledger_time_abs. Optional
.google.protobuf.Duration min_ledger_time_rel = 11 [json_name = "minLedgerTimeRel"];
- Specified by:
getMinLedgerTimeRelOrBuilder
in interfaceCommandsOuterClass.CommandsOrBuilder
-
getActAsList
public com.google.protobuf.ProtocolStringList getActAsList()
Set of parties on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of each of the given parties. This field supersedes the ``party`` field. The effective set of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``, which must be non-empty. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional
repeated string act_as = 12 [json_name = "actAs"];
- Specified by:
getActAsList
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- A list containing the actAs.
-
getActAsCount
public int getActAsCount()
Set of parties on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of each of the given parties. This field supersedes the ``party`` field. The effective set of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``, which must be non-empty. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional
repeated string act_as = 12 [json_name = "actAs"];
- Specified by:
getActAsCount
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The count of actAs.
-
getActAs
public java.lang.String getActAs(int index)
Set of parties on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of each of the given parties. This field supersedes the ``party`` field. The effective set of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``, which must be non-empty. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional
repeated string act_as = 12 [json_name = "actAs"];
- Specified by:
getActAs
in interfaceCommandsOuterClass.CommandsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The actAs at the given index.
-
getActAsBytes
public com.google.protobuf.ByteString getActAsBytes(int index)
Set of parties on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of each of the given parties. This field supersedes the ``party`` field. The effective set of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``, which must be non-empty. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional
repeated string act_as = 12 [json_name = "actAs"];
- Specified by:
getActAsBytes
in interfaceCommandsOuterClass.CommandsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the actAs at the given index.
-
setActAs
public CommandsOuterClass.Commands.Builder setActAs(int index, java.lang.String value)
Set of parties on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of each of the given parties. This field supersedes the ``party`` field. The effective set of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``, which must be non-empty. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional
repeated string act_as = 12 [json_name = "actAs"];
- Parameters:
index
- The index to set the value at.value
- The actAs to set.- Returns:
- This builder for chaining.
-
addActAs
public CommandsOuterClass.Commands.Builder addActAs(java.lang.String value)
Set of parties on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of each of the given parties. This field supersedes the ``party`` field. The effective set of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``, which must be non-empty. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional
repeated string act_as = 12 [json_name = "actAs"];
- Parameters:
value
- The actAs to add.- Returns:
- This builder for chaining.
-
addAllActAs
public CommandsOuterClass.Commands.Builder addAllActAs(java.lang.Iterable<java.lang.String> values)
Set of parties on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of each of the given parties. This field supersedes the ``party`` field. The effective set of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``, which must be non-empty. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional
repeated string act_as = 12 [json_name = "actAs"];
- Parameters:
values
- The actAs to add.- Returns:
- This builder for chaining.
-
clearActAs
public CommandsOuterClass.Commands.Builder clearActAs()
Set of parties on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of each of the given parties. This field supersedes the ``party`` field. The effective set of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``, which must be non-empty. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional
repeated string act_as = 12 [json_name = "actAs"];
- Returns:
- This builder for chaining.
-
addActAsBytes
public CommandsOuterClass.Commands.Builder addActAsBytes(com.google.protobuf.ByteString value)
Set of parties on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of each of the given parties. This field supersedes the ``party`` field. The effective set of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``, which must be non-empty. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional
repeated string act_as = 12 [json_name = "actAs"];
- Parameters:
value
- The bytes of the actAs to add.- Returns:
- This builder for chaining.
-
getReadAsList
public com.google.protobuf.ProtocolStringList getReadAsList()
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant node is only visible to a subset of these parties. A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional
repeated string read_as = 13 [json_name = "readAs"];
- Specified by:
getReadAsList
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- A list containing the readAs.
-
getReadAsCount
public int getReadAsCount()
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant node is only visible to a subset of these parties. A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional
repeated string read_as = 13 [json_name = "readAs"];
- Specified by:
getReadAsCount
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The count of readAs.
-
getReadAs
public java.lang.String getReadAs(int index)
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant node is only visible to a subset of these parties. A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional
repeated string read_as = 13 [json_name = "readAs"];
- Specified by:
getReadAs
in interfaceCommandsOuterClass.CommandsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The readAs at the given index.
-
getReadAsBytes
public com.google.protobuf.ByteString getReadAsBytes(int index)
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant node is only visible to a subset of these parties. A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional
repeated string read_as = 13 [json_name = "readAs"];
- Specified by:
getReadAsBytes
in interfaceCommandsOuterClass.CommandsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the readAs at the given index.
-
setReadAs
public CommandsOuterClass.Commands.Builder setReadAs(int index, java.lang.String value)
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant node is only visible to a subset of these parties. A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional
repeated string read_as = 13 [json_name = "readAs"];
- Parameters:
index
- The index to set the value at.value
- The readAs to set.- Returns:
- This builder for chaining.
-
addReadAs
public CommandsOuterClass.Commands.Builder addReadAs(java.lang.String value)
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant node is only visible to a subset of these parties. A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional
repeated string read_as = 13 [json_name = "readAs"];
- Parameters:
value
- The readAs to add.- Returns:
- This builder for chaining.
-
addAllReadAs
public CommandsOuterClass.Commands.Builder addAllReadAs(java.lang.Iterable<java.lang.String> values)
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant node is only visible to a subset of these parties. A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional
repeated string read_as = 13 [json_name = "readAs"];
- Parameters:
values
- The readAs to add.- Returns:
- This builder for chaining.
-
clearReadAs
public CommandsOuterClass.Commands.Builder clearReadAs()
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant node is only visible to a subset of these parties. A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional
repeated string read_as = 13 [json_name = "readAs"];
- Returns:
- This builder for chaining.
-
addReadAsBytes
public CommandsOuterClass.Commands.Builder addReadAsBytes(com.google.protobuf.ByteString value)
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant node is only visible to a subset of these parties. A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional
repeated string read_as = 13 [json_name = "readAs"];
- Parameters:
value
- The bytes of the readAs to add.- Returns:
- This builder for chaining.
-
getSubmissionId
public java.lang.String getSubmissionId()
A unique identifier to distinguish completions for different submissions with the same change ID. Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission with the same change ID. Must be a valid LedgerString (as described in ``value.proto``). If omitted, the participant or the committer may set a value of their choice. Optional
string submission_id = 14 [json_name = "submissionId"];
- Specified by:
getSubmissionId
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The submissionId.
-
getSubmissionIdBytes
public com.google.protobuf.ByteString getSubmissionIdBytes()
A unique identifier to distinguish completions for different submissions with the same change ID. Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission with the same change ID. Must be a valid LedgerString (as described in ``value.proto``). If omitted, the participant or the committer may set a value of their choice. Optional
string submission_id = 14 [json_name = "submissionId"];
- Specified by:
getSubmissionIdBytes
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The bytes for submissionId.
-
setSubmissionId
public CommandsOuterClass.Commands.Builder setSubmissionId(java.lang.String value)
A unique identifier to distinguish completions for different submissions with the same change ID. Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission with the same change ID. Must be a valid LedgerString (as described in ``value.proto``). If omitted, the participant or the committer may set a value of their choice. Optional
string submission_id = 14 [json_name = "submissionId"];
- Parameters:
value
- The submissionId to set.- Returns:
- This builder for chaining.
-
clearSubmissionId
public CommandsOuterClass.Commands.Builder clearSubmissionId()
A unique identifier to distinguish completions for different submissions with the same change ID. Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission with the same change ID. Must be a valid LedgerString (as described in ``value.proto``). If omitted, the participant or the committer may set a value of their choice. Optional
string submission_id = 14 [json_name = "submissionId"];
- Returns:
- This builder for chaining.
-
setSubmissionIdBytes
public CommandsOuterClass.Commands.Builder setSubmissionIdBytes(com.google.protobuf.ByteString value)
A unique identifier to distinguish completions for different submissions with the same change ID. Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission with the same change ID. Must be a valid LedgerString (as described in ``value.proto``). If omitted, the participant or the committer may set a value of their choice. Optional
string submission_id = 14 [json_name = "submissionId"];
- Parameters:
value
- The bytes for submissionId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CommandsOuterClass.Commands.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Commands.Builder>
-
mergeUnknownFields
public final CommandsOuterClass.Commands.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Commands.Builder>
-
-