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.v1.Commands
Modifier and Type | Class and Description |
---|---|
static class |
CommandsOuterClass.Commands.Builder
A composite command that groups multiple commands together.
|
static class |
CommandsOuterClass.Commands.DeduplicationPeriodCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
ACT_AS_FIELD_NUMBER |
static int |
APPLICATION_ID_FIELD_NUMBER |
static int |
COMMAND_ID_FIELD_NUMBER |
static int |
COMMANDS_FIELD_NUMBER |
static int |
DEDUPLICATION_DURATION_FIELD_NUMBER |
static int |
DEDUPLICATION_TIME_FIELD_NUMBER |
static int |
LEDGER_ID_FIELD_NUMBER |
static int |
MIN_LEDGER_TIME_ABS_FIELD_NUMBER |
static int |
MIN_LEDGER_TIME_REL_FIELD_NUMBER |
static int |
PARTY_FIELD_NUMBER |
static int |
READ_AS_FIELD_NUMBER |
static int |
SUBMISSION_ID_FIELD_NUMBER |
static int |
WORKFLOW_ID_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getActAs(int index)
Set of parties on whose behalf the command should be executed.
|
com.google.protobuf.ByteString |
getActAsBytes(int index)
Set of parties on whose behalf the command should be executed.
|
int |
getActAsCount()
Set of parties on whose behalf the command should be executed.
|
com.google.protobuf.ProtocolStringList |
getActAsList()
Set of parties on whose behalf the command should be executed.
|
java.lang.String |
getApplicationId()
Uniquely identifies the application (or its part) that issued the command.
|
com.google.protobuf.ByteString |
getApplicationIdBytes()
Uniquely identifies the application (or its part) that issued the command.
|
java.lang.String |
getCommandId()
Uniquely identifies the command.
|
com.google.protobuf.ByteString |
getCommandIdBytes()
Uniquely identifies the command.
|
CommandsOuterClass.Command |
getCommands(int index)
Individual elements of this atomic command.
|
int |
getCommandsCount()
Individual elements of this atomic command.
|
java.util.List<CommandsOuterClass.Command> |
getCommandsList()
Individual elements of this atomic command.
|
CommandsOuterClass.CommandOrBuilder |
getCommandsOrBuilder(int index)
Individual elements of this atomic command.
|
java.util.List<? extends CommandsOuterClass.CommandOrBuilder> |
getCommandsOrBuilderList()
Individual elements of this atomic command.
|
com.google.protobuf.Duration |
getDeduplicationDuration()
Specifies the length of the deduplication period.
|
com.google.protobuf.DurationOrBuilder |
getDeduplicationDurationOrBuilder()
Specifies the length of the deduplication period.
|
CommandsOuterClass.Commands.DeduplicationPeriodCase |
getDeduplicationPeriodCase() |
com.google.protobuf.Duration |
getDeduplicationTime()
Deprecated.
|
com.google.protobuf.DurationOrBuilder |
getDeduplicationTimeOrBuilder()
Deprecated.
|
static CommandsOuterClass.Commands |
getDefaultInstance() |
CommandsOuterClass.Commands |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service.
|
com.google.protobuf.ByteString |
getLedgerIdBytes()
Must correspond to the ledger ID reported by the Ledger Identification Service.
|
com.google.protobuf.Timestamp |
getMinLedgerTimeAbs()
Lower bound for the ledger time assigned to the resulting transaction.
|
com.google.protobuf.TimestampOrBuilder |
getMinLedgerTimeAbsOrBuilder()
Lower bound for the ledger time assigned to the resulting transaction.
|
com.google.protobuf.Duration |
getMinLedgerTimeRel()
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.
|
com.google.protobuf.DurationOrBuilder |
getMinLedgerTimeRelOrBuilder()
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.
|
com.google.protobuf.Parser<CommandsOuterClass.Commands> |
getParserForType() |
java.lang.String |
getParty()
Party on whose behalf the command should be executed.
|
com.google.protobuf.ByteString |
getPartyBytes()
Party on whose behalf the command should be executed.
|
java.lang.String |
getReadAs(int index)
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.
|
com.google.protobuf.ByteString |
getReadAsBytes(int index)
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.
|
int |
getReadAsCount()
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.
|
com.google.protobuf.ProtocolStringList |
getReadAsList()
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.
|
int |
getSerializedSize() |
java.lang.String |
getSubmissionId()
A unique identifier to distinguish completions for different submissions with the same change ID.
|
com.google.protobuf.ByteString |
getSubmissionIdBytes()
A unique identifier to distinguish completions for different submissions with the same change ID.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
java.lang.String |
getWorkflowId()
Identifier of the on-ledger workflow that this command is a part of.
|
com.google.protobuf.ByteString |
getWorkflowIdBytes()
Identifier of the on-ledger workflow that this command is a part of.
|
boolean |
hasDeduplicationDuration()
Specifies the length of the deduplication period.
|
boolean |
hasDeduplicationTime()
Deprecated.
|
int |
hashCode() |
boolean |
hasMinLedgerTimeAbs()
Lower bound for the ledger time assigned to the resulting transaction.
|
boolean |
hasMinLedgerTimeRel()
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CommandsOuterClass.Commands.Builder |
newBuilder() |
static CommandsOuterClass.Commands.Builder |
newBuilder(CommandsOuterClass.Commands prototype) |
CommandsOuterClass.Commands.Builder |
newBuilderForType() |
protected CommandsOuterClass.Commands.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CommandsOuterClass.Commands |
parseDelimitedFrom(java.io.InputStream input) |
static CommandsOuterClass.Commands |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommandsOuterClass.Commands |
parseFrom(byte[] data) |
static CommandsOuterClass.Commands |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommandsOuterClass.Commands |
parseFrom(java.nio.ByteBuffer data) |
static CommandsOuterClass.Commands |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommandsOuterClass.Commands |
parseFrom(com.google.protobuf.ByteString data) |
static CommandsOuterClass.Commands |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommandsOuterClass.Commands |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CommandsOuterClass.Commands |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommandsOuterClass.Commands |
parseFrom(java.io.InputStream input) |
static CommandsOuterClass.Commands |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CommandsOuterClass.Commands> |
parser() |
CommandsOuterClass.Commands.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int LEDGER_ID_FIELD_NUMBER
public static final int WORKFLOW_ID_FIELD_NUMBER
public static final int APPLICATION_ID_FIELD_NUMBER
public static final int COMMAND_ID_FIELD_NUMBER
public static final int PARTY_FIELD_NUMBER
public static final int COMMANDS_FIELD_NUMBER
public static final int DEDUPLICATION_TIME_FIELD_NUMBER
public static final int DEDUPLICATION_DURATION_FIELD_NUMBER
public static final int MIN_LEDGER_TIME_ABS_FIELD_NUMBER
public static final int MIN_LEDGER_TIME_REL_FIELD_NUMBER
public static final int ACT_AS_FIELD_NUMBER
public static final int READ_AS_FIELD_NUMBER
public static final int SUBMISSION_ID_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public CommandsOuterClass.Commands.DeduplicationPeriodCase getDeduplicationPeriodCase()
getDeduplicationPeriodCase
in interface CommandsOuterClass.CommandsOrBuilder
public java.lang.String getLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Required
string ledger_id = 1 [json_name = "ledgerId"];
getLedgerId
in interface CommandsOuterClass.CommandsOrBuilder
public com.google.protobuf.ByteString getLedgerIdBytes()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Required
string ledger_id = 1 [json_name = "ledgerId"];
getLedgerIdBytes
in interface CommandsOuterClass.CommandsOrBuilder
public java.lang.String getWorkflowId()
Identifier of the on-ledger workflow that this command is a part of. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 2 [json_name = "workflowId"];
getWorkflowId
in interface CommandsOuterClass.CommandsOrBuilder
public com.google.protobuf.ByteString getWorkflowIdBytes()
Identifier of the on-ledger workflow that this command is a part of. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 2 [json_name = "workflowId"];
getWorkflowIdBytes
in interface CommandsOuterClass.CommandsOrBuilder
public java.lang.String getApplicationId()
Uniquely identifies the application (or its part) that issued the command. This is used in tracing across different components and to let applications subscribe to their own submissions only. Must be a valid LedgerString (as described in ``value.proto``). Required
string application_id = 3 [json_name = "applicationId"];
getApplicationId
in interface CommandsOuterClass.CommandsOrBuilder
public com.google.protobuf.ByteString getApplicationIdBytes()
Uniquely identifies the application (or its part) that issued the command. This is used in tracing across different components and to let applications subscribe to their own submissions only. Must be a valid LedgerString (as described in ``value.proto``). Required
string application_id = 3 [json_name = "applicationId"];
getApplicationIdBytes
in interface CommandsOuterClass.CommandsOrBuilder
public java.lang.String getCommandId()
Uniquely identifies the command. The triple (application_id, party + act_as, command_id) constitutes the change ID for the intended ledger change, where party + act_as is interpreted as a set of party names. The change ID can be used for matching the intended ledger changes with all their completions. Must be a valid LedgerString (as described in ``value.proto``). Required
string command_id = 4 [json_name = "commandId"];
getCommandId
in interface CommandsOuterClass.CommandsOrBuilder
public com.google.protobuf.ByteString getCommandIdBytes()
Uniquely identifies the command. The triple (application_id, party + act_as, command_id) constitutes the change ID for the intended ledger change, where party + act_as is interpreted as a set of party names. The change ID can be used for matching the intended ledger changes with all their completions. Must be a valid LedgerString (as described in ``value.proto``). Required
string command_id = 4 [json_name = "commandId"];
getCommandIdBytes
in interface CommandsOuterClass.CommandsOrBuilder
public java.lang.String getParty()
Party on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of the given party. Must be a valid PartyIdString (as described in ``value.proto``). Deprecated in favor of the ``act_as`` field. If both are set, then the effective list of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``. Optional
string party = 5 [json_name = "party"];
getParty
in interface CommandsOuterClass.CommandsOrBuilder
public com.google.protobuf.ByteString getPartyBytes()
Party on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of the given party. Must be a valid PartyIdString (as described in ``value.proto``). Deprecated in favor of the ``act_as`` field. If both are set, then the effective list of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``. Optional
string party = 5 [json_name = "party"];
getPartyBytes
in interface CommandsOuterClass.CommandsOrBuilder
public java.util.List<CommandsOuterClass.Command> getCommandsList()
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
getCommandsList
in interface CommandsOuterClass.CommandsOrBuilder
public java.util.List<? extends CommandsOuterClass.CommandOrBuilder> getCommandsOrBuilderList()
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
getCommandsOrBuilderList
in interface CommandsOuterClass.CommandsOrBuilder
public int getCommandsCount()
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
getCommandsCount
in interface CommandsOuterClass.CommandsOrBuilder
public CommandsOuterClass.Command getCommands(int index)
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
getCommands
in interface CommandsOuterClass.CommandsOrBuilder
public CommandsOuterClass.CommandOrBuilder getCommandsOrBuilder(int index)
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];
getCommandsOrBuilder
in interface CommandsOuterClass.CommandsOrBuilder
@Deprecated public boolean hasDeduplicationTime()
Specifies the length of the deduplication period. Same semantics apply as for `deduplication_duration`. Must be non-negative.
.google.protobuf.Duration deduplication_time = 9 [json_name = "deduplicationTime", deprecated = true];
hasDeduplicationTime
in interface CommandsOuterClass.CommandsOrBuilder
@Deprecated public com.google.protobuf.Duration getDeduplicationTime()
Specifies the length of the deduplication period. Same semantics apply as for `deduplication_duration`. Must be non-negative.
.google.protobuf.Duration deduplication_time = 9 [json_name = "deduplicationTime", deprecated = true];
getDeduplicationTime
in interface CommandsOuterClass.CommandsOrBuilder
@Deprecated public com.google.protobuf.DurationOrBuilder getDeduplicationTimeOrBuilder()
Specifies the length of the deduplication period. Same semantics apply as for `deduplication_duration`. Must be non-negative.
.google.protobuf.Duration deduplication_time = 9 [json_name = "deduplicationTime", deprecated = true];
getDeduplicationTimeOrBuilder
in interface CommandsOuterClass.CommandsOrBuilder
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.
.google.protobuf.Duration deduplication_duration = 15 [json_name = "deduplicationDuration"];
hasDeduplicationDuration
in interface CommandsOuterClass.CommandsOrBuilder
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.
.google.protobuf.Duration deduplication_duration = 15 [json_name = "deduplicationDuration"];
getDeduplicationDuration
in interface CommandsOuterClass.CommandsOrBuilder
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.
.google.protobuf.Duration deduplication_duration = 15 [json_name = "deduplicationDuration"];
getDeduplicationDurationOrBuilder
in interface CommandsOuterClass.CommandsOrBuilder
public boolean hasMinLedgerTimeAbs()
Lower bound for the ledger time assigned to the resulting transaction. Note: The ledger time of a transaction is assigned as part of command interpretation. Use this property if you expect that command interpretation will take a considerate amount of time, such that by the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore. Must not be set at the same time as min_ledger_time_rel. Optional
.google.protobuf.Timestamp min_ledger_time_abs = 10 [json_name = "minLedgerTimeAbs"];
hasMinLedgerTimeAbs
in interface CommandsOuterClass.CommandsOrBuilder
public com.google.protobuf.Timestamp getMinLedgerTimeAbs()
Lower bound for the ledger time assigned to the resulting transaction. Note: The ledger time of a transaction is assigned as part of command interpretation. Use this property if you expect that command interpretation will take a considerate amount of time, such that by the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore. Must not be set at the same time as min_ledger_time_rel. Optional
.google.protobuf.Timestamp min_ledger_time_abs = 10 [json_name = "minLedgerTimeAbs"];
getMinLedgerTimeAbs
in interface CommandsOuterClass.CommandsOrBuilder
public com.google.protobuf.TimestampOrBuilder getMinLedgerTimeAbsOrBuilder()
Lower bound for the ledger time assigned to the resulting transaction. Note: The ledger time of a transaction is assigned as part of command interpretation. Use this property if you expect that command interpretation will take a considerate amount of time, such that by the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore. Must not be set at the same time as min_ledger_time_rel. Optional
.google.protobuf.Timestamp min_ledger_time_abs = 10 [json_name = "minLedgerTimeAbs"];
getMinLedgerTimeAbsOrBuilder
in interface CommandsOuterClass.CommandsOrBuilder
public boolean hasMinLedgerTimeRel()
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server. Must not be set at the same time as min_ledger_time_abs. Optional
.google.protobuf.Duration min_ledger_time_rel = 11 [json_name = "minLedgerTimeRel"];
hasMinLedgerTimeRel
in interface CommandsOuterClass.CommandsOrBuilder
public com.google.protobuf.Duration getMinLedgerTimeRel()
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server. Must not be set at the same time as min_ledger_time_abs. Optional
.google.protobuf.Duration min_ledger_time_rel = 11 [json_name = "minLedgerTimeRel"];
getMinLedgerTimeRel
in interface CommandsOuterClass.CommandsOrBuilder
public com.google.protobuf.DurationOrBuilder getMinLedgerTimeRelOrBuilder()
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server. Must not be set at the same time as min_ledger_time_abs. Optional
.google.protobuf.Duration min_ledger_time_rel = 11 [json_name = "minLedgerTimeRel"];
getMinLedgerTimeRelOrBuilder
in interface CommandsOuterClass.CommandsOrBuilder
public com.google.protobuf.ProtocolStringList getActAsList()
Set of parties on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of each of the given parties. This field supersedes the ``party`` field. The effective set of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``, which must be non-empty. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional
repeated string act_as = 12 [json_name = "actAs"];
getActAsList
in interface CommandsOuterClass.CommandsOrBuilder
public int getActAsCount()
Set of parties on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of each of the given parties. This field supersedes the ``party`` field. The effective set of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``, which must be non-empty. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional
repeated string act_as = 12 [json_name = "actAs"];
getActAsCount
in interface CommandsOuterClass.CommandsOrBuilder
public java.lang.String getActAs(int index)
Set of parties on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of each of the given parties. This field supersedes the ``party`` field. The effective set of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``, which must be non-empty. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional
repeated string act_as = 12 [json_name = "actAs"];
getActAs
in interface CommandsOuterClass.CommandsOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getActAsBytes(int index)
Set of parties on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of each of the given parties. This field supersedes the ``party`` field. The effective set of parties on whose behalf the command should be executed is the union of all parties listed in ``party`` and ``act_as``, which must be non-empty. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional
repeated string act_as = 12 [json_name = "actAs"];
getActAsBytes
in interface CommandsOuterClass.CommandsOrBuilder
index
- The index of the value to return.public com.google.protobuf.ProtocolStringList getReadAsList()
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant node is only visible to a subset of these parties. A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional
repeated string read_as = 13 [json_name = "readAs"];
getReadAsList
in interface CommandsOuterClass.CommandsOrBuilder
public int getReadAsCount()
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant node is only visible to a subset of these parties. A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional
repeated string read_as = 13 [json_name = "readAs"];
getReadAsCount
in interface CommandsOuterClass.CommandsOrBuilder
public java.lang.String getReadAs(int index)
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant node is only visible to a subset of these parties. A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional
repeated string read_as = 13 [json_name = "readAs"];
getReadAs
in interface CommandsOuterClass.CommandsOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getReadAsBytes(int index)
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant node is only visible to a subset of these parties. A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional
repeated string read_as = 13 [json_name = "readAs"];
getReadAsBytes
in interface CommandsOuterClass.CommandsOrBuilder
index
- The index of the value to return.public java.lang.String getSubmissionId()
A unique identifier to distinguish completions for different submissions with the same change ID. Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission with the same change ID. Must be a valid LedgerString (as described in ``value.proto``). If omitted, the participant or the committer may set a value of their choice. Optional
string submission_id = 14 [json_name = "submissionId"];
getSubmissionId
in interface CommandsOuterClass.CommandsOrBuilder
public com.google.protobuf.ByteString getSubmissionIdBytes()
A unique identifier to distinguish completions for different submissions with the same change ID. Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission with the same change ID. Must be a valid LedgerString (as described in ``value.proto``). If omitted, the participant or the committer may set a value of their choice. Optional
string submission_id = 14 [json_name = "submissionId"];
getSubmissionIdBytes
in interface CommandsOuterClass.CommandsOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static CommandsOuterClass.Commands parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CommandsOuterClass.Commands parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CommandsOuterClass.Commands parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CommandsOuterClass.Commands parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CommandsOuterClass.Commands parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CommandsOuterClass.Commands parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CommandsOuterClass.Commands parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CommandsOuterClass.Commands parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CommandsOuterClass.Commands parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CommandsOuterClass.Commands parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CommandsOuterClass.Commands parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static CommandsOuterClass.Commands parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public CommandsOuterClass.Commands.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static CommandsOuterClass.Commands.Builder newBuilder()
public static CommandsOuterClass.Commands.Builder newBuilder(CommandsOuterClass.Commands prototype)
public CommandsOuterClass.Commands.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected CommandsOuterClass.Commands.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static CommandsOuterClass.Commands getDefaultInstance()
public static com.google.protobuf.Parser<CommandsOuterClass.Commands> parser()
public com.google.protobuf.Parser<CommandsOuterClass.Commands> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public CommandsOuterClass.Commands getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder