Interface SubscribeRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SubscribeRequest,SubscribeRequest.Builder
public interface SubscribeRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequest to grant tokens to the server,Request to grant tokens to the server,Initial request on the stream.Initial request on the stream.getSeek()Request to update the stream's delivery cursor.Request to update the stream's delivery cursor.booleanRequest to grant tokens to the server,booleanInitial request on the stream.booleanhasSeek()Request to update the stream's delivery cursor.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasInitial
boolean hasInitial()Initial request on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeRequest initial = 1;- Returns:
- Whether the initial field is set.
-
getInitial
InitialSubscribeRequest getInitial()Initial request on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeRequest initial = 1;- Returns:
- The initial.
-
getInitialOrBuilder
InitialSubscribeRequestOrBuilder getInitialOrBuilder()Initial request on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeRequest initial = 1; -
hasSeek
boolean hasSeek()Request to update the stream's delivery cursor.
.google.cloud.pubsublite.v1.SeekRequest seek = 2;- Returns:
- Whether the seek field is set.
-
getSeek
SeekRequest getSeek()Request to update the stream's delivery cursor.
.google.cloud.pubsublite.v1.SeekRequest seek = 2;- Returns:
- The seek.
-
getSeekOrBuilder
SeekRequestOrBuilder getSeekOrBuilder()Request to update the stream's delivery cursor.
.google.cloud.pubsublite.v1.SeekRequest seek = 2; -
hasFlowControl
boolean hasFlowControl()Request to grant tokens to the server,
.google.cloud.pubsublite.v1.FlowControlRequest flow_control = 3;- Returns:
- Whether the flowControl field is set.
-
getFlowControl
FlowControlRequest getFlowControl()Request to grant tokens to the server,
.google.cloud.pubsublite.v1.FlowControlRequest flow_control = 3;- Returns:
- The flowControl.
-
getFlowControlOrBuilder
FlowControlRequestOrBuilder getFlowControlOrBuilder()Request to grant tokens to the server,
.google.cloud.pubsublite.v1.FlowControlRequest flow_control = 3; -
getRequestCase
SubscribeRequest.RequestCase getRequestCase()
-