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.
|
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_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 |
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 identified the command.
|
com.google.protobuf.ByteString |
getCommandIdBytes()
Uniquely identified 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 |
getDeduplicationTime()
The length of the time window during which all commands with the same ``act_as`` parties and
the same command ID will be deduplicated.
|
com.google.protobuf.DurationOrBuilder |
getDeduplicationTimeOrBuilder()
The length of the time window during which all commands with the same ``act_as`` parties and
the same command ID will be deduplicated.
|
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() |
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 |
hasDeduplicationTime()
The length of the time window during which all commands with the same ``act_as`` parties and
the same command ID will be deduplicated.
|
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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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 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
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic java.lang.String getCommandId()
Uniquely identified the command. This identifier should be unique for each new command within an application domain, i.e., the triple (application_id, party, command_id) must be unique. It can be used for matching the requests with their respective completions. Must be a valid LedgerString (as described in ``value.proto``). Required
string command_id = 4 [json_name = "commandId"];getCommandId in interface CommandsOuterClass.CommandsOrBuilderpublic com.google.protobuf.ByteString getCommandIdBytes()
Uniquely identified the command. This identifier should be unique for each new command within an application domain, i.e., the triple (application_id, party, command_id) must be unique. It can be used for matching the requests with their respective completions. Must be a valid LedgerString (as described in ``value.proto``). Required
string command_id = 4 [json_name = "commandId"];getCommandIdBytes in interface CommandsOuterClass.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic boolean hasDeduplicationTime()
The length of the time window during which all commands with the same ``act_as`` parties and the same command ID will be deduplicated. Duplicate commands submitted before the end of this window return an ALREADY_EXISTS error. Optional
.google.protobuf.Duration deduplication_time = 9 [json_name = "deduplicationTime"];hasDeduplicationTime in interface CommandsOuterClass.CommandsOrBuilderpublic com.google.protobuf.Duration getDeduplicationTime()
The length of the time window during which all commands with the same ``act_as`` parties and the same command ID will be deduplicated. Duplicate commands submitted before the end of this window return an ALREADY_EXISTS error. Optional
.google.protobuf.Duration deduplication_time = 9 [json_name = "deduplicationTime"];getDeduplicationTime in interface CommandsOuterClass.CommandsOrBuilderpublic com.google.protobuf.DurationOrBuilder getDeduplicationTimeOrBuilder()
The length of the time window during which all commands with the same ``act_as`` parties and the same command ID will be deduplicated. Duplicate commands submitted before the end of this window return an ALREADY_EXISTS error. Optional
.google.protobuf.Duration deduplication_time = 9 [json_name = "deduplicationTime"];getDeduplicationTimeOrBuilder in interface CommandsOuterClass.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic 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.CommandsOrBuilderindex - 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.CommandsOrBuilderindex - 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.CommandsOrBuilderpublic 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.CommandsOrBuilderpublic 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.CommandsOrBuilderindex - 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.CommandsOrBuilderindex - The index of the value to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CommandsOuterClass.Commands parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommandsOuterClass.Commands parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommandsOuterClass.Commands parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommandsOuterClass.Commands parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommandsOuterClass.Commands parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommandsOuterClass.Commands parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommandsOuterClass.Commands parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CommandsOuterClass.Commands parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CommandsOuterClass.Commands parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CommandsOuterClass.Commands parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CommandsOuterClass.Commands parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CommandsOuterClass.Commands parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic CommandsOuterClass.Commands.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic 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.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CommandsOuterClass.Commands.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public 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.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CommandsOuterClass.Commands getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder