public void MergeFrom(CheersRequest other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.Bol != false) { Bol = other.Bol; } stringlt_.Add(other.stringlt_); numberlt_.Add(other.numberlt_); if (other.birthday_ != null) { if (birthday_ == null) { Birthday = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } Birthday.MergeFrom(other.Birthday); } results_.Add(other.results_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Person other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.Name.Length != 0) { Name = other.Name; } if (other.Height != 0F) { Height = other.Height; } if (other.Weight != 0F) { Weight = other.Weight; } if (other.Avator.Length != 0) { Avator = other.Avator; } if (other.Email.Length != 0) { Email = other.Email; } if (other.EmailVerified != false) { EmailVerified = other.EmailVerified; } phoneNumber_.Add(other.phoneNumber_); if (other.Gender != global::My.Project.Gender.NotSpecified) { Gender = other.Gender; } if (other.birthday_ != null) { if (birthday_ == null) { Birthday = new global::Date(); } Birthday.MergeFrom(other.Birthday); } addresses_.Add(other.addresses_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }