Interface StreamingCommitCursorResponseOrBuilder (1.10.0)

public interface StreamingCommitCursorResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommit()

public abstract SequencedCommitCursorResponse getCommit()

Response to committing a new cursor value.

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

Returns
TypeDescription
SequencedCommitCursorResponse

The commit.

getCommitOrBuilder()

public abstract SequencedCommitCursorResponseOrBuilder getCommitOrBuilder()

Response to committing a new cursor value.

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

Returns
TypeDescription
SequencedCommitCursorResponseOrBuilder

getInitial()

public abstract InitialCommitCursorResponse getInitial()

Initial response on the stream.

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

Returns
TypeDescription
InitialCommitCursorResponse

The initial.

getInitialOrBuilder()

public abstract InitialCommitCursorResponseOrBuilder getInitialOrBuilder()

Initial response on the stream.

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

Returns
TypeDescription
InitialCommitCursorResponseOrBuilder

getRequestCase()

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

hasCommit()

public abstract boolean hasCommit()

Response to committing a new cursor value.

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

Returns
TypeDescription
boolean

Whether the commit field is set.

hasInitial()

public abstract boolean hasInitial()

Initial response on the stream.

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

Returns
TypeDescription
boolean

Whether the initial field is set.