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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      CommitResponse.CommitStats getCommitStats()
      The statistics about this Commit.
      CommitResponse.CommitStatsOrBuilder getCommitStatsOrBuilder()
      The statistics about this Commit.
      com.google.protobuf.Timestamp getCommitTimestamp()
      The Cloud Spanner timestamp at which the transaction committed.
      com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder()
      The Cloud Spanner timestamp at which the transaction committed.
      boolean hasCommitStats()
      The statistics about this Commit.
      boolean hasCommitTimestamp()
      The Cloud Spanner timestamp at which the transaction committed.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

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