public override int GetHashCode() { int hash = 1; if (commitTimestamp_ != null) { hash ^= CommitTimestamp.GetHashCode(); } if (commitStats_ != null) { hash ^= CommitStats.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public void MergeFrom(CommitResponse other) { if (other == null) { return; } if (other.commitTimestamp_ != null) { if (commitTimestamp_ == null) { CommitTimestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CommitTimestamp.MergeFrom(other.CommitTimestamp); } if (other.commitStats_ != null) { if (commitStats_ == null) { CommitStats = new global::Google.Cloud.Spanner.V1.CommitResponse.Types.CommitStats(); } CommitStats.MergeFrom(other.CommitStats); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }