Interface Umadb.ReadResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Umadb.ReadResponse, Umadb.ReadResponse.Builder
- Enclosing class:
Umadb
public static interface Umadb.ReadResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetEvents(int index) The list of events matching the read criteria.intThe list of events matching the read criteria.The list of events matching the read criteria.getEventsOrBuilder(int index) The list of events matching the read criteria.List<? extends Umadb.SequencedEventOrBuilder> The list of events matching the read criteria.longgetHead()The position of the most recent event in the store at the time of the read.booleanhasHead()The position of the most recent event in the store at the time of the read.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
-
getEventsList
List<Umadb.SequencedEvent> getEventsList()The list of events matching the read criteria.
repeated .umadb.v1.SequencedEvent events = 1; -
getEvents
The list of events matching the read criteria.
repeated .umadb.v1.SequencedEvent events = 1; -
getEventsCount
int getEventsCount()The list of events matching the read criteria.
repeated .umadb.v1.SequencedEvent events = 1; -
getEventsOrBuilderList
List<? extends Umadb.SequencedEventOrBuilder> getEventsOrBuilderList()The list of events matching the read criteria.
repeated .umadb.v1.SequencedEvent events = 1; -
getEventsOrBuilder
The list of events matching the read criteria.
repeated .umadb.v1.SequencedEvent events = 1; -
hasHead
boolean hasHead()The position of the most recent event in the store at the time of the read.
optional uint64 head = 2;- Returns:
- Whether the head field is set.
-
getHead
long getHead()The position of the most recent event in the store at the time of the read.
optional uint64 head = 2;- Returns:
- The head.
-