Interface Umadb.ReadRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Umadb.ReadRequest, Umadb.ReadRequest.Builder
Enclosing class:
Umadb

public static interface Umadb.ReadRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    If true, reads events in reverse order (from newest to oldest).
    int
    The maximum number of events to include in a single response chunk/batch.
    int
    The maximum number of events to return in the entire read operation.
    The filter criteria to apply.
    The filter criteria to apply.
    long
    The sequence position to start reading from.
    boolean
    Deprecated.
    umadb.v1.ReadRequest.subscribe is deprecated.
    boolean
    If true, reads events in reverse order (from newest to oldest).
    boolean
    The maximum number of events to include in a single response chunk/batch.
    boolean
    The maximum number of events to return in the entire read operation.
    boolean
    The filter criteria to apply.
    boolean
    The sequence position to start reading from.
    boolean
    Deprecated.
    umadb.v1.ReadRequest.subscribe is deprecated.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasQuery

      boolean hasQuery()
      The filter criteria to apply. If omitted, all events are returned.
      
      optional .umadb.v1.Query query = 1;
      Returns:
      Whether the query field is set.
    • getQuery

      Umadb.Query getQuery()
      The filter criteria to apply. If omitted, all events are returned.
      
      optional .umadb.v1.Query query = 1;
      Returns:
      The query.
    • getQueryOrBuilder

      Umadb.QueryOrBuilder getQueryOrBuilder()
      The filter criteria to apply. If omitted, all events are returned.
      
      optional .umadb.v1.Query query = 1;
    • hasStart

      boolean hasStart()
      The sequence position to start reading from.
      
      optional uint64 start = 2;
      Returns:
      Whether the start field is set.
    • getStart

      long getStart()
      The sequence position to start reading from.
      
      optional uint64 start = 2;
      Returns:
      The start.
    • hasBackwards

      boolean hasBackwards()
      If true, reads events in reverse order (from newest to oldest).
      
      optional bool backwards = 3;
      Returns:
      Whether the backwards field is set.
    • getBackwards

      boolean getBackwards()
      If true, reads events in reverse order (from newest to oldest).
      
      optional bool backwards = 3;
      Returns:
      The backwards.
    • hasLimit

      boolean hasLimit()
      The maximum number of events to return in the entire read operation.
      
      optional uint32 limit = 4;
      Returns:
      Whether the limit field is set.
    • getLimit

      int getLimit()
      The maximum number of events to return in the entire read operation.
      
      optional uint32 limit = 4;
      Returns:
      The limit.
    • hasSubscribe

      @Deprecated boolean hasSubscribe()
      Deprecated.
      umadb.v1.ReadRequest.subscribe is deprecated. See v1/umadb.proto;l=69
      Deprecated: Use the separate Subscribe RPC instead for streaming new events.
      
      optional bool subscribe = 5 [deprecated = true];
      Returns:
      Whether the subscribe field is set.
    • getSubscribe

      @Deprecated boolean getSubscribe()
      Deprecated.
      umadb.v1.ReadRequest.subscribe is deprecated. See v1/umadb.proto;l=69
      Deprecated: Use the separate Subscribe RPC instead for streaming new events.
      
      optional bool subscribe = 5 [deprecated = true];
      Returns:
      The subscribe.
    • hasBatchSize

      boolean hasBatchSize()
      The maximum number of events to include in a single response chunk/batch.
      
      optional uint32 batch_size = 6;
      Returns:
      Whether the batchSize field is set.
    • getBatchSize

      int getBatchSize()
      The maximum number of events to include in a single response chunk/batch.
      
      optional uint32 batch_size = 6;
      Returns:
      The batchSize.