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.ByteStringgetActAsBytes(int index) Set of parties on whose behalf the command should be executed.intSet of parties on whose behalf the command should be executed.com.google.protobuf.ProtocolStringListSet of parties on whose behalf the command should be executed.Uniquely identifies the command.com.google.protobuf.ByteStringUniquely 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.intIndividual 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.DurationSpecifies the length of the deduplication period.com.google.protobuf.Duration.BuilderSpecifies the length of the deduplication period.com.google.protobuf.DurationOrBuilderSpecifies the length of the deduplication period.longSpecifies the start of the deduplication period by a completion stream offset (exclusive).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDisclosedContracts(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.intAdditional 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.TimestampLower bound for the ledger time assigned to the resulting transaction.com.google.protobuf.Timestamp.BuilderLower bound for the ledger time assigned to the resulting transaction.com.google.protobuf.TimestampOrBuilderLower bound for the ledger time assigned to the resulting transaction.com.google.protobuf.DurationSame 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.BuilderSame as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.com.google.protobuf.DurationOrBuilderSame 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.ByteStringgetPackageIdSelectionPreferenceBytes(int index) The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretationintThe package-id selection preference of the client for resolving package names and interface instances in command submission and interpretationcom.google.protobuf.ProtocolStringListThe 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.intFetches 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.ByteStringgetReadAsBytes(int index) Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.intSet of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.com.google.protobuf.ProtocolStringListSet 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.ByteStringA unique identifier to distinguish completions for different submissions with the same change ID.Must be a valid synchronizer id Optionalcom.google.protobuf.ByteStringMust be a valid synchronizer id OptionalUniquely identifies the participant user that issued the command.com.google.protobuf.ByteStringUniquely identifies the participant user that issued the command.Identifier of the on-ledger workflow that this command is a part of.com.google.protobuf.ByteStringIdentifier of the on-ledger workflow that this command is a part of.booleanSpecifies the length of the deduplication period.booleanSpecifies the start of the deduplication period by a completion stream offset (exclusive).booleanLower bound for the ledger time assigned to the resulting transaction.booleanSame 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.FieldAccessorTablefinal booleanmergeDeduplicationDuration(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Commands.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Commands.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Commands.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Commands.Builder>
-
setField
public CommandsOuterClass.Commands.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Commands.Builder>
-
clearField
public CommandsOuterClass.Commands.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Commands.Builder>
-
clearOneof
public CommandsOuterClass.Commands.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Commands.Builder>
-
addRepeatedField
public CommandsOuterClass.Commands.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Commands.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommandsOuterClass.Commands.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommandsOuterClass.Commands.Builder>- Throws:
IOException
-
getDeduplicationPeriodCase
- Specified by:
getDeduplicationPeriodCasein 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:
getWorkflowIdin 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:
getWorkflowIdBytesin 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:
getUserIdin 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:
getUserIdBytesin 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:
getCommandIdin 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:
getCommandIdBytesin 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:
getCommandsListin 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:
getCommandsCountin 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:
getCommandsin 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:
getCommandsOrBuilderin 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:
getCommandsOrBuilderListin 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:
hasDeduplicationDurationin 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:
getDeduplicationDurationin 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:
getDeduplicationDurationOrBuilderin 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:
hasDeduplicationOffsetin 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:
getDeduplicationOffsetin 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:
hasMinLedgerTimeAbsin 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:
getMinLedgerTimeAbsin 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:
getMinLedgerTimeAbsOrBuilderin 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:
hasMinLedgerTimeRelin 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:
getMinLedgerTimeRelin 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:
getMinLedgerTimeRelOrBuilderin 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:
getActAsListin 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:
getActAsCountin 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:
getActAsin 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:
getActAsBytesin 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:
getReadAsListin 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:
getReadAsCountin 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:
getReadAsin 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:
getReadAsBytesin 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:
getSubmissionIdin 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:
getSubmissionIdBytesin 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:
getDisclosedContractsListin 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:
getDisclosedContractsCountin 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:
getDisclosedContractsin 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:
getDisclosedContractsOrBuilderin 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:
getDisclosedContractsOrBuilderListin 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:
getSynchronizerIdin 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:
getSynchronizerIdBytesin 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:
getPackageIdSelectionPreferenceListin 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:
getPackageIdSelectionPreferenceCountin 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:
getPackageIdSelectionPreferencein 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:
getPackageIdSelectionPreferenceBytesin 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:
getPrefetchContractKeysListin 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:
getPrefetchContractKeysCountin 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:
getPrefetchContractKeysin 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:
getPrefetchContractKeysOrBuilderin 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:
getPrefetchContractKeysOrBuilderListin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Commands.Builder>
-
mergeUnknownFields
public final CommandsOuterClass.Commands.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Commands.Builder>
-