Package com.daml.ledger.api.v2
Class ReassignmentOuterClass.Reassignment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.Reassignment.Builder>
com.daml.ledger.api.v2.ReassignmentOuterClass.Reassignment.Builder
- All Implemented Interfaces:
ReassignmentOuterClass.ReassignmentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReassignmentOuterClass.Reassignment
public static final class ReassignmentOuterClass.Reassignment.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.Reassignment.Builder>
implements ReassignmentOuterClass.ReassignmentOrBuilder
Complete view of an on-ledger reassignment.Protobuf type
com.daml.ledger.api.v2.Reassignment-
Method Summary
Modifier and TypeMethodDescriptionaddAllEvents(Iterable<? extends ReassignmentOuterClass.ReassignmentEvent> values) The collection of reassignment events.addEvents(int index, ReassignmentOuterClass.ReassignmentEvent value) The collection of reassignment events.addEvents(int index, ReassignmentOuterClass.ReassignmentEvent.Builder builderForValue) The collection of reassignment events.The collection of reassignment events.addEvents(ReassignmentOuterClass.ReassignmentEvent.Builder builderForValue) The collection of reassignment events.The collection of reassignment events.addEventsBuilder(int index) The collection of reassignment events.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The ID of the command which resulted in this reassignment.The collection of reassignment events.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The participant's offset.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The time at which the reassignment was recorded.Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.Assigned by the server.The workflow ID used in reassignment command submission.clone()The ID of the command which resulted in this reassignment.com.google.protobuf.ByteStringThe ID of the command which resulted in this reassignment.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEvents(int index) The collection of reassignment events.getEventsBuilder(int index) The collection of reassignment events.The collection of reassignment events.intThe collection of reassignment events.The collection of reassignment events.getEventsOrBuilder(int index) The collection of reassignment events.The collection of reassignment events.longThe participant's offset.com.google.protobuf.TimestampThe time at which the reassignment was recorded.com.google.protobuf.Timestamp.BuilderThe time at which the reassignment was recorded.com.google.protobuf.TimestampOrBuilderThe time at which the reassignment was recorded.Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.Assigned by the server.com.google.protobuf.ByteStringAssigned by the server.The workflow ID used in reassignment command submission.com.google.protobuf.ByteStringThe workflow ID used in reassignment command submission.booleanThe time at which the reassignment was recorded.booleanOptional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeRecordTime(com.google.protobuf.Timestamp value) The time at which the reassignment was recorded.Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeEvents(int index) The collection of reassignment events.setCommandId(String value) The ID of the command which resulted in this reassignment.setCommandIdBytes(com.google.protobuf.ByteString value) The ID of the command which resulted in this reassignment.setEvents(int index, ReassignmentOuterClass.ReassignmentEvent value) The collection of reassignment events.setEvents(int index, ReassignmentOuterClass.ReassignmentEvent.Builder builderForValue) The collection of reassignment events.setOffset(long value) The participant's offset.setRecordTime(com.google.protobuf.Timestamp value) The time at which the reassignment was recorded.setRecordTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which the reassignment was recorded.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.setTraceContext(TraceContextOuterClass.TraceContext.Builder builderForValue) Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpdateId(String value) Assigned by the server.setUpdateIdBytes(com.google.protobuf.ByteString value) Assigned by the server.setWorkflowId(String value) The workflow ID used in reassignment command submission.setWorkflowIdBytes(com.google.protobuf.ByteString value) The workflow ID used in reassignment command submission.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<ReassignmentOuterClass.Reassignment.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.Reassignment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.Reassignment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.Reassignment.Builder>
-
setField
public ReassignmentOuterClass.Reassignment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.Reassignment.Builder>
-
clearField
public ReassignmentOuterClass.Reassignment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.Reassignment.Builder>
-
clearOneof
public ReassignmentOuterClass.Reassignment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.Reassignment.Builder>
-
setRepeatedField
public ReassignmentOuterClass.Reassignment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.Reassignment.Builder>
-
addRepeatedField
public ReassignmentOuterClass.Reassignment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.Reassignment.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReassignmentOuterClass.Reassignment.Builder>
-
mergeFrom
public ReassignmentOuterClass.Reassignment.Builder mergeFrom(ReassignmentOuterClass.Reassignment other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.Reassignment.Builder>
-
mergeFrom
public ReassignmentOuterClass.Reassignment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReassignmentOuterClass.Reassignment.Builder>- Throws:
IOException
-
getUpdateId
Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in ``value.proto``). Required
string update_id = 1 [json_name = "updateId"];- Specified by:
getUpdateIdin interfaceReassignmentOuterClass.ReassignmentOrBuilder- Returns:
- The updateId.
-
getUpdateIdBytes
public com.google.protobuf.ByteString getUpdateIdBytes()Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in ``value.proto``). Required
string update_id = 1 [json_name = "updateId"];- Specified by:
getUpdateIdBytesin interfaceReassignmentOuterClass.ReassignmentOrBuilder- Returns:
- The bytes for updateId.
-
setUpdateId
Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in ``value.proto``). Required
string update_id = 1 [json_name = "updateId"];- Parameters:
value- The updateId to set.- Returns:
- This builder for chaining.
-
clearUpdateId
Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in ``value.proto``). Required
string update_id = 1 [json_name = "updateId"];- Returns:
- This builder for chaining.
-
setUpdateIdBytes
public ReassignmentOuterClass.Reassignment.Builder setUpdateIdBytes(com.google.protobuf.ByteString value) Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in ``value.proto``). Required
string update_id = 1 [json_name = "updateId"];- Parameters:
value- The bytes for updateId to set.- Returns:
- This builder for chaining.
-
getCommandId
The ID of the command which resulted in this reassignment. Missing for everyone except the submitting party on the submitting participant. Must be a valid LedgerString (as described in ``value.proto``). Optional
string command_id = 2 [json_name = "commandId"];- Specified by:
getCommandIdin interfaceReassignmentOuterClass.ReassignmentOrBuilder- Returns:
- The commandId.
-
getCommandIdBytes
public com.google.protobuf.ByteString getCommandIdBytes()The ID of the command which resulted in this reassignment. Missing for everyone except the submitting party on the submitting participant. Must be a valid LedgerString (as described in ``value.proto``). Optional
string command_id = 2 [json_name = "commandId"];- Specified by:
getCommandIdBytesin interfaceReassignmentOuterClass.ReassignmentOrBuilder- Returns:
- The bytes for commandId.
-
setCommandId
The ID of the command which resulted in this reassignment. Missing for everyone except the submitting party on the submitting participant. Must be a valid LedgerString (as described in ``value.proto``). Optional
string command_id = 2 [json_name = "commandId"];- Parameters:
value- The commandId to set.- Returns:
- This builder for chaining.
-
clearCommandId
The ID of the command which resulted in this reassignment. Missing for everyone except the submitting party on the submitting participant. Must be a valid LedgerString (as described in ``value.proto``). Optional
string command_id = 2 [json_name = "commandId"];- Returns:
- This builder for chaining.
-
setCommandIdBytes
public ReassignmentOuterClass.Reassignment.Builder setCommandIdBytes(com.google.protobuf.ByteString value) The ID of the command which resulted in this reassignment. Missing for everyone except the submitting party on the submitting participant. Must be a valid LedgerString (as described in ``value.proto``). Optional
string command_id = 2 [json_name = "commandId"];- Parameters:
value- The bytes for commandId to set.- Returns:
- This builder for chaining.
-
getWorkflowId
The workflow ID used in reassignment command submission. Only set if the ``workflow_id`` for the command was set. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 3 [json_name = "workflowId"];- Specified by:
getWorkflowIdin interfaceReassignmentOuterClass.ReassignmentOrBuilder- Returns:
- The workflowId.
-
getWorkflowIdBytes
public com.google.protobuf.ByteString getWorkflowIdBytes()The workflow ID used in reassignment command submission. Only set if the ``workflow_id`` for the command was set. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 3 [json_name = "workflowId"];- Specified by:
getWorkflowIdBytesin interfaceReassignmentOuterClass.ReassignmentOrBuilder- Returns:
- The bytes for workflowId.
-
setWorkflowId
The workflow ID used in reassignment command submission. Only set if the ``workflow_id`` for the command was set. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 3 [json_name = "workflowId"];- Parameters:
value- The workflowId to set.- Returns:
- This builder for chaining.
-
clearWorkflowId
The workflow ID used in reassignment command submission. Only set if the ``workflow_id`` for the command was set. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 3 [json_name = "workflowId"];- Returns:
- This builder for chaining.
-
setWorkflowIdBytes
public ReassignmentOuterClass.Reassignment.Builder setWorkflowIdBytes(com.google.protobuf.ByteString value) The workflow ID used in reassignment command submission. Only set if the ``workflow_id`` for the command was set. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 3 [json_name = "workflowId"];- Parameters:
value- The bytes for workflowId to set.- Returns:
- This builder for chaining.
-
getOffset
public long getOffset()The participant's offset. The details of this field are described in ``community/ledger-api/README.md``. Required, must be a valid absolute offset (positive integer).
int64 offset = 4 [json_name = "offset"];- Specified by:
getOffsetin interfaceReassignmentOuterClass.ReassignmentOrBuilder- Returns:
- The offset.
-
setOffset
The participant's offset. The details of this field are described in ``community/ledger-api/README.md``. Required, must be a valid absolute offset (positive integer).
int64 offset = 4 [json_name = "offset"];- Parameters:
value- The offset to set.- Returns:
- This builder for chaining.
-
clearOffset
The participant's offset. The details of this field are described in ``community/ledger-api/README.md``. Required, must be a valid absolute offset (positive integer).
int64 offset = 4 [json_name = "offset"];- Returns:
- This builder for chaining.
-
getEventsList
The collection of reassignment events. Required.
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5 [json_name = "events"];- Specified by:
getEventsListin interfaceReassignmentOuterClass.ReassignmentOrBuilder
-
getEventsCount
public int getEventsCount()The collection of reassignment events. Required.
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5 [json_name = "events"];- Specified by:
getEventsCountin interfaceReassignmentOuterClass.ReassignmentOrBuilder
-
getEvents
The collection of reassignment events. Required.
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5 [json_name = "events"];- Specified by:
getEventsin interfaceReassignmentOuterClass.ReassignmentOrBuilder
-
setEvents
public ReassignmentOuterClass.Reassignment.Builder setEvents(int index, ReassignmentOuterClass.ReassignmentEvent value) The collection of reassignment events. Required.
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5 [json_name = "events"]; -
setEvents
public ReassignmentOuterClass.Reassignment.Builder setEvents(int index, ReassignmentOuterClass.ReassignmentEvent.Builder builderForValue) The collection of reassignment events. Required.
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5 [json_name = "events"]; -
addEvents
public ReassignmentOuterClass.Reassignment.Builder addEvents(ReassignmentOuterClass.ReassignmentEvent value) The collection of reassignment events. Required.
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5 [json_name = "events"]; -
addEvents
public ReassignmentOuterClass.Reassignment.Builder addEvents(int index, ReassignmentOuterClass.ReassignmentEvent value) The collection of reassignment events. Required.
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5 [json_name = "events"]; -
addEvents
public ReassignmentOuterClass.Reassignment.Builder addEvents(ReassignmentOuterClass.ReassignmentEvent.Builder builderForValue) The collection of reassignment events. Required.
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5 [json_name = "events"]; -
addEvents
public ReassignmentOuterClass.Reassignment.Builder addEvents(int index, ReassignmentOuterClass.ReassignmentEvent.Builder builderForValue) The collection of reassignment events. Required.
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5 [json_name = "events"]; -
addAllEvents
public ReassignmentOuterClass.Reassignment.Builder addAllEvents(Iterable<? extends ReassignmentOuterClass.ReassignmentEvent> values) The collection of reassignment events. Required.
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5 [json_name = "events"]; -
clearEvents
The collection of reassignment events. Required.
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5 [json_name = "events"]; -
removeEvents
The collection of reassignment events. Required.
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5 [json_name = "events"]; -
getEventsBuilder
The collection of reassignment events. Required.
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5 [json_name = "events"]; -
getEventsOrBuilder
The collection of reassignment events. Required.
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5 [json_name = "events"];- Specified by:
getEventsOrBuilderin interfaceReassignmentOuterClass.ReassignmentOrBuilder
-
getEventsOrBuilderList
The collection of reassignment events. Required.
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5 [json_name = "events"];- Specified by:
getEventsOrBuilderListin interfaceReassignmentOuterClass.ReassignmentOrBuilder
-
addEventsBuilder
The collection of reassignment events. Required.
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5 [json_name = "events"]; -
addEventsBuilder
The collection of reassignment events. Required.
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5 [json_name = "events"]; -
getEventsBuilderList
The collection of reassignment events. Required.
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5 [json_name = "events"]; -
hasTraceContext
public boolean hasTraceContext()Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v2.TraceContext trace_context = 6 [json_name = "traceContext"];- Specified by:
hasTraceContextin interfaceReassignmentOuterClass.ReassignmentOrBuilder- Returns:
- Whether the traceContext field is set.
-
getTraceContext
Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v2.TraceContext trace_context = 6 [json_name = "traceContext"];- Specified by:
getTraceContextin interfaceReassignmentOuterClass.ReassignmentOrBuilder- Returns:
- The traceContext.
-
setTraceContext
public ReassignmentOuterClass.Reassignment.Builder setTraceContext(TraceContextOuterClass.TraceContext value) Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v2.TraceContext trace_context = 6 [json_name = "traceContext"]; -
setTraceContext
public ReassignmentOuterClass.Reassignment.Builder setTraceContext(TraceContextOuterClass.TraceContext.Builder builderForValue) Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v2.TraceContext trace_context = 6 [json_name = "traceContext"]; -
mergeTraceContext
public ReassignmentOuterClass.Reassignment.Builder mergeTraceContext(TraceContextOuterClass.TraceContext value) Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v2.TraceContext trace_context = 6 [json_name = "traceContext"]; -
clearTraceContext
Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v2.TraceContext trace_context = 6 [json_name = "traceContext"]; -
getTraceContextBuilder
Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v2.TraceContext trace_context = 6 [json_name = "traceContext"]; -
getTraceContextOrBuilder
Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v2.TraceContext trace_context = 6 [json_name = "traceContext"];- Specified by:
getTraceContextOrBuilderin interfaceReassignmentOuterClass.ReassignmentOrBuilder
-
hasRecordTime
public boolean hasRecordTime()The time at which the reassignment was recorded. The record time refers to the source/target synchronizer for an unassign/assign event respectively. Required
.google.protobuf.Timestamp record_time = 7 [json_name = "recordTime"];- Specified by:
hasRecordTimein interfaceReassignmentOuterClass.ReassignmentOrBuilder- Returns:
- Whether the recordTime field is set.
-
getRecordTime
public com.google.protobuf.Timestamp getRecordTime()The time at which the reassignment was recorded. The record time refers to the source/target synchronizer for an unassign/assign event respectively. Required
.google.protobuf.Timestamp record_time = 7 [json_name = "recordTime"];- Specified by:
getRecordTimein interfaceReassignmentOuterClass.ReassignmentOrBuilder- Returns:
- The recordTime.
-
setRecordTime
public ReassignmentOuterClass.Reassignment.Builder setRecordTime(com.google.protobuf.Timestamp value) The time at which the reassignment was recorded. The record time refers to the source/target synchronizer for an unassign/assign event respectively. Required
.google.protobuf.Timestamp record_time = 7 [json_name = "recordTime"]; -
setRecordTime
public ReassignmentOuterClass.Reassignment.Builder setRecordTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which the reassignment was recorded. The record time refers to the source/target synchronizer for an unassign/assign event respectively. Required
.google.protobuf.Timestamp record_time = 7 [json_name = "recordTime"]; -
mergeRecordTime
public ReassignmentOuterClass.Reassignment.Builder mergeRecordTime(com.google.protobuf.Timestamp value) The time at which the reassignment was recorded. The record time refers to the source/target synchronizer for an unassign/assign event respectively. Required
.google.protobuf.Timestamp record_time = 7 [json_name = "recordTime"]; -
clearRecordTime
The time at which the reassignment was recorded. The record time refers to the source/target synchronizer for an unassign/assign event respectively. Required
.google.protobuf.Timestamp record_time = 7 [json_name = "recordTime"]; -
getRecordTimeBuilder
public com.google.protobuf.Timestamp.Builder getRecordTimeBuilder()The time at which the reassignment was recorded. The record time refers to the source/target synchronizer for an unassign/assign event respectively. Required
.google.protobuf.Timestamp record_time = 7 [json_name = "recordTime"]; -
getRecordTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRecordTimeOrBuilder()The time at which the reassignment was recorded. The record time refers to the source/target synchronizer for an unassign/assign event respectively. Required
.google.protobuf.Timestamp record_time = 7 [json_name = "recordTime"];- Specified by:
getRecordTimeOrBuilderin interfaceReassignmentOuterClass.ReassignmentOrBuilder
-
setUnknownFields
public final ReassignmentOuterClass.Reassignment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.Reassignment.Builder>
-
mergeUnknownFields
public final ReassignmentOuterClass.Reassignment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.Reassignment.Builder>
-