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 type
com.daml.ledger.api.v1.Completion
Modifier and Type | Method and Description |
---|---|
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 |
clearCommandId()
The ID of the succeeded or failed command.
|
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 |
clearTraceContext()
The trace context submitted with the command.
|
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 |
getCommandId()
The ID of the succeeded or failed command.
|
com.google.protobuf.ByteString |
getCommandIdBytes()
The ID of the succeeded or failed command.
|
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.
|
TraceContextOuterClass.TraceContext |
getTraceContext()
The trace context submitted with the command.
|
TraceContextOuterClass.TraceContext.Builder |
getTraceContextBuilder()
The trace context submitted with the command.
|
TraceContextOuterClass.TraceContextOrBuilder |
getTraceContextOrBuilder()
The trace context submitted with the command.
|
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 |
hasStatus()
Identifies the exact type of the error.
|
boolean |
hasTraceContext()
The trace context submitted with the command.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CompletionOuterClass.Completion.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CompletionOuterClass.Completion.Builder |
mergeFrom(CompletionOuterClass.Completion other) |
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 |
mergeTraceContext(TraceContextOuterClass.TraceContext value)
The trace context submitted with the command.
|
CompletionOuterClass.Completion.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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 |
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.Builder builderForValue)
Identifies the exact type of the error.
|
CompletionOuterClass.Completion.Builder |
setStatus(com.google.rpc.Status value)
Identifies the exact type of the error.
|
CompletionOuterClass.Completion.Builder |
setTraceContext(TraceContextOuterClass.TraceContext.Builder builderForValue)
The trace context submitted with the command.
|
CompletionOuterClass.Completion.Builder |
setTraceContext(TraceContextOuterClass.TraceContext value)
The trace context submitted with the command.
|
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) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
public CompletionOuterClass.Completion.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
public CompletionOuterClass.Completion getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CompletionOuterClass.Completion build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CompletionOuterClass.Completion buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CompletionOuterClass.Completion.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
public CompletionOuterClass.Completion.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
public CompletionOuterClass.Completion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
public CompletionOuterClass.Completion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
public CompletionOuterClass.Completion.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
public CompletionOuterClass.Completion.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
public CompletionOuterClass.Completion.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CompletionOuterClass.Completion.Builder>
public CompletionOuterClass.Completion.Builder mergeFrom(CompletionOuterClass.Completion other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
public CompletionOuterClass.Completion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CompletionOuterClass.Completion.Builder>
java.io.IOException
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"];
getCommandId
in interface CompletionOuterClass.CompletionOrBuilder
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"];
getCommandIdBytes
in interface CompletionOuterClass.CompletionOrBuilder
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"];
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"];
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"];
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"];
hasStatus
in interface CompletionOuterClass.CompletionOrBuilder
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"];
getStatus
in interface CompletionOuterClass.CompletionOrBuilder
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"];
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"];
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"];
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"];
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"];
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"];
getStatusOrBuilder
in interface CompletionOuterClass.CompletionOrBuilder
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"];
getTransactionId
in interface CompletionOuterClass.CompletionOrBuilder
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"];
getTransactionIdBytes
in interface CompletionOuterClass.CompletionOrBuilder
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"];
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"];
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"];
public boolean hasTraceContext()
The trace context submitted with the command. This field is a future extension point and is currently not supported. Optional
.com.daml.ledger.api.v1.TraceContext trace_context = 1000[json_name = "traceContext"];
hasTraceContext
in interface CompletionOuterClass.CompletionOrBuilder
public TraceContextOuterClass.TraceContext getTraceContext()
The trace context submitted with the command. This field is a future extension point and is currently not supported. Optional
.com.daml.ledger.api.v1.TraceContext trace_context = 1000[json_name = "traceContext"];
getTraceContext
in interface CompletionOuterClass.CompletionOrBuilder
public CompletionOuterClass.Completion.Builder setTraceContext(TraceContextOuterClass.TraceContext value)
The trace context submitted with the command. This field is a future extension point and is currently not supported. Optional
.com.daml.ledger.api.v1.TraceContext trace_context = 1000[json_name = "traceContext"];
public CompletionOuterClass.Completion.Builder setTraceContext(TraceContextOuterClass.TraceContext.Builder builderForValue)
The trace context submitted with the command. This field is a future extension point and is currently not supported. Optional
.com.daml.ledger.api.v1.TraceContext trace_context = 1000[json_name = "traceContext"];
public CompletionOuterClass.Completion.Builder mergeTraceContext(TraceContextOuterClass.TraceContext value)
The trace context submitted with the command. This field is a future extension point and is currently not supported. Optional
.com.daml.ledger.api.v1.TraceContext trace_context = 1000[json_name = "traceContext"];
public CompletionOuterClass.Completion.Builder clearTraceContext()
The trace context submitted with the command. This field is a future extension point and is currently not supported. Optional
.com.daml.ledger.api.v1.TraceContext trace_context = 1000[json_name = "traceContext"];
public TraceContextOuterClass.TraceContext.Builder getTraceContextBuilder()
The trace context submitted with the command. This field is a future extension point and is currently not supported. Optional
.com.daml.ledger.api.v1.TraceContext trace_context = 1000[json_name = "traceContext"];
public TraceContextOuterClass.TraceContextOrBuilder getTraceContextOrBuilder()
The trace context submitted with the command. This field is a future extension point and is currently not supported. Optional
.com.daml.ledger.api.v1.TraceContext trace_context = 1000[json_name = "traceContext"];
getTraceContextOrBuilder
in interface CompletionOuterClass.CompletionOrBuilder
public final CompletionOuterClass.Completion.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>
public final CompletionOuterClass.Completion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionOuterClass.Completion.Builder>