Interface MessagePublishResponseOrBuilder

public interface MessagePublishResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getStartCursor()

public abstract 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
TypeDescription
Cursor

The startCursor.

getStartCursorOrBuilder()

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

Returns
TypeDescription
CursorOrBuilder

hasStartCursor()

public abstract 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
TypeDescription
boolean

Whether the startCursor field is set.