Class StateServiceOuterClass.GetActiveContractsResponse.Builder

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

public static final class StateServiceOuterClass.GetActiveContractsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StateServiceOuterClass.GetActiveContractsResponse.Builder> implements StateServiceOuterClass.GetActiveContractsResponseOrBuilder
Protobuf type com.daml.ledger.api.v2.GetActiveContractsResponse
  • 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<StateServiceOuterClass.GetActiveContractsResponse.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<StateServiceOuterClass.GetActiveContractsResponse.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<StateServiceOuterClass.GetActiveContractsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<StateServiceOuterClass.GetActiveContractsResponse.Builder>
    • setField

      public StateServiceOuterClass.GetActiveContractsResponse.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<StateServiceOuterClass.GetActiveContractsResponse.Builder>
    • clearField

      public StateServiceOuterClass.GetActiveContractsResponse.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<StateServiceOuterClass.GetActiveContractsResponse.Builder>
    • clearOneof

      public StateServiceOuterClass.GetActiveContractsResponse.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<StateServiceOuterClass.GetActiveContractsResponse.Builder>
    • setRepeatedField

      public StateServiceOuterClass.GetActiveContractsResponse.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<StateServiceOuterClass.GetActiveContractsResponse.Builder>
    • addRepeatedField

      public StateServiceOuterClass.GetActiveContractsResponse.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<StateServiceOuterClass.GetActiveContractsResponse.Builder>
    • mergeFrom

      public StateServiceOuterClass.GetActiveContractsResponse.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<StateServiceOuterClass.GetActiveContractsResponse.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<StateServiceOuterClass.GetActiveContractsResponse.Builder>
    • mergeFrom

      public StateServiceOuterClass.GetActiveContractsResponse.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<StateServiceOuterClass.GetActiveContractsResponse.Builder>
      Throws:
      IOException
    • getContractEntryCase

      Specified by:
      getContractEntryCase in interface StateServiceOuterClass.GetActiveContractsResponseOrBuilder
    • clearContractEntry

    • getWorkflowId

      public String getWorkflowId()
       The workflow ID used in command submission which corresponds to the contract_entry. Only set if
       the ``workflow_id`` for the command was set.
       Must be a valid LedgerString (as described in ``value.proto``).
       Optional
       
      string workflow_id = 1 [json_name = "workflowId"];
      Specified by:
      getWorkflowId in interface StateServiceOuterClass.GetActiveContractsResponseOrBuilder
      Returns:
      The workflowId.
    • getWorkflowIdBytes

      public com.google.protobuf.ByteString getWorkflowIdBytes()
       The workflow ID used in command submission which corresponds to the contract_entry. Only set if
       the ``workflow_id`` for the command was set.
       Must be a valid LedgerString (as described in ``value.proto``).
       Optional
       
      string workflow_id = 1 [json_name = "workflowId"];
      Specified by:
      getWorkflowIdBytes in interface StateServiceOuterClass.GetActiveContractsResponseOrBuilder
      Returns:
      The bytes for workflowId.
    • setWorkflowId

       The workflow ID used in command submission which corresponds to the contract_entry. Only set if
       the ``workflow_id`` for the command was set.
       Must be a valid LedgerString (as described in ``value.proto``).
       Optional
       
      string workflow_id = 1 [json_name = "workflowId"];
      Parameters:
      value - The workflowId to set.
      Returns:
      This builder for chaining.
    • clearWorkflowId

       The workflow ID used in command submission which corresponds to the contract_entry. Only set if
       the ``workflow_id`` for the command was set.
       Must be a valid LedgerString (as described in ``value.proto``).
       Optional
       
      string workflow_id = 1 [json_name = "workflowId"];
      Returns:
      This builder for chaining.
    • setWorkflowIdBytes

      public StateServiceOuterClass.GetActiveContractsResponse.Builder setWorkflowIdBytes(com.google.protobuf.ByteString value)
       The workflow ID used in command submission which corresponds to the contract_entry. Only set if
       the ``workflow_id`` for the command was set.
       Must be a valid LedgerString (as described in ``value.proto``).
       Optional
       
      string workflow_id = 1 [json_name = "workflowId"];
      Parameters:
      value - The bytes for workflowId to set.
      Returns:
      This builder for chaining.
    • hasActiveContract

      public boolean hasActiveContract()
       The contract is active on the assigned synchronizer, meaning: there was an activation event on the given synchronizer (
       created, assigned), which is not followed by a deactivation event (archived, unassigned) on the same
       synchronizer, until the active_at_offset.
       Since activeness is defined as a per synchronizer concept, it is possible, that a contract is active on one
       synchronizer, but already archived on another.
       There will be one such message for each synchronizer the contract is active on.
       
      .com.daml.ledger.api.v2.ActiveContract active_contract = 2 [json_name = "activeContract"];
      Specified by:
      hasActiveContract in interface StateServiceOuterClass.GetActiveContractsResponseOrBuilder
      Returns:
      Whether the activeContract field is set.
    • getActiveContract

      public StateServiceOuterClass.ActiveContract getActiveContract()
       The contract is active on the assigned synchronizer, meaning: there was an activation event on the given synchronizer (
       created, assigned), which is not followed by a deactivation event (archived, unassigned) on the same
       synchronizer, until the active_at_offset.
       Since activeness is defined as a per synchronizer concept, it is possible, that a contract is active on one
       synchronizer, but already archived on another.
       There will be one such message for each synchronizer the contract is active on.
       
      .com.daml.ledger.api.v2.ActiveContract active_contract = 2 [json_name = "activeContract"];
      Specified by:
      getActiveContract in interface StateServiceOuterClass.GetActiveContractsResponseOrBuilder
      Returns:
      The activeContract.
    • setActiveContract

       The contract is active on the assigned synchronizer, meaning: there was an activation event on the given synchronizer (
       created, assigned), which is not followed by a deactivation event (archived, unassigned) on the same
       synchronizer, until the active_at_offset.
       Since activeness is defined as a per synchronizer concept, it is possible, that a contract is active on one
       synchronizer, but already archived on another.
       There will be one such message for each synchronizer the contract is active on.
       
      .com.daml.ledger.api.v2.ActiveContract active_contract = 2 [json_name = "activeContract"];
    • setActiveContract

       The contract is active on the assigned synchronizer, meaning: there was an activation event on the given synchronizer (
       created, assigned), which is not followed by a deactivation event (archived, unassigned) on the same
       synchronizer, until the active_at_offset.
       Since activeness is defined as a per synchronizer concept, it is possible, that a contract is active on one
       synchronizer, but already archived on another.
       There will be one such message for each synchronizer the contract is active on.
       
      .com.daml.ledger.api.v2.ActiveContract active_contract = 2 [json_name = "activeContract"];
    • mergeActiveContract

       The contract is active on the assigned synchronizer, meaning: there was an activation event on the given synchronizer (
       created, assigned), which is not followed by a deactivation event (archived, unassigned) on the same
       synchronizer, until the active_at_offset.
       Since activeness is defined as a per synchronizer concept, it is possible, that a contract is active on one
       synchronizer, but already archived on another.
       There will be one such message for each synchronizer the contract is active on.
       
      .com.daml.ledger.api.v2.ActiveContract active_contract = 2 [json_name = "activeContract"];
    • clearActiveContract

       The contract is active on the assigned synchronizer, meaning: there was an activation event on the given synchronizer (
       created, assigned), which is not followed by a deactivation event (archived, unassigned) on the same
       synchronizer, until the active_at_offset.
       Since activeness is defined as a per synchronizer concept, it is possible, that a contract is active on one
       synchronizer, but already archived on another.
       There will be one such message for each synchronizer the contract is active on.
       
      .com.daml.ledger.api.v2.ActiveContract active_contract = 2 [json_name = "activeContract"];
    • getActiveContractBuilder

      public StateServiceOuterClass.ActiveContract.Builder getActiveContractBuilder()
       The contract is active on the assigned synchronizer, meaning: there was an activation event on the given synchronizer (
       created, assigned), which is not followed by a deactivation event (archived, unassigned) on the same
       synchronizer, until the active_at_offset.
       Since activeness is defined as a per synchronizer concept, it is possible, that a contract is active on one
       synchronizer, but already archived on another.
       There will be one such message for each synchronizer the contract is active on.
       
      .com.daml.ledger.api.v2.ActiveContract active_contract = 2 [json_name = "activeContract"];
    • getActiveContractOrBuilder

      public StateServiceOuterClass.ActiveContractOrBuilder getActiveContractOrBuilder()
       The contract is active on the assigned synchronizer, meaning: there was an activation event on the given synchronizer (
       created, assigned), which is not followed by a deactivation event (archived, unassigned) on the same
       synchronizer, until the active_at_offset.
       Since activeness is defined as a per synchronizer concept, it is possible, that a contract is active on one
       synchronizer, but already archived on another.
       There will be one such message for each synchronizer the contract is active on.
       
      .com.daml.ledger.api.v2.ActiveContract active_contract = 2 [json_name = "activeContract"];
      Specified by:
      getActiveContractOrBuilder in interface StateServiceOuterClass.GetActiveContractsResponseOrBuilder
    • hasIncompleteUnassigned

      public boolean hasIncompleteUnassigned()
       Included iff the unassigned event was before or at the active_at_offset, but there was no corresponding
       assigned event before or at the active_at_offset.
       
      .com.daml.ledger.api.v2.IncompleteUnassigned incomplete_unassigned = 3 [json_name = "incompleteUnassigned"];
      Specified by:
      hasIncompleteUnassigned in interface StateServiceOuterClass.GetActiveContractsResponseOrBuilder
      Returns:
      Whether the incompleteUnassigned field is set.
    • getIncompleteUnassigned

      public StateServiceOuterClass.IncompleteUnassigned getIncompleteUnassigned()
       Included iff the unassigned event was before or at the active_at_offset, but there was no corresponding
       assigned event before or at the active_at_offset.
       
      .com.daml.ledger.api.v2.IncompleteUnassigned incomplete_unassigned = 3 [json_name = "incompleteUnassigned"];
      Specified by:
      getIncompleteUnassigned in interface StateServiceOuterClass.GetActiveContractsResponseOrBuilder
      Returns:
      The incompleteUnassigned.
    • setIncompleteUnassigned

       Included iff the unassigned event was before or at the active_at_offset, but there was no corresponding
       assigned event before or at the active_at_offset.
       
      .com.daml.ledger.api.v2.IncompleteUnassigned incomplete_unassigned = 3 [json_name = "incompleteUnassigned"];
    • setIncompleteUnassigned

       Included iff the unassigned event was before or at the active_at_offset, but there was no corresponding
       assigned event before or at the active_at_offset.
       
      .com.daml.ledger.api.v2.IncompleteUnassigned incomplete_unassigned = 3 [json_name = "incompleteUnassigned"];
    • mergeIncompleteUnassigned

       Included iff the unassigned event was before or at the active_at_offset, but there was no corresponding
       assigned event before or at the active_at_offset.
       
      .com.daml.ledger.api.v2.IncompleteUnassigned incomplete_unassigned = 3 [json_name = "incompleteUnassigned"];
    • clearIncompleteUnassigned

       Included iff the unassigned event was before or at the active_at_offset, but there was no corresponding
       assigned event before or at the active_at_offset.
       
      .com.daml.ledger.api.v2.IncompleteUnassigned incomplete_unassigned = 3 [json_name = "incompleteUnassigned"];
    • getIncompleteUnassignedBuilder

      public StateServiceOuterClass.IncompleteUnassigned.Builder getIncompleteUnassignedBuilder()
       Included iff the unassigned event was before or at the active_at_offset, but there was no corresponding
       assigned event before or at the active_at_offset.
       
      .com.daml.ledger.api.v2.IncompleteUnassigned incomplete_unassigned = 3 [json_name = "incompleteUnassigned"];
    • getIncompleteUnassignedOrBuilder

      public StateServiceOuterClass.IncompleteUnassignedOrBuilder getIncompleteUnassignedOrBuilder()
       Included iff the unassigned event was before or at the active_at_offset, but there was no corresponding
       assigned event before or at the active_at_offset.
       
      .com.daml.ledger.api.v2.IncompleteUnassigned incomplete_unassigned = 3 [json_name = "incompleteUnassigned"];
      Specified by:
      getIncompleteUnassignedOrBuilder in interface StateServiceOuterClass.GetActiveContractsResponseOrBuilder
    • hasIncompleteAssigned

      public boolean hasIncompleteAssigned()
       Important: this message is not indicating that the contract is active on the target synchronizer!
       Included iff the assigned event was before or at the active_at_offset, but there was no corresponding
       unassigned event before or at the active_at_offset.
       
      .com.daml.ledger.api.v2.IncompleteAssigned incomplete_assigned = 4 [json_name = "incompleteAssigned"];
      Specified by:
      hasIncompleteAssigned in interface StateServiceOuterClass.GetActiveContractsResponseOrBuilder
      Returns:
      Whether the incompleteAssigned field is set.
    • getIncompleteAssigned

      public StateServiceOuterClass.IncompleteAssigned getIncompleteAssigned()
       Important: this message is not indicating that the contract is active on the target synchronizer!
       Included iff the assigned event was before or at the active_at_offset, but there was no corresponding
       unassigned event before or at the active_at_offset.
       
      .com.daml.ledger.api.v2.IncompleteAssigned incomplete_assigned = 4 [json_name = "incompleteAssigned"];
      Specified by:
      getIncompleteAssigned in interface StateServiceOuterClass.GetActiveContractsResponseOrBuilder
      Returns:
      The incompleteAssigned.
    • setIncompleteAssigned

       Important: this message is not indicating that the contract is active on the target synchronizer!
       Included iff the assigned event was before or at the active_at_offset, but there was no corresponding
       unassigned event before or at the active_at_offset.
       
      .com.daml.ledger.api.v2.IncompleteAssigned incomplete_assigned = 4 [json_name = "incompleteAssigned"];
    • setIncompleteAssigned

       Important: this message is not indicating that the contract is active on the target synchronizer!
       Included iff the assigned event was before or at the active_at_offset, but there was no corresponding
       unassigned event before or at the active_at_offset.
       
      .com.daml.ledger.api.v2.IncompleteAssigned incomplete_assigned = 4 [json_name = "incompleteAssigned"];
    • mergeIncompleteAssigned

       Important: this message is not indicating that the contract is active on the target synchronizer!
       Included iff the assigned event was before or at the active_at_offset, but there was no corresponding
       unassigned event before or at the active_at_offset.
       
      .com.daml.ledger.api.v2.IncompleteAssigned incomplete_assigned = 4 [json_name = "incompleteAssigned"];
    • clearIncompleteAssigned

       Important: this message is not indicating that the contract is active on the target synchronizer!
       Included iff the assigned event was before or at the active_at_offset, but there was no corresponding
       unassigned event before or at the active_at_offset.
       
      .com.daml.ledger.api.v2.IncompleteAssigned incomplete_assigned = 4 [json_name = "incompleteAssigned"];
    • getIncompleteAssignedBuilder

      public StateServiceOuterClass.IncompleteAssigned.Builder getIncompleteAssignedBuilder()
       Important: this message is not indicating that the contract is active on the target synchronizer!
       Included iff the assigned event was before or at the active_at_offset, but there was no corresponding
       unassigned event before or at the active_at_offset.
       
      .com.daml.ledger.api.v2.IncompleteAssigned incomplete_assigned = 4 [json_name = "incompleteAssigned"];
    • getIncompleteAssignedOrBuilder

      public StateServiceOuterClass.IncompleteAssignedOrBuilder getIncompleteAssignedOrBuilder()
       Important: this message is not indicating that the contract is active on the target synchronizer!
       Included iff the assigned event was before or at the active_at_offset, but there was no corresponding
       unassigned event before or at the active_at_offset.
       
      .com.daml.ledger.api.v2.IncompleteAssigned incomplete_assigned = 4 [json_name = "incompleteAssigned"];
      Specified by:
      getIncompleteAssignedOrBuilder in interface StateServiceOuterClass.GetActiveContractsResponseOrBuilder
    • setUnknownFields

      public final StateServiceOuterClass.GetActiveContractsResponse.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<StateServiceOuterClass.GetActiveContractsResponse.Builder>
    • mergeUnknownFields

      public final StateServiceOuterClass.GetActiveContractsResponse.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<StateServiceOuterClass.GetActiveContractsResponse.Builder>