Interface SubscribeResponseOrBuilder (1.6.2)

public interface SubscribeResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInitial()

public abstract InitialSubscribeResponse getInitial()

Initial response on the stream.

.google.cloud.pubsublite.v1.InitialSubscribeResponse initial = 1;

Returns
TypeDescription
InitialSubscribeResponse

The initial.

getInitialOrBuilder()

public abstract InitialSubscribeResponseOrBuilder getInitialOrBuilder()

Initial response on the stream.

.google.cloud.pubsublite.v1.InitialSubscribeResponse initial = 1;

Returns
TypeDescription
InitialSubscribeResponseOrBuilder

getMessages()

public abstract MessageResponse getMessages()

Response containing messages from the topic partition.

.google.cloud.pubsublite.v1.MessageResponse messages = 3;

Returns
TypeDescription
MessageResponse

The messages.

getMessagesOrBuilder()

public abstract MessageResponseOrBuilder getMessagesOrBuilder()

Response containing messages from the topic partition.

.google.cloud.pubsublite.v1.MessageResponse messages = 3;

Returns
TypeDescription
MessageResponseOrBuilder

getResponseCase()

public abstract SubscribeResponse.ResponseCase getResponseCase()
Returns
TypeDescription
SubscribeResponse.ResponseCase

getSeek()

public abstract SeekResponse getSeek()

Response to a Seek operation.

.google.cloud.pubsublite.v1.SeekResponse seek = 2;

Returns
TypeDescription
SeekResponse

The seek.

getSeekOrBuilder()

public abstract SeekResponseOrBuilder getSeekOrBuilder()

Response to a Seek operation.

.google.cloud.pubsublite.v1.SeekResponse seek = 2;

Returns
TypeDescription
SeekResponseOrBuilder

hasInitial()

public abstract boolean hasInitial()

Initial response on the stream.

.google.cloud.pubsublite.v1.InitialSubscribeResponse initial = 1;

Returns
TypeDescription
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;

Returns
TypeDescription
boolean

Whether the messages field is set.

hasSeek()

public abstract boolean hasSeek()

Response to a Seek operation.

.google.cloud.pubsublite.v1.SeekResponse seek = 2;

Returns
TypeDescription
boolean

Whether the seek field is set.