public void MergeFrom(SearchStaysRequest other) { if (other == null) { return; } if (other.Country.Length != 0) { Country = other.Country; } if (other.City.Length != 0) { City = other.City; } if (other.checkin_ != null) { if (checkin_ == null) { Checkin = new global::Stays.Date(); } Checkin.MergeFrom(other.Checkin); } if (other.checkout_ != null) { if (checkout_ == null) { Checkout = new global::Stays.Date(); } Checkout.MergeFrom(other.Checkout); } if (other.Rooms != 0) { Rooms = other.Rooms; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }