Package com.daml.ledger.api.v2
Class CommandsOuterClass.Commands
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.daml.ledger.api.v2.CommandsOuterClass.Commands
- All Implemented Interfaces:
CommandsOuterClass.CommandsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- CommandsOuterClass
public static final class CommandsOuterClass.Commands
extends com.google.protobuf.GeneratedMessageV3
implements CommandsOuterClass.CommandsOrBuilder
A composite command that groups multiple commands together.Protobuf type
com.daml.ledger.api.v2.Commands- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA composite command that groups multiple commands together.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetActAs(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.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.DurationOrBuilderSpecifies the length of the deduplication period.longSpecifies the start of the deduplication period by a completion stream offset (exclusive).static CommandsOuterClass.Commandsstatic final com.google.protobuf.Descriptors.DescriptorgetDisclosedContracts(int index) 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.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.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 interpretationcom.google.protobuf.Parser<CommandsOuterClass.Commands>getPrefetchContractKeys(int index) 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.intA 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).inthashCode()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 booleannewBuilder(CommandsOuterClass.Commands prototype) protected CommandsOuterClass.Commands.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static CommandsOuterClass.CommandsparseDelimitedFrom(InputStream input) static CommandsOuterClass.CommandsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommandsOuterClass.CommandsparseFrom(byte[] data) static CommandsOuterClass.CommandsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommandsOuterClass.CommandsparseFrom(com.google.protobuf.ByteString data) static CommandsOuterClass.CommandsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommandsOuterClass.CommandsparseFrom(com.google.protobuf.CodedInputStream input) static CommandsOuterClass.CommandsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommandsOuterClass.CommandsparseFrom(InputStream input) static CommandsOuterClass.CommandsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommandsOuterClass.CommandsparseFrom(ByteBuffer data) static CommandsOuterClass.CommandsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CommandsOuterClass.Commands>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
WORKFLOW_ID_FIELD_NUMBER
public static final int WORKFLOW_ID_FIELD_NUMBER- See Also:
-
USER_ID_FIELD_NUMBER
public static final int USER_ID_FIELD_NUMBER- See Also:
-
COMMAND_ID_FIELD_NUMBER
public static final int COMMAND_ID_FIELD_NUMBER- See Also:
-
COMMANDS_FIELD_NUMBER
public static final int COMMANDS_FIELD_NUMBER- See Also:
-
DEDUPLICATION_DURATION_FIELD_NUMBER
public static final int DEDUPLICATION_DURATION_FIELD_NUMBER- See Also:
-
DEDUPLICATION_OFFSET_FIELD_NUMBER
public static final int DEDUPLICATION_OFFSET_FIELD_NUMBER- See Also:
-
MIN_LEDGER_TIME_ABS_FIELD_NUMBER
public static final int MIN_LEDGER_TIME_ABS_FIELD_NUMBER- See Also:
-
MIN_LEDGER_TIME_REL_FIELD_NUMBER
public static final int MIN_LEDGER_TIME_REL_FIELD_NUMBER- See Also:
-
ACT_AS_FIELD_NUMBER
public static final int ACT_AS_FIELD_NUMBER- See Also:
-
READ_AS_FIELD_NUMBER
public static final int READ_AS_FIELD_NUMBER- See Also:
-
SUBMISSION_ID_FIELD_NUMBER
public static final int SUBMISSION_ID_FIELD_NUMBER- See Also:
-
DISCLOSED_CONTRACTS_FIELD_NUMBER
public static final int DISCLOSED_CONTRACTS_FIELD_NUMBER- See Also:
-
SYNCHRONIZER_ID_FIELD_NUMBER
public static final int SYNCHRONIZER_ID_FIELD_NUMBER- See Also:
-
PACKAGE_ID_SELECTION_PREFERENCE_FIELD_NUMBER
public static final int PACKAGE_ID_SELECTION_PREFERENCE_FIELD_NUMBER- See Also:
-
PREFETCH_CONTRACT_KEYS_FIELD_NUMBER
public static final int PREFETCH_CONTRACT_KEYS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getDeduplicationPeriodCase
- Specified by:
getDeduplicationPeriodCasein interfaceCommandsOuterClass.CommandsOrBuilder
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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
-
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
-
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
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CommandsOuterClass.Commands parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandsOuterClass.Commands parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandsOuterClass.Commands parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandsOuterClass.Commands parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandsOuterClass.Commands parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandsOuterClass.Commands parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CommandsOuterClass.Commands parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CommandsOuterClass.Commands parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CommandsOuterClass.Commands parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CommandsOuterClass.Commands parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CommandsOuterClass.Commands.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-