public void MergeFrom(UpdPersonRequest other) { if (other == null) { return; } if (other.person_ != null) { if (person_ == null) { Person = new global::AddressBookServices.Person(); } Person.MergeFrom(other.Person); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (person_ == null) { Person = new global::AddressBookServices.Person(); } input.ReadMessage(Person); break; } } } }