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.booleanThe statistics about this Commit.booleanThe Cloud Spanner timestamp at which the transaction committed.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;
-