public interface CommitResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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. You 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. You must retry the commit with the new precommit token.
.google.spanner.v1.MultiplexedSessionPrecommitToken precommit_token = 4;
Returns | |
---|---|
Type | Description |
MultiplexedSessionPrecommitTokenOrBuilder |
getSnapshotTimestamp()
public abstract Timestamp getSnapshotTimestamp()
If TransactionOptions.isolation_level
is set to
IsolationLevel.REPEATABLE_READ
, then the snapshot timestamp is the
timestamp at which all reads in the transaction ran. This timestamp is
never returned.
.google.protobuf.Timestamp snapshot_timestamp = 5;
Returns | |
---|---|
Type | Description |
Timestamp |
The snapshotTimestamp. |
getSnapshotTimestampOrBuilder()
public abstract TimestampOrBuilder getSnapshotTimestampOrBuilder()
If TransactionOptions.isolation_level
is set to
IsolationLevel.REPEATABLE_READ
, then the snapshot timestamp is the
timestamp at which all reads in the transaction ran. This timestamp is
never returned.
.google.protobuf.Timestamp snapshot_timestamp = 5;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
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. You 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. |
hasSnapshotTimestamp()
public abstract boolean hasSnapshotTimestamp()
If TransactionOptions.isolation_level
is set to
IsolationLevel.REPEATABLE_READ
, then the snapshot timestamp is the
timestamp at which all reads in the transaction ran. This timestamp is
never returned.
.google.protobuf.Timestamp snapshot_timestamp = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the snapshotTimestamp field is set. |