public interface SubscribeResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getInitial()
public abstract InitialSubscribeResponse getInitial()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeResponse initial = 1;
Type | Description |
InitialSubscribeResponse | The initial. |
getInitialOrBuilder()
public abstract InitialSubscribeResponseOrBuilder getInitialOrBuilder()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeResponse initial = 1;
Type | Description |
InitialSubscribeResponseOrBuilder |
getMessages()
public abstract MessageResponse getMessages()
Response containing messages from the topic partition.
.google.cloud.pubsublite.v1.MessageResponse messages = 3;
Type | Description |
MessageResponse | The messages. |
getMessagesOrBuilder()
public abstract MessageResponseOrBuilder getMessagesOrBuilder()
Response containing messages from the topic partition.
.google.cloud.pubsublite.v1.MessageResponse messages = 3;
Type | Description |
MessageResponseOrBuilder |
getResponseCase()
public abstract SubscribeResponse.ResponseCase getResponseCase()
Type | Description |
SubscribeResponse.ResponseCase |
getSeek()
public abstract SeekResponse getSeek()
Response to a Seek operation.
.google.cloud.pubsublite.v1.SeekResponse seek = 2;
Type | Description |
SeekResponse | The seek. |
getSeekOrBuilder()
public abstract SeekResponseOrBuilder getSeekOrBuilder()
Response to a Seek operation.
.google.cloud.pubsublite.v1.SeekResponse seek = 2;
Type | Description |
SeekResponseOrBuilder |
hasInitial()
public abstract boolean hasInitial()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialSubscribeResponse initial = 1;
Type | Description |
boolean | Whether the initial field is set. |
hasMessages()
public abstract boolean hasMessages()
Response containing messages from the topic partition.
.google.cloud.pubsublite.v1.MessageResponse messages = 3;
Type | Description |
boolean | Whether the messages field is set. |
hasSeek()
public abstract boolean hasSeek()
Response to a Seek operation.
.google.cloud.pubsublite.v1.SeekResponse seek = 2;
Type | Description |
boolean | Whether the seek field is set. |