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

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

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

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

        public EventOuterClass.CreatedEvent.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.CreatedEvent.Builder>
      • addRepeatedField

        public EventOuterClass.CreatedEvent.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.CreatedEvent.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.CreatedEvent.Builder>
      • mergeFrom

        public EventOuterClass.CreatedEvent.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.CreatedEvent.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.CreatedEventOrBuilder
        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.CreatedEventOrBuilder
        Returns:
        The bytes for eventId.
      • setEventId

        public EventOuterClass.CreatedEvent.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.CreatedEvent.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.CreatedEvent.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 created 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.CreatedEventOrBuilder
        Returns:
        The contractId.
      • getContractIdBytes

        public com.google.protobuf.ByteString getContractIdBytes()
         The ID of the created 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.CreatedEventOrBuilder
        Returns:
        The bytes for contractId.
      • setContractId

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

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

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

        public boolean hasContractKey()
         The key of the created contract.
         This will be set if and only if ``create_arguments`` is set and ``template_id`` defines a contract key.
         Optional
         
        .com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
        Specified by:
        hasContractKey in interface EventOuterClass.CreatedEventOrBuilder
        Returns:
        Whether the contractKey field is set.
      • getContractKey

        public ValueOuterClass.Value getContractKey()
         The key of the created contract.
         This will be set if and only if ``create_arguments`` is set and ``template_id`` defines a contract key.
         Optional
         
        .com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
        Specified by:
        getContractKey in interface EventOuterClass.CreatedEventOrBuilder
        Returns:
        The contractKey.
      • setContractKey

        public EventOuterClass.CreatedEvent.Builder setContractKey​(ValueOuterClass.Value value)
         The key of the created contract.
         This will be set if and only if ``create_arguments`` is set and ``template_id`` defines a contract key.
         Optional
         
        .com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
      • setContractKey

        public EventOuterClass.CreatedEvent.Builder setContractKey​(ValueOuterClass.Value.Builder builderForValue)
         The key of the created contract.
         This will be set if and only if ``create_arguments`` is set and ``template_id`` defines a contract key.
         Optional
         
        .com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
      • mergeContractKey

        public EventOuterClass.CreatedEvent.Builder mergeContractKey​(ValueOuterClass.Value value)
         The key of the created contract.
         This will be set if and only if ``create_arguments`` is set and ``template_id`` defines a contract key.
         Optional
         
        .com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
      • clearContractKey

        public EventOuterClass.CreatedEvent.Builder clearContractKey()
         The key of the created contract.
         This will be set if and only if ``create_arguments`` is set and ``template_id`` defines a contract key.
         Optional
         
        .com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
      • getContractKeyBuilder

        public ValueOuterClass.Value.Builder getContractKeyBuilder()
         The key of the created contract.
         This will be set if and only if ``create_arguments`` is set and ``template_id`` defines a contract key.
         Optional
         
        .com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
      • hasCreateArguments

        public boolean hasCreateArguments()
         The arguments that have been used to create the contract.
         Set either:
           - if there was a party, which is in the ``witness_parties`` of this event,
             and for which an ``InclusiveFilters`` exists with the ``template_id`` of this event
             among the ``template_ids``,
           - or if there was a party, which is in the ``witness_parties`` of this event,
             and for which a wildcard filter exists (``Filters`` without ``InclusiveFilters``,
             or with an ``InclusiveFilters`` with empty ``template_ids`` and empty ``interface_filters``).
         Optional
         
        .com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
        Specified by:
        hasCreateArguments in interface EventOuterClass.CreatedEventOrBuilder
        Returns:
        Whether the createArguments field is set.
      • getCreateArguments

        public ValueOuterClass.Record getCreateArguments()
         The arguments that have been used to create the contract.
         Set either:
           - if there was a party, which is in the ``witness_parties`` of this event,
             and for which an ``InclusiveFilters`` exists with the ``template_id`` of this event
             among the ``template_ids``,
           - or if there was a party, which is in the ``witness_parties`` of this event,
             and for which a wildcard filter exists (``Filters`` without ``InclusiveFilters``,
             or with an ``InclusiveFilters`` with empty ``template_ids`` and empty ``interface_filters``).
         Optional
         
        .com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
        Specified by:
        getCreateArguments in interface EventOuterClass.CreatedEventOrBuilder
        Returns:
        The createArguments.
      • setCreateArguments

        public EventOuterClass.CreatedEvent.Builder setCreateArguments​(ValueOuterClass.Record value)
         The arguments that have been used to create the contract.
         Set either:
           - if there was a party, which is in the ``witness_parties`` of this event,
             and for which an ``InclusiveFilters`` exists with the ``template_id`` of this event
             among the ``template_ids``,
           - or if there was a party, which is in the ``witness_parties`` of this event,
             and for which a wildcard filter exists (``Filters`` without ``InclusiveFilters``,
             or with an ``InclusiveFilters`` with empty ``template_ids`` and empty ``interface_filters``).
         Optional
         
        .com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
      • setCreateArguments

        public EventOuterClass.CreatedEvent.Builder setCreateArguments​(ValueOuterClass.Record.Builder builderForValue)
         The arguments that have been used to create the contract.
         Set either:
           - if there was a party, which is in the ``witness_parties`` of this event,
             and for which an ``InclusiveFilters`` exists with the ``template_id`` of this event
             among the ``template_ids``,
           - or if there was a party, which is in the ``witness_parties`` of this event,
             and for which a wildcard filter exists (``Filters`` without ``InclusiveFilters``,
             or with an ``InclusiveFilters`` with empty ``template_ids`` and empty ``interface_filters``).
         Optional
         
        .com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
      • mergeCreateArguments

        public EventOuterClass.CreatedEvent.Builder mergeCreateArguments​(ValueOuterClass.Record value)
         The arguments that have been used to create the contract.
         Set either:
           - if there was a party, which is in the ``witness_parties`` of this event,
             and for which an ``InclusiveFilters`` exists with the ``template_id`` of this event
             among the ``template_ids``,
           - or if there was a party, which is in the ``witness_parties`` of this event,
             and for which a wildcard filter exists (``Filters`` without ``InclusiveFilters``,
             or with an ``InclusiveFilters`` with empty ``template_ids`` and empty ``interface_filters``).
         Optional
         
        .com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
      • clearCreateArguments

        public EventOuterClass.CreatedEvent.Builder clearCreateArguments()
         The arguments that have been used to create the contract.
         Set either:
           - if there was a party, which is in the ``witness_parties`` of this event,
             and for which an ``InclusiveFilters`` exists with the ``template_id`` of this event
             among the ``template_ids``,
           - or if there was a party, which is in the ``witness_parties`` of this event,
             and for which a wildcard filter exists (``Filters`` without ``InclusiveFilters``,
             or with an ``InclusiveFilters`` with empty ``template_ids`` and empty ``interface_filters``).
         Optional
         
        .com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
      • getCreateArgumentsBuilder

        public ValueOuterClass.Record.Builder getCreateArgumentsBuilder()
         The arguments that have been used to create the contract.
         Set either:
           - if there was a party, which is in the ``witness_parties`` of this event,
             and for which an ``InclusiveFilters`` exists with the ``template_id`` of this event
             among the ``template_ids``,
           - or if there was a party, which is in the ``witness_parties`` of this event,
             and for which a wildcard filter exists (``Filters`` without ``InclusiveFilters``,
             or with an ``InclusiveFilters`` with empty ``template_ids`` and empty ``interface_filters``).
         Optional
         
        .com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
      • getCreateArgumentsOrBuilder

        public ValueOuterClass.RecordOrBuilder getCreateArgumentsOrBuilder()
         The arguments that have been used to create the contract.
         Set either:
           - if there was a party, which is in the ``witness_parties`` of this event,
             and for which an ``InclusiveFilters`` exists with the ``template_id`` of this event
             among the ``template_ids``,
           - or if there was a party, which is in the ``witness_parties`` of this event,
             and for which a wildcard filter exists (``Filters`` without ``InclusiveFilters``,
             or with an ``InclusiveFilters`` with empty ``template_ids`` and empty ``interface_filters``).
         Optional
         
        .com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
        Specified by:
        getCreateArgumentsOrBuilder in interface EventOuterClass.CreatedEventOrBuilder
      • getCreatedEventBlob

        public com.google.protobuf.ByteString getCreatedEventBlob()
         Opaque representation of contract create event payload intended for forwarding
         to an API server as a contract disclosed as part of a command
         submission.
         Optional
         
        bytes created_event_blob = 13 [json_name = "createdEventBlob"];
        Specified by:
        getCreatedEventBlob in interface EventOuterClass.CreatedEventOrBuilder
        Returns:
        The createdEventBlob.
      • setCreatedEventBlob

        public EventOuterClass.CreatedEvent.Builder setCreatedEventBlob​(com.google.protobuf.ByteString value)
         Opaque representation of contract create event payload intended for forwarding
         to an API server as a contract disclosed as part of a command
         submission.
         Optional
         
        bytes created_event_blob = 13 [json_name = "createdEventBlob"];
        Parameters:
        value - The createdEventBlob to set.
        Returns:
        This builder for chaining.
      • clearCreatedEventBlob

        public EventOuterClass.CreatedEvent.Builder clearCreatedEventBlob()
         Opaque representation of contract create event payload intended for forwarding
         to an API server as a contract disclosed as part of a command
         submission.
         Optional
         
        bytes created_event_blob = 13 [json_name = "createdEventBlob"];
        Returns:
        This builder for chaining.
      • getInterfaceViewsList

        public java.util.List<EventOuterClass.InterfaceView> getInterfaceViewsList()
         Interface views specified in the transaction filter.
         Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with
           - its party in the ``witness_parties`` of this event,
           - and which is implemented by the template of this event,
           - and which has ``include_interface_view`` set.
         Optional
         
        repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
        Specified by:
        getInterfaceViewsList in interface EventOuterClass.CreatedEventOrBuilder
      • getInterfaceViewsCount

        public int getInterfaceViewsCount()
         Interface views specified in the transaction filter.
         Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with
           - its party in the ``witness_parties`` of this event,
           - and which is implemented by the template of this event,
           - and which has ``include_interface_view`` set.
         Optional
         
        repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
        Specified by:
        getInterfaceViewsCount in interface EventOuterClass.CreatedEventOrBuilder
      • getInterfaceViews

        public EventOuterClass.InterfaceView getInterfaceViews​(int index)
         Interface views specified in the transaction filter.
         Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with
           - its party in the ``witness_parties`` of this event,
           - and which is implemented by the template of this event,
           - and which has ``include_interface_view`` set.
         Optional
         
        repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
        Specified by:
        getInterfaceViews in interface EventOuterClass.CreatedEventOrBuilder
      • setInterfaceViews

        public EventOuterClass.CreatedEvent.Builder setInterfaceViews​(int index,
                                                                      EventOuterClass.InterfaceView value)
         Interface views specified in the transaction filter.
         Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with
           - its party in the ``witness_parties`` of this event,
           - and which is implemented by the template of this event,
           - and which has ``include_interface_view`` set.
         Optional
         
        repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
      • setInterfaceViews

        public EventOuterClass.CreatedEvent.Builder setInterfaceViews​(int index,
                                                                      EventOuterClass.InterfaceView.Builder builderForValue)
         Interface views specified in the transaction filter.
         Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with
           - its party in the ``witness_parties`` of this event,
           - and which is implemented by the template of this event,
           - and which has ``include_interface_view`` set.
         Optional
         
        repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
      • addInterfaceViews

        public EventOuterClass.CreatedEvent.Builder addInterfaceViews​(EventOuterClass.InterfaceView value)
         Interface views specified in the transaction filter.
         Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with
           - its party in the ``witness_parties`` of this event,
           - and which is implemented by the template of this event,
           - and which has ``include_interface_view`` set.
         Optional
         
        repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
      • addInterfaceViews

        public EventOuterClass.CreatedEvent.Builder addInterfaceViews​(int index,
                                                                      EventOuterClass.InterfaceView value)
         Interface views specified in the transaction filter.
         Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with
           - its party in the ``witness_parties`` of this event,
           - and which is implemented by the template of this event,
           - and which has ``include_interface_view`` set.
         Optional
         
        repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
      • addInterfaceViews

        public EventOuterClass.CreatedEvent.Builder addInterfaceViews​(EventOuterClass.InterfaceView.Builder builderForValue)
         Interface views specified in the transaction filter.
         Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with
           - its party in the ``witness_parties`` of this event,
           - and which is implemented by the template of this event,
           - and which has ``include_interface_view`` set.
         Optional
         
        repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
      • addInterfaceViews

        public EventOuterClass.CreatedEvent.Builder addInterfaceViews​(int index,
                                                                      EventOuterClass.InterfaceView.Builder builderForValue)
         Interface views specified in the transaction filter.
         Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with
           - its party in the ``witness_parties`` of this event,
           - and which is implemented by the template of this event,
           - and which has ``include_interface_view`` set.
         Optional
         
        repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
      • addAllInterfaceViews

        public EventOuterClass.CreatedEvent.Builder addAllInterfaceViews​(java.lang.Iterable<? extends EventOuterClass.InterfaceView> values)
         Interface views specified in the transaction filter.
         Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with
           - its party in the ``witness_parties`` of this event,
           - and which is implemented by the template of this event,
           - and which has ``include_interface_view`` set.
         Optional
         
        repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
      • clearInterfaceViews

        public EventOuterClass.CreatedEvent.Builder clearInterfaceViews()
         Interface views specified in the transaction filter.
         Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with
           - its party in the ``witness_parties`` of this event,
           - and which is implemented by the template of this event,
           - and which has ``include_interface_view`` set.
         Optional
         
        repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
      • removeInterfaceViews

        public EventOuterClass.CreatedEvent.Builder removeInterfaceViews​(int index)
         Interface views specified in the transaction filter.
         Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with
           - its party in the ``witness_parties`` of this event,
           - and which is implemented by the template of this event,
           - and which has ``include_interface_view`` set.
         Optional
         
        repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
      • getInterfaceViewsBuilder

        public EventOuterClass.InterfaceView.Builder getInterfaceViewsBuilder​(int index)
         Interface views specified in the transaction filter.
         Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with
           - its party in the ``witness_parties`` of this event,
           - and which is implemented by the template of this event,
           - and which has ``include_interface_view`` set.
         Optional
         
        repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
      • getInterfaceViewsOrBuilder

        public EventOuterClass.InterfaceViewOrBuilder getInterfaceViewsOrBuilder​(int index)
         Interface views specified in the transaction filter.
         Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with
           - its party in the ``witness_parties`` of this event,
           - and which is implemented by the template of this event,
           - and which has ``include_interface_view`` set.
         Optional
         
        repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
        Specified by:
        getInterfaceViewsOrBuilder in interface EventOuterClass.CreatedEventOrBuilder
      • getInterfaceViewsOrBuilderList

        public java.util.List<? extends EventOuterClass.InterfaceViewOrBuilder> getInterfaceViewsOrBuilderList()
         Interface views specified in the transaction filter.
         Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with
           - its party in the ``witness_parties`` of this event,
           - and which is implemented by the template of this event,
           - and which has ``include_interface_view`` set.
         Optional
         
        repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
        Specified by:
        getInterfaceViewsOrBuilderList in interface EventOuterClass.CreatedEventOrBuilder
      • addInterfaceViewsBuilder

        public EventOuterClass.InterfaceView.Builder addInterfaceViewsBuilder()
         Interface views specified in the transaction filter.
         Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with
           - its party in the ``witness_parties`` of this event,
           - and which is implemented by the template of this event,
           - and which has ``include_interface_view`` set.
         Optional
         
        repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
      • addInterfaceViewsBuilder

        public EventOuterClass.InterfaceView.Builder addInterfaceViewsBuilder​(int index)
         Interface views specified in the transaction filter.
         Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with
           - its party in the ``witness_parties`` of this event,
           - and which is implemented by the template of this event,
           - and which has ``include_interface_view`` set.
         Optional
         
        repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
      • getInterfaceViewsBuilderList

        public java.util.List<EventOuterClass.InterfaceView.Builder> getInterfaceViewsBuilderList()
         Interface views specified in the transaction filter.
         Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with
           - its party in the ``witness_parties`` of this event,
           - and which is implemented by the template of this event,
           - and which has ``include_interface_view`` set.
         Optional
         
        repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
      • getWitnessPartiesList

        public com.google.protobuf.ProtocolStringList getWitnessPartiesList()
         The parties that are notified of this event. When a ``CreatedEvent``
         is returned as part of a transaction tree, this will include all
         the parties specified in the ``TransactionFilter`` that are informees
         of the event. If served as part of a flat transaction those will
         be limited to all parties specified in the ``TransactionFilter`` that
         are stakeholders of the contract (i.e. either signatories or observers).
         In case of v2 API:
           If the ``CreatedEvent`` is returned as part of an AssignedEvent,
           ActiveContract or IncompleteUnassigned (so the event is related to
           an assignment or unassignment): this will include all parties of the
           ``TransactionFilter`` that are stakeholders of the contract.
         Required
         
        repeated string witness_parties = 5 [json_name = "witnessParties"];
        Specified by:
        getWitnessPartiesList in interface EventOuterClass.CreatedEventOrBuilder
        Returns:
        A list containing the witnessParties.
      • getWitnessPartiesCount

        public int getWitnessPartiesCount()
         The parties that are notified of this event. When a ``CreatedEvent``
         is returned as part of a transaction tree, this will include all
         the parties specified in the ``TransactionFilter`` that are informees
         of the event. If served as part of a flat transaction those will
         be limited to all parties specified in the ``TransactionFilter`` that
         are stakeholders of the contract (i.e. either signatories or observers).
         In case of v2 API:
           If the ``CreatedEvent`` is returned as part of an AssignedEvent,
           ActiveContract or IncompleteUnassigned (so the event is related to
           an assignment or unassignment): this will include all parties of the
           ``TransactionFilter`` that are stakeholders of the contract.
         Required
         
        repeated string witness_parties = 5 [json_name = "witnessParties"];
        Specified by:
        getWitnessPartiesCount in interface EventOuterClass.CreatedEventOrBuilder
        Returns:
        The count of witnessParties.
      • getWitnessParties

        public java.lang.String getWitnessParties​(int index)
         The parties that are notified of this event. When a ``CreatedEvent``
         is returned as part of a transaction tree, this will include all
         the parties specified in the ``TransactionFilter`` that are informees
         of the event. If served as part of a flat transaction those will
         be limited to all parties specified in the ``TransactionFilter`` that
         are stakeholders of the contract (i.e. either signatories or observers).
         In case of v2 API:
           If the ``CreatedEvent`` is returned as part of an AssignedEvent,
           ActiveContract or IncompleteUnassigned (so the event is related to
           an assignment or unassignment): this will include all parties of the
           ``TransactionFilter`` that are stakeholders of the contract.
         Required
         
        repeated string witness_parties = 5 [json_name = "witnessParties"];
        Specified by:
        getWitnessParties in interface EventOuterClass.CreatedEventOrBuilder
        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. When a ``CreatedEvent``
         is returned as part of a transaction tree, this will include all
         the parties specified in the ``TransactionFilter`` that are informees
         of the event. If served as part of a flat transaction those will
         be limited to all parties specified in the ``TransactionFilter`` that
         are stakeholders of the contract (i.e. either signatories or observers).
         In case of v2 API:
           If the ``CreatedEvent`` is returned as part of an AssignedEvent,
           ActiveContract or IncompleteUnassigned (so the event is related to
           an assignment or unassignment): this will include all parties of the
           ``TransactionFilter`` that are stakeholders of the contract.
         Required
         
        repeated string witness_parties = 5 [json_name = "witnessParties"];
        Specified by:
        getWitnessPartiesBytes in interface EventOuterClass.CreatedEventOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the witnessParties at the given index.
      • setWitnessParties

        public EventOuterClass.CreatedEvent.Builder setWitnessParties​(int index,
                                                                      java.lang.String value)
         The parties that are notified of this event. When a ``CreatedEvent``
         is returned as part of a transaction tree, this will include all
         the parties specified in the ``TransactionFilter`` that are informees
         of the event. If served as part of a flat transaction those will
         be limited to all parties specified in the ``TransactionFilter`` that
         are stakeholders of the contract (i.e. either signatories or observers).
         In case of v2 API:
           If the ``CreatedEvent`` is returned as part of an AssignedEvent,
           ActiveContract or IncompleteUnassigned (so the event is related to
           an assignment or unassignment): this will include all parties of the
           ``TransactionFilter`` that are stakeholders of the contract.
         Required
         
        repeated string witness_parties = 5 [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.CreatedEvent.Builder addWitnessParties​(java.lang.String value)
         The parties that are notified of this event. When a ``CreatedEvent``
         is returned as part of a transaction tree, this will include all
         the parties specified in the ``TransactionFilter`` that are informees
         of the event. If served as part of a flat transaction those will
         be limited to all parties specified in the ``TransactionFilter`` that
         are stakeholders of the contract (i.e. either signatories or observers).
         In case of v2 API:
           If the ``CreatedEvent`` is returned as part of an AssignedEvent,
           ActiveContract or IncompleteUnassigned (so the event is related to
           an assignment or unassignment): this will include all parties of the
           ``TransactionFilter`` that are stakeholders of the contract.
         Required
         
        repeated string witness_parties = 5 [json_name = "witnessParties"];
        Parameters:
        value - The witnessParties to add.
        Returns:
        This builder for chaining.
      • addAllWitnessParties

        public EventOuterClass.CreatedEvent.Builder addAllWitnessParties​(java.lang.Iterable<java.lang.String> values)
         The parties that are notified of this event. When a ``CreatedEvent``
         is returned as part of a transaction tree, this will include all
         the parties specified in the ``TransactionFilter`` that are informees
         of the event. If served as part of a flat transaction those will
         be limited to all parties specified in the ``TransactionFilter`` that
         are stakeholders of the contract (i.e. either signatories or observers).
         In case of v2 API:
           If the ``CreatedEvent`` is returned as part of an AssignedEvent,
           ActiveContract or IncompleteUnassigned (so the event is related to
           an assignment or unassignment): this will include all parties of the
           ``TransactionFilter`` that are stakeholders of the contract.
         Required
         
        repeated string witness_parties = 5 [json_name = "witnessParties"];
        Parameters:
        values - The witnessParties to add.
        Returns:
        This builder for chaining.
      • clearWitnessParties

        public EventOuterClass.CreatedEvent.Builder clearWitnessParties()
         The parties that are notified of this event. When a ``CreatedEvent``
         is returned as part of a transaction tree, this will include all
         the parties specified in the ``TransactionFilter`` that are informees
         of the event. If served as part of a flat transaction those will
         be limited to all parties specified in the ``TransactionFilter`` that
         are stakeholders of the contract (i.e. either signatories or observers).
         In case of v2 API:
           If the ``CreatedEvent`` is returned as part of an AssignedEvent,
           ActiveContract or IncompleteUnassigned (so the event is related to
           an assignment or unassignment): this will include all parties of the
           ``TransactionFilter`` that are stakeholders of the contract.
         Required
         
        repeated string witness_parties = 5 [json_name = "witnessParties"];
        Returns:
        This builder for chaining.
      • addWitnessPartiesBytes

        public EventOuterClass.CreatedEvent.Builder addWitnessPartiesBytes​(com.google.protobuf.ByteString value)
         The parties that are notified of this event. When a ``CreatedEvent``
         is returned as part of a transaction tree, this will include all
         the parties specified in the ``TransactionFilter`` that are informees
         of the event. If served as part of a flat transaction those will
         be limited to all parties specified in the ``TransactionFilter`` that
         are stakeholders of the contract (i.e. either signatories or observers).
         In case of v2 API:
           If the ``CreatedEvent`` is returned as part of an AssignedEvent,
           ActiveContract or IncompleteUnassigned (so the event is related to
           an assignment or unassignment): this will include all parties of the
           ``TransactionFilter`` that are stakeholders of the contract.
         Required
         
        repeated string witness_parties = 5 [json_name = "witnessParties"];
        Parameters:
        value - The bytes of the witnessParties to add.
        Returns:
        This builder for chaining.
      • getSignatoriesList

        public com.google.protobuf.ProtocolStringList getSignatoriesList()
         The signatories for this contract as specified by the template.
         Required
         
        repeated string signatories = 8 [json_name = "signatories"];
        Specified by:
        getSignatoriesList in interface EventOuterClass.CreatedEventOrBuilder
        Returns:
        A list containing the signatories.
      • getSignatoriesCount

        public int getSignatoriesCount()
         The signatories for this contract as specified by the template.
         Required
         
        repeated string signatories = 8 [json_name = "signatories"];
        Specified by:
        getSignatoriesCount in interface EventOuterClass.CreatedEventOrBuilder
        Returns:
        The count of signatories.
      • getSignatories

        public java.lang.String getSignatories​(int index)
         The signatories for this contract as specified by the template.
         Required
         
        repeated string signatories = 8 [json_name = "signatories"];
        Specified by:
        getSignatories in interface EventOuterClass.CreatedEventOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The signatories at the given index.
      • getSignatoriesBytes

        public com.google.protobuf.ByteString getSignatoriesBytes​(int index)
         The signatories for this contract as specified by the template.
         Required
         
        repeated string signatories = 8 [json_name = "signatories"];
        Specified by:
        getSignatoriesBytes in interface EventOuterClass.CreatedEventOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the signatories at the given index.
      • setSignatories

        public EventOuterClass.CreatedEvent.Builder setSignatories​(int index,
                                                                   java.lang.String value)
         The signatories for this contract as specified by the template.
         Required
         
        repeated string signatories = 8 [json_name = "signatories"];
        Parameters:
        index - The index to set the value at.
        value - The signatories to set.
        Returns:
        This builder for chaining.
      • addSignatories

        public EventOuterClass.CreatedEvent.Builder addSignatories​(java.lang.String value)
         The signatories for this contract as specified by the template.
         Required
         
        repeated string signatories = 8 [json_name = "signatories"];
        Parameters:
        value - The signatories to add.
        Returns:
        This builder for chaining.
      • addAllSignatories

        public EventOuterClass.CreatedEvent.Builder addAllSignatories​(java.lang.Iterable<java.lang.String> values)
         The signatories for this contract as specified by the template.
         Required
         
        repeated string signatories = 8 [json_name = "signatories"];
        Parameters:
        values - The signatories to add.
        Returns:
        This builder for chaining.
      • clearSignatories

        public EventOuterClass.CreatedEvent.Builder clearSignatories()
         The signatories for this contract as specified by the template.
         Required
         
        repeated string signatories = 8 [json_name = "signatories"];
        Returns:
        This builder for chaining.
      • addSignatoriesBytes

        public EventOuterClass.CreatedEvent.Builder addSignatoriesBytes​(com.google.protobuf.ByteString value)
         The signatories for this contract as specified by the template.
         Required
         
        repeated string signatories = 8 [json_name = "signatories"];
        Parameters:
        value - The bytes of the signatories to add.
        Returns:
        This builder for chaining.
      • getObserversList

        public com.google.protobuf.ProtocolStringList getObserversList()
         The observers for this contract as specified explicitly by the template or implicitly as choice controllers.
         This field never contains parties that are signatories.
         Required
         
        repeated string observers = 9 [json_name = "observers"];
        Specified by:
        getObserversList in interface EventOuterClass.CreatedEventOrBuilder
        Returns:
        A list containing the observers.
      • getObserversCount

        public int getObserversCount()
         The observers for this contract as specified explicitly by the template or implicitly as choice controllers.
         This field never contains parties that are signatories.
         Required
         
        repeated string observers = 9 [json_name = "observers"];
        Specified by:
        getObserversCount in interface EventOuterClass.CreatedEventOrBuilder
        Returns:
        The count of observers.
      • getObservers

        public java.lang.String getObservers​(int index)
         The observers for this contract as specified explicitly by the template or implicitly as choice controllers.
         This field never contains parties that are signatories.
         Required
         
        repeated string observers = 9 [json_name = "observers"];
        Specified by:
        getObservers in interface EventOuterClass.CreatedEventOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The observers at the given index.
      • getObserversBytes

        public com.google.protobuf.ByteString getObserversBytes​(int index)
         The observers for this contract as specified explicitly by the template or implicitly as choice controllers.
         This field never contains parties that are signatories.
         Required
         
        repeated string observers = 9 [json_name = "observers"];
        Specified by:
        getObserversBytes in interface EventOuterClass.CreatedEventOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the observers at the given index.
      • setObservers

        public EventOuterClass.CreatedEvent.Builder setObservers​(int index,
                                                                 java.lang.String value)
         The observers for this contract as specified explicitly by the template or implicitly as choice controllers.
         This field never contains parties that are signatories.
         Required
         
        repeated string observers = 9 [json_name = "observers"];
        Parameters:
        index - The index to set the value at.
        value - The observers to set.
        Returns:
        This builder for chaining.
      • addObservers

        public EventOuterClass.CreatedEvent.Builder addObservers​(java.lang.String value)
         The observers for this contract as specified explicitly by the template or implicitly as choice controllers.
         This field never contains parties that are signatories.
         Required
         
        repeated string observers = 9 [json_name = "observers"];
        Parameters:
        value - The observers to add.
        Returns:
        This builder for chaining.
      • addAllObservers

        public EventOuterClass.CreatedEvent.Builder addAllObservers​(java.lang.Iterable<java.lang.String> values)
         The observers for this contract as specified explicitly by the template or implicitly as choice controllers.
         This field never contains parties that are signatories.
         Required
         
        repeated string observers = 9 [json_name = "observers"];
        Parameters:
        values - The observers to add.
        Returns:
        This builder for chaining.
      • clearObservers

        public EventOuterClass.CreatedEvent.Builder clearObservers()
         The observers for this contract as specified explicitly by the template or implicitly as choice controllers.
         This field never contains parties that are signatories.
         Required
         
        repeated string observers = 9 [json_name = "observers"];
        Returns:
        This builder for chaining.
      • addObserversBytes

        public EventOuterClass.CreatedEvent.Builder addObserversBytes​(com.google.protobuf.ByteString value)
         The observers for this contract as specified explicitly by the template or implicitly as choice controllers.
         This field never contains parties that are signatories.
         Required
         
        repeated string observers = 9 [json_name = "observers"];
        Parameters:
        value - The bytes of the observers to add.
        Returns:
        This builder for chaining.
      • hasAgreementText

        public boolean hasAgreementText()
         The agreement text of the contract.
         We use StringValue to properly reflect optionality on the wire for backwards compatibility.
         This is necessary since the empty string is an acceptable (and in fact the default) agreement
         text, but also the default string in protobuf.
         This means a newer client works with an older sandbox seamlessly.
         Optional
         
        .google.protobuf.StringValue agreement_text = 6 [json_name = "agreementText"];
        Specified by:
        hasAgreementText in interface EventOuterClass.CreatedEventOrBuilder
        Returns:
        Whether the agreementText field is set.
      • getAgreementText

        public com.google.protobuf.StringValue getAgreementText()
         The agreement text of the contract.
         We use StringValue to properly reflect optionality on the wire for backwards compatibility.
         This is necessary since the empty string is an acceptable (and in fact the default) agreement
         text, but also the default string in protobuf.
         This means a newer client works with an older sandbox seamlessly.
         Optional
         
        .google.protobuf.StringValue agreement_text = 6 [json_name = "agreementText"];
        Specified by:
        getAgreementText in interface EventOuterClass.CreatedEventOrBuilder
        Returns:
        The agreementText.
      • setAgreementText

        public EventOuterClass.CreatedEvent.Builder setAgreementText​(com.google.protobuf.StringValue value)
         The agreement text of the contract.
         We use StringValue to properly reflect optionality on the wire for backwards compatibility.
         This is necessary since the empty string is an acceptable (and in fact the default) agreement
         text, but also the default string in protobuf.
         This means a newer client works with an older sandbox seamlessly.
         Optional
         
        .google.protobuf.StringValue agreement_text = 6 [json_name = "agreementText"];
      • setAgreementText

        public EventOuterClass.CreatedEvent.Builder setAgreementText​(com.google.protobuf.StringValue.Builder builderForValue)
         The agreement text of the contract.
         We use StringValue to properly reflect optionality on the wire for backwards compatibility.
         This is necessary since the empty string is an acceptable (and in fact the default) agreement
         text, but also the default string in protobuf.
         This means a newer client works with an older sandbox seamlessly.
         Optional
         
        .google.protobuf.StringValue agreement_text = 6 [json_name = "agreementText"];
      • mergeAgreementText

        public EventOuterClass.CreatedEvent.Builder mergeAgreementText​(com.google.protobuf.StringValue value)
         The agreement text of the contract.
         We use StringValue to properly reflect optionality on the wire for backwards compatibility.
         This is necessary since the empty string is an acceptable (and in fact the default) agreement
         text, but also the default string in protobuf.
         This means a newer client works with an older sandbox seamlessly.
         Optional
         
        .google.protobuf.StringValue agreement_text = 6 [json_name = "agreementText"];
      • clearAgreementText

        public EventOuterClass.CreatedEvent.Builder clearAgreementText()
         The agreement text of the contract.
         We use StringValue to properly reflect optionality on the wire for backwards compatibility.
         This is necessary since the empty string is an acceptable (and in fact the default) agreement
         text, but also the default string in protobuf.
         This means a newer client works with an older sandbox seamlessly.
         Optional
         
        .google.protobuf.StringValue agreement_text = 6 [json_name = "agreementText"];
      • getAgreementTextBuilder

        public com.google.protobuf.StringValue.Builder getAgreementTextBuilder()
         The agreement text of the contract.
         We use StringValue to properly reflect optionality on the wire for backwards compatibility.
         This is necessary since the empty string is an acceptable (and in fact the default) agreement
         text, but also the default string in protobuf.
         This means a newer client works with an older sandbox seamlessly.
         Optional
         
        .google.protobuf.StringValue agreement_text = 6 [json_name = "agreementText"];
      • getAgreementTextOrBuilder

        public com.google.protobuf.StringValueOrBuilder getAgreementTextOrBuilder()
         The agreement text of the contract.
         We use StringValue to properly reflect optionality on the wire for backwards compatibility.
         This is necessary since the empty string is an acceptable (and in fact the default) agreement
         text, but also the default string in protobuf.
         This means a newer client works with an older sandbox seamlessly.
         Optional
         
        .google.protobuf.StringValue agreement_text = 6 [json_name = "agreementText"];
        Specified by:
        getAgreementTextOrBuilder in interface EventOuterClass.CreatedEventOrBuilder
      • hasCreatedAt

        public boolean hasCreatedAt()
         Ledger effective time of the transaction that created the contract.
         Required
         
        .google.protobuf.Timestamp created_at = 14 [json_name = "createdAt"];
        Specified by:
        hasCreatedAt in interface EventOuterClass.CreatedEventOrBuilder
        Returns:
        Whether the createdAt field is set.
      • getCreatedAt

        public com.google.protobuf.Timestamp getCreatedAt()
         Ledger effective time of the transaction that created the contract.
         Required
         
        .google.protobuf.Timestamp created_at = 14 [json_name = "createdAt"];
        Specified by:
        getCreatedAt in interface EventOuterClass.CreatedEventOrBuilder
        Returns:
        The createdAt.
      • setCreatedAt

        public EventOuterClass.CreatedEvent.Builder setCreatedAt​(com.google.protobuf.Timestamp value)
         Ledger effective time of the transaction that created the contract.
         Required
         
        .google.protobuf.Timestamp created_at = 14 [json_name = "createdAt"];
      • setCreatedAt

        public EventOuterClass.CreatedEvent.Builder setCreatedAt​(com.google.protobuf.Timestamp.Builder builderForValue)
         Ledger effective time of the transaction that created the contract.
         Required
         
        .google.protobuf.Timestamp created_at = 14 [json_name = "createdAt"];
      • mergeCreatedAt

        public EventOuterClass.CreatedEvent.Builder mergeCreatedAt​(com.google.protobuf.Timestamp value)
         Ledger effective time of the transaction that created the contract.
         Required
         
        .google.protobuf.Timestamp created_at = 14 [json_name = "createdAt"];
      • clearCreatedAt

        public EventOuterClass.CreatedEvent.Builder clearCreatedAt()
         Ledger effective time of the transaction that created the contract.
         Required
         
        .google.protobuf.Timestamp created_at = 14 [json_name = "createdAt"];
      • getCreatedAtBuilder

        public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder()
         Ledger effective time of the transaction that created the contract.
         Required
         
        .google.protobuf.Timestamp created_at = 14 [json_name = "createdAt"];
      • getCreatedAtOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()
         Ledger effective time of the transaction that created the contract.
         Required
         
        .google.protobuf.Timestamp created_at = 14 [json_name = "createdAt"];
        Specified by:
        getCreatedAtOrBuilder in interface EventOuterClass.CreatedEventOrBuilder