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 TypeMethodDescriptionbooleanIf true, reads events in reverse order (from newest to oldest).intThe maximum number of events to include in a single response chunk/batch.intgetLimit()The maximum number of events to return in the entire read operation.getQuery()The filter criteria to apply.The filter criteria to apply.longgetStart()The sequence position to start reading from.booleanDeprecated.umadb.v1.ReadRequest.subscribe is deprecated.booleanIf true, reads events in reverse order (from newest to oldest).booleanThe maximum number of events to include in a single response chunk/batch.booleanhasLimit()The maximum number of events to return in the entire read operation.booleanhasQuery()The filter criteria to apply.booleanhasStart()The sequence position to start reading from.booleanDeprecated.umadb.v1.ReadRequest.subscribe is deprecated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.umadb.v1.ReadRequest.subscribe is deprecated. See v1/umadb.proto;l=69Deprecated: 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.umadb.v1.ReadRequest.subscribe is deprecated. See v1/umadb.proto;l=69Deprecated: 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.
-