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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InitialSubscribeResponsegetInitial()Initial response on the stream.InitialSubscribeResponseOrBuildergetInitialOrBuilder()Initial response on the stream.MessageResponsegetMessages()Response containing messages from the topic partition.MessageResponseOrBuildergetMessagesOrBuilder()Response containing messages from the topic partition.SubscribeResponse.ResponseCasegetResponseCase()SeekResponsegetSeek()Response to a Seek operation.SeekResponseOrBuildergetSeekOrBuilder()Response to a Seek operation.booleanhasInitial()Initial response on the stream.booleanhasMessages()Response containing messages from the topic partition.booleanhasSeek()Response to a Seek operation.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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()
-
-