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

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

                case 8: {
                    Success = input.ReadBool();
                    break;
                }

                case 18: {
                    if (inventoryDelta_ == null)
                    {
                        inventoryDelta_ = new global::PokemonGoDesktop.API.Proto.InventoryDelta();
                    }
                    input.ReadMessage(inventoryDelta_);
                    break;
                }
                }
            }
        }
 public void MergeFrom(GetInventoryResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Success != false)
     {
         Success = other.Success;
     }
     if (other.inventoryDelta_ != null)
     {
         if (inventoryDelta_ == null)
         {
             inventoryDelta_ = new global::PokemonGoDesktop.API.Proto.InventoryDelta();
         }
         InventoryDelta.MergeFrom(other.InventoryDelta);
     }
 }