Interface SubscribeResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SubscribeResponse,SubscribeResponse.Builder
public interface SubscribeResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionInitial response on the stream.Initial response on the stream.Response containing messages from the topic partition.Response containing messages from the topic partition.getSeek()Response to a Seek operation.Response to a Seek operation.booleanInitial response on the stream.booleanResponse containing messages from the topic partition.booleanhasSeek()Response to a Seek operation.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 response on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeResponse initial = 1;- Returns:
- Whether the initial field is set.
-
getInitial
InitialSubscribeResponse getInitial()Initial response on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeResponse initial = 1;- Returns:
- The initial.
-
getInitialOrBuilder
InitialSubscribeResponseOrBuilder getInitialOrBuilder()Initial response on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeResponse initial = 1; -
hasSeek
boolean hasSeek()Response to a Seek operation.
.google.cloud.pubsublite.v1.SeekResponse seek = 2;- Returns:
- Whether the seek field is set.
-
getSeek
SeekResponse getSeek()Response to a Seek operation.
.google.cloud.pubsublite.v1.SeekResponse seek = 2;- Returns:
- The seek.
-
getSeekOrBuilder
SeekResponseOrBuilder getSeekOrBuilder()Response to a Seek operation.
.google.cloud.pubsublite.v1.SeekResponse seek = 2; -
hasMessages
boolean hasMessages()Response containing messages from the topic partition.
.google.cloud.pubsublite.v1.MessageResponse messages = 3;- Returns:
- Whether the messages field is set.
-
getMessages
MessageResponse getMessages()Response containing messages from the topic partition.
.google.cloud.pubsublite.v1.MessageResponse messages = 3;- Returns:
- The messages.
-
getMessagesOrBuilder
MessageResponseOrBuilder getMessagesOrBuilder()Response containing messages from the topic partition.
.google.cloud.pubsublite.v1.MessageResponse messages = 3; -
getResponseCase
SubscribeResponse.ResponseCase getResponseCase()
-