Package com.daml.ledger.api.v1
Class CompletionOuterClass.Completion.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
-
- com.daml.ledger.api.v1.CompletionOuterClass.Completion.Builder
-
- All Implemented Interfaces:
CompletionOuterClass.CompletionOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- CompletionOuterClass.Completion
public static final class CompletionOuterClass.Completion.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder> implements CompletionOuterClass.CompletionOrBuilder
A completion represents the status of a submitted command on the ledger: it can be successful or failed.
Protobuf typecom.daml.ledger.api.v1.Completion
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionOuterClass.Completion.Builder
addActAs(java.lang.String value)
The set of parties on whose behalf the commands were executed.CompletionOuterClass.Completion.Builder
addActAsBytes(com.google.protobuf.ByteString value)
The set of parties on whose behalf the commands were executed.CompletionOuterClass.Completion.Builder
addAllActAs(java.lang.Iterable<java.lang.String> values)
The set of parties on whose behalf the commands were executed.CompletionOuterClass.Completion.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CompletionOuterClass.Completion
build()
CompletionOuterClass.Completion
buildPartial()
CompletionOuterClass.Completion.Builder
clear()
CompletionOuterClass.Completion.Builder
clearActAs()
The set of parties on whose behalf the commands were executed.CompletionOuterClass.Completion.Builder
clearApplicationId()
The application-id or user-id that was used for the submission, as described in ``commands.proto``.CompletionOuterClass.Completion.Builder
clearCommandId()
The ID of the succeeded or failed command.CompletionOuterClass.Completion.Builder
clearDeduplicationDuration()
Specifies the length of the deduplication period.CompletionOuterClass.Completion.Builder
clearDeduplicationOffset()
Specifies the start of the deduplication period by a completion stream offset (exclusive).CompletionOuterClass.Completion.Builder
clearDeduplicationPeriod()
CompletionOuterClass.Completion.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CompletionOuterClass.Completion.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CompletionOuterClass.Completion.Builder
clearStatus()
Identifies the exact type of the error.CompletionOuterClass.Completion.Builder
clearSubmissionId()
The submission ID this completion refers to, as described in ``commands.proto``.CompletionOuterClass.Completion.Builder
clearTransactionId()
The transaction_id of the transaction that resulted from the command with command_id.CompletionOuterClass.Completion.Builder
clone()
java.lang.String
getActAs(int index)
The set of parties on whose behalf the commands were executed.com.google.protobuf.ByteString
getActAsBytes(int index)
The set of parties on whose behalf the commands were executed.int
getActAsCount()
The set of parties on whose behalf the commands were executed.com.google.protobuf.ProtocolStringList
getActAsList()
The set of parties on whose behalf the commands were executed.java.lang.String
getApplicationId()
The application-id or user-id that was used for the submission, as described in ``commands.proto``.com.google.protobuf.ByteString
getApplicationIdBytes()
The application-id or user-id that was used for the submission, as described in ``commands.proto``.java.lang.String
getCommandId()
The ID of the succeeded or failed command.com.google.protobuf.ByteString
getCommandIdBytes()
The ID of the succeeded or failed command.com.google.protobuf.Duration
getDeduplicationDuration()
Specifies the length of the deduplication period.com.google.protobuf.Duration.Builder
getDeduplicationDurationBuilder()
Specifies the length of the deduplication period.com.google.protobuf.DurationOrBuilder
getDeduplicationDurationOrBuilder()
Specifies the length of the deduplication period.java.lang.String
getDeduplicationOffset()
Specifies the start of the deduplication period by a completion stream offset (exclusive).com.google.protobuf.ByteString
getDeduplicationOffsetBytes()
Specifies the start of the deduplication period by a completion stream offset (exclusive).CompletionOuterClass.Completion.DeduplicationPeriodCase
getDeduplicationPeriodCase()
CompletionOuterClass.Completion
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.rpc.Status
getStatus()
Identifies the exact type of the error.com.google.rpc.Status.Builder
getStatusBuilder()
Identifies the exact type of the error.com.google.rpc.StatusOrBuilder
getStatusOrBuilder()
Identifies the exact type of the error.java.lang.String
getSubmissionId()
The submission ID this completion refers to, as described in ``commands.proto``.com.google.protobuf.ByteString
getSubmissionIdBytes()
The submission ID this completion refers to, as described in ``commands.proto``.java.lang.String
getTransactionId()
The transaction_id of the transaction that resulted from the command with command_id.com.google.protobuf.ByteString
getTransactionIdBytes()
The transaction_id of the transaction that resulted from the command with command_id.boolean
hasDeduplicationDuration()
Specifies the length of the deduplication period.boolean
hasDeduplicationOffset()
Specifies the start of the deduplication period by a completion stream offset (exclusive).boolean
hasStatus()
Identifies the exact type of the error.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CompletionOuterClass.Completion.Builder
mergeDeduplicationDuration(com.google.protobuf.Duration value)
Specifies the length of the deduplication period.CompletionOuterClass.Completion.Builder
mergeFrom(CompletionOuterClass.Completion other)
CompletionOuterClass.Completion.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CompletionOuterClass.Completion.Builder
mergeFrom(com.google.protobuf.Message other)
CompletionOuterClass.Completion.Builder
mergeStatus(com.google.rpc.Status value)
Identifies the exact type of the error.CompletionOuterClass.Completion.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CompletionOuterClass.Completion.Builder
setActAs(int index, java.lang.String value)
The set of parties on whose behalf the commands were executed.CompletionOuterClass.Completion.Builder
setApplicationId(java.lang.String value)
The application-id or user-id that was used for the submission, as described in ``commands.proto``.CompletionOuterClass.Completion.Builder
setApplicationIdBytes(com.google.protobuf.ByteString value)
The application-id or user-id that was used for the submission, as described in ``commands.proto``.CompletionOuterClass.Completion.Builder
setCommandId(java.lang.String value)
The ID of the succeeded or failed command.CompletionOuterClass.Completion.Builder
setCommandIdBytes(com.google.protobuf.ByteString value)
The ID of the succeeded or failed command.CompletionOuterClass.Completion.Builder
setDeduplicationDuration(com.google.protobuf.Duration value)
Specifies the length of the deduplication period.CompletionOuterClass.Completion.Builder
setDeduplicationDuration(com.google.protobuf.Duration.Builder builderForValue)
Specifies the length of the deduplication period.CompletionOuterClass.Completion.Builder
setDeduplicationOffset(java.lang.String value)
Specifies the start of the deduplication period by a completion stream offset (exclusive).CompletionOuterClass.Completion.Builder
setDeduplicationOffsetBytes(com.google.protobuf.ByteString value)
Specifies the start of the deduplication period by a completion stream offset (exclusive).CompletionOuterClass.Completion.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CompletionOuterClass.Completion.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
CompletionOuterClass.Completion.Builder
setStatus(com.google.rpc.Status value)
Identifies the exact type of the error.CompletionOuterClass.Completion.Builder
setStatus(com.google.rpc.Status.Builder builderForValue)
Identifies the exact type of the error.CompletionOuterClass.Completion.Builder
setSubmissionId(java.lang.String value)
The submission ID this completion refers to, as described in ``commands.proto``.CompletionOuterClass.Completion.Builder
setSubmissionIdBytes(com.google.protobuf.ByteString value)
The submission ID this completion refers to, as described in ``commands.proto``.CompletionOuterClass.Completion.Builder
setTransactionId(java.lang.String value)
The transaction_id of the transaction that resulted from the command with command_id.CompletionOuterClass.Completion.Builder
setTransactionIdBytes(com.google.protobuf.ByteString value)
The transaction_id of the transaction that resulted from the command with command_id.CompletionOuterClass.Completion.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
-
clear
public CompletionOuterClass.Completion.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
-
getDefaultInstanceForType
public CompletionOuterClass.Completion getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CompletionOuterClass.Completion build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CompletionOuterClass.Completion buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CompletionOuterClass.Completion.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
-
setField
public CompletionOuterClass.Completion.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
-
clearField
public CompletionOuterClass.Completion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
-
clearOneof
public CompletionOuterClass.Completion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
-
setRepeatedField
public CompletionOuterClass.Completion.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
-
addRepeatedField
public CompletionOuterClass.Completion.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
-
mergeFrom
public CompletionOuterClass.Completion.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CompletionOuterClass.Completion.Builder>
-
mergeFrom
public CompletionOuterClass.Completion.Builder mergeFrom(CompletionOuterClass.Completion other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
-
mergeFrom
public CompletionOuterClass.Completion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CompletionOuterClass.Completion.Builder>
- Throws:
java.io.IOException
-
getDeduplicationPeriodCase
public CompletionOuterClass.Completion.DeduplicationPeriodCase getDeduplicationPeriodCase()
- Specified by:
getDeduplicationPeriodCase
in interfaceCompletionOuterClass.CompletionOrBuilder
-
clearDeduplicationPeriod
public CompletionOuterClass.Completion.Builder clearDeduplicationPeriod()
-
getCommandId
public java.lang.String getCommandId()
The ID of the succeeded or failed command. Must be a valid LedgerString (as described in ``value.proto``). Required
string command_id = 1 [json_name = "commandId"];
- Specified by:
getCommandId
in interfaceCompletionOuterClass.CompletionOrBuilder
- Returns:
- The commandId.
-
getCommandIdBytes
public com.google.protobuf.ByteString getCommandIdBytes()
The ID of the succeeded or failed command. Must be a valid LedgerString (as described in ``value.proto``). Required
string command_id = 1 [json_name = "commandId"];
- Specified by:
getCommandIdBytes
in interfaceCompletionOuterClass.CompletionOrBuilder
- Returns:
- The bytes for commandId.
-
setCommandId
public CompletionOuterClass.Completion.Builder setCommandId(java.lang.String value)
The ID of the succeeded or failed command. Must be a valid LedgerString (as described in ``value.proto``). Required
string command_id = 1 [json_name = "commandId"];
- Parameters:
value
- The commandId to set.- Returns:
- This builder for chaining.
-
clearCommandId
public CompletionOuterClass.Completion.Builder clearCommandId()
The ID of the succeeded or failed command. Must be a valid LedgerString (as described in ``value.proto``). Required
string command_id = 1 [json_name = "commandId"];
- Returns:
- This builder for chaining.
-
setCommandIdBytes
public CompletionOuterClass.Completion.Builder setCommandIdBytes(com.google.protobuf.ByteString value)
The ID of the succeeded or failed command. Must be a valid LedgerString (as described in ``value.proto``). Required
string command_id = 1 [json_name = "commandId"];
- Parameters:
value
- The bytes for commandId to set.- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()
Identifies the exact type of the error. For example, malformed or double spend transactions will result in a ``INVALID_ARGUMENT`` status. Transactions with invalid time time windows (which may be valid at a later date) will result in an ``ABORTED`` error. Optional
.google.rpc.Status status = 2 [json_name = "status"];
- Specified by:
hasStatus
in interfaceCompletionOuterClass.CompletionOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
public com.google.rpc.Status getStatus()
Identifies the exact type of the error. For example, malformed or double spend transactions will result in a ``INVALID_ARGUMENT`` status. Transactions with invalid time time windows (which may be valid at a later date) will result in an ``ABORTED`` error. Optional
.google.rpc.Status status = 2 [json_name = "status"];
- Specified by:
getStatus
in interfaceCompletionOuterClass.CompletionOrBuilder
- Returns:
- The status.
-
setStatus
public CompletionOuterClass.Completion.Builder setStatus(com.google.rpc.Status value)
Identifies the exact type of the error. For example, malformed or double spend transactions will result in a ``INVALID_ARGUMENT`` status. Transactions with invalid time time windows (which may be valid at a later date) will result in an ``ABORTED`` error. Optional
.google.rpc.Status status = 2 [json_name = "status"];
-
setStatus
public CompletionOuterClass.Completion.Builder setStatus(com.google.rpc.Status.Builder builderForValue)
Identifies the exact type of the error. For example, malformed or double spend transactions will result in a ``INVALID_ARGUMENT`` status. Transactions with invalid time time windows (which may be valid at a later date) will result in an ``ABORTED`` error. Optional
.google.rpc.Status status = 2 [json_name = "status"];
-
mergeStatus
public CompletionOuterClass.Completion.Builder mergeStatus(com.google.rpc.Status value)
Identifies the exact type of the error. For example, malformed or double spend transactions will result in a ``INVALID_ARGUMENT`` status. Transactions with invalid time time windows (which may be valid at a later date) will result in an ``ABORTED`` error. Optional
.google.rpc.Status status = 2 [json_name = "status"];
-
clearStatus
public CompletionOuterClass.Completion.Builder clearStatus()
Identifies the exact type of the error. For example, malformed or double spend transactions will result in a ``INVALID_ARGUMENT`` status. Transactions with invalid time time windows (which may be valid at a later date) will result in an ``ABORTED`` error. Optional
.google.rpc.Status status = 2 [json_name = "status"];
-
getStatusBuilder
public com.google.rpc.Status.Builder getStatusBuilder()
Identifies the exact type of the error. For example, malformed or double spend transactions will result in a ``INVALID_ARGUMENT`` status. Transactions with invalid time time windows (which may be valid at a later date) will result in an ``ABORTED`` error. Optional
.google.rpc.Status status = 2 [json_name = "status"];
-
getStatusOrBuilder
public com.google.rpc.StatusOrBuilder getStatusOrBuilder()
Identifies the exact type of the error. For example, malformed or double spend transactions will result in a ``INVALID_ARGUMENT`` status. Transactions with invalid time time windows (which may be valid at a later date) will result in an ``ABORTED`` error. Optional
.google.rpc.Status status = 2 [json_name = "status"];
- Specified by:
getStatusOrBuilder
in interfaceCompletionOuterClass.CompletionOrBuilder
-
getTransactionId
public java.lang.String getTransactionId()
The transaction_id of the transaction that resulted from the command with command_id. Only set for successfully executed commands. Must be a valid LedgerString (as described in ``value.proto``). Optional
string transaction_id = 3 [json_name = "transactionId"];
- Specified by:
getTransactionId
in interfaceCompletionOuterClass.CompletionOrBuilder
- Returns:
- The transactionId.
-
getTransactionIdBytes
public com.google.protobuf.ByteString getTransactionIdBytes()
The transaction_id of the transaction that resulted from the command with command_id. Only set for successfully executed commands. Must be a valid LedgerString (as described in ``value.proto``). Optional
string transaction_id = 3 [json_name = "transactionId"];
- Specified by:
getTransactionIdBytes
in interfaceCompletionOuterClass.CompletionOrBuilder
- Returns:
- The bytes for transactionId.
-
setTransactionId
public CompletionOuterClass.Completion.Builder setTransactionId(java.lang.String value)
The transaction_id of the transaction that resulted from the command with command_id. Only set for successfully executed commands. Must be a valid LedgerString (as described in ``value.proto``). Optional
string transaction_id = 3 [json_name = "transactionId"];
- Parameters:
value
- The transactionId to set.- Returns:
- This builder for chaining.
-
clearTransactionId
public CompletionOuterClass.Completion.Builder clearTransactionId()
The transaction_id of the transaction that resulted from the command with command_id. Only set for successfully executed commands. Must be a valid LedgerString (as described in ``value.proto``). Optional
string transaction_id = 3 [json_name = "transactionId"];
- Returns:
- This builder for chaining.
-
setTransactionIdBytes
public CompletionOuterClass.Completion.Builder setTransactionIdBytes(com.google.protobuf.ByteString value)
The transaction_id of the transaction that resulted from the command with command_id. Only set for successfully executed commands. Must be a valid LedgerString (as described in ``value.proto``). Optional
string transaction_id = 3 [json_name = "transactionId"];
- Parameters:
value
- The bytes for transactionId to set.- Returns:
- This builder for chaining.
-
getApplicationId
public java.lang.String getApplicationId()
The application-id or user-id that was used for the submission, as described in ``commands.proto``. Must be a valid ApplicationIdString (as described in ``value.proto``). Optional for historic completions where this data is not available.
string application_id = 4 [json_name = "applicationId"];
- Specified by:
getApplicationId
in interfaceCompletionOuterClass.CompletionOrBuilder
- Returns:
- The applicationId.
-
getApplicationIdBytes
public com.google.protobuf.ByteString getApplicationIdBytes()
The application-id or user-id that was used for the submission, as described in ``commands.proto``. Must be a valid ApplicationIdString (as described in ``value.proto``). Optional for historic completions where this data is not available.
string application_id = 4 [json_name = "applicationId"];
- Specified by:
getApplicationIdBytes
in interfaceCompletionOuterClass.CompletionOrBuilder
- Returns:
- The bytes for applicationId.
-
setApplicationId
public CompletionOuterClass.Completion.Builder setApplicationId(java.lang.String value)
The application-id or user-id that was used for the submission, as described in ``commands.proto``. Must be a valid ApplicationIdString (as described in ``value.proto``). Optional for historic completions where this data is not available.
string application_id = 4 [json_name = "applicationId"];
- Parameters:
value
- The applicationId to set.- Returns:
- This builder for chaining.
-
clearApplicationId
public CompletionOuterClass.Completion.Builder clearApplicationId()
The application-id or user-id that was used for the submission, as described in ``commands.proto``. Must be a valid ApplicationIdString (as described in ``value.proto``). Optional for historic completions where this data is not available.
string application_id = 4 [json_name = "applicationId"];
- Returns:
- This builder for chaining.
-
setApplicationIdBytes
public CompletionOuterClass.Completion.Builder setApplicationIdBytes(com.google.protobuf.ByteString value)
The application-id or user-id that was used for the submission, as described in ``commands.proto``. Must be a valid ApplicationIdString (as described in ``value.proto``). Optional for historic completions where this data is not available.
string application_id = 4 [json_name = "applicationId"];
- Parameters:
value
- The bytes for applicationId to set.- Returns:
- This builder for chaining.
-
getActAsList
public com.google.protobuf.ProtocolStringList getActAsList()
The set of parties on whose behalf the commands were executed. Contains the union of ``party`` and ``act_as`` from ``commands.proto``. The order of the parties need not be the same as in the submission. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional for historic completions where this data is not available.
repeated string act_as = 5 [json_name = "actAs"];
- Specified by:
getActAsList
in interfaceCompletionOuterClass.CompletionOrBuilder
- Returns:
- A list containing the actAs.
-
getActAsCount
public int getActAsCount()
The set of parties on whose behalf the commands were executed. Contains the union of ``party`` and ``act_as`` from ``commands.proto``. The order of the parties need not be the same as in the submission. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional for historic completions where this data is not available.
repeated string act_as = 5 [json_name = "actAs"];
- Specified by:
getActAsCount
in interfaceCompletionOuterClass.CompletionOrBuilder
- Returns:
- The count of actAs.
-
getActAs
public java.lang.String getActAs(int index)
The set of parties on whose behalf the commands were executed. Contains the union of ``party`` and ``act_as`` from ``commands.proto``. The order of the parties need not be the same as in the submission. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional for historic completions where this data is not available.
repeated string act_as = 5 [json_name = "actAs"];
- Specified by:
getActAs
in interfaceCompletionOuterClass.CompletionOrBuilder
- 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)
The set of parties on whose behalf the commands were executed. Contains the union of ``party`` and ``act_as`` from ``commands.proto``. The order of the parties need not be the same as in the submission. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional for historic completions where this data is not available.
repeated string act_as = 5 [json_name = "actAs"];
- Specified by:
getActAsBytes
in interfaceCompletionOuterClass.CompletionOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the actAs at the given index.
-
setActAs
public CompletionOuterClass.Completion.Builder setActAs(int index, java.lang.String value)
The set of parties on whose behalf the commands were executed. Contains the union of ``party`` and ``act_as`` from ``commands.proto``. The order of the parties need not be the same as in the submission. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional for historic completions where this data is not available.
repeated string act_as = 5 [json_name = "actAs"];
- Parameters:
index
- The index to set the value at.value
- The actAs to set.- Returns:
- This builder for chaining.
-
addActAs
public CompletionOuterClass.Completion.Builder addActAs(java.lang.String value)
The set of parties on whose behalf the commands were executed. Contains the union of ``party`` and ``act_as`` from ``commands.proto``. The order of the parties need not be the same as in the submission. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional for historic completions where this data is not available.
repeated string act_as = 5 [json_name = "actAs"];
- Parameters:
value
- The actAs to add.- Returns:
- This builder for chaining.
-
addAllActAs
public CompletionOuterClass.Completion.Builder addAllActAs(java.lang.Iterable<java.lang.String> values)
The set of parties on whose behalf the commands were executed. Contains the union of ``party`` and ``act_as`` from ``commands.proto``. The order of the parties need not be the same as in the submission. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional for historic completions where this data is not available.
repeated string act_as = 5 [json_name = "actAs"];
- Parameters:
values
- The actAs to add.- Returns:
- This builder for chaining.
-
clearActAs
public CompletionOuterClass.Completion.Builder clearActAs()
The set of parties on whose behalf the commands were executed. Contains the union of ``party`` and ``act_as`` from ``commands.proto``. The order of the parties need not be the same as in the submission. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional for historic completions where this data is not available.
repeated string act_as = 5 [json_name = "actAs"];
- Returns:
- This builder for chaining.
-
addActAsBytes
public CompletionOuterClass.Completion.Builder addActAsBytes(com.google.protobuf.ByteString value)
The set of parties on whose behalf the commands were executed. Contains the union of ``party`` and ``act_as`` from ``commands.proto``. The order of the parties need not be the same as in the submission. Each element must be a valid PartyIdString (as described in ``value.proto``). Optional for historic completions where this data is not available.
repeated string act_as = 5 [json_name = "actAs"];
- Parameters:
value
- The bytes of the actAs to add.- Returns:
- This builder for chaining.
-
getSubmissionId
public java.lang.String getSubmissionId()
The submission ID this completion refers to, as described in ``commands.proto``. Must be a valid LedgerString (as described in ``value.proto``). Optional
string submission_id = 6 [json_name = "submissionId"];
- Specified by:
getSubmissionId
in interfaceCompletionOuterClass.CompletionOrBuilder
- Returns:
- The submissionId.
-
getSubmissionIdBytes
public com.google.protobuf.ByteString getSubmissionIdBytes()
The submission ID this completion refers to, as described in ``commands.proto``. Must be a valid LedgerString (as described in ``value.proto``). Optional
string submission_id = 6 [json_name = "submissionId"];
- Specified by:
getSubmissionIdBytes
in interfaceCompletionOuterClass.CompletionOrBuilder
- Returns:
- The bytes for submissionId.
-
setSubmissionId
public CompletionOuterClass.Completion.Builder setSubmissionId(java.lang.String value)
The submission ID this completion refers to, as described in ``commands.proto``. Must be a valid LedgerString (as described in ``value.proto``). Optional
string submission_id = 6 [json_name = "submissionId"];
- Parameters:
value
- The submissionId to set.- Returns:
- This builder for chaining.
-
clearSubmissionId
public CompletionOuterClass.Completion.Builder clearSubmissionId()
The submission ID this completion refers to, as described in ``commands.proto``. Must be a valid LedgerString (as described in ``value.proto``). Optional
string submission_id = 6 [json_name = "submissionId"];
- Returns:
- This builder for chaining.
-
setSubmissionIdBytes
public CompletionOuterClass.Completion.Builder setSubmissionIdBytes(com.google.protobuf.ByteString value)
The submission ID this completion refers to, as described in ``commands.proto``. Must be a valid LedgerString (as described in ``value.proto``). Optional
string submission_id = 6 [json_name = "submissionId"];
- Parameters:
value
- The bytes for submissionId to set.- Returns:
- This builder for chaining.
-
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 ``value.proto``).
string deduplication_offset = 8 [json_name = "deduplicationOffset"];
- Specified by:
hasDeduplicationOffset
in interfaceCompletionOuterClass.CompletionOrBuilder
- 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 ``value.proto``).
string deduplication_offset = 8 [json_name = "deduplicationOffset"];
- Specified by:
getDeduplicationOffset
in interfaceCompletionOuterClass.CompletionOrBuilder
- 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 ``value.proto``).
string deduplication_offset = 8 [json_name = "deduplicationOffset"];
- Specified by:
getDeduplicationOffsetBytes
in interfaceCompletionOuterClass.CompletionOrBuilder
- Returns:
- The bytes for deduplicationOffset.
-
setDeduplicationOffset
public CompletionOuterClass.Completion.Builder setDeduplicationOffset(java.lang.String value)
Specifies the start of the deduplication period by a completion stream offset (exclusive). Must be a valid LedgerString (as described in ``value.proto``).
string deduplication_offset = 8 [json_name = "deduplicationOffset"];
- Parameters:
value
- The deduplicationOffset to set.- Returns:
- This builder for chaining.
-
clearDeduplicationOffset
public CompletionOuterClass.Completion.Builder clearDeduplicationOffset()
Specifies the start of the deduplication period by a completion stream offset (exclusive). Must be a valid LedgerString (as described in ``value.proto``).
string deduplication_offset = 8 [json_name = "deduplicationOffset"];
- Returns:
- This builder for chaining.
-
setDeduplicationOffsetBytes
public CompletionOuterClass.Completion.Builder setDeduplicationOffsetBytes(com.google.protobuf.ByteString value)
Specifies the start of the deduplication period by a completion stream offset (exclusive). Must be a valid LedgerString (as described in ``value.proto``).
string deduplication_offset = 8 [json_name = "deduplicationOffset"];
- Parameters:
value
- The bytes for deduplicationOffset to set.- Returns:
- This builder for chaining.
-
hasDeduplicationDuration
public boolean hasDeduplicationDuration()
Specifies the length of the deduplication period. It is measured in record time of completions. Must be non-negative.
.google.protobuf.Duration deduplication_duration = 9 [json_name = "deduplicationDuration"];
- Specified by:
hasDeduplicationDuration
in interfaceCompletionOuterClass.CompletionOrBuilder
- Returns:
- Whether the deduplicationDuration field is set.
-
getDeduplicationDuration
public com.google.protobuf.Duration getDeduplicationDuration()
Specifies the length of the deduplication period. It is measured in record time of completions. Must be non-negative.
.google.protobuf.Duration deduplication_duration = 9 [json_name = "deduplicationDuration"];
- Specified by:
getDeduplicationDuration
in interfaceCompletionOuterClass.CompletionOrBuilder
- Returns:
- The deduplicationDuration.
-
setDeduplicationDuration
public CompletionOuterClass.Completion.Builder setDeduplicationDuration(com.google.protobuf.Duration value)
Specifies the length of the deduplication period. It is measured in record time of completions. Must be non-negative.
.google.protobuf.Duration deduplication_duration = 9 [json_name = "deduplicationDuration"];
-
setDeduplicationDuration
public CompletionOuterClass.Completion.Builder setDeduplicationDuration(com.google.protobuf.Duration.Builder builderForValue)
Specifies the length of the deduplication period. It is measured in record time of completions. Must be non-negative.
.google.protobuf.Duration deduplication_duration = 9 [json_name = "deduplicationDuration"];
-
mergeDeduplicationDuration
public CompletionOuterClass.Completion.Builder mergeDeduplicationDuration(com.google.protobuf.Duration value)
Specifies the length of the deduplication period. It is measured in record time of completions. Must be non-negative.
.google.protobuf.Duration deduplication_duration = 9 [json_name = "deduplicationDuration"];
-
clearDeduplicationDuration
public CompletionOuterClass.Completion.Builder clearDeduplicationDuration()
Specifies the length of the deduplication period. It is measured in record time of completions. Must be non-negative.
.google.protobuf.Duration deduplication_duration = 9 [json_name = "deduplicationDuration"];
-
getDeduplicationDurationBuilder
public com.google.protobuf.Duration.Builder getDeduplicationDurationBuilder()
Specifies the length of the deduplication period. It is measured in record time of completions. Must be non-negative.
.google.protobuf.Duration deduplication_duration = 9 [json_name = "deduplicationDuration"];
-
getDeduplicationDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDeduplicationDurationOrBuilder()
Specifies the length of the deduplication period. It is measured in record time of completions. Must be non-negative.
.google.protobuf.Duration deduplication_duration = 9 [json_name = "deduplicationDuration"];
- Specified by:
getDeduplicationDurationOrBuilder
in interfaceCompletionOuterClass.CompletionOrBuilder
-
setUnknownFields
public final CompletionOuterClass.Completion.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
-
mergeUnknownFields
public final CompletionOuterClass.Completion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
-
-