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, 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, getSerializedSizeInternal, isInitializedInternal, makeImmutableInternal, mergeFromInternal, toByteArray, toByteString, writeDelimitedTo, writeTo, writeToInternal
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 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.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 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 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.CommandsOrBuilder
public 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.CommandsOrBuilder
public 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.CommandsOrBuilder
public 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.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
public 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.CommandsOrBuilder
public 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.CommandsOrBuilder
public 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.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 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