Package com.daml.ledger.api.v2
Interface ReassignmentOuterClass.AssignedEventOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReassignmentOuterClass.AssignedEvent
,ReassignmentOuterClass.AssignedEvent.Builder
- Enclosing class:
- ReassignmentOuterClass
public static interface ReassignmentOuterClass.AssignedEventOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired The offset of this event refers to the offset of the assignment, while the node_id is the index of within the batch.Required The offset of this event refers to the offset of the assignment, while the node_id is the index of within the batch.long
Each corresponding assigned and unassigned event has the same reassignment_counter.The ID of the source synchronizer.com.google.protobuf.ByteString
The ID of the source synchronizer.Party on whose behalf the assign command was executed.com.google.protobuf.ByteString
Party on whose behalf the assign command was executed.The ID of the target synchronizer.com.google.protobuf.ByteString
The ID of the target synchronizer.The ID from the unassigned event.com.google.protobuf.ByteString
The ID from the unassigned event.boolean
Required The offset of this event refers to the offset of the assignment, while the node_id is the index of within the batch.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSource
String getSource()The ID of the source synchronizer. Must be a valid synchronizer id. Required
string source = 1 [json_name = "source"];
- Returns:
- The source.
-
getSourceBytes
com.google.protobuf.ByteString getSourceBytes()The ID of the source synchronizer. Must be a valid synchronizer id. Required
string source = 1 [json_name = "source"];
- Returns:
- The bytes for source.
-
getTarget
String getTarget()The ID of the target synchronizer. Must be a valid synchronizer id. Required
string target = 2 [json_name = "target"];
- Returns:
- The target.
-
getTargetBytes
com.google.protobuf.ByteString getTargetBytes()The ID of the target synchronizer. Must be a valid synchronizer id. Required
string target = 2 [json_name = "target"];
- Returns:
- The bytes for target.
-
getUnassignId
String getUnassignId()The ID from the unassigned event. For correlation capabilities. For one contract the (unassign_id, source synchronizer) pair is unique. Must be a valid LedgerString (as described in ``value.proto``). Required
string unassign_id = 3 [json_name = "unassignId"];
- Returns:
- The unassignId.
-
getUnassignIdBytes
com.google.protobuf.ByteString getUnassignIdBytes()The ID from the unassigned event. For correlation capabilities. For one contract the (unassign_id, source synchronizer) pair is unique. Must be a valid LedgerString (as described in ``value.proto``). Required
string unassign_id = 3 [json_name = "unassignId"];
- Returns:
- The bytes for unassignId.
-
getSubmitter
String getSubmitter()Party on whose behalf the assign command was executed. Empty if the assignment happened offline via the repair service. Must be a valid PartyIdString (as described in ``value.proto``). Optional
string submitter = 4 [json_name = "submitter"];
- Returns:
- The submitter.
-
getSubmitterBytes
com.google.protobuf.ByteString getSubmitterBytes()Party on whose behalf the assign command was executed. Empty if the assignment happened offline via the repair service. Must be a valid PartyIdString (as described in ``value.proto``). Optional
string submitter = 4 [json_name = "submitter"];
- Returns:
- The bytes for submitter.
-
getReassignmentCounter
long getReassignmentCounter()Each corresponding assigned and unassigned event has the same reassignment_counter. This strictly increases with each unassign command for the same contract. Creation of the contract corresponds to reassignment_counter equals zero. Required
uint64 reassignment_counter = 5 [json_name = "reassignmentCounter"];
- Returns:
- The reassignmentCounter.
-
hasCreatedEvent
boolean hasCreatedEvent()Required The offset of this event refers to the offset of the assignment, while the node_id is the index of within the batch.
.com.daml.ledger.api.v2.CreatedEvent created_event = 6 [json_name = "createdEvent"];
- Returns:
- Whether the createdEvent field is set.
-
getCreatedEvent
EventOuterClass.CreatedEvent getCreatedEvent()Required The offset of this event refers to the offset of the assignment, while the node_id is the index of within the batch.
.com.daml.ledger.api.v2.CreatedEvent created_event = 6 [json_name = "createdEvent"];
- Returns:
- The createdEvent.
-
getCreatedEventOrBuilder
EventOuterClass.CreatedEventOrBuilder getCreatedEventOrBuilder()Required The offset of this event refers to the offset of the assignment, while the node_id is the index of within the batch.
.com.daml.ledger.api.v2.CreatedEvent created_event = 6 [json_name = "createdEvent"];
-