Interface MessagePublishResponse.CursorRangeOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getEndIndex()
      Index of the last message in this range.
      Cursor getStartCursor()
      The cursor of the message at the start index.
      CursorOrBuilder getStartCursorOrBuilder()
      The cursor of the message at the start index.
      int getStartIndex()
      Index of the message in the published batch that corresponds to the start cursor.
      boolean hasStartCursor()
      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 Detail

      • 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.