Package com.daml.ledger.api.v2
Interface ReassignmentCommandOuterClass.ReassignmentCommandsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReassignmentCommandOuterClass.ReassignmentCommands
,ReassignmentCommandOuterClass.ReassignmentCommands.Builder
- Enclosing class:
- ReassignmentCommandOuterClass
public static interface ReassignmentCommandOuterClass.ReassignmentCommandsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionUniquely identifies the command.com.google.protobuf.ByteString
Uniquely identifies the command.getCommands
(int index) Individual elements of this reassignment.int
Individual elements of this reassignment.Individual elements of this reassignment.getCommandsOrBuilder
(int index) Individual elements of this reassignment.Individual elements of this reassignment.A unique identifier to distinguish completions for different submissions with the same change ID.com.google.protobuf.ByteString
A unique identifier to distinguish completions for different submissions with the same change ID.Party on whose behalf the command should be executed.com.google.protobuf.ByteString
Party on whose behalf the command should be executed.Uniquely identifies the participant user that issued the command.com.google.protobuf.ByteString
Uniquely identifies the participant user that issued the command.Identifier of the on-ledger workflow that this command is a part of.com.google.protobuf.ByteString
Identifier of the on-ledger workflow that this command is a part of.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getWorkflowId
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 = 1 [json_name = "workflowId"];
- Returns:
- The workflowId.
-
getWorkflowIdBytes
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 = 1 [json_name = "workflowId"];
- Returns:
- The bytes for workflowId.
-
getUserId
String getUserId()Uniquely identifies the participant user that issued the command. Must be a valid UserIdString (as described in ``value.proto``). Required unless authentication is used with a user token. In that case, the token's user-id will be used for the request's user_id.
string user_id = 2 [json_name = "userId"];
- Returns:
- The userId.
-
getUserIdBytes
com.google.protobuf.ByteString getUserIdBytes()Uniquely identifies the participant user that issued the command. Must be a valid UserIdString (as described in ``value.proto``). Required unless authentication is used with a user token. In that case, the token's user-id will be used for the request's user_id.
string user_id = 2 [json_name = "userId"];
- Returns:
- The bytes for userId.
-
getCommandId
String getCommandId()Uniquely identifies the command. The triple (user_id, submitter, command_id) constitutes the change ID for the intended ledger change. 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 = 3 [json_name = "commandId"];
- Returns:
- The commandId.
-
getCommandIdBytes
com.google.protobuf.ByteString getCommandIdBytes()Uniquely identifies the command. The triple (user_id, submitter, command_id) constitutes the change ID for the intended ledger change. 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 = 3 [json_name = "commandId"];
- Returns:
- The bytes for commandId.
-
getSubmitter
String getSubmitter()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``). Required
string submitter = 4 [json_name = "submitter"];
- Returns:
- The submitter.
-
getSubmitterBytes
com.google.protobuf.ByteString getSubmitterBytes()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``). Required
string submitter = 4 [json_name = "submitter"];
- Returns:
- The bytes for submitter.
-
getSubmissionId
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 = 5 [json_name = "submissionId"];
- Returns:
- The submissionId.
-
getSubmissionIdBytes
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 = 5 [json_name = "submissionId"];
- Returns:
- The bytes for submissionId.
-
getCommandsList
List<ReassignmentCommandOuterClass.ReassignmentCommand> getCommandsList()Individual elements of this reassignment. Must be non-empty.
repeated .com.daml.ledger.api.v2.ReassignmentCommand commands = 6 [json_name = "commands"];
-
getCommands
Individual elements of this reassignment. Must be non-empty.
repeated .com.daml.ledger.api.v2.ReassignmentCommand commands = 6 [json_name = "commands"];
-
getCommandsCount
int getCommandsCount()Individual elements of this reassignment. Must be non-empty.
repeated .com.daml.ledger.api.v2.ReassignmentCommand commands = 6 [json_name = "commands"];
-
getCommandsOrBuilderList
List<? extends ReassignmentCommandOuterClass.ReassignmentCommandOrBuilder> getCommandsOrBuilderList()Individual elements of this reassignment. Must be non-empty.
repeated .com.daml.ledger.api.v2.ReassignmentCommand commands = 6 [json_name = "commands"];
-
getCommandsOrBuilder
Individual elements of this reassignment. Must be non-empty.
repeated .com.daml.ledger.api.v2.ReassignmentCommand commands = 6 [json_name = "commands"];
-