Class UpdateServiceOuterClass.GetTransactionByIdRequest.Builder

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

public static final class UpdateServiceOuterClass.GetTransactionByIdRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder> implements UpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder
 Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
 
Protobuf type com.daml.ledger.api.v2.GetTransactionByIdRequest
  • 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<UpdateServiceOuterClass.GetTransactionByIdRequest.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<UpdateServiceOuterClass.GetTransactionByIdRequest.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<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder>
    • getDefaultInstanceForType

      public UpdateServiceOuterClass.GetTransactionByIdRequest 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<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder>
    • setField

      public UpdateServiceOuterClass.GetTransactionByIdRequest.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<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder>
    • clearField

      public UpdateServiceOuterClass.GetTransactionByIdRequest.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<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder>
    • clearOneof

      public UpdateServiceOuterClass.GetTransactionByIdRequest.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<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder>
    • setRepeatedField

      public UpdateServiceOuterClass.GetTransactionByIdRequest.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<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder>
    • addRepeatedField

      public UpdateServiceOuterClass.GetTransactionByIdRequest.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<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder>
    • mergeFrom

      public UpdateServiceOuterClass.GetTransactionByIdRequest.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<UpdateServiceOuterClass.GetTransactionByIdRequest.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<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder>
    • mergeFrom

      public UpdateServiceOuterClass.GetTransactionByIdRequest.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<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder>
      Throws:
      IOException
    • getUpdateId

      public String getUpdateId()
       The ID of a particular transaction.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string update_id = 1 [json_name = "updateId"];
      Specified by:
      getUpdateId in interface UpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder
      Returns:
      The updateId.
    • getUpdateIdBytes

      public com.google.protobuf.ByteString getUpdateIdBytes()
       The ID of a particular transaction.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string update_id = 1 [json_name = "updateId"];
      Specified by:
      getUpdateIdBytes in interface UpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder
      Returns:
      The bytes for updateId.
    • setUpdateId

       The ID of a particular transaction.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string update_id = 1 [json_name = "updateId"];
      Parameters:
      value - The updateId to set.
      Returns:
      This builder for chaining.
    • clearUpdateId

       The ID of a particular transaction.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string update_id = 1 [json_name = "updateId"];
      Returns:
      This builder for chaining.
    • setUpdateIdBytes

      public UpdateServiceOuterClass.GetTransactionByIdRequest.Builder setUpdateIdBytes(com.google.protobuf.ByteString value)
       The ID of a particular transaction.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string update_id = 1 [json_name = "updateId"];
      Parameters:
      value - The bytes for updateId to set.
      Returns:
      This builder for chaining.
    • getRequestingPartiesList

      public com.google.protobuf.ProtocolStringList getRequestingPartiesList()
       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       The parties whose events the client expects to see.
       Events that are not visible for the parties in this collection will not be present in the response.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Must be set for GetTransactionTreeById request.
       Optional for backwards compatibility for GetTransactionById request: if defined transaction_format must be
       unset (falling back to defaults).
       
      repeated string requesting_parties = 2 [json_name = "requestingParties"];
      Specified by:
      getRequestingPartiesList in interface UpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder
      Returns:
      A list containing the requestingParties.
    • getRequestingPartiesCount

      public int getRequestingPartiesCount()
       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       The parties whose events the client expects to see.
       Events that are not visible for the parties in this collection will not be present in the response.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Must be set for GetTransactionTreeById request.
       Optional for backwards compatibility for GetTransactionById request: if defined transaction_format must be
       unset (falling back to defaults).
       
      repeated string requesting_parties = 2 [json_name = "requestingParties"];
      Specified by:
      getRequestingPartiesCount in interface UpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder
      Returns:
      The count of requestingParties.
    • getRequestingParties

      public String getRequestingParties(int index)
       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       The parties whose events the client expects to see.
       Events that are not visible for the parties in this collection will not be present in the response.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Must be set for GetTransactionTreeById request.
       Optional for backwards compatibility for GetTransactionById request: if defined transaction_format must be
       unset (falling back to defaults).
       
      repeated string requesting_parties = 2 [json_name = "requestingParties"];
      Specified by:
      getRequestingParties in interface UpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The requestingParties at the given index.
    • getRequestingPartiesBytes

      public com.google.protobuf.ByteString getRequestingPartiesBytes(int index)
       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       The parties whose events the client expects to see.
       Events that are not visible for the parties in this collection will not be present in the response.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Must be set for GetTransactionTreeById request.
       Optional for backwards compatibility for GetTransactionById request: if defined transaction_format must be
       unset (falling back to defaults).
       
      repeated string requesting_parties = 2 [json_name = "requestingParties"];
      Specified by:
      getRequestingPartiesBytes in interface UpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the requestingParties at the given index.
    • setRequestingParties

      public UpdateServiceOuterClass.GetTransactionByIdRequest.Builder setRequestingParties(int index, String value)
       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       The parties whose events the client expects to see.
       Events that are not visible for the parties in this collection will not be present in the response.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Must be set for GetTransactionTreeById request.
       Optional for backwards compatibility for GetTransactionById request: if defined transaction_format must be
       unset (falling back to defaults).
       
      repeated string requesting_parties = 2 [json_name = "requestingParties"];
      Parameters:
      index - The index to set the value at.
      value - The requestingParties to set.
      Returns:
      This builder for chaining.
    • addRequestingParties

       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       The parties whose events the client expects to see.
       Events that are not visible for the parties in this collection will not be present in the response.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Must be set for GetTransactionTreeById request.
       Optional for backwards compatibility for GetTransactionById request: if defined transaction_format must be
       unset (falling back to defaults).
       
      repeated string requesting_parties = 2 [json_name = "requestingParties"];
      Parameters:
      value - The requestingParties to add.
      Returns:
      This builder for chaining.
    • addAllRequestingParties

       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       The parties whose events the client expects to see.
       Events that are not visible for the parties in this collection will not be present in the response.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Must be set for GetTransactionTreeById request.
       Optional for backwards compatibility for GetTransactionById request: if defined transaction_format must be
       unset (falling back to defaults).
       
      repeated string requesting_parties = 2 [json_name = "requestingParties"];
      Parameters:
      values - The requestingParties to add.
      Returns:
      This builder for chaining.
    • clearRequestingParties

       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       The parties whose events the client expects to see.
       Events that are not visible for the parties in this collection will not be present in the response.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Must be set for GetTransactionTreeById request.
       Optional for backwards compatibility for GetTransactionById request: if defined transaction_format must be
       unset (falling back to defaults).
       
      repeated string requesting_parties = 2 [json_name = "requestingParties"];
      Returns:
      This builder for chaining.
    • addRequestingPartiesBytes

      public UpdateServiceOuterClass.GetTransactionByIdRequest.Builder addRequestingPartiesBytes(com.google.protobuf.ByteString value)
       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       The parties whose events the client expects to see.
       Events that are not visible for the parties in this collection will not be present in the response.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Must be set for GetTransactionTreeById request.
       Optional for backwards compatibility for GetTransactionById request: if defined transaction_format must be
       unset (falling back to defaults).
       
      repeated string requesting_parties = 2 [json_name = "requestingParties"];
      Parameters:
      value - The bytes of the requestingParties to add.
      Returns:
      This builder for chaining.
    • hasTransactionFormat

      public boolean hasTransactionFormat()
       Must be unset for GetTransactionTreeById request.
       Optional for GetTransactionById request for backwards compatibility: defaults to a transaction_format, where:
      
       - event_format.filters_by_party will have template-wildcard filters for all the requesting_parties
       - event_format.filters_for_any_party is unset
       - event_format.verbose = true
       - transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
       
      .com.daml.ledger.api.v2.TransactionFormat transaction_format = 3 [json_name = "transactionFormat"];
      Specified by:
      hasTransactionFormat in interface UpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder
      Returns:
      Whether the transactionFormat field is set.
    • getTransactionFormat

      public TransactionFilterOuterClass.TransactionFormat getTransactionFormat()
       Must be unset for GetTransactionTreeById request.
       Optional for GetTransactionById request for backwards compatibility: defaults to a transaction_format, where:
      
       - event_format.filters_by_party will have template-wildcard filters for all the requesting_parties
       - event_format.filters_for_any_party is unset
       - event_format.verbose = true
       - transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
       
      .com.daml.ledger.api.v2.TransactionFormat transaction_format = 3 [json_name = "transactionFormat"];
      Specified by:
      getTransactionFormat in interface UpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder
      Returns:
      The transactionFormat.
    • setTransactionFormat

       Must be unset for GetTransactionTreeById request.
       Optional for GetTransactionById request for backwards compatibility: defaults to a transaction_format, where:
      
       - event_format.filters_by_party will have template-wildcard filters for all the requesting_parties
       - event_format.filters_for_any_party is unset
       - event_format.verbose = true
       - transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
       
      .com.daml.ledger.api.v2.TransactionFormat transaction_format = 3 [json_name = "transactionFormat"];
    • setTransactionFormat

       Must be unset for GetTransactionTreeById request.
       Optional for GetTransactionById request for backwards compatibility: defaults to a transaction_format, where:
      
       - event_format.filters_by_party will have template-wildcard filters for all the requesting_parties
       - event_format.filters_for_any_party is unset
       - event_format.verbose = true
       - transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
       
      .com.daml.ledger.api.v2.TransactionFormat transaction_format = 3 [json_name = "transactionFormat"];
    • mergeTransactionFormat

       Must be unset for GetTransactionTreeById request.
       Optional for GetTransactionById request for backwards compatibility: defaults to a transaction_format, where:
      
       - event_format.filters_by_party will have template-wildcard filters for all the requesting_parties
       - event_format.filters_for_any_party is unset
       - event_format.verbose = true
       - transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
       
      .com.daml.ledger.api.v2.TransactionFormat transaction_format = 3 [json_name = "transactionFormat"];
    • clearTransactionFormat

       Must be unset for GetTransactionTreeById request.
       Optional for GetTransactionById request for backwards compatibility: defaults to a transaction_format, where:
      
       - event_format.filters_by_party will have template-wildcard filters for all the requesting_parties
       - event_format.filters_for_any_party is unset
       - event_format.verbose = true
       - transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
       
      .com.daml.ledger.api.v2.TransactionFormat transaction_format = 3 [json_name = "transactionFormat"];
    • getTransactionFormatBuilder

      public TransactionFilterOuterClass.TransactionFormat.Builder getTransactionFormatBuilder()
       Must be unset for GetTransactionTreeById request.
       Optional for GetTransactionById request for backwards compatibility: defaults to a transaction_format, where:
      
       - event_format.filters_by_party will have template-wildcard filters for all the requesting_parties
       - event_format.filters_for_any_party is unset
       - event_format.verbose = true
       - transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
       
      .com.daml.ledger.api.v2.TransactionFormat transaction_format = 3 [json_name = "transactionFormat"];
    • getTransactionFormatOrBuilder

      public TransactionFilterOuterClass.TransactionFormatOrBuilder getTransactionFormatOrBuilder()
       Must be unset for GetTransactionTreeById request.
       Optional for GetTransactionById request for backwards compatibility: defaults to a transaction_format, where:
      
       - event_format.filters_by_party will have template-wildcard filters for all the requesting_parties
       - event_format.filters_for_any_party is unset
       - event_format.verbose = true
       - transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
       
      .com.daml.ledger.api.v2.TransactionFormat transaction_format = 3 [json_name = "transactionFormat"];
      Specified by:
      getTransactionFormatOrBuilder in interface UpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder
    • setUnknownFields

      public final UpdateServiceOuterClass.GetTransactionByIdRequest.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<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder>
    • mergeUnknownFields

      public final UpdateServiceOuterClass.GetTransactionByIdRequest.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<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder>