Interface InitialSubscribeResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InitialSubscribeResponse
,InitialSubscribeResponse.Builder
public interface InitialSubscribeResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Cursor
getCursor()
The cursor from which the subscriber will start receiving messages once flow control tokens become available.CursorOrBuilder
getCursorOrBuilder()
The cursor from which the subscriber will start receiving messages once flow control tokens become available.boolean
hasCursor()
The cursor from which the subscriber will start receiving messages once flow control tokens become available.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCursor
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:
- Whether the cursor field is set.
-
getCursor
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:
- The cursor.
-
getCursorOrBuilder
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;
-
-