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 Type
    Method
    Description
    getEvents(int index)
    The list of events matching the read criteria.
    int
    The 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.
    The list of events matching the read criteria.
    long
    The position of the most recent event in the store at the time of the read.
    boolean
    The position of the most recent event in the store at the time of the read.

    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

    • getEventsList

      List<Umadb.SequencedEvent> getEventsList()
      The list of events matching the read criteria.
      
      repeated .umadb.v1.SequencedEvent events = 1;
    • getEvents

      Umadb.SequencedEvent getEvents(int index)
      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

      Umadb.SequencedEventOrBuilder getEventsOrBuilder(int index)
      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.