/** * * * <pre> * The Cloud Spanner timestamp at which the transaction committed. * </pre> * * <code>.google.protobuf.Timestamp commit_timestamp = 1;</code> */ public Builder setCommitTimestamp(com.google.protobuf.Timestamp value) { if (commitTimestampBuilder_ == null) { if (value == null) { throw new NullPointerException(); } commitTimestamp_ = value; onChanged(); } else { commitTimestampBuilder_.setMessage(value); } return this; } /**
/** * * * <pre> * The Cloud Spanner timestamp at which the transaction committed. * </pre> * * <code>.google.protobuf.Timestamp commit_timestamp = 1;</code> */ public com.google.protobuf.Timestamp.Builder getCommitTimestampBuilder() { onChanged(); return getCommitTimestampFieldBuilder().getBuilder(); } /**
/** * * * <pre> * The Cloud Spanner timestamp at which the transaction committed. * </pre> * * <code>.google.protobuf.Timestamp commit_timestamp = 1;</code> */ public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) { if (commitTimestampBuilder_ == null) { commitTimestamp_ = builderForValue.build(); onChanged(); } else { commitTimestampBuilder_.setMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * The Cloud Spanner timestamp at which the transaction committed. * </pre> * * <code>.google.protobuf.Timestamp commit_timestamp = 1;</code> */ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) { if (commitTimestampBuilder_ == null) { if (commitTimestamp_ != null) { commitTimestamp_ = com.google.protobuf.Timestamp.newBuilder(commitTimestamp_) .mergeFrom(value) .buildPartial(); } else { commitTimestamp_ = value; } onChanged(); } else { commitTimestampBuilder_.mergeFrom(value); } return this; } /**
/** * * * <pre> * The Cloud Spanner timestamp at which the transaction committed. * </pre> * * <code>.google.protobuf.Timestamp commit_timestamp = 1;</code> */ public Builder clearCommitTimestamp() { if (commitTimestampBuilder_ == null) { commitTimestamp_ = null; onChanged(); } else { commitTimestamp_ = null; commitTimestampBuilder_ = null; } return this; } /**
public Builder mergeFrom(com.google.spanner.v1.CommitResponse other) { if (other == com.google.spanner.v1.CommitResponse.getDefaultInstance()) return this; if (other.hasCommitTimestamp()) { mergeCommitTimestamp(other.getCommitTimestamp()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }