Package com.daml.ledger.api.v2
Class ReassignmentOuterClass.UnassignedEvent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
com.daml.ledger.api.v2.ReassignmentOuterClass.UnassignedEvent.Builder
- All Implemented Interfaces:
ReassignmentOuterClass.UnassignedEventOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ReassignmentOuterClass.UnassignedEvent
public static final class ReassignmentOuterClass.UnassignedEvent.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
implements ReassignmentOuterClass.UnassignedEventOrBuilder
Records that a contract has been unassigned, and it becomes unusable on the source synchronizerProtobuf type
com.daml.ledger.api.v2.UnassignedEvent
-
Method Summary
Modifier and TypeMethodDescriptionaddAllWitnessParties
(Iterable<String> values) The parties that are notified of this event.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addWitnessParties
(String value) The parties that are notified of this event.addWitnessPartiesBytes
(com.google.protobuf.ByteString value) The parties that are notified of this event.build()
clear()
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.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) The position of this event in the originating reassignment.The offset of origin.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The package name of the contract.Each corresponding assigned and unassigned event has the same reassignment_counter.The ID of the source synchronizer Must be a valid synchronizer id RequiredParty on whose behalf the unassign command was executed.The ID of the target synchronizer Must be a valid synchronizer id RequiredThe template of the reassigned contract.The ID of the unassignment.The parties that are notified of this event.clone()
com.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.Timestamp.Builder
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.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
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 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.com.google.protobuf.ProtocolStringList
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeAssignmentExclusivity
(com.google.protobuf.Timestamp value) Assignment exclusivity Before this time (measured on the target synchronizer), only the submitter of the unassignment can initiate the assignment Defined for reassigning participants.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) The template of the reassigned contract.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setAssignmentExclusivity
(com.google.protobuf.Timestamp value) Assignment exclusivity Before this time (measured on the target synchronizer), only the submitter of the unassignment can initiate the assignment Defined for reassigning participants.setAssignmentExclusivity
(com.google.protobuf.Timestamp.Builder builderForValue) Assignment exclusivity Before this time (measured on the target synchronizer), only the submitter of the unassignment can initiate the assignment Defined for reassigning participants.setContractId
(String value) The ID of the reassigned contract.setContractIdBytes
(com.google.protobuf.ByteString value) The ID of the reassigned contract.setNodeId
(int value) The position of this event in the originating reassignment.setOffset
(long value) The offset of origin.setPackageName
(String value) The package name of the contract.setPackageNameBytes
(com.google.protobuf.ByteString value) The package name of the contract.setReassignmentCounter
(long value) Each corresponding assigned and unassigned event has the same reassignment_counter.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The ID of the source synchronizer Must be a valid synchronizer id RequiredsetSourceBytes
(com.google.protobuf.ByteString value) The ID of the source synchronizer Must be a valid synchronizer id RequiredsetSubmitter
(String value) Party on whose behalf the unassign command was executed.setSubmitterBytes
(com.google.protobuf.ByteString value) Party on whose behalf the unassign command was executed.The ID of the target synchronizer Must be a valid synchronizer id RequiredsetTargetBytes
(com.google.protobuf.ByteString value) The ID of the target synchronizer Must be a valid synchronizer id RequiredThe template of the reassigned contract.setTemplateId
(ValueOuterClass.Identifier.Builder builderForValue) The template of the reassigned contract.setUnassignId
(String value) The ID of the unassignment.setUnassignIdBytes
(com.google.protobuf.ByteString value) The ID of the unassignment.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setWitnessParties
(int index, String value) The parties that are notified of this event.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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
-
setField
public ReassignmentOuterClass.UnassignedEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
-
clearField
public ReassignmentOuterClass.UnassignedEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
-
clearOneof
public ReassignmentOuterClass.UnassignedEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
-
setRepeatedField
public ReassignmentOuterClass.UnassignedEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
-
addRepeatedField
public ReassignmentOuterClass.UnassignedEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
-
mergeFrom
public ReassignmentOuterClass.UnassignedEvent.Builder mergeFrom(ReassignmentOuterClass.UnassignedEvent other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
-
mergeFrom
public ReassignmentOuterClass.UnassignedEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
- Throws:
IOException
-
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"];
- Specified by:
getUnassignId
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- The unassignId.
-
getUnassignIdBytes
public 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"];
- Specified by:
getUnassignIdBytes
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- The bytes for unassignId.
-
setUnassignId
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"];
- Parameters:
value
- The unassignId to set.- Returns:
- This builder for chaining.
-
clearUnassignId
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:
- This builder for chaining.
-
setUnassignIdBytes
public ReassignmentOuterClass.UnassignedEvent.Builder setUnassignIdBytes(com.google.protobuf.ByteString value) 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"];
- Parameters:
value
- The bytes for unassignId to set.- Returns:
- This builder for chaining.
-
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"];
- Specified by:
getContractId
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- The contractId.
-
getContractIdBytes
public 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"];
- Specified by:
getContractIdBytes
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- The bytes for contractId.
-
setContractId
The ID of the reassigned contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [json_name = "contractId"];
- Parameters:
value
- The contractId to set.- Returns:
- This builder for chaining.
-
clearContractId
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:
- This builder for chaining.
-
setContractIdBytes
public ReassignmentOuterClass.UnassignedEvent.Builder setContractIdBytes(com.google.protobuf.ByteString value) The ID of the reassigned contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [json_name = "contractId"];
- Parameters:
value
- The bytes for contractId to set.- Returns:
- This builder for chaining.
-
hasTemplateId
public 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"];
- Specified by:
hasTemplateId
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- Whether the templateId field is set.
-
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"];
- Specified by:
getTemplateId
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- The templateId.
-
setTemplateId
public ReassignmentOuterClass.UnassignedEvent.Builder setTemplateId(ValueOuterClass.Identifier value) 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"];
-
setTemplateId
public ReassignmentOuterClass.UnassignedEvent.Builder setTemplateId(ValueOuterClass.Identifier.Builder builderForValue) 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"];
-
mergeTemplateId
public ReassignmentOuterClass.UnassignedEvent.Builder mergeTemplateId(ValueOuterClass.Identifier value) 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"];
-
clearTemplateId
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"];
-
getTemplateIdBuilder
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"];
-
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"];
- Specified by:
getTemplateIdOrBuilder
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
-
getSource
The ID of the source synchronizer Must be a valid synchronizer id Required
string source = 4 [json_name = "source"];
- Specified by:
getSource
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()The ID of the source synchronizer Must be a valid synchronizer id Required
string source = 4 [json_name = "source"];
- Specified by:
getSourceBytes
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- The bytes for source.
-
setSource
The ID of the source synchronizer Must be a valid synchronizer id Required
string source = 4 [json_name = "source"];
- Parameters:
value
- The source to set.- Returns:
- This builder for chaining.
-
clearSource
The ID of the source synchronizer Must be a valid synchronizer id Required
string source = 4 [json_name = "source"];
- Returns:
- This builder for chaining.
-
setSourceBytes
public ReassignmentOuterClass.UnassignedEvent.Builder setSourceBytes(com.google.protobuf.ByteString value) The ID of the source synchronizer Must be a valid synchronizer id Required
string source = 4 [json_name = "source"];
- Parameters:
value
- The bytes for source to set.- Returns:
- This builder for chaining.
-
getTarget
The ID of the target synchronizer Must be a valid synchronizer id Required
string target = 5 [json_name = "target"];
- Specified by:
getTarget
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- The target.
-
getTargetBytes
public com.google.protobuf.ByteString getTargetBytes()The ID of the target synchronizer Must be a valid synchronizer id Required
string target = 5 [json_name = "target"];
- Specified by:
getTargetBytes
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- The bytes for target.
-
setTarget
The ID of the target synchronizer Must be a valid synchronizer id Required
string target = 5 [json_name = "target"];
- Parameters:
value
- The target to set.- Returns:
- This builder for chaining.
-
clearTarget
The ID of the target synchronizer Must be a valid synchronizer id Required
string target = 5 [json_name = "target"];
- Returns:
- This builder for chaining.
-
setTargetBytes
public ReassignmentOuterClass.UnassignedEvent.Builder setTargetBytes(com.google.protobuf.ByteString value) The ID of the target synchronizer Must be a valid synchronizer id Required
string target = 5 [json_name = "target"];
- Parameters:
value
- The bytes for target to set.- Returns:
- This builder for chaining.
-
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"];
- Specified by:
getSubmitter
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- The submitter.
-
getSubmitterBytes
public 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"];
- Specified by:
getSubmitterBytes
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- The bytes for submitter.
-
setSubmitter
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"];
- Parameters:
value
- The submitter to set.- Returns:
- This builder for chaining.
-
clearSubmitter
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:
- This builder for chaining.
-
setSubmitterBytes
public ReassignmentOuterClass.UnassignedEvent.Builder setSubmitterBytes(com.google.protobuf.ByteString value) 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"];
- Parameters:
value
- The bytes for submitter to set.- Returns:
- This builder for chaining.
-
getReassignmentCounter
public 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"];
- Specified by:
getReassignmentCounter
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- The reassignmentCounter.
-
setReassignmentCounter
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"];
- Parameters:
value
- The reassignmentCounter to set.- Returns:
- This builder for chaining.
-
clearReassignmentCounter
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:
- This builder for chaining.
-
hasAssignmentExclusivity
public 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"];
- Specified by:
hasAssignmentExclusivity
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- Whether the assignmentExclusivity field is set.
-
getAssignmentExclusivity
public 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"];
- Specified by:
getAssignmentExclusivity
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- The assignmentExclusivity.
-
setAssignmentExclusivity
public ReassignmentOuterClass.UnassignedEvent.Builder setAssignmentExclusivity(com.google.protobuf.Timestamp value) 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"];
-
setAssignmentExclusivity
public ReassignmentOuterClass.UnassignedEvent.Builder setAssignmentExclusivity(com.google.protobuf.Timestamp.Builder builderForValue) 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"];
-
mergeAssignmentExclusivity
public ReassignmentOuterClass.UnassignedEvent.Builder mergeAssignmentExclusivity(com.google.protobuf.Timestamp value) 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"];
-
clearAssignmentExclusivity
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"];
-
getAssignmentExclusivityBuilder
public com.google.protobuf.Timestamp.Builder getAssignmentExclusivityBuilder()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"];
-
getAssignmentExclusivityOrBuilder
public 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"];
- Specified by:
getAssignmentExclusivityOrBuilder
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
-
getWitnessPartiesList
public com.google.protobuf.ProtocolStringList getWitnessPartiesList()The parties that are notified of this event. Required
repeated string witness_parties = 9 [json_name = "witnessParties"];
- Specified by:
getWitnessPartiesList
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- A list containing the witnessParties.
-
getWitnessPartiesCount
public int getWitnessPartiesCount()The parties that are notified of this event. Required
repeated string witness_parties = 9 [json_name = "witnessParties"];
- Specified by:
getWitnessPartiesCount
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- The count of witnessParties.
-
getWitnessParties
The parties that are notified of this event. Required
repeated string witness_parties = 9 [json_name = "witnessParties"];
- Specified by:
getWitnessParties
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The witnessParties at the given index.
-
getWitnessPartiesBytes
public com.google.protobuf.ByteString getWitnessPartiesBytes(int index) The parties that are notified of this event. Required
repeated string witness_parties = 9 [json_name = "witnessParties"];
- Specified by:
getWitnessPartiesBytes
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the witnessParties at the given index.
-
setWitnessParties
The parties that are notified of this event. Required
repeated string witness_parties = 9 [json_name = "witnessParties"];
- Parameters:
index
- The index to set the value at.value
- The witnessParties to set.- Returns:
- This builder for chaining.
-
addWitnessParties
The parties that are notified of this event. Required
repeated string witness_parties = 9 [json_name = "witnessParties"];
- Parameters:
value
- The witnessParties to add.- Returns:
- This builder for chaining.
-
addAllWitnessParties
The parties that are notified of this event. Required
repeated string witness_parties = 9 [json_name = "witnessParties"];
- Parameters:
values
- The witnessParties to add.- Returns:
- This builder for chaining.
-
clearWitnessParties
The parties that are notified of this event. Required
repeated string witness_parties = 9 [json_name = "witnessParties"];
- Returns:
- This builder for chaining.
-
addWitnessPartiesBytes
public ReassignmentOuterClass.UnassignedEvent.Builder addWitnessPartiesBytes(com.google.protobuf.ByteString value) The parties that are notified of this event. Required
repeated string witness_parties = 9 [json_name = "witnessParties"];
- Parameters:
value
- The bytes of the witnessParties to add.- Returns:
- This builder for chaining.
-
getPackageName
The package name of the contract. Required
string package_name = 10 [json_name = "packageName"];
- Specified by:
getPackageName
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- The packageName.
-
getPackageNameBytes
public com.google.protobuf.ByteString getPackageNameBytes()The package name of the contract. Required
string package_name = 10 [json_name = "packageName"];
- Specified by:
getPackageNameBytes
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- The bytes for packageName.
-
setPackageName
The package name of the contract. Required
string package_name = 10 [json_name = "packageName"];
- Parameters:
value
- The packageName to set.- Returns:
- This builder for chaining.
-
clearPackageName
The package name of the contract. Required
string package_name = 10 [json_name = "packageName"];
- Returns:
- This builder for chaining.
-
setPackageNameBytes
public ReassignmentOuterClass.UnassignedEvent.Builder setPackageNameBytes(com.google.protobuf.ByteString value) The package name of the contract. Required
string package_name = 10 [json_name = "packageName"];
- Parameters:
value
- The bytes for packageName to set.- Returns:
- This builder for chaining.
-
getOffset
public 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"];
- Specified by:
getOffset
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- The offset.
-
setOffset
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"];
- Parameters:
value
- The offset to set.- Returns:
- This builder for chaining.
-
clearOffset
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:
- This builder for chaining.
-
getNodeId
public 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"];
- Specified by:
getNodeId
in interfaceReassignmentOuterClass.UnassignedEventOrBuilder
- Returns:
- The nodeId.
-
setNodeId
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"];
- Parameters:
value
- The nodeId to set.- Returns:
- This builder for chaining.
-
clearNodeId
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:
- This builder for chaining.
-
setUnknownFields
public final ReassignmentOuterClass.UnassignedEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
-
mergeUnknownFields
public final ReassignmentOuterClass.UnassignedEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
-