context: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // source: POGOProtos/Networking/Responses/FortSearchResponse.proto
  #pragma warning disable 1591, 0612, 3021
  #region Designer generated code
  
  using pb = global::Google.Protobuf;
  using pbc = global::Google.Protobuf.Collections;
  using pbr = global::Google.Protobuf.Reflection;
  using scg = global::System.Collections.Generic;
  namespace POGOProtos.Networking.Responses {
  
    /// <summary>Holder for reflection information generated from POGOProtos/Networking/Responses/FortSearchResponse.proto</summary>
    public static partial class FortSearchResponseReflection {
  
      #region Descriptor
      /// <summary>File descriptor for POGOProtos/Networking/Responses/FortSearchResponse.proto</summary>
      public static pbr::FileDescriptor Descriptor {
        get { return descriptor; }
      }
      private static pbr::FileDescriptor descriptor;
  
      static FortSearchResponseReflection() {
        byte[] descriptorData = global::System.Convert.FromBase64String(
            string.Concat(
              "CjhQT0dPUHJvdG9zL05ldHdvcmtpbmcvUmVzcG9uc2VzL0ZvcnRTZWFyY2hS",
              "ZXNwb25zZS5wcm90bxIfUE9HT1Byb3Rvcy5OZXR3b3JraW5nLlJlc3BvbnNl",
              "cxohUE9HT1Byb3Rvcy9EYXRhL1Bva2Vtb25EYXRhLnByb3RvGilQT0dPUHJv",
              "dG9zL0ludmVudG9yeS9JdGVtL0l0ZW1Bd2FyZC5wcm90bxofUE9HT1Byb3Rv",
              "cy9JbnZlbnRvcnkvTG9vdC5wcm90bxorUE9HT1Byb3Rvcy9EYXRhL0JhZGdl",
              "L0F3YXJkZWRHeW1CYWRnZS5wcm90byLlBQoSRm9ydFNlYXJjaFJlc3BvbnNl",
              "EkoKBnJlc3VsdBgBIAEoDjI6LlBPR09Qcm90b3MuTmV0d29ya2luZy5SZXNw",
              "b25zZXMuRm9ydFNlYXJjaFJlc3BvbnNlLlJlc3VsdBI7Cg1pdGVtc19hd2Fy",
              "ZGVkGAIgAygLMiQuUE9HT1Byb3Rvcy5JbnZlbnRvcnkuSXRlbS5JdGVtQXdh",
              "cmQSFAoMZ2Vtc19hd2FyZGVkGAMgASgFEjYKEHBva2Vtb25fZGF0YV9lZ2cY",
              "BCABKAsyHC5QT0dPUHJvdG9zLkRhdGEuUG9rZW1vbkRhdGESGgoSZXhwZXJp",
              "ZW5jZV9hd2FyZGVkGAUgASgFEiYKHmNvb2xkb3duX2NvbXBsZXRlX3RpbWVz",
              "dGFtcF9tcxgGIAEoAxIiChpjaGFpbl9oYWNrX3NlcXVlbmNlX251bWJlchgH",
              "IAEoBRJBChFhd2FyZGVkX2d5bV9iYWRnZRgIIAEoCzImLlBPR09Qcm90b3Mu",
              "RGF0YS5CYWRnZS5Bd2FyZGVkR3ltQmFkZ2USKAoEbG9vdBgJIAEoCzIaLlBP",
              "R09Qcm90b3MuSW52ZW50b3J5Lkxvb3QSLgoKYm9udXNfbG9vdBgKIAEoCzIa",
              "LlBPR09Qcm90b3MuSW52ZW50b3J5Lkxvb3QSFAoMcmFpZF90aWNrZXRzGAsg",
              "ASgFEjMKD3RlYW1fYm9udXNfbG9vdBgMIAEoCzIaLlBPR09Qcm90b3MuSW52",
              "ZW50b3J5Lkxvb3QSDwoHZm9ydF9pZBgNIAEoCSKWAQoGUmVzdWx0EhEKDU5P",
              "X1JFU1VMVF9TRVQQABILCgdTVUNDRVNTEAESEAoMT1VUX09GX1JBTkdFEAIS",
              "FgoSSU5fQ09PTERPV05fUEVSSU9EEAMSEgoOSU5WRU5UT1JZX0ZVTEwQBBIY",
              "ChRFWENFRURFRF9EQUlMWV9MSU1JVBAFEhQKEFBPSV9JTkFDQ0VTU0lCTEUQ",
              "BmIGcHJvdG8z"));
        descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
            new pbr::FileDescriptor[] { global::POGOProtos.Data.PokemonDataReflection.Descriptor, global::POGOProtos.Inventory.Item.ItemAwardReflection.Descriptor, global::POGOProtos.Inventory.LootReflection.Descriptor, global::POGOProtos.Data.Badge.AwardedGymBadgeReflection.Descriptor, },
            new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
              new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Responses.FortSearchResponse), global::POGOProtos.Networking.Responses.FortSearchResponse.Parser, new[]{ "Result", "ItemsAwarded", "GemsAwarded", "PokemonDataEgg", "ExperienceAwarded", "CooldownCompleteTimestampMs", "ChainHackSequenceNumber", "AwardedGymBadge", "Loot", "BonusLoot", "RaidTickets", "TeamBonusLoot", "FortId" }, null, new[]{ typeof(global::POGOProtos.Networking.Responses.FortSearchResponse.Types.Result) }, null)
            }));
      }
      #endregion
  
    }
    #region Messages
    public sealed partial class FortSearchResponse : pb::IMessage<FortSearchResponse> {
      private static readonly pb::MessageParser<FortSearchResponse> _parser = new pb::MessageParser<FortSearchResponse>(() => new FortSearchResponse());
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public static pb::MessageParser<FortSearchResponse> Parser { get { return _parser; } }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public static pbr::MessageDescriptor Descriptor {
        get { return global::POGOProtos.Networking.Responses.FortSearchResponseReflection.Descriptor.MessageTypes[0]; }
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      pbr::MessageDescriptor pb::IMessage.Descriptor {
        get { return Descriptor; }
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public FortSearchResponse() {
        OnConstruction();
      }
  
      partial void OnConstruction();
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public FortSearchResponse(FortSearchResponse other) : this() {
        result_ = other.result_;
        itemsAwarded_ = other.itemsAwarded_.Clone();
        gemsAwarded_ = other.gemsAwarded_;
        PokemonDataEgg = other.pokemonDataEgg_ != null ? other.PokemonDataEgg.Clone() : null;
        experienceAwarded_ = other.experienceAwarded_;
        cooldownCompleteTimestampMs_ = other.cooldownCompleteTimestampMs_;
        chainHackSequenceNumber_ = other.chainHackSequenceNumber_;
        AwardedGymBadge = other.awardedGymBadge_ != null ? other.AwardedGymBadge.Clone() : null;
        Loot = other.loot_ != null ? other.Loot.Clone() : null;
        BonusLoot = other.bonusLoot_ != null ? other.BonusLoot.Clone() : null;
        raidTickets_ = other.raidTickets_;
        TeamBonusLoot = other.teamBonusLoot_ != null ? other.TeamBonusLoot.Clone() : null;
        fortId_ = other.fortId_;
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public FortSearchResponse Clone() {
        return new FortSearchResponse(this);
      }
  
      /// <summary>Field number for the "result" field.</summary>
      public const int ResultFieldNumber = 1;
      private global::POGOProtos.Networking.Responses.FortSearchResponse.Types.Result result_ = 0;
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public global::POGOProtos.Networking.Responses.FortSearchResponse.Types.Result Result {
        get { return result_; }
        set {
          result_ = value;
        }
      }
  
      /// <summary>Field number for the "items_awarded" field.</summary>
      public const int ItemsAwardedFieldNumber = 2;
      private static readonly pb::FieldCodec<global::POGOProtos.Inventory.Item.ItemAward> _repeated_itemsAwarded_codec
          = pb::FieldCodec.ForMessage(18, global::POGOProtos.Inventory.Item.ItemAward.Parser);
      private readonly pbc::RepeatedField<global::POGOProtos.Inventory.Item.ItemAward> itemsAwarded_ = new pbc::RepeatedField<global::POGOProtos.Inventory.Item.ItemAward>();
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public pbc::RepeatedField<global::POGOProtos.Inventory.Item.ItemAward> ItemsAwarded {
        get { return itemsAwarded_; }
      }
  
      /// <summary>Field number for the "gems_awarded" field.</summary>
      public const int GemsAwardedFieldNumber = 3;
      private int gemsAwarded_;
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public int GemsAwarded {
        get { return gemsAwarded_; }
        set {
          gemsAwarded_ = value;
        }
      }
  
      /// <summary>Field number for the "pokemon_data_egg" field.</summary>
      public const int PokemonDataEggFieldNumber = 4;
      private global::POGOProtos.Data.PokemonData pokemonDataEgg_;
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public global::POGOProtos.Data.PokemonData PokemonDataEgg {
        get { return pokemonDataEgg_; }
        set {
          pokemonDataEgg_ = value;
        }
      }
  
      /// <summary>Field number for the "experience_awarded" field.</summary>
      public const int ExperienceAwardedFieldNumber = 5;
      private int experienceAwarded_;
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public int ExperienceAwarded {
        get { return experienceAwarded_; }
        set {
          experienceAwarded_ = value;
        }
      }
  
      /// <summary>Field number for the "cooldown_complete_timestamp_ms" field.</summary>
      public const int CooldownCompleteTimestampMsFieldNumber = 6;
      private long cooldownCompleteTimestampMs_;
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public long CooldownCompleteTimestampMs {
        get { return cooldownCompleteTimestampMs_; }
        set {
          cooldownCompleteTimestampMs_ = value;
        }
      }
  
      /// <summary>Field number for the "chain_hack_sequence_number" field.</summary>
      public const int ChainHackSequenceNumberFieldNumber = 7;
      private int chainHackSequenceNumber_;
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public int ChainHackSequenceNumber {
        get { return chainHackSequenceNumber_; }
        set {
          chainHackSequenceNumber_ = value;
        }
      }
  
      /// <summary>Field number for the "awarded_gym_badge" field.</summary>
      public const int AwardedGymBadgeFieldNumber = 8;
      private global::POGOProtos.Data.Badge.AwardedGymBadge awardedGymBadge_;
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public global::POGOProtos.Data.Badge.AwardedGymBadge AwardedGymBadge {
        get { return awardedGymBadge_; }
        set {
          awardedGymBadge_ = value;
        }
      }
  
      /// <summary>Field number for the "loot" field.</summary>
      public const int LootFieldNumber = 9;
      private global::POGOProtos.Inventory.Loot loot_;
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public global::POGOProtos.Inventory.Loot Loot {
        get { return loot_; }
        set {
          loot_ = value;
        }
      }
  
      /// <summary>Field number for the "bonus_loot" field.</summary>
      public const int BonusLootFieldNumber = 10;
      private global::POGOProtos.Inventory.Loot bonusLoot_;
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public global::POGOProtos.Inventory.Loot BonusLoot {
        get { return bonusLoot_; }
        set {
          bonusLoot_ = value;
        }
      }
  
      /// <summary>Field number for the "raid_tickets" field.</summary>
      public const int RaidTicketsFieldNumber = 11;
      private int raidTickets_;
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public int RaidTickets {
        get { return raidTickets_; }
        set {
          raidTickets_ = value;
        }
      }
  
      /// <summary>Field number for the "team_bonus_loot" field.</summary>
      public const int TeamBonusLootFieldNumber = 12;
      private global::POGOProtos.Inventory.Loot teamBonusLoot_;
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public global::POGOProtos.Inventory.Loot TeamBonusLoot {
        get { return teamBonusLoot_; }
        set {
          teamBonusLoot_ = value;
        }
      }
  
      /// <summary>Field number for the "fort_id" field.</summary>
      public const int FortIdFieldNumber = 13;
      private string fortId_ = "";
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public string FortId {
        get { return fortId_; }
        set {
          fortId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
        }
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public override bool Equals(object other) {
        return Equals(other as FortSearchResponse);
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public bool Equals(FortSearchResponse other) {
        if (ReferenceEquals(other, null)) {
          return false;
        }
        if (ReferenceEquals(other, this)) {
          return true;
        }
        if (Result != other.Result) return false;
        if(!itemsAwarded_.Equals(other.itemsAwarded_)) return false;
        if (GemsAwarded != other.GemsAwarded) return false;
        if (!object.Equals(PokemonDataEgg, other.PokemonDataEgg)) return false;
        if (ExperienceAwarded != other.ExperienceAwarded) return false;
        if (CooldownCompleteTimestampMs != other.CooldownCompleteTimestampMs) return false;
        if (ChainHackSequenceNumber != other.ChainHackSequenceNumber) return false;
        if (!object.Equals(AwardedGymBadge, other.AwardedGymBadge)) return false;
        if (!object.Equals(Loot, other.Loot)) return false;
        if (!object.Equals(BonusLoot, other.BonusLoot)) return false;
        if (RaidTickets != other.RaidTickets) return false;
        if (!object.Equals(TeamBonusLoot, other.TeamBonusLoot)) return false;
        if (FortId != other.FortId) return false;
        return true;
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public override int GetHashCode() {
        int hash = 1;
        if (Result != 0) hash ^= Result.GetHashCode();
        hash ^= itemsAwarded_.GetHashCode();
        if (GemsAwarded != 0) hash ^= GemsAwarded.GetHashCode();
        if (pokemonDataEgg_ != null) hash ^= PokemonDataEgg.GetHashCode();
        if (ExperienceAwarded != 0) hash ^= ExperienceAwarded.GetHashCode();
        if (CooldownCompleteTimestampMs != 0L) hash ^= CooldownCompleteTimestampMs.GetHashCode();
        if (ChainHackSequenceNumber != 0) hash ^= ChainHackSequenceNumber.GetHashCode();
        if (awardedGymBadge_ != null) hash ^= AwardedGymBadge.GetHashCode();
        if (loot_ != null) hash ^= Loot.GetHashCode();
        if (bonusLoot_ != null) hash ^= BonusLoot.GetHashCode();
        if (RaidTickets != 0) hash ^= RaidTickets.GetHashCode();
        if (teamBonusLoot_ != null) hash ^= TeamBonusLoot.GetHashCode();
        if (FortId.Length != 0) hash ^= FortId.GetHashCode();
        return hash;
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public override string ToString() {
        return pb::JsonFormatter.ToDiagnosticString(this);
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public void WriteTo(pb::CodedOutputStream output) {
        if (Result != 0) {
          output.WriteRawTag(8);
          output.WriteEnum((int) Result);
        }
        itemsAwarded_.WriteTo(output, _repeated_itemsAwarded_codec);
        if (GemsAwarded != 0) {
          output.WriteRawTag(24);
          output.WriteInt32(GemsAwarded);
        }
        if (pokemonDataEgg_ != null) {
          output.WriteRawTag(34);
          output.WriteMessage(PokemonDataEgg);
        }
        if (ExperienceAwarded != 0) {
          output.WriteRawTag(40);
          output.WriteInt32(ExperienceAwarded);
        }
        if (CooldownCompleteTimestampMs != 0L) {
          output.WriteRawTag(48);
          output.WriteInt64(CooldownCompleteTimestampMs);
        }
        if (ChainHackSequenceNumber != 0) {
          output.WriteRawTag(56);
          output.WriteInt32(ChainHackSequenceNumber);
        }
        if (awardedGymBadge_ != null) {
          output.WriteRawTag(66);
          output.WriteMessage(AwardedGymBadge);
        }
        if (loot_ != null) {
          output.WriteRawTag(74);
          output.WriteMessage(Loot);
        }
        if (bonusLoot_ != null) {
          output.WriteRawTag(82);
          output.WriteMessage(BonusLoot);
        }
        if (RaidTickets != 0) {
          output.WriteRawTag(88);
          output.WriteInt32(RaidTickets);
        }
        if (teamBonusLoot_ != null) {
          output.WriteRawTag(98);
          output.WriteMessage(TeamBonusLoot);
        }
        if (FortId.Length != 0) {
          output.WriteRawTag(106);
          output.WriteString(FortId);
        }
      }
  
      [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
      public int CalculateSize() {
        int size = 0;
        if (Result != 0) {
          size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Result);
        }
        size += itemsAwarded_.CalculateSize(_repeated_itemsAwarded_codec);
        if (GemsAwarded != 0) {
          size += 1 + pb::CodedOutputStream.ComputeInt32Size(GemsAwarded);
        }
        if (pokemonDataEgg_ != null) {
          size += 1 + pb::CodedOutputStream.ComputeMessageSize(PokemonDataEgg);
        }
        if (ExperienceAwarded != 0) {
          size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExperienceAwarded);
        }
        if (CooldownCompleteTimestampMs != 0L) {
          size += 1 + pb::CodedOutputStream.ComputeInt64Size(CooldownCompleteTimestampMs);
        }
        if (ChainHackSequenceNumber != 0) {
          size += 1 + pb::CodedOutputStream.ComputeInt32Size(ChainHackSequenceNumber);
        }
        if (awardedGymBadge_ != null) {
          size += 1 + pb::CodedOutputStream.ComputeMessageSize(AwardedGymBadge);
        }
        if (loot_ != null) {
  
gt:         size += 1 + pb::CodedOutputStream.ComputeMessageSize(Loot);