Class UpdateServiceOuterClass.GetUpdatesRequest.Builder

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

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

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

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

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

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

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

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

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

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

      public long getBeginExclusive()
       Beginning of the requested ledger section (non-negative integer).
       The response will only contain transactions whose offset is strictly greater than this.
       If zero, the stream will start from the beginning of the ledger.
       If positive, the streaming will start after this absolute offset.
       If the ledger has been pruned, this parameter must be specified and be greater than the pruning offset.
       
      int64 begin_exclusive = 1 [json_name = "beginExclusive"];
      Specified by:
      getBeginExclusive in interface UpdateServiceOuterClass.GetUpdatesRequestOrBuilder
      Returns:
      The beginExclusive.
    • setBeginExclusive

      public UpdateServiceOuterClass.GetUpdatesRequest.Builder setBeginExclusive(long value)
       Beginning of the requested ledger section (non-negative integer).
       The response will only contain transactions whose offset is strictly greater than this.
       If zero, the stream will start from the beginning of the ledger.
       If positive, the streaming will start after this absolute offset.
       If the ledger has been pruned, this parameter must be specified and be greater than the pruning offset.
       
      int64 begin_exclusive = 1 [json_name = "beginExclusive"];
      Parameters:
      value - The beginExclusive to set.
      Returns:
      This builder for chaining.
    • clearBeginExclusive

       Beginning of the requested ledger section (non-negative integer).
       The response will only contain transactions whose offset is strictly greater than this.
       If zero, the stream will start from the beginning of the ledger.
       If positive, the streaming will start after this absolute offset.
       If the ledger has been pruned, this parameter must be specified and be greater than the pruning offset.
       
      int64 begin_exclusive = 1 [json_name = "beginExclusive"];
      Returns:
      This builder for chaining.
    • hasEndInclusive

      public boolean hasEndInclusive()
       End of the requested ledger section.
       The response will only contain transactions whose offset is less than or equal to this.
       Optional, if empty, the stream will not terminate.
       If specified, the stream will terminate after this absolute offset (positive integer) is reached.
       
      optional int64 end_inclusive = 2 [json_name = "endInclusive"];
      Specified by:
      hasEndInclusive in interface UpdateServiceOuterClass.GetUpdatesRequestOrBuilder
      Returns:
      Whether the endInclusive field is set.
    • getEndInclusive

      public long getEndInclusive()
       End of the requested ledger section.
       The response will only contain transactions whose offset is less than or equal to this.
       Optional, if empty, the stream will not terminate.
       If specified, the stream will terminate after this absolute offset (positive integer) is reached.
       
      optional int64 end_inclusive = 2 [json_name = "endInclusive"];
      Specified by:
      getEndInclusive in interface UpdateServiceOuterClass.GetUpdatesRequestOrBuilder
      Returns:
      The endInclusive.
    • setEndInclusive

      public UpdateServiceOuterClass.GetUpdatesRequest.Builder setEndInclusive(long value)
       End of the requested ledger section.
       The response will only contain transactions whose offset is less than or equal to this.
       Optional, if empty, the stream will not terminate.
       If specified, the stream will terminate after this absolute offset (positive integer) is reached.
       
      optional int64 end_inclusive = 2 [json_name = "endInclusive"];
      Parameters:
      value - The endInclusive to set.
      Returns:
      This builder for chaining.
    • clearEndInclusive

       End of the requested ledger section.
       The response will only contain transactions whose offset is less than or equal to this.
       Optional, if empty, the stream will not terminate.
       If specified, the stream will terminate after this absolute offset (positive integer) is reached.
       
      optional int64 end_inclusive = 2 [json_name = "endInclusive"];
      Returns:
      This builder for chaining.
    • hasFilter

      public boolean hasFilter()
       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       Requesting parties with template filters.
       Template filters must be empty for GetUpdateTrees requests.
       Optional for backwards compatibility, if defined update_format must be unset
       
      .com.daml.ledger.api.v2.TransactionFilter filter = 3 [json_name = "filter"];
      Specified by:
      hasFilter in interface UpdateServiceOuterClass.GetUpdatesRequestOrBuilder
      Returns:
      Whether the filter field is set.
    • getFilter

       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       Requesting parties with template filters.
       Template filters must be empty for GetUpdateTrees requests.
       Optional for backwards compatibility, if defined update_format must be unset
       
      .com.daml.ledger.api.v2.TransactionFilter filter = 3 [json_name = "filter"];
      Specified by:
      getFilter in interface UpdateServiceOuterClass.GetUpdatesRequestOrBuilder
      Returns:
      The filter.
    • setFilter

       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       Requesting parties with template filters.
       Template filters must be empty for GetUpdateTrees requests.
       Optional for backwards compatibility, if defined update_format must be unset
       
      .com.daml.ledger.api.v2.TransactionFilter filter = 3 [json_name = "filter"];
    • setFilter

       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       Requesting parties with template filters.
       Template filters must be empty for GetUpdateTrees requests.
       Optional for backwards compatibility, if defined update_format must be unset
       
      .com.daml.ledger.api.v2.TransactionFilter filter = 3 [json_name = "filter"];
    • mergeFilter

       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       Requesting parties with template filters.
       Template filters must be empty for GetUpdateTrees requests.
       Optional for backwards compatibility, if defined update_format must be unset
       
      .com.daml.ledger.api.v2.TransactionFilter filter = 3 [json_name = "filter"];
    • clearFilter

       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       Requesting parties with template filters.
       Template filters must be empty for GetUpdateTrees requests.
       Optional for backwards compatibility, if defined update_format must be unset
       
      .com.daml.ledger.api.v2.TransactionFilter filter = 3 [json_name = "filter"];
    • getFilterBuilder

       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       Requesting parties with template filters.
       Template filters must be empty for GetUpdateTrees requests.
       Optional for backwards compatibility, if defined update_format must be unset
       
      .com.daml.ledger.api.v2.TransactionFilter filter = 3 [json_name = "filter"];
    • getFilterOrBuilder

       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       Requesting parties with template filters.
       Template filters must be empty for GetUpdateTrees requests.
       Optional for backwards compatibility, if defined update_format must be unset
       
      .com.daml.ledger.api.v2.TransactionFilter filter = 3 [json_name = "filter"];
      Specified by:
      getFilterOrBuilder in interface UpdateServiceOuterClass.GetUpdatesRequestOrBuilder
    • getVerbose

      public boolean getVerbose()
       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       If enabled, values served over the API will contain more information than strictly necessary to interpret the data.
       In particular, setting the verbose flag to true triggers the ledger to include labels, record and variant type ids
       for record fields.
       Optional for backwards compatibility, if defined update_format must be unset
       
      bool verbose = 4 [json_name = "verbose"];
      Specified by:
      getVerbose in interface UpdateServiceOuterClass.GetUpdatesRequestOrBuilder
      Returns:
      The verbose.
    • setVerbose

      public UpdateServiceOuterClass.GetUpdatesRequest.Builder setVerbose(boolean value)
       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       If enabled, values served over the API will contain more information than strictly necessary to interpret the data.
       In particular, setting the verbose flag to true triggers the ledger to include labels, record and variant type ids
       for record fields.
       Optional for backwards compatibility, if defined update_format must be unset
       
      bool verbose = 4 [json_name = "verbose"];
      Parameters:
      value - The verbose to set.
      Returns:
      This builder for chaining.
    • clearVerbose

       Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
       If enabled, values served over the API will contain more information than strictly necessary to interpret the data.
       In particular, setting the verbose flag to true triggers the ledger to include labels, record and variant type ids
       for record fields.
       Optional for backwards compatibility, if defined update_format must be unset
       
      bool verbose = 4 [json_name = "verbose"];
      Returns:
      This builder for chaining.
    • hasUpdateFormat

      public boolean hasUpdateFormat()
       Must be unset for GetUpdateTrees request.
       Optional for backwards compatibility for GetUpdates request: defaults to an UpdateFormat where:
      
       - include_transactions.event_format.filters_by_party = the filter.filters_by_party on this request
       - include_transactions.event_format.filters_for_any_party = the filter.filters_for_any_party on this request
       - include_transactions.event_format.verbose = the same flag specified on this request
       - include_transactions.transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
       - include_reassignments.filter = the same filter specified on this request
       - include_reassignments.verbose = the same flag specified on this request
       - include_topology_events.include_participant_authorization_events.parties = all the parties specified in filter
       
      .com.daml.ledger.api.v2.UpdateFormat update_format = 5 [json_name = "updateFormat"];
      Specified by:
      hasUpdateFormat in interface UpdateServiceOuterClass.GetUpdatesRequestOrBuilder
      Returns:
      Whether the updateFormat field is set.
    • getUpdateFormat

      public TransactionFilterOuterClass.UpdateFormat getUpdateFormat()
       Must be unset for GetUpdateTrees request.
       Optional for backwards compatibility for GetUpdates request: defaults to an UpdateFormat where:
      
       - include_transactions.event_format.filters_by_party = the filter.filters_by_party on this request
       - include_transactions.event_format.filters_for_any_party = the filter.filters_for_any_party on this request
       - include_transactions.event_format.verbose = the same flag specified on this request
       - include_transactions.transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
       - include_reassignments.filter = the same filter specified on this request
       - include_reassignments.verbose = the same flag specified on this request
       - include_topology_events.include_participant_authorization_events.parties = all the parties specified in filter
       
      .com.daml.ledger.api.v2.UpdateFormat update_format = 5 [json_name = "updateFormat"];
      Specified by:
      getUpdateFormat in interface UpdateServiceOuterClass.GetUpdatesRequestOrBuilder
      Returns:
      The updateFormat.
    • setUpdateFormat

       Must be unset for GetUpdateTrees request.
       Optional for backwards compatibility for GetUpdates request: defaults to an UpdateFormat where:
      
       - include_transactions.event_format.filters_by_party = the filter.filters_by_party on this request
       - include_transactions.event_format.filters_for_any_party = the filter.filters_for_any_party on this request
       - include_transactions.event_format.verbose = the same flag specified on this request
       - include_transactions.transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
       - include_reassignments.filter = the same filter specified on this request
       - include_reassignments.verbose = the same flag specified on this request
       - include_topology_events.include_participant_authorization_events.parties = all the parties specified in filter
       
      .com.daml.ledger.api.v2.UpdateFormat update_format = 5 [json_name = "updateFormat"];
    • setUpdateFormat

       Must be unset for GetUpdateTrees request.
       Optional for backwards compatibility for GetUpdates request: defaults to an UpdateFormat where:
      
       - include_transactions.event_format.filters_by_party = the filter.filters_by_party on this request
       - include_transactions.event_format.filters_for_any_party = the filter.filters_for_any_party on this request
       - include_transactions.event_format.verbose = the same flag specified on this request
       - include_transactions.transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
       - include_reassignments.filter = the same filter specified on this request
       - include_reassignments.verbose = the same flag specified on this request
       - include_topology_events.include_participant_authorization_events.parties = all the parties specified in filter
       
      .com.daml.ledger.api.v2.UpdateFormat update_format = 5 [json_name = "updateFormat"];
    • mergeUpdateFormat

       Must be unset for GetUpdateTrees request.
       Optional for backwards compatibility for GetUpdates request: defaults to an UpdateFormat where:
      
       - include_transactions.event_format.filters_by_party = the filter.filters_by_party on this request
       - include_transactions.event_format.filters_for_any_party = the filter.filters_for_any_party on this request
       - include_transactions.event_format.verbose = the same flag specified on this request
       - include_transactions.transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
       - include_reassignments.filter = the same filter specified on this request
       - include_reassignments.verbose = the same flag specified on this request
       - include_topology_events.include_participant_authorization_events.parties = all the parties specified in filter
       
      .com.daml.ledger.api.v2.UpdateFormat update_format = 5 [json_name = "updateFormat"];
    • clearUpdateFormat

       Must be unset for GetUpdateTrees request.
       Optional for backwards compatibility for GetUpdates request: defaults to an UpdateFormat where:
      
       - include_transactions.event_format.filters_by_party = the filter.filters_by_party on this request
       - include_transactions.event_format.filters_for_any_party = the filter.filters_for_any_party on this request
       - include_transactions.event_format.verbose = the same flag specified on this request
       - include_transactions.transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
       - include_reassignments.filter = the same filter specified on this request
       - include_reassignments.verbose = the same flag specified on this request
       - include_topology_events.include_participant_authorization_events.parties = all the parties specified in filter
       
      .com.daml.ledger.api.v2.UpdateFormat update_format = 5 [json_name = "updateFormat"];
    • getUpdateFormatBuilder

      public TransactionFilterOuterClass.UpdateFormat.Builder getUpdateFormatBuilder()
       Must be unset for GetUpdateTrees request.
       Optional for backwards compatibility for GetUpdates request: defaults to an UpdateFormat where:
      
       - include_transactions.event_format.filters_by_party = the filter.filters_by_party on this request
       - include_transactions.event_format.filters_for_any_party = the filter.filters_for_any_party on this request
       - include_transactions.event_format.verbose = the same flag specified on this request
       - include_transactions.transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
       - include_reassignments.filter = the same filter specified on this request
       - include_reassignments.verbose = the same flag specified on this request
       - include_topology_events.include_participant_authorization_events.parties = all the parties specified in filter
       
      .com.daml.ledger.api.v2.UpdateFormat update_format = 5 [json_name = "updateFormat"];
    • getUpdateFormatOrBuilder

      public TransactionFilterOuterClass.UpdateFormatOrBuilder getUpdateFormatOrBuilder()
       Must be unset for GetUpdateTrees request.
       Optional for backwards compatibility for GetUpdates request: defaults to an UpdateFormat where:
      
       - include_transactions.event_format.filters_by_party = the filter.filters_by_party on this request
       - include_transactions.event_format.filters_for_any_party = the filter.filters_for_any_party on this request
       - include_transactions.event_format.verbose = the same flag specified on this request
       - include_transactions.transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
       - include_reassignments.filter = the same filter specified on this request
       - include_reassignments.verbose = the same flag specified on this request
       - include_topology_events.include_participant_authorization_events.parties = all the parties specified in filter
       
      .com.daml.ledger.api.v2.UpdateFormat update_format = 5 [json_name = "updateFormat"];
      Specified by:
      getUpdateFormatOrBuilder in interface UpdateServiceOuterClass.GetUpdatesRequestOrBuilder
    • setUnknownFields

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

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