public override int GetHashCode() { int hash = 1; if (oneDummy_ != null) { hash ^= OneDummy.GetHashCode(); } hash ^= multipleDummy_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public void MergeFrom(ComplexMessage other) { if (other == null) { return; } if (other.oneDummy_ != null) { if (oneDummy_ == null) { OneDummy = new global::Example.Complex.DummyMessage(); } OneDummy.MergeFrom(other.OneDummy); } multipleDummy_.Add(other.multipleDummy_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }