Interface StreamingCommitCursorResponseOrBuilder (1.15.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
Type Description
SequencedCommitCursorResponse

The commit.

getCommitOrBuilder()

public abstract SequencedCommitCursorResponseOrBuilder getCommitOrBuilder()

Response to committing a new cursor value.

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

Returns
Type Description
SequencedCommitCursorResponseOrBuilder

getInitial()

public abstract InitialCommitCursorResponse getInitial()

Initial response on the stream.

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

Returns
Type Description
InitialCommitCursorResponse

The initial.

getInitialOrBuilder()

public abstract InitialCommitCursorResponseOrBuilder getInitialOrBuilder()

Initial response on the stream.

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

Returns
Type Description
InitialCommitCursorResponseOrBuilder

getRequestCase()

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

hasCommit()

public abstract boolean hasCommit()

Response to committing a new cursor value.

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

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

Whether the initial field is set.