Interface SubscribeResponseOrBuilder (1.14.4)

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
Type Description
InitialSubscribeResponse

The initial.

getInitialOrBuilder()

public abstract InitialSubscribeResponseOrBuilder getInitialOrBuilder()

Initial response on the stream.

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

Returns
Type Description
InitialSubscribeResponseOrBuilder

getMessages()

public abstract MessageResponse getMessages()

Response containing messages from the topic partition.

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

Returns
Type Description
MessageResponse

The messages.

getMessagesOrBuilder()

public abstract MessageResponseOrBuilder getMessagesOrBuilder()

Response containing messages from the topic partition.

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

Returns
Type Description
MessageResponseOrBuilder

getResponseCase()

public abstract SubscribeResponse.ResponseCase getResponseCase()
Returns
Type Description
SubscribeResponse.ResponseCase

getSeek()

public abstract SeekResponse getSeek()

Response to a Seek operation.

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

Returns
Type Description
SeekResponse

The seek.

getSeekOrBuilder()

public abstract SeekResponseOrBuilder getSeekOrBuilder()

Response to a Seek operation.

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

Returns
Type Description
SeekResponseOrBuilder

hasInitial()

public abstract boolean hasInitial()

Initial response on the stream.

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

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

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

Returns
Type Description
boolean

Whether the seek field is set.