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 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.
       You must retry the commit with the new precommit token.
       
      .google.spanner.v1.MultiplexedSessionPrecommitToken precommit_token = 4;
      Returns:
      Whether the precommitToken field is set.
    • 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:
      The precommitToken.
    • getPrecommitTokenOrBuilder

      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;
    • hasSnapshotTimestamp

      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:
      Whether the snapshotTimestamp field is set.
    • getSnapshotTimestamp

      com.google.protobuf.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:
      The snapshotTimestamp.
    • getSnapshotTimestampOrBuilder

      com.google.protobuf.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;
    • getMultiplexedSessionRetryCase

      CommitResponse.MultiplexedSessionRetryCase getMultiplexedSessionRetryCase()