Package com.daml.ledger.api.v2
Class CommandsOuterClass.Commands.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Commands.Builder>
com.daml.ledger.api.v2.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
,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 type
com.daml.ledger.api.v2.Commands
-
Method Summary
Modifier and TypeMethodDescriptionSet of parties on whose behalf the command should be executed.addActAsBytes
(com.google.protobuf.ByteString value) Set of parties on whose behalf the command should be executed.addAllActAs
(Iterable<String> values) Set of parties on whose behalf the command should be executed.addAllCommands
(Iterable<? extends CommandsOuterClass.Command> values) Individual elements of this atomic command.addAllDisclosedContracts
(Iterable<? extends CommandsOuterClass.DisclosedContract> values) Additional contracts used to resolve contract & contract key lookups.The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretationaddAllPrefetchContractKeys
(Iterable<? extends CommandsOuterClass.PrefetchContractKey> values) Fetches the contract keys into the caches to speed up the command processing.addAllReadAs
(Iterable<String> values) Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.addCommands
(int index, CommandsOuterClass.Command value) Individual elements of this atomic command.addCommands
(int index, CommandsOuterClass.Command.Builder builderForValue) Individual elements of this atomic command.Individual elements of this atomic command.addCommands
(CommandsOuterClass.Command.Builder builderForValue) Individual elements of this atomic command.Individual elements of this atomic command.addCommandsBuilder
(int index) Individual elements of this atomic command.addDisclosedContracts
(int index, CommandsOuterClass.DisclosedContract value) Additional contracts used to resolve contract & contract key lookups.addDisclosedContracts
(int index, CommandsOuterClass.DisclosedContract.Builder builderForValue) Additional contracts used to resolve contract & contract key lookups.Additional contracts used to resolve contract & contract key lookups.addDisclosedContracts
(CommandsOuterClass.DisclosedContract.Builder builderForValue) Additional contracts used to resolve contract & contract key lookups.Additional contracts used to resolve contract & contract key lookups.addDisclosedContractsBuilder
(int index) Additional contracts used to resolve contract & contract key lookups.The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretationaddPackageIdSelectionPreferenceBytes
(com.google.protobuf.ByteString value) The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretationaddPrefetchContractKeys
(int index, CommandsOuterClass.PrefetchContractKey value) Fetches the contract keys into the caches to speed up the command processing.addPrefetchContractKeys
(int index, CommandsOuterClass.PrefetchContractKey.Builder builderForValue) Fetches the contract keys into the caches to speed up the command processing.Fetches the contract keys into the caches to speed up the command processing.addPrefetchContractKeys
(CommandsOuterClass.PrefetchContractKey.Builder builderForValue) Fetches the contract keys into the caches to speed up the command processing.Fetches the contract keys into the caches to speed up the command processing.addPrefetchContractKeysBuilder
(int index) Fetches the contract keys into the caches to speed up the command processing.Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.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.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Set of parties on whose behalf the command should be executed.Uniquely identifies the command.Individual elements of this atomic command.Specifies the length of the deduplication period.Specifies the start of the deduplication period by a completion stream offset (exclusive).Additional contracts used to resolve contract & contract key lookups.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Lower bound for the ledger time assigned to the resulting transaction.Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretationFetches the contract keys into the caches to speed up the command processing.Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.A unique identifier to distinguish completions for different submissions with the same change ID.Must be a valid synchronizer id OptionalUniquely identifies the participant user that issued the command.Identifier of the on-ledger workflow that this command is a part of.clone()
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
Set of parties on whose behalf the command should be executed.com.google.protobuf.ProtocolStringList
Set of parties on whose behalf the command should be executed.Uniquely identifies the command.com.google.protobuf.ByteString
Uniquely identifies the command.getCommands
(int index) Individual elements of this atomic command.getCommandsBuilder
(int index) Individual elements of this atomic command.Individual elements of this atomic command.int
Individual elements of this atomic command.Individual elements of this atomic command.getCommandsOrBuilder
(int index) Individual elements of this atomic command.List<? extends CommandsOuterClass.CommandOrBuilder>
Individual elements of this atomic command.com.google.protobuf.Duration
Specifies the length of the deduplication period.com.google.protobuf.Duration.Builder
Specifies the length of the deduplication period.com.google.protobuf.DurationOrBuilder
Specifies the length of the deduplication period.long
Specifies the start of the deduplication period by a completion stream offset (exclusive).static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getDisclosedContracts
(int index) Additional contracts used to resolve contract & contract key lookups.getDisclosedContractsBuilder
(int index) Additional contracts used to resolve contract & contract key lookups.Additional contracts used to resolve contract & contract key lookups.int
Additional contracts used to resolve contract & contract key lookups.Additional contracts used to resolve contract & contract key lookups.getDisclosedContractsOrBuilder
(int index) Additional contracts used to resolve contract & contract key lookups.Additional contracts used to resolve contract & contract key lookups.com.google.protobuf.Timestamp
Lower bound for the ledger time assigned to the resulting transaction.com.google.protobuf.Timestamp.Builder
Lower bound for the ledger time assigned to the resulting transaction.com.google.protobuf.TimestampOrBuilder
Lower bound for the ledger time assigned to the resulting transaction.com.google.protobuf.Duration
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
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
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.getPackageIdSelectionPreference
(int index) The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretationcom.google.protobuf.ByteString
getPackageIdSelectionPreferenceBytes
(int index) The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretationint
The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretationcom.google.protobuf.ProtocolStringList
The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretationgetPrefetchContractKeys
(int index) Fetches the contract keys into the caches to speed up the command processing.getPrefetchContractKeysBuilder
(int index) Fetches the contract keys into the caches to speed up the command processing.Fetches the contract keys into the caches to speed up the command processing.int
Fetches the contract keys into the caches to speed up the command processing.Fetches the contract keys into the caches to speed up the command processing.getPrefetchContractKeysOrBuilder
(int index) Fetches the contract keys into the caches to speed up the command processing.Fetches the contract keys into the caches to speed up the command processing.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
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.com.google.protobuf.ProtocolStringList
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.A unique identifier to distinguish completions for different submissions with the same change ID.com.google.protobuf.ByteString
A unique identifier to distinguish completions for different submissions with the same change ID.Must be a valid synchronizer id Optionalcom.google.protobuf.ByteString
Must be a valid synchronizer id OptionalUniquely identifies the participant user that issued the command.com.google.protobuf.ByteString
Uniquely identifies the participant user that issued the command.Identifier of the on-ledger workflow that this command is a part of.com.google.protobuf.ByteString
Identifier of the on-ledger workflow that this command is a part of.boolean
Specifies the length of the deduplication period.boolean
Specifies the start of the deduplication period by a completion stream offset (exclusive).boolean
Lower bound for the ledger time assigned to the resulting transaction.boolean
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
final boolean
mergeDeduplicationDuration
(com.google.protobuf.Duration value) Specifies the length of the deduplication period.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeMinLedgerTimeAbs
(com.google.protobuf.Timestamp value) Lower bound for the ledger time assigned to the resulting transaction.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.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeCommands
(int index) Individual elements of this atomic command.removeDisclosedContracts
(int index) Additional contracts used to resolve contract & contract key lookups.removePrefetchContractKeys
(int index) Fetches the contract keys into the caches to speed up the command processing.Set of parties on whose behalf the command should be executed.setCommandId
(String value) Uniquely identifies the command.setCommandIdBytes
(com.google.protobuf.ByteString value) Uniquely identifies the command.setCommands
(int index, CommandsOuterClass.Command value) Individual elements of this atomic command.setCommands
(int index, CommandsOuterClass.Command.Builder builderForValue) Individual elements of this atomic command.setDeduplicationDuration
(com.google.protobuf.Duration value) Specifies the length of the deduplication period.setDeduplicationDuration
(com.google.protobuf.Duration.Builder builderForValue) Specifies the length of the deduplication period.setDeduplicationOffset
(long value) Specifies the start of the deduplication period by a completion stream offset (exclusive).setDisclosedContracts
(int index, CommandsOuterClass.DisclosedContract value) Additional contracts used to resolve contract & contract key lookups.setDisclosedContracts
(int index, CommandsOuterClass.DisclosedContract.Builder builderForValue) Additional contracts used to resolve contract & contract key lookups.setMinLedgerTimeAbs
(com.google.protobuf.Timestamp value) Lower bound for the ledger time assigned to the resulting transaction.setMinLedgerTimeAbs
(com.google.protobuf.Timestamp.Builder builderForValue) Lower bound for the ledger time assigned to the resulting transaction.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.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.setPackageIdSelectionPreference
(int index, String value) The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretationsetPrefetchContractKeys
(int index, CommandsOuterClass.PrefetchContractKey value) Fetches the contract keys into the caches to speed up the command processing.setPrefetchContractKeys
(int index, CommandsOuterClass.PrefetchContractKey.Builder builderForValue) Fetches the contract keys into the caches to speed up the command processing.Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSubmissionId
(String value) A unique identifier to distinguish completions for different submissions with the same change ID.setSubmissionIdBytes
(com.google.protobuf.ByteString value) A unique identifier to distinguish completions for different submissions with the same change ID.setSynchronizerId
(String value) Must be a valid synchronizer id OptionalsetSynchronizerIdBytes
(com.google.protobuf.ByteString value) Must be a valid synchronizer id OptionalsetUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Uniquely identifies the participant user that issued the command.setUserIdBytes
(com.google.protobuf.ByteString value) Uniquely identifies the participant user that issued the command.setWorkflowId
(String value) Identifier of the on-ledger workflow that this command is a part of.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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<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
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Commands.Builder>
-
setField
public CommandsOuterClass.Commands.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<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, 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, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Commands.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CommandsOuterClass.Commands.Builder>
-
mergeFrom
-
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 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:
IOException
-
getDeduplicationPeriodCase
- Specified by:
getDeduplicationPeriodCase
in interfaceCommandsOuterClass.CommandsOrBuilder
-
clearDeduplicationPeriod
-
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 = 1 [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 = 1 [json_name = "workflowId"];
- Specified by:
getWorkflowIdBytes
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The bytes for workflowId.
-
setWorkflowId
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 = 1 [json_name = "workflowId"];
- Parameters:
value
- The workflowId to set.- Returns:
- This builder for chaining.
-
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 = 1 [json_name = "workflowId"];
- Returns:
- This builder for chaining.
-
setWorkflowIdBytes
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 = 1 [json_name = "workflowId"];
- Parameters:
value
- The bytes for workflowId to set.- Returns:
- This builder for chaining.
-
getUserId
Uniquely identifies the participant user that issued the command. Must be a valid UserIdString (as described in ``value.proto``). Required unless authentication is used with a user token. In that case, the token's user-id will be used for the request's user_id.
string user_id = 2 [json_name = "userId"];
- Specified by:
getUserId
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The userId.
-
getUserIdBytes
public com.google.protobuf.ByteString getUserIdBytes()Uniquely identifies the participant user that issued the command. Must be a valid UserIdString (as described in ``value.proto``). Required unless authentication is used with a user token. In that case, the token's user-id will be used for the request's user_id.
string user_id = 2 [json_name = "userId"];
- Specified by:
getUserIdBytes
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The bytes for userId.
-
setUserId
Uniquely identifies the participant user that issued the command. Must be a valid UserIdString (as described in ``value.proto``). Required unless authentication is used with a user token. In that case, the token's user-id will be used for the request's user_id.
string user_id = 2 [json_name = "userId"];
- Parameters:
value
- The userId to set.- Returns:
- This builder for chaining.
-
clearUserId
Uniquely identifies the participant user that issued the command. Must be a valid UserIdString (as described in ``value.proto``). Required unless authentication is used with a user token. In that case, the token's user-id will be used for the request's user_id.
string user_id = 2 [json_name = "userId"];
- Returns:
- This builder for chaining.
-
setUserIdBytes
Uniquely identifies the participant user that issued the command. Must be a valid UserIdString (as described in ``value.proto``). Required unless authentication is used with a user token. In that case, the token's user-id will be used for the request's user_id.
string user_id = 2 [json_name = "userId"];
- Parameters:
value
- The bytes for userId to set.- Returns:
- This builder for chaining.
-
getCommandId
Uniquely identifies the command. The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change, where 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 = 3 [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 (user_id, act_as, command_id) constitutes the change ID for the intended ledger change, where 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 = 3 [json_name = "commandId"];
- Specified by:
getCommandIdBytes
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The bytes for commandId.
-
setCommandId
Uniquely identifies the command. The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change, where 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 = 3 [json_name = "commandId"];
- Parameters:
value
- The commandId to set.- Returns:
- This builder for chaining.
-
clearCommandId
Uniquely identifies the command. The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change, where 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 = 3 [json_name = "commandId"];
- Returns:
- This builder for chaining.
-
setCommandIdBytes
Uniquely identifies the command. The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change, where 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 = 3 [json_name = "commandId"];
- Parameters:
value
- The bytes for commandId to set.- Returns:
- This builder for chaining.
-
getCommandsList
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v2.Command commands = 4 [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.v2.Command commands = 4 [json_name = "commands"];
- Specified by:
getCommandsCount
in interfaceCommandsOuterClass.CommandsOrBuilder
-
getCommands
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v2.Command commands = 4 [json_name = "commands"];
- Specified by:
getCommands
in interfaceCommandsOuterClass.CommandsOrBuilder
-
setCommands
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v2.Command commands = 4 [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.v2.Command commands = 4 [json_name = "commands"];
-
addCommands
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v2.Command commands = 4 [json_name = "commands"];
-
addCommands
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v2.Command commands = 4 [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.v2.Command commands = 4 [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.v2.Command commands = 4 [json_name = "commands"];
-
addAllCommands
public CommandsOuterClass.Commands.Builder addAllCommands(Iterable<? extends CommandsOuterClass.Command> values) Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v2.Command commands = 4 [json_name = "commands"];
-
clearCommands
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v2.Command commands = 4 [json_name = "commands"];
-
removeCommands
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v2.Command commands = 4 [json_name = "commands"];
-
getCommandsBuilder
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v2.Command commands = 4 [json_name = "commands"];
-
getCommandsOrBuilder
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v2.Command commands = 4 [json_name = "commands"];
- Specified by:
getCommandsOrBuilder
in interfaceCommandsOuterClass.CommandsOrBuilder
-
getCommandsOrBuilderList
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v2.Command commands = 4 [json_name = "commands"];
- Specified by:
getCommandsOrBuilderList
in interfaceCommandsOuterClass.CommandsOrBuilder
-
addCommandsBuilder
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v2.Command commands = 4 [json_name = "commands"];
-
addCommandsBuilder
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v2.Command commands = 4 [json_name = "commands"];
-
getCommandsBuilderList
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v2.Command commands = 4 [json_name = "commands"];
-
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.
.google.protobuf.Duration deduplication_duration = 5 [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.
.google.protobuf.Duration deduplication_duration = 5 [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.
.google.protobuf.Duration deduplication_duration = 5 [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.
.google.protobuf.Duration deduplication_duration = 5 [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.
.google.protobuf.Duration deduplication_duration = 5 [json_name = "deduplicationDuration"];
-
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.
.google.protobuf.Duration deduplication_duration = 5 [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.
.google.protobuf.Duration deduplication_duration = 5 [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.
.google.protobuf.Duration deduplication_duration = 5 [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 absolute offset (positive integer) or participant begin (zero).
int64 deduplication_offset = 6 [json_name = "deduplicationOffset"];
- Specified by:
hasDeduplicationOffset
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- Whether the deduplicationOffset field is set.
-
getDeduplicationOffset
public long getDeduplicationOffset()Specifies the start of the deduplication period by a completion stream offset (exclusive). Must be a valid absolute offset (positive integer) or participant begin (zero).
int64 deduplication_offset = 6 [json_name = "deduplicationOffset"];
- Specified by:
getDeduplicationOffset
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The deduplicationOffset.
-
setDeduplicationOffset
Specifies the start of the deduplication period by a completion stream offset (exclusive). Must be a valid absolute offset (positive integer) or participant begin (zero).
int64 deduplication_offset = 6 [json_name = "deduplicationOffset"];
- Parameters:
value
- The deduplicationOffset to set.- Returns:
- This builder for chaining.
-
clearDeduplicationOffset
Specifies the start of the deduplication period by a completion stream offset (exclusive). Must be a valid absolute offset (positive integer) or participant begin (zero).
int64 deduplication_offset = 6 [json_name = "deduplicationOffset"];
- 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 = 7 [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 = 7 [json_name = "minLedgerTimeAbs"];
- Specified by:
getMinLedgerTimeAbs
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The minLedgerTimeAbs.
-
setMinLedgerTimeAbs
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 = 7 [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 = 7 [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 = 7 [json_name = "minLedgerTimeAbs"];
-
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 = 7 [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 = 7 [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 = 7 [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 = 8 [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 = 8 [json_name = "minLedgerTimeRel"];
- Specified by:
getMinLedgerTimeRel
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The minLedgerTimeRel.
-
setMinLedgerTimeRel
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 = 8 [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 = 8 [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 = 8 [json_name = "minLedgerTimeRel"];
-
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 = 8 [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 = 8 [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 = 8 [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. Each element must be a valid PartyIdString (as described in ``value.proto``). Required, must be non-empty.
repeated string act_as = 9 [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. Each element must be a valid PartyIdString (as described in ``value.proto``). Required, must be non-empty.
repeated string act_as = 9 [json_name = "actAs"];
- Specified by:
getActAsCount
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The count of actAs.
-
getActAs
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. Each element must be a valid PartyIdString (as described in ``value.proto``). Required, must be non-empty.
repeated string act_as = 9 [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. Each element must be a valid PartyIdString (as described in ``value.proto``). Required, must be non-empty.
repeated string act_as = 9 [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
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. Each element must be a valid PartyIdString (as described in ``value.proto``). Required, must be non-empty.
repeated string act_as = 9 [json_name = "actAs"];
- Parameters:
index
- The index to set the value at.value
- The actAs to set.- Returns:
- This builder for chaining.
-
addActAs
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. Each element must be a valid PartyIdString (as described in ``value.proto``). Required, must be non-empty.
repeated string act_as = 9 [json_name = "actAs"];
- Parameters:
value
- The actAs to add.- Returns:
- This builder for chaining.
-
addAllActAs
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. Each element must be a valid PartyIdString (as described in ``value.proto``). Required, must be non-empty.
repeated string act_as = 9 [json_name = "actAs"];
- Parameters:
values
- The actAs to add.- Returns:
- This builder for chaining.
-
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. Each element must be a valid PartyIdString (as described in ``value.proto``). Required, must be non-empty.
repeated string act_as = 9 [json_name = "actAs"];
- Returns:
- This builder for chaining.
-
addActAsBytes
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. Each element must be a valid PartyIdString (as described in ``value.proto``). Required, must be non-empty.
repeated string act_as = 9 [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 = 10 [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 = 10 [json_name = "readAs"];
- Specified by:
getReadAsCount
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The count of readAs.
-
getReadAs
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 = 10 [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 = 10 [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
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 = 10 [json_name = "readAs"];
- Parameters:
index
- The index to set the value at.value
- The readAs to set.- Returns:
- This builder for chaining.
-
addReadAs
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 = 10 [json_name = "readAs"];
- Parameters:
value
- The readAs to add.- Returns:
- This builder for chaining.
-
addAllReadAs
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 = 10 [json_name = "readAs"];
- Parameters:
values
- The readAs to add.- Returns:
- This builder for chaining.
-
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 = 10 [json_name = "readAs"];
- Returns:
- This builder for chaining.
-
addReadAsBytes
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 = 10 [json_name = "readAs"];
- Parameters:
value
- The bytes of the readAs to add.- Returns:
- This builder for chaining.
-
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 = 11 [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 = 11 [json_name = "submissionId"];
- Specified by:
getSubmissionIdBytes
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The bytes for submissionId.
-
setSubmissionId
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 = 11 [json_name = "submissionId"];
- Parameters:
value
- The submissionId to set.- Returns:
- This builder for chaining.
-
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 = 11 [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 = 11 [json_name = "submissionId"];
- Parameters:
value
- The bytes for submissionId to set.- Returns:
- This builder for chaining.
-
getDisclosedContractsList
Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
- Specified by:
getDisclosedContractsList
in interfaceCommandsOuterClass.CommandsOrBuilder
-
getDisclosedContractsCount
public int getDisclosedContractsCount()Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
- Specified by:
getDisclosedContractsCount
in interfaceCommandsOuterClass.CommandsOrBuilder
-
getDisclosedContracts
Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
- Specified by:
getDisclosedContracts
in interfaceCommandsOuterClass.CommandsOrBuilder
-
setDisclosedContracts
public CommandsOuterClass.Commands.Builder setDisclosedContracts(int index, CommandsOuterClass.DisclosedContract value) Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
-
setDisclosedContracts
public CommandsOuterClass.Commands.Builder setDisclosedContracts(int index, CommandsOuterClass.DisclosedContract.Builder builderForValue) Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
-
addDisclosedContracts
public CommandsOuterClass.Commands.Builder addDisclosedContracts(CommandsOuterClass.DisclosedContract value) Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
-
addDisclosedContracts
public CommandsOuterClass.Commands.Builder addDisclosedContracts(int index, CommandsOuterClass.DisclosedContract value) Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
-
addDisclosedContracts
public CommandsOuterClass.Commands.Builder addDisclosedContracts(CommandsOuterClass.DisclosedContract.Builder builderForValue) Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
-
addDisclosedContracts
public CommandsOuterClass.Commands.Builder addDisclosedContracts(int index, CommandsOuterClass.DisclosedContract.Builder builderForValue) Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
-
addAllDisclosedContracts
public CommandsOuterClass.Commands.Builder addAllDisclosedContracts(Iterable<? extends CommandsOuterClass.DisclosedContract> values) Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
-
clearDisclosedContracts
Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
-
removeDisclosedContracts
Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
-
getDisclosedContractsBuilder
Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
-
getDisclosedContractsOrBuilder
Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
- Specified by:
getDisclosedContractsOrBuilder
in interfaceCommandsOuterClass.CommandsOrBuilder
-
getDisclosedContractsOrBuilderList
public List<? extends CommandsOuterClass.DisclosedContractOrBuilder> getDisclosedContractsOrBuilderList()Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
- Specified by:
getDisclosedContractsOrBuilderList
in interfaceCommandsOuterClass.CommandsOrBuilder
-
addDisclosedContractsBuilder
Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
-
addDisclosedContractsBuilder
Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
-
getDisclosedContractsBuilderList
Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
-
getSynchronizerId
Must be a valid synchronizer id Optional
string synchronizer_id = 13 [json_name = "synchronizerId"];
- Specified by:
getSynchronizerId
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The synchronizerId.
-
getSynchronizerIdBytes
public com.google.protobuf.ByteString getSynchronizerIdBytes()Must be a valid synchronizer id Optional
string synchronizer_id = 13 [json_name = "synchronizerId"];
- Specified by:
getSynchronizerIdBytes
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The bytes for synchronizerId.
-
setSynchronizerId
Must be a valid synchronizer id Optional
string synchronizer_id = 13 [json_name = "synchronizerId"];
- Parameters:
value
- The synchronizerId to set.- Returns:
- This builder for chaining.
-
clearSynchronizerId
Must be a valid synchronizer id Optional
string synchronizer_id = 13 [json_name = "synchronizerId"];
- Returns:
- This builder for chaining.
-
setSynchronizerIdBytes
public CommandsOuterClass.Commands.Builder setSynchronizerIdBytes(com.google.protobuf.ByteString value) Must be a valid synchronizer id Optional
string synchronizer_id = 13 [json_name = "synchronizerId"];
- Parameters:
value
- The bytes for synchronizerId to set.- Returns:
- This builder for chaining.
-
getPackageIdSelectionPreferenceList
public com.google.protobuf.ProtocolStringList getPackageIdSelectionPreferenceList()The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretation
repeated string package_id_selection_preference = 14 [json_name = "packageIdSelectionPreference"];
- Specified by:
getPackageIdSelectionPreferenceList
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- A list containing the packageIdSelectionPreference.
-
getPackageIdSelectionPreferenceCount
public int getPackageIdSelectionPreferenceCount()The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretation
repeated string package_id_selection_preference = 14 [json_name = "packageIdSelectionPreference"];
- Specified by:
getPackageIdSelectionPreferenceCount
in interfaceCommandsOuterClass.CommandsOrBuilder
- Returns:
- The count of packageIdSelectionPreference.
-
getPackageIdSelectionPreference
The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretation
repeated string package_id_selection_preference = 14 [json_name = "packageIdSelectionPreference"];
- Specified by:
getPackageIdSelectionPreference
in interfaceCommandsOuterClass.CommandsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The packageIdSelectionPreference at the given index.
-
getPackageIdSelectionPreferenceBytes
public com.google.protobuf.ByteString getPackageIdSelectionPreferenceBytes(int index) The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretation
repeated string package_id_selection_preference = 14 [json_name = "packageIdSelectionPreference"];
- Specified by:
getPackageIdSelectionPreferenceBytes
in interfaceCommandsOuterClass.CommandsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the packageIdSelectionPreference at the given index.
-
setPackageIdSelectionPreference
The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretation
repeated string package_id_selection_preference = 14 [json_name = "packageIdSelectionPreference"];
- Parameters:
index
- The index to set the value at.value
- The packageIdSelectionPreference to set.- Returns:
- This builder for chaining.
-
addPackageIdSelectionPreference
The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretation
repeated string package_id_selection_preference = 14 [json_name = "packageIdSelectionPreference"];
- Parameters:
value
- The packageIdSelectionPreference to add.- Returns:
- This builder for chaining.
-
addAllPackageIdSelectionPreference
public CommandsOuterClass.Commands.Builder addAllPackageIdSelectionPreference(Iterable<String> values) The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretation
repeated string package_id_selection_preference = 14 [json_name = "packageIdSelectionPreference"];
- Parameters:
values
- The packageIdSelectionPreference to add.- Returns:
- This builder for chaining.
-
clearPackageIdSelectionPreference
The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretation
repeated string package_id_selection_preference = 14 [json_name = "packageIdSelectionPreference"];
- Returns:
- This builder for chaining.
-
addPackageIdSelectionPreferenceBytes
public CommandsOuterClass.Commands.Builder addPackageIdSelectionPreferenceBytes(com.google.protobuf.ByteString value) The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretation
repeated string package_id_selection_preference = 14 [json_name = "packageIdSelectionPreference"];
- Parameters:
value
- The bytes of the packageIdSelectionPreference to add.- Returns:
- This builder for chaining.
-
getPrefetchContractKeysList
Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
- Specified by:
getPrefetchContractKeysList
in interfaceCommandsOuterClass.CommandsOrBuilder
-
getPrefetchContractKeysCount
public int getPrefetchContractKeysCount()Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
- Specified by:
getPrefetchContractKeysCount
in interfaceCommandsOuterClass.CommandsOrBuilder
-
getPrefetchContractKeys
Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
- Specified by:
getPrefetchContractKeys
in interfaceCommandsOuterClass.CommandsOrBuilder
-
setPrefetchContractKeys
public CommandsOuterClass.Commands.Builder setPrefetchContractKeys(int index, CommandsOuterClass.PrefetchContractKey value) Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
-
setPrefetchContractKeys
public CommandsOuterClass.Commands.Builder setPrefetchContractKeys(int index, CommandsOuterClass.PrefetchContractKey.Builder builderForValue) Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
-
addPrefetchContractKeys
public CommandsOuterClass.Commands.Builder addPrefetchContractKeys(CommandsOuterClass.PrefetchContractKey value) Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
-
addPrefetchContractKeys
public CommandsOuterClass.Commands.Builder addPrefetchContractKeys(int index, CommandsOuterClass.PrefetchContractKey value) Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
-
addPrefetchContractKeys
public CommandsOuterClass.Commands.Builder addPrefetchContractKeys(CommandsOuterClass.PrefetchContractKey.Builder builderForValue) Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
-
addPrefetchContractKeys
public CommandsOuterClass.Commands.Builder addPrefetchContractKeys(int index, CommandsOuterClass.PrefetchContractKey.Builder builderForValue) Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
-
addAllPrefetchContractKeys
public CommandsOuterClass.Commands.Builder addAllPrefetchContractKeys(Iterable<? extends CommandsOuterClass.PrefetchContractKey> values) Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
-
clearPrefetchContractKeys
Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
-
removePrefetchContractKeys
Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
-
getPrefetchContractKeysBuilder
Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
-
getPrefetchContractKeysOrBuilder
Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
- Specified by:
getPrefetchContractKeysOrBuilder
in interfaceCommandsOuterClass.CommandsOrBuilder
-
getPrefetchContractKeysOrBuilderList
public List<? extends CommandsOuterClass.PrefetchContractKeyOrBuilder> getPrefetchContractKeysOrBuilderList()Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
- Specified by:
getPrefetchContractKeysOrBuilderList
in interfaceCommandsOuterClass.CommandsOrBuilder
-
addPrefetchContractKeysBuilder
Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
-
addPrefetchContractKeysBuilder
Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
-
getPrefetchContractKeysBuilderList
Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
-
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>
-