public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 8: {
                    result_ = (global::PokemonGoDesktop.API.Proto.UseItemEggIncubatorResponse.Types.Result)input.ReadEnum();
                    break;
                }

                case 18: {
                    if (eggIncubator_ == null)
                    {
                        eggIncubator_ = new global::PokemonGoDesktop.API.Proto.EggIncubator();
                    }
                    input.ReadMessage(eggIncubator_);
                    break;
                }
                }
            }
        }
 public void MergeFrom(UseItemEggIncubatorResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.eggIncubator_ != null)
     {
         if (eggIncubator_ == null)
         {
             eggIncubator_ = new global::PokemonGoDesktop.API.Proto.EggIncubator();
         }
         EggIncubator.MergeFrom(other.EggIncubator);
     }
 }