public override int GetHashCode() { int hash = 1; if (MaxStep != 0L) { hash ^= MaxStep.GetHashCode(); } if (maxWallTime_ != null) { hash ^= MaxWallTime.GetHashCode(); } if (MaxBlobSequenceLength != 0L) { hash ^= MaxBlobSequenceLength.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public void MergeFrom(Metadata other) { if (other == null) { return; } if (other.MaxStep != 0L) { MaxStep = other.MaxStep; } if (other.maxWallTime_ != null) { if (maxWallTime_ == null) { MaxWallTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } MaxWallTime.MergeFrom(other.MaxWallTime); } if (other.MaxBlobSequenceLength != 0L) { MaxBlobSequenceLength = other.MaxBlobSequenceLength; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }