public void MergeFrom(Person other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.Id != 0) { Id = other.Id; } if (other.Email.Length != 0) { Email = other.Email; } phones_.Add(other.phones_); if (other.lastUpdated_ != null) { if (lastUpdated_ == null) { lastUpdated_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } LastUpdated.MergeFrom(other.LastUpdated); } if (other.address_ != null) { if (address_ == null) { address_ = new global::Contacts.Person.Types.Address(); } Address.MergeFrom(other.Address); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }