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 |
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 |
WORKFLOW_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
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 party and command ID will be deduplicated.
|
com.google.protobuf.DurationOrBuilder |
getDeduplicationTimeOrBuilder()
The length of the time window during which all commands with the same party and 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.
|
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 party and 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
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. It is up to the server to verify that the authorisation can be granted and that the connection has been authenticated for that party. Must be a valid PartyIdString (as described in ``value.proto``). Required
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. It is up to the server to verify that the authorisation can be granted and that the connection has been authenticated for that party. Must be a valid PartyIdString (as described in ``value.proto``). Required
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 party and 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 party and 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 party and 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 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