Interface MessagePublishResponse.CursorRangeOrBuilder

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

public static interface MessagePublishResponse.CursorRangeOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Index of the last message in this range.
    The cursor of the message at the start index.
    The cursor of the message at the start index.
    int
    Index of the message in the published batch that corresponds to the start cursor.
    boolean
    The cursor of the message at the start index.

    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

    • hasStartCursor

      boolean hasStartCursor()
       The cursor of the message at the start index. The cursors for remaining
       messages up to the end index (exclusive) are sequential.
       
      .google.cloud.pubsublite.v1.Cursor start_cursor = 1;
      Returns:
      Whether the startCursor field is set.
    • getStartCursor

      Cursor getStartCursor()
       The cursor of the message at the start index. The cursors for remaining
       messages up to the end index (exclusive) are sequential.
       
      .google.cloud.pubsublite.v1.Cursor start_cursor = 1;
      Returns:
      The startCursor.
    • getStartCursorOrBuilder

      CursorOrBuilder getStartCursorOrBuilder()
       The cursor of the message at the start index. The cursors for remaining
       messages up to the end index (exclusive) are sequential.
       
      .google.cloud.pubsublite.v1.Cursor start_cursor = 1;
    • getStartIndex

      int getStartIndex()
       Index of the message in the published batch that corresponds to the
       start cursor. Inclusive.
       
      int32 start_index = 2;
      Returns:
      The startIndex.
    • getEndIndex

      int getEndIndex()
       Index of the last message in this range. Exclusive.
       
      int32 end_index = 3;
      Returns:
      The endIndex.