Interface StreamingCommitCursorRequestOrBuilder

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
TypeDescription
SequencedCommitCursorRequest

The commit.

getCommitOrBuilder()

public abstract SequencedCommitCursorRequestOrBuilder getCommitOrBuilder()

Request to commit a new cursor value.

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

Returns
TypeDescription
SequencedCommitCursorRequestOrBuilder

getInitial()

public abstract InitialCommitCursorRequest getInitial()

Initial request on the stream.

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

Returns
TypeDescription
InitialCommitCursorRequest

The initial.

getInitialOrBuilder()

public abstract InitialCommitCursorRequestOrBuilder getInitialOrBuilder()

Initial request on the stream.

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

Returns
TypeDescription
InitialCommitCursorRequestOrBuilder

getRequestCase()

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

hasCommit()

public abstract boolean hasCommit()

Request to commit a new cursor value.

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

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

Whether the initial field is set.