Package com.daml.ledger.api.v1
Class CommandsOuterClass.Commands
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.daml.ledger.api.v1.CommandsOuterClass.Commands
-
- All Implemented Interfaces:
CommandsOuterClass.CommandsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
- Enclosing class:
- CommandsOuterClass
public static final class CommandsOuterClass.Commands extends com.google.protobuf.GeneratedMessageV3 implements CommandsOuterClass.CommandsOrBuilder
A composite command that groups multiple commands together.
Protobuf typecom.daml.ledger.api.v1.Commands- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommandsOuterClass.Commands.BuilderA composite command that groups multiple commands together.static classCommandsOuterClass.Commands.DeduplicationPeriodCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intACT_AS_FIELD_NUMBERstatic intAPPLICATION_ID_FIELD_NUMBERstatic intCOMMAND_ID_FIELD_NUMBERstatic intCOMMANDS_FIELD_NUMBERstatic intDEDUPLICATION_DURATION_FIELD_NUMBERstatic intDEDUPLICATION_OFFSET_FIELD_NUMBERstatic intDEDUPLICATION_TIME_FIELD_NUMBERstatic intLEDGER_ID_FIELD_NUMBERstatic intMIN_LEDGER_TIME_ABS_FIELD_NUMBERstatic intMIN_LEDGER_TIME_REL_FIELD_NUMBERstatic intPARTY_FIELD_NUMBERstatic intREAD_AS_FIELD_NUMBERstatic intSUBMISSION_ID_FIELD_NUMBERstatic intWORKFLOW_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetActAs(int index)Set of parties on whose behalf the command should be executed.com.google.protobuf.ByteStringgetActAsBytes(int index)Set of parties on whose behalf the command should be executed.intgetActAsCount()Set of parties on whose behalf the command should be executed.com.google.protobuf.ProtocolStringListgetActAsList()Set of parties on whose behalf the command should be executed.java.lang.StringgetApplicationId()Uniquely identifies the application or participant user that issued the command.com.google.protobuf.ByteStringgetApplicationIdBytes()Uniquely identifies the application or participant user that issued the command.java.lang.StringgetCommandId()Uniquely identifies the command.com.google.protobuf.ByteStringgetCommandIdBytes()Uniquely identifies the command.CommandsOuterClass.CommandgetCommands(int index)Individual elements of this atomic command.intgetCommandsCount()Individual elements of this atomic command.java.util.List<CommandsOuterClass.Command>getCommandsList()Individual elements of this atomic command.CommandsOuterClass.CommandOrBuildergetCommandsOrBuilder(int index)Individual elements of this atomic command.java.util.List<? extends CommandsOuterClass.CommandOrBuilder>getCommandsOrBuilderList()Individual elements of this atomic command.com.google.protobuf.DurationgetDeduplicationDuration()Specifies the length of the deduplication period.com.google.protobuf.DurationOrBuildergetDeduplicationDurationOrBuilder()Specifies the length of the deduplication period.java.lang.StringgetDeduplicationOffset()Specifies the start of the deduplication period by a completion stream offset (exclusive).com.google.protobuf.ByteStringgetDeduplicationOffsetBytes()Specifies the start of the deduplication period by a completion stream offset (exclusive).CommandsOuterClass.Commands.DeduplicationPeriodCasegetDeduplicationPeriodCase()com.google.protobuf.DurationgetDeduplicationTime()Deprecated.com.google.protobuf.DurationOrBuildergetDeduplicationTimeOrBuilder()Deprecated.static CommandsOuterClass.CommandsgetDefaultInstance()CommandsOuterClass.CommandsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.lang.StringgetLedgerId()Must correspond to the ledger ID reported by the Ledger Identification Service.com.google.protobuf.ByteStringgetLedgerIdBytes()Must correspond to the ledger ID reported by the Ledger Identification Service.com.google.protobuf.TimestampgetMinLedgerTimeAbs()Lower bound for the ledger time assigned to the resulting transaction.com.google.protobuf.TimestampOrBuildergetMinLedgerTimeAbsOrBuilder()Lower bound for the ledger time assigned to the resulting transaction.com.google.protobuf.DurationgetMinLedgerTimeRel()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.DurationOrBuildergetMinLedgerTimeRelOrBuilder()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.StringgetParty()Party on whose behalf the command should be executed.com.google.protobuf.ByteStringgetPartyBytes()Party on whose behalf the command should be executed.java.lang.StringgetReadAs(int index)Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.com.google.protobuf.ByteStringgetReadAsBytes(int index)Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.intgetReadAsCount()Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.com.google.protobuf.ProtocolStringListgetReadAsList()Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.intgetSerializedSize()java.lang.StringgetSubmissionId()A unique identifier to distinguish completions for different submissions with the same change ID.com.google.protobuf.ByteStringgetSubmissionIdBytes()A unique identifier to distinguish completions for different submissions with the same change ID.com.google.protobuf.UnknownFieldSetgetUnknownFields()java.lang.StringgetWorkflowId()Identifier of the on-ledger workflow that this command is a part of.com.google.protobuf.ByteStringgetWorkflowIdBytes()Identifier of the on-ledger workflow that this command is a part of.booleanhasDeduplicationDuration()Specifies the length of the deduplication period.booleanhasDeduplicationOffset()Specifies the start of the deduplication period by a completion stream offset (exclusive).booleanhasDeduplicationTime()Deprecated.inthashCode()booleanhasMinLedgerTimeAbs()Lower bound for the ledger time assigned to the resulting transaction.booleanhasMinLedgerTimeRel()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.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static CommandsOuterClass.Commands.BuildernewBuilder()static CommandsOuterClass.Commands.BuildernewBuilder(CommandsOuterClass.Commands prototype)CommandsOuterClass.Commands.BuildernewBuilderForType()protected CommandsOuterClass.Commands.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static CommandsOuterClass.CommandsparseDelimitedFrom(java.io.InputStream input)static CommandsOuterClass.CommandsparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommandsOuterClass.CommandsparseFrom(byte[] data)static CommandsOuterClass.CommandsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommandsOuterClass.CommandsparseFrom(com.google.protobuf.ByteString data)static CommandsOuterClass.CommandsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommandsOuterClass.CommandsparseFrom(com.google.protobuf.CodedInputStream input)static CommandsOuterClass.CommandsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommandsOuterClass.CommandsparseFrom(java.io.InputStream input)static CommandsOuterClass.CommandsparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommandsOuterClass.CommandsparseFrom(java.nio.ByteBuffer data)static CommandsOuterClass.CommandsparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<CommandsOuterClass.Commands>parser()CommandsOuterClass.Commands.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, 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
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
LEDGER_ID_FIELD_NUMBER
public static final int LEDGER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKFLOW_ID_FIELD_NUMBER
public static final int WORKFLOW_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APPLICATION_ID_FIELD_NUMBER
public static final int APPLICATION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMMAND_ID_FIELD_NUMBER
public static final int COMMAND_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTY_FIELD_NUMBER
public static final int PARTY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMMANDS_FIELD_NUMBER
public static final int COMMANDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEDUPLICATION_TIME_FIELD_NUMBER
public static final int DEDUPLICATION_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEDUPLICATION_DURATION_FIELD_NUMBER
public static final int DEDUPLICATION_DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEDUPLICATION_OFFSET_FIELD_NUMBER
public static final int DEDUPLICATION_OFFSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MIN_LEDGER_TIME_ABS_FIELD_NUMBER
public static final int MIN_LEDGER_TIME_ABS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MIN_LEDGER_TIME_REL_FIELD_NUMBER
public static final int MIN_LEDGER_TIME_REL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACT_AS_FIELD_NUMBER
public static final int ACT_AS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
READ_AS_FIELD_NUMBER
public static final int READ_AS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBMISSION_ID_FIELD_NUMBER
public static final int SUBMISSION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDeduplicationPeriodCase
public CommandsOuterClass.Commands.DeduplicationPeriodCase getDeduplicationPeriodCase()
- Specified by:
getDeduplicationPeriodCasein interfaceCommandsOuterClass.CommandsOrBuilder
-
getLedgerId
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``). Optional
string ledger_id = 1 [json_name = "ledgerId"];- Specified by:
getLedgerIdin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The ledgerId.
-
getLedgerIdBytes
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``). Optional
string ledger_id = 1 [json_name = "ledgerId"];- Specified by:
getLedgerIdBytesin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The bytes for ledgerId.
-
getWorkflowId
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"];- Specified by:
getWorkflowIdin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The workflowId.
-
getWorkflowIdBytes
public com.google.protobuf.ByteString getWorkflowIdBytes()
Identifier of the on-ledger workflow that this command is a part of. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 2 [json_name = "workflowId"];- Specified by:
getWorkflowIdBytesin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The bytes for workflowId.
-
getApplicationId
public java.lang.String getApplicationId()
Uniquely identifies the application or participant user that issued the command. Must be a valid ApplicationIdString (as described in ``value.proto``). Required unless authentication is used with a user token or a custom token specifying an application-id. In that case, the token's user-id, respectively application-id, will be used for the request's application_id.
string application_id = 3 [json_name = "applicationId"];- Specified by:
getApplicationIdin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The applicationId.
-
getApplicationIdBytes
public com.google.protobuf.ByteString getApplicationIdBytes()
Uniquely identifies the application or participant user that issued the command. Must be a valid ApplicationIdString (as described in ``value.proto``). Required unless authentication is used with a user token or a custom token specifying an application-id. In that case, the token's user-id, respectively application-id, will be used for the request's application_id.
string application_id = 3 [json_name = "applicationId"];- Specified by:
getApplicationIdBytesin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The bytes for applicationId.
-
getCommandId
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"];- Specified by:
getCommandIdin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The commandId.
-
getCommandIdBytes
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"];- Specified by:
getCommandIdBytesin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The bytes for commandId.
-
getParty
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"];- Specified by:
getPartyin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The party.
-
getPartyBytes
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"];- Specified by:
getPartyBytesin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The bytes for party.
-
getCommandsList
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"];- Specified by:
getCommandsListin interfaceCommandsOuterClass.CommandsOrBuilder
-
getCommandsOrBuilderList
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"];- Specified by:
getCommandsOrBuilderListin interfaceCommandsOuterClass.CommandsOrBuilder
-
getCommandsCount
public int getCommandsCount()
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v1.Command commands = 8 [json_name = "commands"];- Specified by:
getCommandsCountin interfaceCommandsOuterClass.CommandsOrBuilder
-
getCommands
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"];- Specified by:
getCommandsin interfaceCommandsOuterClass.CommandsOrBuilder
-
getCommandsOrBuilder
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"];- Specified by:
getCommandsOrBuilderin interfaceCommandsOuterClass.CommandsOrBuilder
-
hasDeduplicationTime
@Deprecated public boolean hasDeduplicationTime()
Deprecated.Specifies the length of the deduplication period. Same semantics apply as for `deduplication_duration`. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_time = 9 [json_name = "deduplicationTime", deprecated = true];- Specified by:
hasDeduplicationTimein interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- Whether the deduplicationTime field is set.
-
getDeduplicationTime
@Deprecated public com.google.protobuf.Duration getDeduplicationTime()
Deprecated.Specifies the length of the deduplication period. Same semantics apply as for `deduplication_duration`. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_time = 9 [json_name = "deduplicationTime", deprecated = true];- Specified by:
getDeduplicationTimein interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The deduplicationTime.
-
getDeduplicationTimeOrBuilder
@Deprecated public com.google.protobuf.DurationOrBuilder getDeduplicationTimeOrBuilder()
Deprecated.Specifies the length of the deduplication period. Same semantics apply as for `deduplication_duration`. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_time = 9 [json_name = "deduplicationTime", deprecated = true];- Specified by:
getDeduplicationTimeOrBuilderin interfaceCommandsOuterClass.CommandsOrBuilder
-
hasDeduplicationDuration
public boolean hasDeduplicationDuration()
Specifies the length of the deduplication period. It is interpreted relative to the local clock at some point during the submission's processing. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_duration = 15 [json_name = "deduplicationDuration"];- Specified by:
hasDeduplicationDurationin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- Whether the deduplicationDuration field is set.
-
getDeduplicationDuration
public com.google.protobuf.Duration getDeduplicationDuration()
Specifies the length of the deduplication period. It is interpreted relative to the local clock at some point during the submission's processing. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_duration = 15 [json_name = "deduplicationDuration"];- Specified by:
getDeduplicationDurationin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The deduplicationDuration.
-
getDeduplicationDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDeduplicationDurationOrBuilder()
Specifies the length of the deduplication period. It is interpreted relative to the local clock at some point during the submission's processing. Must be non-negative. Must not exceed the maximum deduplication time (see ``ledger_configuration_service.proto``).
.google.protobuf.Duration deduplication_duration = 15 [json_name = "deduplicationDuration"];- Specified by:
getDeduplicationDurationOrBuilderin interfaceCommandsOuterClass.CommandsOrBuilder
-
hasDeduplicationOffset
public boolean hasDeduplicationOffset()
Specifies the start of the deduplication period by a completion stream offset (exclusive). Must be a valid LedgerString (as described in ``ledger_offset.proto``).
string deduplication_offset = 16 [json_name = "deduplicationOffset"];- Specified by:
hasDeduplicationOffsetin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- Whether the deduplicationOffset field is set.
-
getDeduplicationOffset
public java.lang.String getDeduplicationOffset()
Specifies the start of the deduplication period by a completion stream offset (exclusive). Must be a valid LedgerString (as described in ``ledger_offset.proto``).
string deduplication_offset = 16 [json_name = "deduplicationOffset"];- Specified by:
getDeduplicationOffsetin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The deduplicationOffset.
-
getDeduplicationOffsetBytes
public com.google.protobuf.ByteString getDeduplicationOffsetBytes()
Specifies the start of the deduplication period by a completion stream offset (exclusive). Must be a valid LedgerString (as described in ``ledger_offset.proto``).
string deduplication_offset = 16 [json_name = "deduplicationOffset"];- Specified by:
getDeduplicationOffsetBytesin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The bytes for deduplicationOffset.
-
hasMinLedgerTimeAbs
public boolean hasMinLedgerTimeAbs()
Lower bound for the ledger time assigned to the resulting transaction. Note: The ledger time of a transaction is assigned as part of command interpretation. Use this property if you expect that command interpretation will take a considerate amount of time, such that by the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore. Must not be set at the same time as min_ledger_time_rel. Optional
.google.protobuf.Timestamp min_ledger_time_abs = 10 [json_name = "minLedgerTimeAbs"];- Specified by:
hasMinLedgerTimeAbsin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- Whether the minLedgerTimeAbs field is set.
-
getMinLedgerTimeAbs
public com.google.protobuf.Timestamp getMinLedgerTimeAbs()
Lower bound for the ledger time assigned to the resulting transaction. Note: The ledger time of a transaction is assigned as part of command interpretation. Use this property if you expect that command interpretation will take a considerate amount of time, such that by the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore. Must not be set at the same time as min_ledger_time_rel. Optional
.google.protobuf.Timestamp min_ledger_time_abs = 10 [json_name = "minLedgerTimeAbs"];- Specified by:
getMinLedgerTimeAbsin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The minLedgerTimeAbs.
-
getMinLedgerTimeAbsOrBuilder
public com.google.protobuf.TimestampOrBuilder getMinLedgerTimeAbsOrBuilder()
Lower bound for the ledger time assigned to the resulting transaction. Note: The ledger time of a transaction is assigned as part of command interpretation. Use this property if you expect that command interpretation will take a considerate amount of time, such that by the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore. Must not be set at the same time as min_ledger_time_rel. Optional
.google.protobuf.Timestamp min_ledger_time_abs = 10 [json_name = "minLedgerTimeAbs"];- Specified by:
getMinLedgerTimeAbsOrBuilderin interfaceCommandsOuterClass.CommandsOrBuilder
-
hasMinLedgerTimeRel
public boolean hasMinLedgerTimeRel()
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server. Must not be set at the same time as min_ledger_time_abs. Optional
.google.protobuf.Duration min_ledger_time_rel = 11 [json_name = "minLedgerTimeRel"];- Specified by:
hasMinLedgerTimeRelin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- Whether the minLedgerTimeRel field is set.
-
getMinLedgerTimeRel
public com.google.protobuf.Duration getMinLedgerTimeRel()
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server. Must not be set at the same time as min_ledger_time_abs. Optional
.google.protobuf.Duration min_ledger_time_rel = 11 [json_name = "minLedgerTimeRel"];- Specified by:
getMinLedgerTimeRelin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The minLedgerTimeRel.
-
getMinLedgerTimeRelOrBuilder
public com.google.protobuf.DurationOrBuilder getMinLedgerTimeRelOrBuilder()
Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server. Must not be set at the same time as min_ledger_time_abs. Optional
.google.protobuf.Duration min_ledger_time_rel = 11 [json_name = "minLedgerTimeRel"];- Specified by:
getMinLedgerTimeRelOrBuilderin interfaceCommandsOuterClass.CommandsOrBuilder
-
getActAsList
public com.google.protobuf.ProtocolStringList getActAsList()
Set of parties on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of each of the given parties. 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"];- Specified by:
getActAsListin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- A list containing the actAs.
-
getActAsCount
public int getActAsCount()
Set of parties on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of each of the given parties. 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"];- Specified by:
getActAsCountin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The count of actAs.
-
getActAs
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"];- Specified by:
getActAsin interfaceCommandsOuterClass.CommandsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The actAs at the given index.
-
getActAsBytes
public com.google.protobuf.ByteString getActAsBytes(int index)
Set of parties on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of each of the given parties. 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"];- Specified by:
getActAsBytesin interfaceCommandsOuterClass.CommandsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the actAs at the given index.
-
getReadAsList
public com.google.protobuf.ProtocolStringList getReadAsList()
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant node is only visible to a subset of these parties. A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional
repeated string read_as = 13 [json_name = "readAs"];- Specified by:
getReadAsListin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- A list containing the readAs.
-
getReadAsCount
public int getReadAsCount()
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant node is only visible to a subset of these parties. A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional
repeated string read_as = 13 [json_name = "readAs"];- Specified by:
getReadAsCountin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The count of readAs.
-
getReadAs
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"];- Specified by:
getReadAsin interfaceCommandsOuterClass.CommandsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The readAs at the given index.
-
getReadAsBytes
public com.google.protobuf.ByteString getReadAsBytes(int index)
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant node is only visible to a subset of these parties. A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional
repeated string read_as = 13 [json_name = "readAs"];- Specified by:
getReadAsBytesin interfaceCommandsOuterClass.CommandsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the readAs at the given index.
-
getSubmissionId
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"];- Specified by:
getSubmissionIdin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The submissionId.
-
getSubmissionIdBytes
public com.google.protobuf.ByteString getSubmissionIdBytes()
A unique identifier to distinguish completions for different submissions with the same change ID. Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission with the same change ID. Must be a valid LedgerString (as described in ``value.proto``). If omitted, the participant or the committer may set a value of their choice. Optional
string submission_id = 14 [json_name = "submissionId"];- Specified by:
getSubmissionIdBytesin interfaceCommandsOuterClass.CommandsOrBuilder- Returns:
- The bytes for submissionId.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CommandsOuterClass.Commands parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandsOuterClass.Commands parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandsOuterClass.Commands parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandsOuterClass.Commands parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandsOuterClass.Commands parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandsOuterClass.Commands parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandsOuterClass.Commands parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static CommandsOuterClass.Commands parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static CommandsOuterClass.Commands parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static CommandsOuterClass.Commands parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static CommandsOuterClass.Commands parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static CommandsOuterClass.Commands parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public CommandsOuterClass.Commands.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CommandsOuterClass.Commands.Builder newBuilder()
-
newBuilder
public static CommandsOuterClass.Commands.Builder newBuilder(CommandsOuterClass.Commands prototype)
-
toBuilder
public CommandsOuterClass.Commands.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CommandsOuterClass.Commands.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CommandsOuterClass.Commands getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CommandsOuterClass.Commands> parser()
-
getParserForType
public com.google.protobuf.Parser<CommandsOuterClass.Commands> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CommandsOuterClass.Commands getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-