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.TimestampAssignment 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.BuilderAssignment 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.TimestampOrBuilderAssignment 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.ByteStringThe ID of the reassigned contract.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintThe position of this event in the originating reassignment.longThe offset of origin.The package name of the contract.com.google.protobuf.ByteStringThe package name of the contract.longEach 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.ByteStringThe ID of the source synchronizer Must be a valid synchronizer id RequiredParty on whose behalf the unassign command was executed.com.google.protobuf.ByteStringParty on whose behalf the unassign command was executed.The ID of the target synchronizer Must be a valid synchronizer id Requiredcom.google.protobuf.ByteStringThe 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.ByteStringThe ID of the unassignment.getWitnessParties(int index) The parties that are notified of this event.com.google.protobuf.ByteStringgetWitnessPartiesBytes(int index) The parties that are notified of this event.intThe parties that are notified of this event.com.google.protobuf.ProtocolStringListThe parties that are notified of this event.booleanAssignment exclusivity Before this time (measured on the target synchronizer), only the submitter of the unassignment can initiate the assignment Defined for reassigning participants.booleanThe template of the reassigned contract.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeAssignmentExclusivity(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, 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.UnassignedEvent.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.UnassignedEvent.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.UnassignedEvent.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.UnassignedEvent.Builder>
-
setField
public ReassignmentOuterClass.UnassignedEvent.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.UnassignedEvent.Builder>
-
clearField
public ReassignmentOuterClass.UnassignedEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
-
clearOneof
public ReassignmentOuterClass.UnassignedEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
-
addRepeatedField
public ReassignmentOuterClass.UnassignedEvent.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.UnassignedEvent.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
-
mergeFrom
public ReassignmentOuterClass.UnassignedEvent.Builder mergeFrom(ReassignmentOuterClass.UnassignedEvent other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getUnassignIdin 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:
getUnassignIdBytesin 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:
getContractIdin 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:
getContractIdBytesin 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:
hasTemplateIdin 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:
getTemplateIdin 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:
getTemplateIdOrBuilderin interfaceReassignmentOuterClass.UnassignedEventOrBuilder
-
getSource
The ID of the source synchronizer Must be a valid synchronizer id Required
string source = 4 [json_name = "source"];- Specified by:
getSourcein 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:
getSourceBytesin 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:
getTargetin 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:
getTargetBytesin 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:
getSubmitterin 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:
getSubmitterBytesin 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:
getReassignmentCounterin 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:
hasAssignmentExclusivityin 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:
getAssignmentExclusivityin 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:
getAssignmentExclusivityOrBuilderin 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:
getWitnessPartiesListin 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:
getWitnessPartiesCountin 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:
getWitnessPartiesin 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:
getWitnessPartiesBytesin 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:
getPackageNamein 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:
getPackageNameBytesin 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:
getOffsetin 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:
getNodeIdin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
-
mergeUnknownFields
public final ReassignmentOuterClass.UnassignedEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
-