Interface MessagePublishResponse.CursorRangeOrBuilder (1.14.7)

public static interface MessagePublishResponse.CursorRangeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndIndex()

public abstract int getEndIndex()

Index of the last message in this range. Exclusive.

int32 end_index = 3;

Returns
Type Description
int

The endIndex.

getStartCursor()

public abstract 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
Type Description
Cursor

The startCursor.

getStartCursorOrBuilder()

public abstract 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;

Returns
Type Description
CursorOrBuilder

getStartIndex()

public abstract int getStartIndex()

Index of the message in the published batch that corresponds to the start cursor. Inclusive.

int32 start_index = 2;

Returns
Type Description
int

The startIndex.

hasStartCursor()

public abstract 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
Type Description
boolean

Whether the startCursor field is set.