Package com.google.spanner.v1
Interface CommitResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommitResponse,CommitResponse.Builder
public interface CommitResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe statistics about this Commit.The statistics about this Commit.com.google.protobuf.TimestampThe Cloud Spanner timestamp at which the transaction committed.com.google.protobuf.TimestampOrBuilderThe Cloud Spanner timestamp at which the transaction committed.If specified, transaction has not committed yet.If specified, transaction has not committed yet.booleanThe statistics about this Commit.booleanThe Cloud Spanner timestamp at which the transaction committed.booleanIf specified, transaction has not committed yet.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCommitTimestamp
boolean hasCommitTimestamp()The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;- Returns:
- Whether the commitTimestamp field is set.
-
getCommitTimestamp
com.google.protobuf.Timestamp getCommitTimestamp()The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1;- Returns:
- The commitTimestamp.
-
getCommitTimestampOrBuilder
com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder()The Cloud Spanner timestamp at which the transaction committed.
.google.protobuf.Timestamp commit_timestamp = 1; -
hasCommitStats
boolean hasCommitStats()The statistics about this Commit. Not returned by default. For more information, see [CommitRequest.return_commit_stats][google.spanner.v1.CommitRequest.return_commit_stats].
.google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;- Returns:
- Whether the commitStats field is set.
-
getCommitStats
CommitResponse.CommitStats getCommitStats()The statistics about this Commit. Not returned by default. For more information, see [CommitRequest.return_commit_stats][google.spanner.v1.CommitRequest.return_commit_stats].
.google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;- Returns:
- The commitStats.
-
getCommitStatsOrBuilder
CommitResponse.CommitStatsOrBuilder getCommitStatsOrBuilder()The statistics about this Commit. Not returned by default. For more information, see [CommitRequest.return_commit_stats][google.spanner.v1.CommitRequest.return_commit_stats].
.google.spanner.v1.CommitResponse.CommitStats commit_stats = 2; -
hasPrecommitToken
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:
- Whether the precommitToken field is set.
-
getPrecommitToken
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:
- The precommitToken.
-
getPrecommitTokenOrBuilder
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; -
getMultiplexedSessionRetryCase
CommitResponse.MultiplexedSessionRetryCase getMultiplexedSessionRetryCase()
-