Package com.daml.ledger.api.v2
Interface ReassignmentOuterClass.ReassignmentOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReassignmentOuterClass.Reassignment,ReassignmentOuterClass.Reassignment.Builder
- Enclosing class:
ReassignmentOuterClass
public static interface ReassignmentOuterClass.ReassignmentOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the command which resulted in this reassignment.com.google.protobuf.ByteStringThe ID of the command which resulted in this reassignment.getEvents(int index) 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.longThe traffic cost that this participant node paid for the corresponding (un)assignment request.com.google.protobuf.TimestampThe time at which the reassignment was recorded.com.google.protobuf.TimestampOrBuilderThe time at which the reassignment was recorded.A valid synchronizer id.com.google.protobuf.ByteStringA valid synchronizer id.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.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 traffic cost that this participant node paid for the corresponding (un)assignment request.booleanThe time at which the reassignment was recorded.booleanLedger 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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getUpdateId
String getUpdateId()Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in ``value.proto``). Required
string update_id = 1;- Returns:
- The updateId.
-
getUpdateIdBytes
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;- Returns:
- The bytes for updateId.
-
getCommandId
String 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;- Returns:
- The commandId.
-
getCommandIdBytes
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;- Returns:
- The bytes for commandId.
-
getWorkflowId
String 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;- Returns:
- The workflowId.
-
getWorkflowIdBytes
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;- Returns:
- The bytes for workflowId.
-
getOffset
long getOffset()The participant's offset. The details of this field are described in ``community/ledger-api/README.md``. Must be a valid absolute offset (positive integer). Required
int64 offset = 4;- Returns:
- The offset.
-
getEventsList
List<ReassignmentOuterClass.ReassignmentEvent> getEventsList()The collection of reassignment events. Required: must be non-empty
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5; -
getEvents
The collection of reassignment events. Required: must be non-empty
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5; -
getEventsCount
int getEventsCount()The collection of reassignment events. Required: must be non-empty
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5; -
getEventsOrBuilderList
List<? extends ReassignmentOuterClass.ReassignmentEventOrBuilder> getEventsOrBuilderList()The collection of reassignment events. Required: must be non-empty
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5; -
getEventsOrBuilder
The collection of reassignment events. Required: must be non-empty
repeated .com.daml.ledger.api.v2.ReassignmentEvent events = 5; -
hasTraceContext
boolean hasTraceContext()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. Optional
.com.daml.ledger.api.v2.TraceContext trace_context = 6;- Returns:
- Whether the traceContext field is set.
-
getTraceContext
TraceContextOuterClass.TraceContext getTraceContext()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. Optional
.com.daml.ledger.api.v2.TraceContext trace_context = 6;- Returns:
- The traceContext.
-
getTraceContextOrBuilder
TraceContextOuterClass.TraceContextOrBuilder getTraceContextOrBuilder()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. Optional
.com.daml.ledger.api.v2.TraceContext trace_context = 6; -
hasRecordTime
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;- Returns:
- Whether the recordTime field is set.
-
getRecordTime
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;- Returns:
- The recordTime.
-
getRecordTimeOrBuilder
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; -
getSynchronizerId
String getSynchronizerId()A valid synchronizer id. Identifies the synchronizer that synchronized this Reassignment. Required
string synchronizer_id = 8;- Returns:
- The synchronizerId.
-
getSynchronizerIdBytes
com.google.protobuf.ByteString getSynchronizerIdBytes()A valid synchronizer id. Identifies the synchronizer that synchronized this Reassignment. Required
string synchronizer_id = 8;- Returns:
- The bytes for synchronizerId.
-
hasPaidTrafficCost
boolean hasPaidTrafficCost()The traffic cost that this participant node paid for the corresponding (un)assignment request. Not set for transactions that were - initiated by another participant - initiated offline via the repair service - processed before the participant started serving traffic cost on the Ledger API - returned as part of a query filtering for a non submitting party Optional
optional int64 paid_traffic_cost = 9;- Returns:
- Whether the paidTrafficCost field is set.
-
getPaidTrafficCost
long getPaidTrafficCost()The traffic cost that this participant node paid for the corresponding (un)assignment request. Not set for transactions that were - initiated by another participant - initiated offline via the repair service - processed before the participant started serving traffic cost on the Ledger API - returned as part of a query filtering for a non submitting party Optional
optional int64 paid_traffic_cost = 9;- Returns:
- The paidTrafficCost.
-