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 InitialSubscribeResponse
getInitial()
Initial response on the stream.InitialSubscribeResponseOrBuilder
getInitialOrBuilder()
Initial response on the stream.MessageResponse
getMessages()
Response containing messages from the topic partition.MessageResponseOrBuilder
getMessagesOrBuilder()
Response containing messages from the topic partition.SubscribeResponse.ResponseCase
getResponseCase()
SeekResponse
getSeek()
Response to a Seek operation.SeekResponseOrBuilder
getSeekOrBuilder()
Response to a Seek operation.boolean
hasInitial()
Initial response on the stream.boolean
hasMessages()
Response containing messages from the topic partition.boolean
hasSeek()
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()
-
-