Interface SubscribeRequestOrBuilder (1.12.22)

public interface SubscribeRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFlowControl()

public abstract FlowControlRequest getFlowControl()

Request to grant tokens to the server,

.google.cloud.pubsublite.v1.FlowControlRequest flow_control = 3;

Returns
TypeDescription
FlowControlRequest

The flowControl.

getFlowControlOrBuilder()

public abstract FlowControlRequestOrBuilder getFlowControlOrBuilder()

Request to grant tokens to the server,

.google.cloud.pubsublite.v1.FlowControlRequest flow_control = 3;

Returns
TypeDescription
FlowControlRequestOrBuilder

getInitial()

public abstract InitialSubscribeRequest getInitial()

Initial request on the stream.

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

Returns
TypeDescription
InitialSubscribeRequest

The initial.

getInitialOrBuilder()

public abstract InitialSubscribeRequestOrBuilder getInitialOrBuilder()

Initial request on the stream.

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

Returns
TypeDescription
InitialSubscribeRequestOrBuilder

getRequestCase()

public abstract SubscribeRequest.RequestCase getRequestCase()
Returns
TypeDescription
SubscribeRequest.RequestCase

getSeek()

public abstract SeekRequest getSeek()

Request to update the stream's delivery cursor.

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

Returns
TypeDescription
SeekRequest

The seek.

getSeekOrBuilder()

public abstract SeekRequestOrBuilder getSeekOrBuilder()

Request to update the stream's delivery cursor.

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

Returns
TypeDescription
SeekRequestOrBuilder

hasFlowControl()

public abstract boolean hasFlowControl()

Request to grant tokens to the server,

.google.cloud.pubsublite.v1.FlowControlRequest flow_control = 3;

Returns
TypeDescription
boolean

Whether the flowControl field is set.

hasInitial()

public abstract boolean hasInitial()

Initial request on the stream.

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

Returns
TypeDescription
boolean

Whether the initial field is set.

hasSeek()

public abstract boolean hasSeek()

Request to update the stream's delivery cursor.

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

Returns
TypeDescription
boolean

Whether the seek field is set.