Interface StreamingCommitCursorRequestOrBuilder (1.14.8)

public interface StreamingCommitCursorRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommit()

public abstract SequencedCommitCursorRequest getCommit()

Request to commit a new cursor value.

.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;

Returns
Type Description
SequencedCommitCursorRequest

The commit.

getCommitOrBuilder()

public abstract SequencedCommitCursorRequestOrBuilder getCommitOrBuilder()

Request to commit a new cursor value.

.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;

Returns
Type Description
SequencedCommitCursorRequestOrBuilder

getInitial()

public abstract InitialCommitCursorRequest getInitial()

Initial request on the stream.

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

Returns
Type Description
InitialCommitCursorRequest

The initial.

getInitialOrBuilder()

public abstract InitialCommitCursorRequestOrBuilder getInitialOrBuilder()

Initial request on the stream.

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

Returns
Type Description
InitialCommitCursorRequestOrBuilder

getRequestCase()

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

hasCommit()

public abstract boolean hasCommit()

Request to commit a new cursor value.

.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;

Returns
Type Description
boolean

Whether the commit field is set.

hasInitial()

public abstract boolean hasInitial()

Initial request on the stream.

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

Returns
Type Description
boolean

Whether the initial field is set.