Class EventOuterClass.ArchivedEvent.Builder

    • Method Detail

      • 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<EventOuterClass.ArchivedEvent.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<EventOuterClass.ArchivedEvent.Builder>
      • getDefaultInstanceForType

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

        public EventOuterClass.ArchivedEvent build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public EventOuterClass.ArchivedEvent buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public EventOuterClass.ArchivedEvent.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                      int index,
                                                                      java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ArchivedEvent.Builder>
      • addRepeatedField

        public EventOuterClass.ArchivedEvent.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                      java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ArchivedEvent.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ArchivedEvent.Builder>
      • mergeFrom

        public EventOuterClass.ArchivedEvent.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws java.io.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<EventOuterClass.ArchivedEvent.Builder>
        Throws:
        java.io.IOException
      • getEventId

        public java.lang.String getEventId()
         The ID of this particular event.
         Must be a valid LedgerString (as described in ``value.proto``).
         Required
         
        string event_id = 1 [json_name = "eventId"];
        Specified by:
        getEventId in interface EventOuterClass.ArchivedEventOrBuilder
        Returns:
        The eventId.
      • getEventIdBytes

        public com.google.protobuf.ByteString getEventIdBytes()
         The ID of this particular event.
         Must be a valid LedgerString (as described in ``value.proto``).
         Required
         
        string event_id = 1 [json_name = "eventId"];
        Specified by:
        getEventIdBytes in interface EventOuterClass.ArchivedEventOrBuilder
        Returns:
        The bytes for eventId.
      • setEventId

        public EventOuterClass.ArchivedEvent.Builder setEventId​(java.lang.String value)
         The ID of this particular event.
         Must be a valid LedgerString (as described in ``value.proto``).
         Required
         
        string event_id = 1 [json_name = "eventId"];
        Parameters:
        value - The eventId to set.
        Returns:
        This builder for chaining.
      • clearEventId

        public EventOuterClass.ArchivedEvent.Builder clearEventId()
         The ID of this particular event.
         Must be a valid LedgerString (as described in ``value.proto``).
         Required
         
        string event_id = 1 [json_name = "eventId"];
        Returns:
        This builder for chaining.
      • setEventIdBytes

        public EventOuterClass.ArchivedEvent.Builder setEventIdBytes​(com.google.protobuf.ByteString value)
         The ID of this particular event.
         Must be a valid LedgerString (as described in ``value.proto``).
         Required
         
        string event_id = 1 [json_name = "eventId"];
        Parameters:
        value - The bytes for eventId to set.
        Returns:
        This builder for chaining.
      • getContractId

        public java.lang.String getContractId()
         The ID of the archived contract.
         Must be a valid LedgerString (as described in ``value.proto``).
         Required
         
        string contract_id = 2 [json_name = "contractId"];
        Specified by:
        getContractId in interface EventOuterClass.ArchivedEventOrBuilder
        Returns:
        The contractId.
      • getContractIdBytes

        public com.google.protobuf.ByteString getContractIdBytes()
         The ID of the archived contract.
         Must be a valid LedgerString (as described in ``value.proto``).
         Required
         
        string contract_id = 2 [json_name = "contractId"];
        Specified by:
        getContractIdBytes in interface EventOuterClass.ArchivedEventOrBuilder
        Returns:
        The bytes for contractId.
      • setContractId

        public EventOuterClass.ArchivedEvent.Builder setContractId​(java.lang.String value)
         The ID of the archived 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

        public EventOuterClass.ArchivedEvent.Builder clearContractId()
         The ID of the archived 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 EventOuterClass.ArchivedEvent.Builder setContractIdBytes​(com.google.protobuf.ByteString value)
         The ID of the archived 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 archived contract.
         Required
         
        .com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
        Specified by:
        hasTemplateId in interface EventOuterClass.ArchivedEventOrBuilder
        Returns:
        Whether the templateId field is set.
      • clearTemplateId

        public EventOuterClass.ArchivedEvent.Builder clearTemplateId()
         The template of the archived contract.
         Required
         
        .com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
      • getTemplateIdBuilder

        public ValueOuterClass.Identifier.Builder getTemplateIdBuilder()
         The template of the archived contract.
         Required
         
        .com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
      • getWitnessPartiesList

        public com.google.protobuf.ProtocolStringList getWitnessPartiesList()
         The parties that are notified of this event. For ``ArchivedEvent``s,
         these are the intersection of the stakeholders of the contract in
         question and the parties specified in the ``TransactionFilter``. The
         stakeholders are the union of the signatories and the observers of
         the contract.
         Each one of its elements must be a valid PartyIdString (as described
         in ``value.proto``).
         Required
         
        repeated string witness_parties = 4 [json_name = "witnessParties"];
        Specified by:
        getWitnessPartiesList in interface EventOuterClass.ArchivedEventOrBuilder
        Returns:
        A list containing the witnessParties.
      • getWitnessPartiesCount

        public int getWitnessPartiesCount()
         The parties that are notified of this event. For ``ArchivedEvent``s,
         these are the intersection of the stakeholders of the contract in
         question and the parties specified in the ``TransactionFilter``. The
         stakeholders are the union of the signatories and the observers of
         the contract.
         Each one of its elements must be a valid PartyIdString (as described
         in ``value.proto``).
         Required
         
        repeated string witness_parties = 4 [json_name = "witnessParties"];
        Specified by:
        getWitnessPartiesCount in interface EventOuterClass.ArchivedEventOrBuilder
        Returns:
        The count of witnessParties.
      • getWitnessParties

        public java.lang.String getWitnessParties​(int index)
         The parties that are notified of this event. For ``ArchivedEvent``s,
         these are the intersection of the stakeholders of the contract in
         question and the parties specified in the ``TransactionFilter``. The
         stakeholders are the union of the signatories and the observers of
         the contract.
         Each one of its elements must be a valid PartyIdString (as described
         in ``value.proto``).
         Required
         
        repeated string witness_parties = 4 [json_name = "witnessParties"];
        Specified by:
        getWitnessParties in interface EventOuterClass.ArchivedEventOrBuilder
        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. For ``ArchivedEvent``s,
         these are the intersection of the stakeholders of the contract in
         question and the parties specified in the ``TransactionFilter``. The
         stakeholders are the union of the signatories and the observers of
         the contract.
         Each one of its elements must be a valid PartyIdString (as described
         in ``value.proto``).
         Required
         
        repeated string witness_parties = 4 [json_name = "witnessParties"];
        Specified by:
        getWitnessPartiesBytes in interface EventOuterClass.ArchivedEventOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the witnessParties at the given index.
      • setWitnessParties

        public EventOuterClass.ArchivedEvent.Builder setWitnessParties​(int index,
                                                                       java.lang.String value)
         The parties that are notified of this event. For ``ArchivedEvent``s,
         these are the intersection of the stakeholders of the contract in
         question and the parties specified in the ``TransactionFilter``. The
         stakeholders are the union of the signatories and the observers of
         the contract.
         Each one of its elements must be a valid PartyIdString (as described
         in ``value.proto``).
         Required
         
        repeated string witness_parties = 4 [json_name = "witnessParties"];
        Parameters:
        index - The index to set the value at.
        value - The witnessParties to set.
        Returns:
        This builder for chaining.
      • addWitnessParties

        public EventOuterClass.ArchivedEvent.Builder addWitnessParties​(java.lang.String value)
         The parties that are notified of this event. For ``ArchivedEvent``s,
         these are the intersection of the stakeholders of the contract in
         question and the parties specified in the ``TransactionFilter``. The
         stakeholders are the union of the signatories and the observers of
         the contract.
         Each one of its elements must be a valid PartyIdString (as described
         in ``value.proto``).
         Required
         
        repeated string witness_parties = 4 [json_name = "witnessParties"];
        Parameters:
        value - The witnessParties to add.
        Returns:
        This builder for chaining.
      • addAllWitnessParties

        public EventOuterClass.ArchivedEvent.Builder addAllWitnessParties​(java.lang.Iterable<java.lang.String> values)
         The parties that are notified of this event. For ``ArchivedEvent``s,
         these are the intersection of the stakeholders of the contract in
         question and the parties specified in the ``TransactionFilter``. The
         stakeholders are the union of the signatories and the observers of
         the contract.
         Each one of its elements must be a valid PartyIdString (as described
         in ``value.proto``).
         Required
         
        repeated string witness_parties = 4 [json_name = "witnessParties"];
        Parameters:
        values - The witnessParties to add.
        Returns:
        This builder for chaining.
      • clearWitnessParties

        public EventOuterClass.ArchivedEvent.Builder clearWitnessParties()
         The parties that are notified of this event. For ``ArchivedEvent``s,
         these are the intersection of the stakeholders of the contract in
         question and the parties specified in the ``TransactionFilter``. The
         stakeholders are the union of the signatories and the observers of
         the contract.
         Each one of its elements must be a valid PartyIdString (as described
         in ``value.proto``).
         Required
         
        repeated string witness_parties = 4 [json_name = "witnessParties"];
        Returns:
        This builder for chaining.
      • addWitnessPartiesBytes

        public EventOuterClass.ArchivedEvent.Builder addWitnessPartiesBytes​(com.google.protobuf.ByteString value)
         The parties that are notified of this event. For ``ArchivedEvent``s,
         these are the intersection of the stakeholders of the contract in
         question and the parties specified in the ``TransactionFilter``. The
         stakeholders are the union of the signatories and the observers of
         the contract.
         Each one of its elements must be a valid PartyIdString (as described
         in ``value.proto``).
         Required
         
        repeated string witness_parties = 4 [json_name = "witnessParties"];
        Parameters:
        value - The bytes of the witnessParties to add.
        Returns:
        This builder for chaining.