Interface ComputeTimeCursorResponseOrBuilder (1.10.0)

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

Whether the cursor field is set.