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 synchronizer
 
Protobuf type com.daml.ledger.api.v2.UnassignedEvent
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
    • getDefaultInstanceForType

      public ReassignmentOuterClass.UnassignedEvent getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
    • clearField

      public ReassignmentOuterClass.UnassignedEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
    • clearOneof

      public ReassignmentOuterClass.UnassignedEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
    • mergeFrom

      public ReassignmentOuterClass.UnassignedEvent.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
      Throws:
      IOException
    • getUnassignId

      public 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"];
      Specified by:
      getUnassignId in interface ReassignmentOuterClass.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 interface ReassignmentOuterClass.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

      public 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"];
      Specified by:
      getContractId in interface ReassignmentOuterClass.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 interface ReassignmentOuterClass.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 interface ReassignmentOuterClass.UnassignedEventOrBuilder
      Returns:
      Whether the templateId field is set.
    • getTemplateId

      public 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"];
      Specified by:
      getTemplateId in interface ReassignmentOuterClass.UnassignedEventOrBuilder
      Returns:
      The templateId.
    • setTemplateId

       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

       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

       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

      public ValueOuterClass.Identifier.Builder 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

      public 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"];
      Specified by:
      getTemplateIdOrBuilder in interface ReassignmentOuterClass.UnassignedEventOrBuilder
    • getSource

      public String getSource()
       The ID of the source synchronizer
       Must be a valid synchronizer id
       Required
       
      string source = 4 [json_name = "source"];
      Specified by:
      getSource in interface ReassignmentOuterClass.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 interface ReassignmentOuterClass.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

      public String getTarget()
       The ID of the target synchronizer
       Must be a valid synchronizer id
       Required
       
      string target = 5 [json_name = "target"];
      Specified by:
      getTarget in interface ReassignmentOuterClass.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 interface ReassignmentOuterClass.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

      public 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"];
      Specified by:
      getSubmitter in interface ReassignmentOuterClass.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 interface ReassignmentOuterClass.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 interface ReassignmentOuterClass.UnassignedEventOrBuilder
      Returns:
      The reassignmentCounter.
    • setReassignmentCounter

      public ReassignmentOuterClass.UnassignedEvent.Builder setReassignmentCounter(long value)
       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

      public ReassignmentOuterClass.UnassignedEvent.Builder 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 interface ReassignmentOuterClass.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 interface ReassignmentOuterClass.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

      public ReassignmentOuterClass.UnassignedEvent.Builder 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 interface ReassignmentOuterClass.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 interface ReassignmentOuterClass.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 interface ReassignmentOuterClass.UnassignedEventOrBuilder
      Returns:
      The count of witnessParties.
    • getWitnessParties

      public String getWitnessParties(int index)
       The parties that are notified of this event.
       Required
       
      repeated string witness_parties = 9 [json_name = "witnessParties"];
      Specified by:
      getWitnessParties in interface ReassignmentOuterClass.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 interface ReassignmentOuterClass.UnassignedEventOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the witnessParties at the given index.
    • setWitnessParties

      public ReassignmentOuterClass.UnassignedEvent.Builder setWitnessParties(int index, String value)
       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

      public ReassignmentOuterClass.UnassignedEvent.Builder addWitnessParties(String value)
       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

      public ReassignmentOuterClass.UnassignedEvent.Builder addAllWitnessParties(Iterable<String> values)
       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

      public ReassignmentOuterClass.UnassignedEvent.Builder 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

      public String getPackageName()
       The package name of the contract.
       Required
       
      string package_name = 10 [json_name = "packageName"];
      Specified by:
      getPackageName in interface ReassignmentOuterClass.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 interface ReassignmentOuterClass.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 interface ReassignmentOuterClass.UnassignedEventOrBuilder
      Returns:
      The offset.
    • setOffset

      public ReassignmentOuterClass.UnassignedEvent.Builder setOffset(long value)
       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 interface ReassignmentOuterClass.UnassignedEventOrBuilder
      Returns:
      The nodeId.
    • setNodeId

      public ReassignmentOuterClass.UnassignedEvent.Builder setNodeId(int value)
       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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>
    • mergeUnknownFields

      public final ReassignmentOuterClass.UnassignedEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReassignmentOuterClass.UnassignedEvent.Builder>