Package com.daml.ledger.api.v2
Interface ReassignmentOuterClass.UnassignedEventOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReassignmentOuterClass.UnassignedEvent
,ReassignmentOuterClass.UnassignedEvent.Builder
- Enclosing class:
- ReassignmentOuterClass
public static interface ReassignmentOuterClass.UnassignedEventOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Timestamp
Assignment exclusivity Before this time (measured on the target synchronizer), only the submitter of the unassignment can initiate the assignment Defined for reassigning participants.com.google.protobuf.TimestampOrBuilder
Assignment exclusivity Before this time (measured on the target synchronizer), only the submitter of the unassignment can initiate the assignment Defined for reassigning participants.The ID of the reassigned contract.com.google.protobuf.ByteString
The ID of the reassigned contract.int
The position of this event in the originating reassignment.long
The offset of origin.The package name of the contract.com.google.protobuf.ByteString
The package name of the contract.long
Each corresponding assigned and unassigned event has the same reassignment_counter.The ID of the source synchronizer Must be a valid synchronizer id Requiredcom.google.protobuf.ByteString
The ID of the source synchronizer Must be a valid synchronizer id RequiredParty on whose behalf the unassign command was executed.com.google.protobuf.ByteString
Party on whose behalf the unassign command was executed.The ID of the target synchronizer Must be a valid synchronizer id Requiredcom.google.protobuf.ByteString
The ID of the target synchronizer Must be a valid synchronizer id RequiredThe template of the reassigned contract.The template of the reassigned contract.The ID of the unassignment.com.google.protobuf.ByteString
The ID of the unassignment.getWitnessParties
(int index) The parties that are notified of this event.com.google.protobuf.ByteString
getWitnessPartiesBytes
(int index) The parties that are notified of this event.int
The parties that are notified of this event.The parties that are notified of this event.boolean
Assignment exclusivity Before this time (measured on the target synchronizer), only the submitter of the unassignment can initiate the assignment Defined for reassigning participants.boolean
The template of the reassigned contract.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
-
getUnassignId
String getUnassignId()The ID of the unassignment. This needs to be used as an input for a assign ReassignmentCommand. 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 = 1 [json_name = "unassignId"];
- Returns:
- The unassignId.
-
getUnassignIdBytes
com.google.protobuf.ByteString getUnassignIdBytes()The ID of the unassignment. This needs to be used as an input for a assign ReassignmentCommand. 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 = 1 [json_name = "unassignId"];
- Returns:
- The bytes for unassignId.
-
getContractId
String getContractId()The ID of the reassigned contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [json_name = "contractId"];
- Returns:
- The contractId.
-
getContractIdBytes
com.google.protobuf.ByteString getContractIdBytes()The ID of the reassigned contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [json_name = "contractId"];
- Returns:
- The bytes for contractId.
-
hasTemplateId
boolean hasTemplateId()The template of the reassigned contract. The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier template_id = 3 [json_name = "templateId"];
- Returns:
- Whether the templateId field is set.
-
getTemplateId
ValueOuterClass.Identifier getTemplateId()The template of the reassigned contract. The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier template_id = 3 [json_name = "templateId"];
- Returns:
- The templateId.
-
getTemplateIdOrBuilder
ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()The template of the reassigned contract. The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier template_id = 3 [json_name = "templateId"];
-
getSource
String getSource()The ID of the source synchronizer Must be a valid synchronizer id Required
string source = 4 [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 = 4 [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 = 5 [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 = 5 [json_name = "target"];
- Returns:
- The bytes for target.
-
getSubmitter
String getSubmitter()Party on whose behalf the unassign command was executed. Empty if the unassignment happened offline via the repair service. Must be a valid PartyIdString (as described in ``value.proto``). Optional
string submitter = 6 [json_name = "submitter"];
- Returns:
- The submitter.
-
getSubmitterBytes
com.google.protobuf.ByteString getSubmitterBytes()Party on whose behalf the unassign command was executed. Empty if the unassignment happened offline via the repair service. Must be a valid PartyIdString (as described in ``value.proto``). Optional
string submitter = 6 [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 = 7 [json_name = "reassignmentCounter"];
- Returns:
- The reassignmentCounter.
-
hasAssignmentExclusivity
boolean hasAssignmentExclusivity()Assignment exclusivity Before this time (measured on the target synchronizer), only the submitter of the unassignment can initiate the assignment Defined for reassigning participants. Optional
.google.protobuf.Timestamp assignment_exclusivity = 8 [json_name = "assignmentExclusivity"];
- Returns:
- Whether the assignmentExclusivity field is set.
-
getAssignmentExclusivity
com.google.protobuf.Timestamp getAssignmentExclusivity()Assignment exclusivity Before this time (measured on the target synchronizer), only the submitter of the unassignment can initiate the assignment Defined for reassigning participants. Optional
.google.protobuf.Timestamp assignment_exclusivity = 8 [json_name = "assignmentExclusivity"];
- Returns:
- The assignmentExclusivity.
-
getAssignmentExclusivityOrBuilder
com.google.protobuf.TimestampOrBuilder getAssignmentExclusivityOrBuilder()Assignment exclusivity Before this time (measured on the target synchronizer), only the submitter of the unassignment can initiate the assignment Defined for reassigning participants. Optional
.google.protobuf.Timestamp assignment_exclusivity = 8 [json_name = "assignmentExclusivity"];
-
getWitnessPartiesList
The parties that are notified of this event. Required
repeated string witness_parties = 9 [json_name = "witnessParties"];
- Returns:
- A list containing the witnessParties.
-
getWitnessPartiesCount
int getWitnessPartiesCount()The parties that are notified of this event. Required
repeated string witness_parties = 9 [json_name = "witnessParties"];
- Returns:
- The count of witnessParties.
-
getWitnessParties
The parties that are notified of this event. Required
repeated string witness_parties = 9 [json_name = "witnessParties"];
- Parameters:
index
- The index of the element to return.- Returns:
- The witnessParties at the given index.
-
getWitnessPartiesBytes
com.google.protobuf.ByteString getWitnessPartiesBytes(int index) The parties that are notified of this event. Required
repeated string witness_parties = 9 [json_name = "witnessParties"];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the witnessParties at the given index.
-
getPackageName
String getPackageName()The package name of the contract. Required
string package_name = 10 [json_name = "packageName"];
- Returns:
- The packageName.
-
getPackageNameBytes
com.google.protobuf.ByteString getPackageNameBytes()The package name of the contract. Required
string package_name = 10 [json_name = "packageName"];
- Returns:
- The bytes for packageName.
-
getOffset
long getOffset()The offset of origin. Offsets are managed by the participant nodes. Reassignments can thus NOT be assumed to have the same offsets on different participant nodes. Required, it is a valid absolute offset (positive integer)
int64 offset = 11 [json_name = "offset"];
- Returns:
- The offset.
-
getNodeId
int getNodeId()The position of this event in the originating reassignment. Node IDs are not necessarily equal across participants, as these may see different projections/parts of reassignments. Required, must be valid node ID (non-negative integer)
int32 node_id = 12 [json_name = "nodeId"];
- Returns:
- The nodeId.
-