public void MergeFrom(OTAProviderRoomTypes other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Booking.Channels.OTAProviderRoomTypeIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.otaProviderId_ != null)
     {
         if (otaProviderId_ == null)
         {
             otaProviderId_ = new global::HOLMS.Types.Booking.Channels.OTAChannelProviderIndicator();
         }
         OtaProviderId.MergeFrom(other.OtaProviderId);
     }
     if (other.roomTypeId_ != null)
     {
         if (roomTypeId_ == null)
         {
             roomTypeId_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator();
         }
         RoomTypeId.MergeFrom(other.RoomTypeId);
     }
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (entityId_ == null)
                    {
                        entityId_ = new global::HOLMS.Types.Booking.Channels.OTAProviderRoomTypeIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

                case 18: {
                    if (otaProviderId_ == null)
                    {
                        otaProviderId_ = new global::HOLMS.Types.Booking.Channels.OTAChannelProviderIndicator();
                    }
                    input.ReadMessage(otaProviderId_);
                    break;
                }

                case 26: {
                    if (roomTypeId_ == null)
                    {
                        roomTypeId_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator();
                    }
                    input.ReadMessage(roomTypeId_);
                    break;
                }
                }
            }
        }