Interface ComputeTimeCursorResponseOrBuilder (1.14.8)

public interface ComputeTimeCursorResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCursor()

public abstract Cursor getCursor()

If present, the cursor references the first message with time greater than or equal to the specified target time. If such a message cannot be found, the cursor will be unset (i.e. cursor is not present).

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

Returns
Type Description
Cursor

The cursor.

getCursorOrBuilder()

public abstract CursorOrBuilder getCursorOrBuilder()

If present, the cursor references the first message with time greater than or equal to the specified target time. If such a message cannot be found, the cursor will be unset (i.e. cursor is not present).

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

Returns
Type Description
CursorOrBuilder

hasCursor()

public abstract boolean hasCursor()

If present, the cursor references the first message with time greater than or equal to the specified target time. If such a message cannot be found, the cursor will be unset (i.e. cursor is not present).

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

Returns
Type Description
boolean

Whether the cursor field is set.