Interface InitialSubscribeResponseOrBuilder (1.7.1)

public interface InitialSubscribeResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCursor()

public abstract Cursor getCursor()

The cursor from which the subscriber will start receiving messages once flow control tokens become available.

.google.cloud.pubsublite.v1.Cursor cursor = 1;

Returns
TypeDescription
Cursor

The cursor.

getCursorOrBuilder()

public abstract CursorOrBuilder getCursorOrBuilder()

The cursor from which the subscriber will start receiving messages once flow control tokens become available.

.google.cloud.pubsublite.v1.Cursor cursor = 1;

Returns
TypeDescription
CursorOrBuilder

hasCursor()

public abstract boolean hasCursor()

The cursor from which the subscriber will start receiving messages once flow control tokens become available.

.google.cloud.pubsublite.v1.Cursor cursor = 1;

Returns
TypeDescription
boolean

Whether the cursor field is set.