Class EventOuterClass.ExercisedEvent.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
com.daml.ledger.api.v2.EventOuterClass.ExercisedEvent.Builder
All Implemented Interfaces:
EventOuterClass.ExercisedEventOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
EventOuterClass.ExercisedEvent

public static final class EventOuterClass.ExercisedEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder> implements EventOuterClass.ExercisedEventOrBuilder
 Records that a choice has been exercised on a target contract.
 
Protobuf type com.daml.ledger.api.v2.ExercisedEvent
  • 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<EventOuterClass.ExercisedEvent.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<EventOuterClass.ExercisedEvent.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.ExercisedEvent.Builder>
    • getDefaultInstanceForType

      public EventOuterClass.ExercisedEvent 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

      public EventOuterClass.ExercisedEvent 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<EventOuterClass.ExercisedEvent.Builder>
    • setField

      public EventOuterClass.ExercisedEvent.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<EventOuterClass.ExercisedEvent.Builder>
    • clearField

      public EventOuterClass.ExercisedEvent.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<EventOuterClass.ExercisedEvent.Builder>
    • clearOneof

      public EventOuterClass.ExercisedEvent.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<EventOuterClass.ExercisedEvent.Builder>
    • setRepeatedField

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

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

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

      public EventOuterClass.ExercisedEvent.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<EventOuterClass.ExercisedEvent.Builder>
      Throws:
      IOException
    • getOffset

      public long getOffset()
       The offset of origin.
       Offsets are managed by the participant nodes.
       Transactions 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 = 1 [json_name = "offset"];
      Specified by:
      getOffset in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      The offset.
    • setOffset

      public EventOuterClass.ExercisedEvent.Builder setOffset(long value)
       The offset of origin.
       Offsets are managed by the participant nodes.
       Transactions 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 = 1 [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.
       Transactions 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 = 1 [json_name = "offset"];
      Returns:
      This builder for chaining.
    • getNodeId

      public int getNodeId()
       The position of this event in the originating transaction or reassignment.
       Node IDs are not necessarily equal across participants,
       as these may see different projections/parts of transactions.
       Required, must be valid node ID (non-negative integer)
       
      int32 node_id = 2 [json_name = "nodeId"];
      Specified by:
      getNodeId in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      The nodeId.
    • setNodeId

      public EventOuterClass.ExercisedEvent.Builder setNodeId(int value)
       The position of this event in the originating transaction or reassignment.
       Node IDs are not necessarily equal across participants,
       as these may see different projections/parts of transactions.
       Required, must be valid node ID (non-negative integer)
       
      int32 node_id = 2 [json_name = "nodeId"];
      Parameters:
      value - The nodeId to set.
      Returns:
      This builder for chaining.
    • clearNodeId

       The position of this event in the originating transaction or reassignment.
       Node IDs are not necessarily equal across participants,
       as these may see different projections/parts of transactions.
       Required, must be valid node ID (non-negative integer)
       
      int32 node_id = 2 [json_name = "nodeId"];
      Returns:
      This builder for chaining.
    • getContractId

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

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

      public EventOuterClass.ExercisedEvent.Builder setContractId(String value)
       The ID of the target contract.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string contract_id = 3 [json_name = "contractId"];
      Parameters:
      value - The contractId to set.
      Returns:
      This builder for chaining.
    • clearContractId

      public EventOuterClass.ExercisedEvent.Builder clearContractId()
       The ID of the target contract.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string contract_id = 3 [json_name = "contractId"];
      Returns:
      This builder for chaining.
    • setContractIdBytes

      public EventOuterClass.ExercisedEvent.Builder setContractIdBytes(com.google.protobuf.ByteString value)
       The ID of the target contract.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string contract_id = 3 [json_name = "contractId"];
      Parameters:
      value - The bytes for contractId to set.
      Returns:
      This builder for chaining.
    • hasTemplateId

      public boolean hasTemplateId()
       The template of the target contract.
       The identifier uses the package-id reference format.
      
       Required
       
      .com.daml.ledger.api.v2.Identifier template_id = 4 [json_name = "templateId"];
      Specified by:
      hasTemplateId in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      Whether the templateId field is set.
    • getTemplateId

      public ValueOuterClass.Identifier getTemplateId()
       The template of the target contract.
       The identifier uses the package-id reference format.
      
       Required
       
      .com.daml.ledger.api.v2.Identifier template_id = 4 [json_name = "templateId"];
      Specified by:
      getTemplateId in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      The templateId.
    • setTemplateId

       The template of the target contract.
       The identifier uses the package-id reference format.
      
       Required
       
      .com.daml.ledger.api.v2.Identifier template_id = 4 [json_name = "templateId"];
    • setTemplateId

       The template of the target contract.
       The identifier uses the package-id reference format.
      
       Required
       
      .com.daml.ledger.api.v2.Identifier template_id = 4 [json_name = "templateId"];
    • mergeTemplateId

       The template of the target contract.
       The identifier uses the package-id reference format.
      
       Required
       
      .com.daml.ledger.api.v2.Identifier template_id = 4 [json_name = "templateId"];
    • clearTemplateId

      public EventOuterClass.ExercisedEvent.Builder clearTemplateId()
       The template of the target contract.
       The identifier uses the package-id reference format.
      
       Required
       
      .com.daml.ledger.api.v2.Identifier template_id = 4 [json_name = "templateId"];
    • getTemplateIdBuilder

      public ValueOuterClass.Identifier.Builder getTemplateIdBuilder()
       The template of the target contract.
       The identifier uses the package-id reference format.
      
       Required
       
      .com.daml.ledger.api.v2.Identifier template_id = 4 [json_name = "templateId"];
    • getTemplateIdOrBuilder

      public ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()
       The template of the target contract.
       The identifier uses the package-id reference format.
      
       Required
       
      .com.daml.ledger.api.v2.Identifier template_id = 4 [json_name = "templateId"];
      Specified by:
      getTemplateIdOrBuilder in interface EventOuterClass.ExercisedEventOrBuilder
    • hasInterfaceId

      public boolean hasInterfaceId()
       The interface where the choice is defined, if inherited.
       If defined, the identifier uses the package-id reference format.
      
       Optional
       
      .com.daml.ledger.api.v2.Identifier interface_id = 5 [json_name = "interfaceId"];
      Specified by:
      hasInterfaceId in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      Whether the interfaceId field is set.
    • getInterfaceId

      public ValueOuterClass.Identifier getInterfaceId()
       The interface where the choice is defined, if inherited.
       If defined, the identifier uses the package-id reference format.
      
       Optional
       
      .com.daml.ledger.api.v2.Identifier interface_id = 5 [json_name = "interfaceId"];
      Specified by:
      getInterfaceId in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      The interfaceId.
    • setInterfaceId

       The interface where the choice is defined, if inherited.
       If defined, the identifier uses the package-id reference format.
      
       Optional
       
      .com.daml.ledger.api.v2.Identifier interface_id = 5 [json_name = "interfaceId"];
    • setInterfaceId

       The interface where the choice is defined, if inherited.
       If defined, the identifier uses the package-id reference format.
      
       Optional
       
      .com.daml.ledger.api.v2.Identifier interface_id = 5 [json_name = "interfaceId"];
    • mergeInterfaceId

       The interface where the choice is defined, if inherited.
       If defined, the identifier uses the package-id reference format.
      
       Optional
       
      .com.daml.ledger.api.v2.Identifier interface_id = 5 [json_name = "interfaceId"];
    • clearInterfaceId

      public EventOuterClass.ExercisedEvent.Builder clearInterfaceId()
       The interface where the choice is defined, if inherited.
       If defined, the identifier uses the package-id reference format.
      
       Optional
       
      .com.daml.ledger.api.v2.Identifier interface_id = 5 [json_name = "interfaceId"];
    • getInterfaceIdBuilder

      public ValueOuterClass.Identifier.Builder getInterfaceIdBuilder()
       The interface where the choice is defined, if inherited.
       If defined, the identifier uses the package-id reference format.
      
       Optional
       
      .com.daml.ledger.api.v2.Identifier interface_id = 5 [json_name = "interfaceId"];
    • getInterfaceIdOrBuilder

      public ValueOuterClass.IdentifierOrBuilder getInterfaceIdOrBuilder()
       The interface where the choice is defined, if inherited.
       If defined, the identifier uses the package-id reference format.
      
       Optional
       
      .com.daml.ledger.api.v2.Identifier interface_id = 5 [json_name = "interfaceId"];
      Specified by:
      getInterfaceIdOrBuilder in interface EventOuterClass.ExercisedEventOrBuilder
    • getChoice

      public String getChoice()
       The choice that was exercised on the target contract.
       Must be a valid NameString (as described in ``value.proto``).
       Required
       
      string choice = 6 [json_name = "choice"];
      Specified by:
      getChoice in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      The choice.
    • getChoiceBytes

      public com.google.protobuf.ByteString getChoiceBytes()
       The choice that was exercised on the target contract.
       Must be a valid NameString (as described in ``value.proto``).
       Required
       
      string choice = 6 [json_name = "choice"];
      Specified by:
      getChoiceBytes in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      The bytes for choice.
    • setChoice

       The choice that was exercised on the target contract.
       Must be a valid NameString (as described in ``value.proto``).
       Required
       
      string choice = 6 [json_name = "choice"];
      Parameters:
      value - The choice to set.
      Returns:
      This builder for chaining.
    • clearChoice

       The choice that was exercised on the target contract.
       Must be a valid NameString (as described in ``value.proto``).
       Required
       
      string choice = 6 [json_name = "choice"];
      Returns:
      This builder for chaining.
    • setChoiceBytes

      public EventOuterClass.ExercisedEvent.Builder setChoiceBytes(com.google.protobuf.ByteString value)
       The choice that was exercised on the target contract.
       Must be a valid NameString (as described in ``value.proto``).
       Required
       
      string choice = 6 [json_name = "choice"];
      Parameters:
      value - The bytes for choice to set.
      Returns:
      This builder for chaining.
    • hasChoiceArgument

      public boolean hasChoiceArgument()
       The argument of the exercised choice.
       Required
       
      .com.daml.ledger.api.v2.Value choice_argument = 7 [json_name = "choiceArgument"];
      Specified by:
      hasChoiceArgument in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      Whether the choiceArgument field is set.
    • getChoiceArgument

      public ValueOuterClass.Value getChoiceArgument()
       The argument of the exercised choice.
       Required
       
      .com.daml.ledger.api.v2.Value choice_argument = 7 [json_name = "choiceArgument"];
      Specified by:
      getChoiceArgument in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      The choiceArgument.
    • setChoiceArgument

       The argument of the exercised choice.
       Required
       
      .com.daml.ledger.api.v2.Value choice_argument = 7 [json_name = "choiceArgument"];
    • setChoiceArgument

      public EventOuterClass.ExercisedEvent.Builder setChoiceArgument(ValueOuterClass.Value.Builder builderForValue)
       The argument of the exercised choice.
       Required
       
      .com.daml.ledger.api.v2.Value choice_argument = 7 [json_name = "choiceArgument"];
    • mergeChoiceArgument

       The argument of the exercised choice.
       Required
       
      .com.daml.ledger.api.v2.Value choice_argument = 7 [json_name = "choiceArgument"];
    • clearChoiceArgument

      public EventOuterClass.ExercisedEvent.Builder clearChoiceArgument()
       The argument of the exercised choice.
       Required
       
      .com.daml.ledger.api.v2.Value choice_argument = 7 [json_name = "choiceArgument"];
    • getChoiceArgumentBuilder

      public ValueOuterClass.Value.Builder getChoiceArgumentBuilder()
       The argument of the exercised choice.
       Required
       
      .com.daml.ledger.api.v2.Value choice_argument = 7 [json_name = "choiceArgument"];
    • getChoiceArgumentOrBuilder

      public ValueOuterClass.ValueOrBuilder getChoiceArgumentOrBuilder()
       The argument of the exercised choice.
       Required
       
      .com.daml.ledger.api.v2.Value choice_argument = 7 [json_name = "choiceArgument"];
      Specified by:
      getChoiceArgumentOrBuilder in interface EventOuterClass.ExercisedEventOrBuilder
    • getActingPartiesList

      public com.google.protobuf.ProtocolStringList getActingPartiesList()
       The parties that exercised the choice.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required
       
      repeated string acting_parties = 8 [json_name = "actingParties"];
      Specified by:
      getActingPartiesList in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      A list containing the actingParties.
    • getActingPartiesCount

      public int getActingPartiesCount()
       The parties that exercised the choice.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required
       
      repeated string acting_parties = 8 [json_name = "actingParties"];
      Specified by:
      getActingPartiesCount in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      The count of actingParties.
    • getActingParties

      public String getActingParties(int index)
       The parties that exercised the choice.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required
       
      repeated string acting_parties = 8 [json_name = "actingParties"];
      Specified by:
      getActingParties in interface EventOuterClass.ExercisedEventOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The actingParties at the given index.
    • getActingPartiesBytes

      public com.google.protobuf.ByteString getActingPartiesBytes(int index)
       The parties that exercised the choice.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required
       
      repeated string acting_parties = 8 [json_name = "actingParties"];
      Specified by:
      getActingPartiesBytes in interface EventOuterClass.ExercisedEventOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the actingParties at the given index.
    • setActingParties

      public EventOuterClass.ExercisedEvent.Builder setActingParties(int index, String value)
       The parties that exercised the choice.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required
       
      repeated string acting_parties = 8 [json_name = "actingParties"];
      Parameters:
      index - The index to set the value at.
      value - The actingParties to set.
      Returns:
      This builder for chaining.
    • addActingParties

      public EventOuterClass.ExercisedEvent.Builder addActingParties(String value)
       The parties that exercised the choice.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required
       
      repeated string acting_parties = 8 [json_name = "actingParties"];
      Parameters:
      value - The actingParties to add.
      Returns:
      This builder for chaining.
    • addAllActingParties

      public EventOuterClass.ExercisedEvent.Builder addAllActingParties(Iterable<String> values)
       The parties that exercised the choice.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required
       
      repeated string acting_parties = 8 [json_name = "actingParties"];
      Parameters:
      values - The actingParties to add.
      Returns:
      This builder for chaining.
    • clearActingParties

      public EventOuterClass.ExercisedEvent.Builder clearActingParties()
       The parties that exercised the choice.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required
       
      repeated string acting_parties = 8 [json_name = "actingParties"];
      Returns:
      This builder for chaining.
    • addActingPartiesBytes

      public EventOuterClass.ExercisedEvent.Builder addActingPartiesBytes(com.google.protobuf.ByteString value)
       The parties that exercised the choice.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required
       
      repeated string acting_parties = 8 [json_name = "actingParties"];
      Parameters:
      value - The bytes of the actingParties to add.
      Returns:
      This builder for chaining.
    • getConsuming

      public boolean getConsuming()
       If true, the target contract may no longer be exercised.
       Required
       
      bool consuming = 9 [json_name = "consuming"];
      Specified by:
      getConsuming in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      The consuming.
    • setConsuming

      public EventOuterClass.ExercisedEvent.Builder setConsuming(boolean value)
       If true, the target contract may no longer be exercised.
       Required
       
      bool consuming = 9 [json_name = "consuming"];
      Parameters:
      value - The consuming to set.
      Returns:
      This builder for chaining.
    • clearConsuming

      public EventOuterClass.ExercisedEvent.Builder clearConsuming()
       If true, the target contract may no longer be exercised.
       Required
       
      bool consuming = 9 [json_name = "consuming"];
      Returns:
      This builder for chaining.
    • getWitnessPartiesList

      public com.google.protobuf.ProtocolStringList getWitnessPartiesList()
       The parties that are notified of this event. The witnesses of an exercise
       node will depend on whether the exercise was consuming or not.
       If consuming, the witnesses are the union of the stakeholders and
       the actors.
       If not consuming, the witnesses are the union of the signatories and
       the actors. Note that the actors might not necessarily be observers
       and thus signatories. This is the case when the controllers of a
       choice are specified using "flexible controllers", using the
       ``choice ... controller`` syntax, and said controllers are not
       explicitly marked as observers.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required
       
      repeated string witness_parties = 10 [json_name = "witnessParties"];
      Specified by:
      getWitnessPartiesList in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      A list containing the witnessParties.
    • getWitnessPartiesCount

      public int getWitnessPartiesCount()
       The parties that are notified of this event. The witnesses of an exercise
       node will depend on whether the exercise was consuming or not.
       If consuming, the witnesses are the union of the stakeholders and
       the actors.
       If not consuming, the witnesses are the union of the signatories and
       the actors. Note that the actors might not necessarily be observers
       and thus signatories. This is the case when the controllers of a
       choice are specified using "flexible controllers", using the
       ``choice ... controller`` syntax, and said controllers are not
       explicitly marked as observers.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required
       
      repeated string witness_parties = 10 [json_name = "witnessParties"];
      Specified by:
      getWitnessPartiesCount in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      The count of witnessParties.
    • getWitnessParties

      public String getWitnessParties(int index)
       The parties that are notified of this event. The witnesses of an exercise
       node will depend on whether the exercise was consuming or not.
       If consuming, the witnesses are the union of the stakeholders and
       the actors.
       If not consuming, the witnesses are the union of the signatories and
       the actors. Note that the actors might not necessarily be observers
       and thus signatories. This is the case when the controllers of a
       choice are specified using "flexible controllers", using the
       ``choice ... controller`` syntax, and said controllers are not
       explicitly marked as observers.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required
       
      repeated string witness_parties = 10 [json_name = "witnessParties"];
      Specified by:
      getWitnessParties in interface EventOuterClass.ExercisedEventOrBuilder
      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. The witnesses of an exercise
       node will depend on whether the exercise was consuming or not.
       If consuming, the witnesses are the union of the stakeholders and
       the actors.
       If not consuming, the witnesses are the union of the signatories and
       the actors. Note that the actors might not necessarily be observers
       and thus signatories. This is the case when the controllers of a
       choice are specified using "flexible controllers", using the
       ``choice ... controller`` syntax, and said controllers are not
       explicitly marked as observers.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required
       
      repeated string witness_parties = 10 [json_name = "witnessParties"];
      Specified by:
      getWitnessPartiesBytes in interface EventOuterClass.ExercisedEventOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the witnessParties at the given index.
    • setWitnessParties

      public EventOuterClass.ExercisedEvent.Builder setWitnessParties(int index, String value)
       The parties that are notified of this event. The witnesses of an exercise
       node will depend on whether the exercise was consuming or not.
       If consuming, the witnesses are the union of the stakeholders and
       the actors.
       If not consuming, the witnesses are the union of the signatories and
       the actors. Note that the actors might not necessarily be observers
       and thus signatories. This is the case when the controllers of a
       choice are specified using "flexible controllers", using the
       ``choice ... controller`` syntax, and said controllers are not
       explicitly marked as observers.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required
       
      repeated string witness_parties = 10 [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.ExercisedEvent.Builder addWitnessParties(String value)
       The parties that are notified of this event. The witnesses of an exercise
       node will depend on whether the exercise was consuming or not.
       If consuming, the witnesses are the union of the stakeholders and
       the actors.
       If not consuming, the witnesses are the union of the signatories and
       the actors. Note that the actors might not necessarily be observers
       and thus signatories. This is the case when the controllers of a
       choice are specified using "flexible controllers", using the
       ``choice ... controller`` syntax, and said controllers are not
       explicitly marked as observers.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required
       
      repeated string witness_parties = 10 [json_name = "witnessParties"];
      Parameters:
      value - The witnessParties to add.
      Returns:
      This builder for chaining.
    • addAllWitnessParties

      public EventOuterClass.ExercisedEvent.Builder addAllWitnessParties(Iterable<String> values)
       The parties that are notified of this event. The witnesses of an exercise
       node will depend on whether the exercise was consuming or not.
       If consuming, the witnesses are the union of the stakeholders and
       the actors.
       If not consuming, the witnesses are the union of the signatories and
       the actors. Note that the actors might not necessarily be observers
       and thus signatories. This is the case when the controllers of a
       choice are specified using "flexible controllers", using the
       ``choice ... controller`` syntax, and said controllers are not
       explicitly marked as observers.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required
       
      repeated string witness_parties = 10 [json_name = "witnessParties"];
      Parameters:
      values - The witnessParties to add.
      Returns:
      This builder for chaining.
    • clearWitnessParties

      public EventOuterClass.ExercisedEvent.Builder clearWitnessParties()
       The parties that are notified of this event. The witnesses of an exercise
       node will depend on whether the exercise was consuming or not.
       If consuming, the witnesses are the union of the stakeholders and
       the actors.
       If not consuming, the witnesses are the union of the signatories and
       the actors. Note that the actors might not necessarily be observers
       and thus signatories. This is the case when the controllers of a
       choice are specified using "flexible controllers", using the
       ``choice ... controller`` syntax, and said controllers are not
       explicitly marked as observers.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required
       
      repeated string witness_parties = 10 [json_name = "witnessParties"];
      Returns:
      This builder for chaining.
    • addWitnessPartiesBytes

      public EventOuterClass.ExercisedEvent.Builder addWitnessPartiesBytes(com.google.protobuf.ByteString value)
       The parties that are notified of this event. The witnesses of an exercise
       node will depend on whether the exercise was consuming or not.
       If consuming, the witnesses are the union of the stakeholders and
       the actors.
       If not consuming, the witnesses are the union of the signatories and
       the actors. Note that the actors might not necessarily be observers
       and thus signatories. This is the case when the controllers of a
       choice are specified using "flexible controllers", using the
       ``choice ... controller`` syntax, and said controllers are not
       explicitly marked as observers.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required
       
      repeated string witness_parties = 10 [json_name = "witnessParties"];
      Parameters:
      value - The bytes of the witnessParties to add.
      Returns:
      This builder for chaining.
    • getLastDescendantNodeId

      public int getLastDescendantNodeId()
       Specifies the upper boundary of the node ids of the events in the same transaction that appeared as a result of
       this ``ExercisedEvent``. This allows unambiguous identification of all the members of the subtree rooted at this
       node. A full subtree can be constructed when all descendant nodes are present in the stream. If nodes are heavily
       filtered, it is only possible to determine if a node is in a consequent subtree or not.
       Required
       
      int32 last_descendant_node_id = 11 [json_name = "lastDescendantNodeId"];
      Specified by:
      getLastDescendantNodeId in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      The lastDescendantNodeId.
    • setLastDescendantNodeId

      public EventOuterClass.ExercisedEvent.Builder setLastDescendantNodeId(int value)
       Specifies the upper boundary of the node ids of the events in the same transaction that appeared as a result of
       this ``ExercisedEvent``. This allows unambiguous identification of all the members of the subtree rooted at this
       node. A full subtree can be constructed when all descendant nodes are present in the stream. If nodes are heavily
       filtered, it is only possible to determine if a node is in a consequent subtree or not.
       Required
       
      int32 last_descendant_node_id = 11 [json_name = "lastDescendantNodeId"];
      Parameters:
      value - The lastDescendantNodeId to set.
      Returns:
      This builder for chaining.
    • clearLastDescendantNodeId

      public EventOuterClass.ExercisedEvent.Builder clearLastDescendantNodeId()
       Specifies the upper boundary of the node ids of the events in the same transaction that appeared as a result of
       this ``ExercisedEvent``. This allows unambiguous identification of all the members of the subtree rooted at this
       node. A full subtree can be constructed when all descendant nodes are present in the stream. If nodes are heavily
       filtered, it is only possible to determine if a node is in a consequent subtree or not.
       Required
       
      int32 last_descendant_node_id = 11 [json_name = "lastDescendantNodeId"];
      Returns:
      This builder for chaining.
    • hasExerciseResult

      public boolean hasExerciseResult()
       The result of exercising the choice.
       Required
       
      .com.daml.ledger.api.v2.Value exercise_result = 12 [json_name = "exerciseResult"];
      Specified by:
      hasExerciseResult in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      Whether the exerciseResult field is set.
    • getExerciseResult

      public ValueOuterClass.Value getExerciseResult()
       The result of exercising the choice.
       Required
       
      .com.daml.ledger.api.v2.Value exercise_result = 12 [json_name = "exerciseResult"];
      Specified by:
      getExerciseResult in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      The exerciseResult.
    • setExerciseResult

       The result of exercising the choice.
       Required
       
      .com.daml.ledger.api.v2.Value exercise_result = 12 [json_name = "exerciseResult"];
    • setExerciseResult

      public EventOuterClass.ExercisedEvent.Builder setExerciseResult(ValueOuterClass.Value.Builder builderForValue)
       The result of exercising the choice.
       Required
       
      .com.daml.ledger.api.v2.Value exercise_result = 12 [json_name = "exerciseResult"];
    • mergeExerciseResult

       The result of exercising the choice.
       Required
       
      .com.daml.ledger.api.v2.Value exercise_result = 12 [json_name = "exerciseResult"];
    • clearExerciseResult

      public EventOuterClass.ExercisedEvent.Builder clearExerciseResult()
       The result of exercising the choice.
       Required
       
      .com.daml.ledger.api.v2.Value exercise_result = 12 [json_name = "exerciseResult"];
    • getExerciseResultBuilder

      public ValueOuterClass.Value.Builder getExerciseResultBuilder()
       The result of exercising the choice.
       Required
       
      .com.daml.ledger.api.v2.Value exercise_result = 12 [json_name = "exerciseResult"];
    • getExerciseResultOrBuilder

      public ValueOuterClass.ValueOrBuilder getExerciseResultOrBuilder()
       The result of exercising the choice.
       Required
       
      .com.daml.ledger.api.v2.Value exercise_result = 12 [json_name = "exerciseResult"];
      Specified by:
      getExerciseResultOrBuilder in interface EventOuterClass.ExercisedEventOrBuilder
    • getPackageName

      public String getPackageName()
       The package name of the contract.
       Required
       
      string package_name = 13 [json_name = "packageName"];
      Specified by:
      getPackageName in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      The packageName.
    • getPackageNameBytes

      public com.google.protobuf.ByteString getPackageNameBytes()
       The package name of the contract.
       Required
       
      string package_name = 13 [json_name = "packageName"];
      Specified by:
      getPackageNameBytes in interface EventOuterClass.ExercisedEventOrBuilder
      Returns:
      The bytes for packageName.
    • setPackageName

      public EventOuterClass.ExercisedEvent.Builder setPackageName(String value)
       The package name of the contract.
       Required
       
      string package_name = 13 [json_name = "packageName"];
      Parameters:
      value - The packageName to set.
      Returns:
      This builder for chaining.
    • clearPackageName

      public EventOuterClass.ExercisedEvent.Builder clearPackageName()
       The package name of the contract.
       Required
       
      string package_name = 13 [json_name = "packageName"];
      Returns:
      This builder for chaining.
    • setPackageNameBytes

      public EventOuterClass.ExercisedEvent.Builder setPackageNameBytes(com.google.protobuf.ByteString value)
       The package name of the contract.
       Required
       
      string package_name = 13 [json_name = "packageName"];
      Parameters:
      value - The bytes for packageName to set.
      Returns:
      This builder for chaining.
    • getImplementedInterfacesList

      public List<ValueOuterClass.Identifier> getImplementedInterfacesList()
       If the event is consuming, the interfaces implemented by the target template that have been
       matched from the interface filter query.
       Populated only in case interface filters with include_interface_view set.
      
       The identifier uses the package-id reference format.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
      Specified by:
      getImplementedInterfacesList in interface EventOuterClass.ExercisedEventOrBuilder
    • getImplementedInterfacesCount

      public int getImplementedInterfacesCount()
       If the event is consuming, the interfaces implemented by the target template that have been
       matched from the interface filter query.
       Populated only in case interface filters with include_interface_view set.
      
       The identifier uses the package-id reference format.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
      Specified by:
      getImplementedInterfacesCount in interface EventOuterClass.ExercisedEventOrBuilder
    • getImplementedInterfaces

      public ValueOuterClass.Identifier getImplementedInterfaces(int index)
       If the event is consuming, the interfaces implemented by the target template that have been
       matched from the interface filter query.
       Populated only in case interface filters with include_interface_view set.
      
       The identifier uses the package-id reference format.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
      Specified by:
      getImplementedInterfaces in interface EventOuterClass.ExercisedEventOrBuilder
    • setImplementedInterfaces

      public EventOuterClass.ExercisedEvent.Builder setImplementedInterfaces(int index, ValueOuterClass.Identifier value)
       If the event is consuming, the interfaces implemented by the target template that have been
       matched from the interface filter query.
       Populated only in case interface filters with include_interface_view set.
      
       The identifier uses the package-id reference format.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
    • setImplementedInterfaces

      public EventOuterClass.ExercisedEvent.Builder setImplementedInterfaces(int index, ValueOuterClass.Identifier.Builder builderForValue)
       If the event is consuming, the interfaces implemented by the target template that have been
       matched from the interface filter query.
       Populated only in case interface filters with include_interface_view set.
      
       The identifier uses the package-id reference format.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
    • addImplementedInterfaces

      public EventOuterClass.ExercisedEvent.Builder addImplementedInterfaces(ValueOuterClass.Identifier value)
       If the event is consuming, the interfaces implemented by the target template that have been
       matched from the interface filter query.
       Populated only in case interface filters with include_interface_view set.
      
       The identifier uses the package-id reference format.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
    • addImplementedInterfaces

      public EventOuterClass.ExercisedEvent.Builder addImplementedInterfaces(int index, ValueOuterClass.Identifier value)
       If the event is consuming, the interfaces implemented by the target template that have been
       matched from the interface filter query.
       Populated only in case interface filters with include_interface_view set.
      
       The identifier uses the package-id reference format.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
    • addImplementedInterfaces

      public EventOuterClass.ExercisedEvent.Builder addImplementedInterfaces(ValueOuterClass.Identifier.Builder builderForValue)
       If the event is consuming, the interfaces implemented by the target template that have been
       matched from the interface filter query.
       Populated only in case interface filters with include_interface_view set.
      
       The identifier uses the package-id reference format.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
    • addImplementedInterfaces

      public EventOuterClass.ExercisedEvent.Builder addImplementedInterfaces(int index, ValueOuterClass.Identifier.Builder builderForValue)
       If the event is consuming, the interfaces implemented by the target template that have been
       matched from the interface filter query.
       Populated only in case interface filters with include_interface_view set.
      
       The identifier uses the package-id reference format.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
    • addAllImplementedInterfaces

      public EventOuterClass.ExercisedEvent.Builder addAllImplementedInterfaces(Iterable<? extends ValueOuterClass.Identifier> values)
       If the event is consuming, the interfaces implemented by the target template that have been
       matched from the interface filter query.
       Populated only in case interface filters with include_interface_view set.
      
       The identifier uses the package-id reference format.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
    • clearImplementedInterfaces

      public EventOuterClass.ExercisedEvent.Builder clearImplementedInterfaces()
       If the event is consuming, the interfaces implemented by the target template that have been
       matched from the interface filter query.
       Populated only in case interface filters with include_interface_view set.
      
       The identifier uses the package-id reference format.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
    • removeImplementedInterfaces

      public EventOuterClass.ExercisedEvent.Builder removeImplementedInterfaces(int index)
       If the event is consuming, the interfaces implemented by the target template that have been
       matched from the interface filter query.
       Populated only in case interface filters with include_interface_view set.
      
       The identifier uses the package-id reference format.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
    • getImplementedInterfacesBuilder

      public ValueOuterClass.Identifier.Builder getImplementedInterfacesBuilder(int index)
       If the event is consuming, the interfaces implemented by the target template that have been
       matched from the interface filter query.
       Populated only in case interface filters with include_interface_view set.
      
       The identifier uses the package-id reference format.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
    • getImplementedInterfacesOrBuilder

      public ValueOuterClass.IdentifierOrBuilder getImplementedInterfacesOrBuilder(int index)
       If the event is consuming, the interfaces implemented by the target template that have been
       matched from the interface filter query.
       Populated only in case interface filters with include_interface_view set.
      
       The identifier uses the package-id reference format.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
      Specified by:
      getImplementedInterfacesOrBuilder in interface EventOuterClass.ExercisedEventOrBuilder
    • getImplementedInterfacesOrBuilderList

      public List<? extends ValueOuterClass.IdentifierOrBuilder> getImplementedInterfacesOrBuilderList()
       If the event is consuming, the interfaces implemented by the target template that have been
       matched from the interface filter query.
       Populated only in case interface filters with include_interface_view set.
      
       The identifier uses the package-id reference format.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
      Specified by:
      getImplementedInterfacesOrBuilderList in interface EventOuterClass.ExercisedEventOrBuilder
    • addImplementedInterfacesBuilder

      public ValueOuterClass.Identifier.Builder addImplementedInterfacesBuilder()
       If the event is consuming, the interfaces implemented by the target template that have been
       matched from the interface filter query.
       Populated only in case interface filters with include_interface_view set.
      
       The identifier uses the package-id reference format.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
    • addImplementedInterfacesBuilder

      public ValueOuterClass.Identifier.Builder addImplementedInterfacesBuilder(int index)
       If the event is consuming, the interfaces implemented by the target template that have been
       matched from the interface filter query.
       Populated only in case interface filters with include_interface_view set.
      
       The identifier uses the package-id reference format.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
    • getImplementedInterfacesBuilderList

      public List<ValueOuterClass.Identifier.Builder> getImplementedInterfacesBuilderList()
       If the event is consuming, the interfaces implemented by the target template that have been
       matched from the interface filter query.
       Populated only in case interface filters with include_interface_view set.
      
       The identifier uses the package-id reference format.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
    • setUnknownFields

      public final EventOuterClass.ExercisedEvent.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<EventOuterClass.ExercisedEvent.Builder>
    • mergeUnknownFields

      public final EventOuterClass.ExercisedEvent.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<EventOuterClass.ExercisedEvent.Builder>