Interface CommitResponseOrBuilder (6.82.0)

public interface CommitResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommitStats()

public abstract CommitResponse.CommitStats getCommitStats()

The statistics about this Commit. Not returned by default. For more information, see CommitRequest.return_commit_stats.

.google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;

Returns
Type Description
CommitResponse.CommitStats

The commitStats.

getCommitStatsOrBuilder()

public abstract CommitResponse.CommitStatsOrBuilder getCommitStatsOrBuilder()

The statistics about this Commit. Not returned by default. For more information, see CommitRequest.return_commit_stats.

.google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;

Returns
Type Description
CommitResponse.CommitStatsOrBuilder

getCommitTimestamp()

public abstract Timestamp getCommitTimestamp()

The Cloud Spanner timestamp at which the transaction committed.

.google.protobuf.Timestamp commit_timestamp = 1;

Returns
Type Description
Timestamp

The commitTimestamp.

getCommitTimestampOrBuilder()

public abstract TimestampOrBuilder getCommitTimestampOrBuilder()

The Cloud Spanner timestamp at which the transaction committed.

.google.protobuf.Timestamp commit_timestamp = 1;

Returns
Type Description
TimestampOrBuilder

getMultiplexedSessionRetryCase()

public abstract CommitResponse.MultiplexedSessionRetryCase getMultiplexedSessionRetryCase()
Returns
Type Description
CommitResponse.MultiplexedSessionRetryCase

getPrecommitToken()

public abstract MultiplexedSessionPrecommitToken getPrecommitToken()

If specified, transaction has not committed yet. Clients must retry the commit with the new precommit token.

.google.spanner.v1.MultiplexedSessionPrecommitToken precommit_token = 4;

Returns
Type Description
MultiplexedSessionPrecommitToken

The precommitToken.

getPrecommitTokenOrBuilder()

public abstract MultiplexedSessionPrecommitTokenOrBuilder getPrecommitTokenOrBuilder()

If specified, transaction has not committed yet. Clients must retry the commit with the new precommit token.

.google.spanner.v1.MultiplexedSessionPrecommitToken precommit_token = 4;

Returns
Type Description
MultiplexedSessionPrecommitTokenOrBuilder

hasCommitStats()

public abstract boolean hasCommitStats()

The statistics about this Commit. Not returned by default. For more information, see CommitRequest.return_commit_stats.

.google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;

Returns
Type Description
boolean

Whether the commitStats field is set.

hasCommitTimestamp()

public abstract boolean hasCommitTimestamp()

The Cloud Spanner timestamp at which the transaction committed.

.google.protobuf.Timestamp commit_timestamp = 1;

Returns
Type Description
boolean

Whether the commitTimestamp field is set.

hasPrecommitToken()

public abstract boolean hasPrecommitToken()

If specified, transaction has not committed yet. Clients must retry the commit with the new precommit token.

.google.spanner.v1.MultiplexedSessionPrecommitToken precommit_token = 4;

Returns
Type Description
boolean

Whether the precommitToken field is set.