Interface SubscribeRequestOrBuilder (1.15.0)

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

The flowControl.

getFlowControlOrBuilder()

public abstract FlowControlRequestOrBuilder getFlowControlOrBuilder()

Request to grant tokens to the server,

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

Returns
Type Description
FlowControlRequestOrBuilder

getInitial()

public abstract InitialSubscribeRequest getInitial()

Initial request on the stream.

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

Returns
Type Description
InitialSubscribeRequest

The initial.

getInitialOrBuilder()

public abstract InitialSubscribeRequestOrBuilder getInitialOrBuilder()

Initial request on the stream.

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

Returns
Type Description
InitialSubscribeRequestOrBuilder

getRequestCase()

public abstract SubscribeRequest.RequestCase getRequestCase()
Returns
Type Description
SubscribeRequest.RequestCase

getSeek()

public abstract SeekRequest getSeek()

Request to update the stream's delivery cursor.

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

Returns
Type Description
SeekRequest

The seek.

getSeekOrBuilder()

public abstract SeekRequestOrBuilder getSeekOrBuilder()

Request to update the stream's delivery cursor.

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

Returns
Type Description
SeekRequestOrBuilder

hasFlowControl()

public abstract boolean hasFlowControl()

Request to grant tokens to the server,

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

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the seek field is set.