Interface InitialSubscribeResponseOrBuilder (1.14.4)

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

Whether the cursor field is set.