Interface MessagePublishResponseOrBuilder

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

public interface MessagePublishResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasStartCursor

      boolean hasStartCursor()
       The cursor of the first published message in the batch. The cursors for any
       remaining messages in the batch are guaranteed to be sequential.
       
      .google.cloud.pubsublite.v1.Cursor start_cursor = 1;
      Returns:
      Whether the startCursor field is set.
    • getStartCursor

      Cursor getStartCursor()
       The cursor of the first published message in the batch. The cursors for any
       remaining messages in the batch are guaranteed to be sequential.
       
      .google.cloud.pubsublite.v1.Cursor start_cursor = 1;
      Returns:
      The startCursor.
    • getStartCursorOrBuilder

      CursorOrBuilder getStartCursorOrBuilder()
       The cursor of the first published message in the batch. The cursors for any
       remaining messages in the batch are guaranteed to be sequential.
       
      .google.cloud.pubsublite.v1.Cursor start_cursor = 1;
    • getCursorRangesList

       Cursors for messages published in the batch. There will exist multiple
       ranges when cursors are not contiguous within the batch.
      
       The cursor ranges may not account for all messages in the batch when
       publish idempotency is enabled. A missing range indicates that cursors
       could not be determined for messages within the range, as they were
       deduplicated and the necessary data was not available at publish time.
       These messages will have offsets when received by a subscriber.
       
      repeated .google.cloud.pubsublite.v1.MessagePublishResponse.CursorRange cursor_ranges = 2;
    • getCursorRanges

      MessagePublishResponse.CursorRange getCursorRanges(int index)
       Cursors for messages published in the batch. There will exist multiple
       ranges when cursors are not contiguous within the batch.
      
       The cursor ranges may not account for all messages in the batch when
       publish idempotency is enabled. A missing range indicates that cursors
       could not be determined for messages within the range, as they were
       deduplicated and the necessary data was not available at publish time.
       These messages will have offsets when received by a subscriber.
       
      repeated .google.cloud.pubsublite.v1.MessagePublishResponse.CursorRange cursor_ranges = 2;
    • getCursorRangesCount

      int getCursorRangesCount()
       Cursors for messages published in the batch. There will exist multiple
       ranges when cursors are not contiguous within the batch.
      
       The cursor ranges may not account for all messages in the batch when
       publish idempotency is enabled. A missing range indicates that cursors
       could not be determined for messages within the range, as they were
       deduplicated and the necessary data was not available at publish time.
       These messages will have offsets when received by a subscriber.
       
      repeated .google.cloud.pubsublite.v1.MessagePublishResponse.CursorRange cursor_ranges = 2;
    • getCursorRangesOrBuilderList

      List<? extends MessagePublishResponse.CursorRangeOrBuilder> getCursorRangesOrBuilderList()
       Cursors for messages published in the batch. There will exist multiple
       ranges when cursors are not contiguous within the batch.
      
       The cursor ranges may not account for all messages in the batch when
       publish idempotency is enabled. A missing range indicates that cursors
       could not be determined for messages within the range, as they were
       deduplicated and the necessary data was not available at publish time.
       These messages will have offsets when received by a subscriber.
       
      repeated .google.cloud.pubsublite.v1.MessagePublishResponse.CursorRange cursor_ranges = 2;
    • getCursorRangesOrBuilder

      MessagePublishResponse.CursorRangeOrBuilder getCursorRangesOrBuilder(int index)
       Cursors for messages published in the batch. There will exist multiple
       ranges when cursors are not contiguous within the batch.
      
       The cursor ranges may not account for all messages in the batch when
       publish idempotency is enabled. A missing range indicates that cursors
       could not be determined for messages within the range, as they were
       deduplicated and the necessary data was not available at publish time.
       These messages will have offsets when received by a subscriber.
       
      repeated .google.cloud.pubsublite.v1.MessagePublishResponse.CursorRange cursor_ranges = 2;