public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { ReservationIsCancelled = input.ReadBool(); break; } case 18: { if (reservation_ == null) { reservation_ = new global::HOLMS.Types.Booking.Reservations.CancelledReservation(); } input.ReadMessage(reservation_); break; } } } }
public void MergeFrom(ReservationCancellationSvcGetCancelledReservationResponse other) { if (other == null) { return; } if (other.ReservationIsCancelled != false) { ReservationIsCancelled = other.ReservationIsCancelled; } if (other.reservation_ != null) { if (reservation_ == null) { reservation_ = new global::HOLMS.Types.Booking.Reservations.CancelledReservation(); } Reservation.MergeFrom(other.Reservation); } }