// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: ChallengeBossInfo.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#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 EggLink.DanhengServer.Proto {

  /// <summary>Holder for reflection information generated from ChallengeBossInfo.proto</summary>
  public static partial class ChallengeBossInfoReflection {

    #region Descriptor
    /// <summary>File descriptor for ChallengeBossInfo.proto</summary>
    public static pbr::FileDescriptor Descriptor {
      get { return descriptor; }
    }
    private static pbr::FileDescriptor descriptor;

    static ChallengeBossInfoReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChdDaGFsbGVuZ2VCb3NzSW5mby5wcm90bxohQ2hhbGxlbmdlQm9zc1Npbmds",
            "ZU5vZGVJbmZvLnByb3RvGiJDaGFsbGVuZ2VCb3NzQXZhdGFyUmVsaWNJbmZv",
            "LnByb3RvGiBDaGFsbGVuZ2VCb3NzRXF1aXBtZW50SW5mby5wcm90byKsBAoR",
            "Q2hhbGxlbmdlQm9zc0luZm8SEwoLTkNCRE5QR1BFQUkYCiABKAgSMAoKZmly",
            "c3Rfbm9kZRgIIAEoCzIcLkNoYWxsZW5nZUJvc3NTaW5nbGVOb2RlSW5mbxJT",
            "ChpjaGFsbGVuZ2VfYXZhdGFyX3JlbGljX21hcBgEIAMoCzIvLkNoYWxsZW5n",
            "ZUJvc3NJbmZvLkNoYWxsZW5nZUF2YXRhclJlbGljTWFwRW50cnkSWwoeY2hh",
            "bGxlbmdlX2F2YXRhcl9lcXVpcG1lbnRfbWFwGAMgAygLMjMuQ2hhbGxlbmdl",
            "Qm9zc0luZm8uQ2hhbGxlbmdlQXZhdGFyRXF1aXBtZW50TWFwRW50cnkSMQoL",
            "c2Vjb25kX25vZGUYASABKAsyHC5DaGFsbGVuZ2VCb3NzU2luZ2xlTm9kZUlu",
            "Zm8SFQoNc2Vjb25kX2xpbmV1cBgHIAMoDRIUCgxmaXJzdF9saW5ldXAYBiAD",
            "KA0aXQocQ2hhbGxlbmdlQXZhdGFyUmVsaWNNYXBFbnRyeRILCgNrZXkYASAB",
            "KA0SLAoFdmFsdWUYAiABKAsyHS5DaGFsbGVuZ2VCb3NzQXZhdGFyUmVsaWNJ",
            "bmZvOgI4ARpfCiBDaGFsbGVuZ2VBdmF0YXJFcXVpcG1lbnRNYXBFbnRyeRIL",
            "CgNrZXkYASABKA0SKgoFdmFsdWUYAiABKAsyGy5DaGFsbGVuZ2VCb3NzRXF1",
            "aXBtZW50SW5mbzoCOAFCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90",
            "b2IGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChallengeBossSingleNodeInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChallengeBossAvatarRelicInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChallengeBossEquipmentInfoReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChallengeBossInfo), global::EggLink.DanhengServer.Proto.ChallengeBossInfo.Parser, new[]{ "NCBDNPGPEAI", "FirstNode", "ChallengeAvatarRelicMap", "ChallengeAvatarEquipmentMap", "SecondNode", "SecondLineup", "FirstLineup" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, })
          }));
    }
    #endregion

  }
  #region Messages
  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class ChallengeBossInfo : pb::IMessage<ChallengeBossInfo>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<ChallengeBossInfo> _parser = new pb::MessageParser<ChallengeBossInfo>(() => new ChallengeBossInfo());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<ChallengeBossInfo> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::EggLink.DanhengServer.Proto.ChallengeBossInfoReflection.Descriptor.MessageTypes[0]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ChallengeBossInfo() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ChallengeBossInfo(ChallengeBossInfo other) : this() {
      nCBDNPGPEAI_ = other.nCBDNPGPEAI_;
      firstNode_ = other.firstNode_ != null ? other.firstNode_.Clone() : null;
      challengeAvatarRelicMap_ = other.challengeAvatarRelicMap_.Clone();
      challengeAvatarEquipmentMap_ = other.challengeAvatarEquipmentMap_.Clone();
      secondNode_ = other.secondNode_ != null ? other.secondNode_.Clone() : null;
      secondLineup_ = other.secondLineup_.Clone();
      firstLineup_ = other.firstLineup_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ChallengeBossInfo Clone() {
      return new ChallengeBossInfo(this);
    }

    /// <summary>Field number for the "NCBDNPGPEAI" field.</summary>
    public const int NCBDNPGPEAIFieldNumber = 10;
    private bool nCBDNPGPEAI_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool NCBDNPGPEAI {
      get { return nCBDNPGPEAI_; }
      set {
        nCBDNPGPEAI_ = value;
      }
    }

    /// <summary>Field number for the "first_node" field.</summary>
    public const int FirstNodeFieldNumber = 8;
    private global::EggLink.DanhengServer.Proto.ChallengeBossSingleNodeInfo firstNode_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.ChallengeBossSingleNodeInfo FirstNode {
      get { return firstNode_; }
      set {
        firstNode_ = value;
      }
    }

    /// <summary>Field number for the "challenge_avatar_relic_map" field.</summary>
    public const int ChallengeAvatarRelicMapFieldNumber = 4;
    private static readonly pbc::MapField<uint, global::EggLink.DanhengServer.Proto.ChallengeBossAvatarRelicInfo>.Codec _map_challengeAvatarRelicMap_codec
        = new pbc::MapField<uint, global::EggLink.DanhengServer.Proto.ChallengeBossAvatarRelicInfo>.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.ChallengeBossAvatarRelicInfo.Parser), 34);
    private readonly pbc::MapField<uint, global::EggLink.DanhengServer.Proto.ChallengeBossAvatarRelicInfo> challengeAvatarRelicMap_ = new pbc::MapField<uint, global::EggLink.DanhengServer.Proto.ChallengeBossAvatarRelicInfo>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::MapField<uint, global::EggLink.DanhengServer.Proto.ChallengeBossAvatarRelicInfo> ChallengeAvatarRelicMap {
      get { return challengeAvatarRelicMap_; }
    }

    /// <summary>Field number for the "challenge_avatar_equipment_map" field.</summary>
    public const int ChallengeAvatarEquipmentMapFieldNumber = 3;
    private static readonly pbc::MapField<uint, global::EggLink.DanhengServer.Proto.ChallengeBossEquipmentInfo>.Codec _map_challengeAvatarEquipmentMap_codec
        = new pbc::MapField<uint, global::EggLink.DanhengServer.Proto.ChallengeBossEquipmentInfo>.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.ChallengeBossEquipmentInfo.Parser), 26);
    private readonly pbc::MapField<uint, global::EggLink.DanhengServer.Proto.ChallengeBossEquipmentInfo> challengeAvatarEquipmentMap_ = new pbc::MapField<uint, global::EggLink.DanhengServer.Proto.ChallengeBossEquipmentInfo>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::MapField<uint, global::EggLink.DanhengServer.Proto.ChallengeBossEquipmentInfo> ChallengeAvatarEquipmentMap {
      get { return challengeAvatarEquipmentMap_; }
    }

    /// <summary>Field number for the "second_node" field.</summary>
    public const int SecondNodeFieldNumber = 1;
    private global::EggLink.DanhengServer.Proto.ChallengeBossSingleNodeInfo secondNode_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.ChallengeBossSingleNodeInfo SecondNode {
      get { return secondNode_; }
      set {
        secondNode_ = value;
      }
    }

    /// <summary>Field number for the "second_lineup" field.</summary>
    public const int SecondLineupFieldNumber = 7;
    private static readonly pb::FieldCodec<uint> _repeated_secondLineup_codec
        = pb::FieldCodec.ForUInt32(58);
    private readonly pbc::RepeatedField<uint> secondLineup_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> SecondLineup {
      get { return secondLineup_; }
    }

    /// <summary>Field number for the "first_lineup" field.</summary>
    public const int FirstLineupFieldNumber = 6;
    private static readonly pb::FieldCodec<uint> _repeated_firstLineup_codec
        = pb::FieldCodec.ForUInt32(50);
    private readonly pbc::RepeatedField<uint> firstLineup_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> FirstLineup {
      get { return firstLineup_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as ChallengeBossInfo);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(ChallengeBossInfo other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (NCBDNPGPEAI != other.NCBDNPGPEAI) return false;
      if (!object.Equals(FirstNode, other.FirstNode)) return false;
      if (!ChallengeAvatarRelicMap.Equals(other.ChallengeAvatarRelicMap)) return false;
      if (!ChallengeAvatarEquipmentMap.Equals(other.ChallengeAvatarEquipmentMap)) return false;
      if (!object.Equals(SecondNode, other.SecondNode)) return false;
      if(!secondLineup_.Equals(other.secondLineup_)) return false;
      if(!firstLineup_.Equals(other.firstLineup_)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (NCBDNPGPEAI != false) hash ^= NCBDNPGPEAI.GetHashCode();
      if (firstNode_ != null) hash ^= FirstNode.GetHashCode();
      hash ^= ChallengeAvatarRelicMap.GetHashCode();
      hash ^= ChallengeAvatarEquipmentMap.GetHashCode();
      if (secondNode_ != null) hash ^= SecondNode.GetHashCode();
      hash ^= secondLineup_.GetHashCode();
      hash ^= firstLineup_.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (secondNode_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(SecondNode);
      }
      challengeAvatarEquipmentMap_.WriteTo(output, _map_challengeAvatarEquipmentMap_codec);
      challengeAvatarRelicMap_.WriteTo(output, _map_challengeAvatarRelicMap_codec);
      firstLineup_.WriteTo(output, _repeated_firstLineup_codec);
      secondLineup_.WriteTo(output, _repeated_secondLineup_codec);
      if (firstNode_ != null) {
        output.WriteRawTag(66);
        output.WriteMessage(FirstNode);
      }
      if (NCBDNPGPEAI != false) {
        output.WriteRawTag(80);
        output.WriteBool(NCBDNPGPEAI);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (secondNode_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(SecondNode);
      }
      challengeAvatarEquipmentMap_.WriteTo(ref output, _map_challengeAvatarEquipmentMap_codec);
      challengeAvatarRelicMap_.WriteTo(ref output, _map_challengeAvatarRelicMap_codec);
      firstLineup_.WriteTo(ref output, _repeated_firstLineup_codec);
      secondLineup_.WriteTo(ref output, _repeated_secondLineup_codec);
      if (firstNode_ != null) {
        output.WriteRawTag(66);
        output.WriteMessage(FirstNode);
      }
      if (NCBDNPGPEAI != false) {
        output.WriteRawTag(80);
        output.WriteBool(NCBDNPGPEAI);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (NCBDNPGPEAI != false) {
        size += 1 + 1;
      }
      if (firstNode_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(FirstNode);
      }
      size += challengeAvatarRelicMap_.CalculateSize(_map_challengeAvatarRelicMap_codec);
      size += challengeAvatarEquipmentMap_.CalculateSize(_map_challengeAvatarEquipmentMap_codec);
      if (secondNode_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(SecondNode);
      }
      size += secondLineup_.CalculateSize(_repeated_secondLineup_codec);
      size += firstLineup_.CalculateSize(_repeated_firstLineup_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(ChallengeBossInfo other) {
      if (other == null) {
        return;
      }
      if (other.NCBDNPGPEAI != false) {
        NCBDNPGPEAI = other.NCBDNPGPEAI;
      }
      if (other.firstNode_ != null) {
        if (firstNode_ == null) {
          FirstNode = new global::EggLink.DanhengServer.Proto.ChallengeBossSingleNodeInfo();
        }
        FirstNode.MergeFrom(other.FirstNode);
      }
      challengeAvatarRelicMap_.MergeFrom(other.challengeAvatarRelicMap_);
      challengeAvatarEquipmentMap_.MergeFrom(other.challengeAvatarEquipmentMap_);
      if (other.secondNode_ != null) {
        if (secondNode_ == null) {
          SecondNode = new global::EggLink.DanhengServer.Proto.ChallengeBossSingleNodeInfo();
        }
        SecondNode.MergeFrom(other.SecondNode);
      }
      secondLineup_.Add(other.secondLineup_);
      firstLineup_.Add(other.firstLineup_);
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            if (secondNode_ == null) {
              SecondNode = new global::EggLink.DanhengServer.Proto.ChallengeBossSingleNodeInfo();
            }
            input.ReadMessage(SecondNode);
            break;
          }
          case 26: {
            challengeAvatarEquipmentMap_.AddEntriesFrom(input, _map_challengeAvatarEquipmentMap_codec);
            break;
          }
          case 34: {
            challengeAvatarRelicMap_.AddEntriesFrom(input, _map_challengeAvatarRelicMap_codec);
            break;
          }
          case 50:
          case 48: {
            firstLineup_.AddEntriesFrom(input, _repeated_firstLineup_codec);
            break;
          }
          case 58:
          case 56: {
            secondLineup_.AddEntriesFrom(input, _repeated_secondLineup_codec);
            break;
          }
          case 66: {
            if (firstNode_ == null) {
              FirstNode = new global::EggLink.DanhengServer.Proto.ChallengeBossSingleNodeInfo();
            }
            input.ReadMessage(FirstNode);
            break;
          }
          case 80: {
            NCBDNPGPEAI = input.ReadBool();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            if (secondNode_ == null) {
              SecondNode = new global::EggLink.DanhengServer.Proto.ChallengeBossSingleNodeInfo();
            }
            input.ReadMessage(SecondNode);
            break;
          }
          case 26: {
            challengeAvatarEquipmentMap_.AddEntriesFrom(ref input, _map_challengeAvatarEquipmentMap_codec);
            break;
          }
          case 34: {
            challengeAvatarRelicMap_.AddEntriesFrom(ref input, _map_challengeAvatarRelicMap_codec);
            break;
          }
          case 50:
          case 48: {
            firstLineup_.AddEntriesFrom(ref input, _repeated_firstLineup_codec);
            break;
          }
          case 58:
          case 56: {
            secondLineup_.AddEntriesFrom(ref input, _repeated_secondLineup_codec);
            break;
          }
          case 66: {
            if (firstNode_ == null) {
              FirstNode = new global::EggLink.DanhengServer.Proto.ChallengeBossSingleNodeInfo();
            }
            input.ReadMessage(FirstNode);
            break;
          }
          case 80: {
            NCBDNPGPEAI = input.ReadBool();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
