// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: ChallengePeakBossLevel.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 ChallengePeakBossLevel.proto</summary>
  public static partial class ChallengePeakBossLevelReflection {

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

    static ChallengePeakBossLevelReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChxDaGFsbGVuZ2VQZWFrQm9zc0xldmVsLnByb3RvGhtDaGFsbGVuZ2VQZWFr",
            "Qm9zc0luZm8ucHJvdG8iyQEKFkNoYWxsZW5nZVBlYWtCb3NzTGV2ZWwSGgoS",
            "cGVha19ib3NzX2xldmVsX2lkGAkgASgNEi4KDnBlYWtfaGFyZF9ib3NzGAog",
            "ASgLMhYuQ2hhbGxlbmdlUGVha0Jvc3NJbmZvEhkKEWlzX3VsdHJhX2Jvc3Nf",
            "d2luGA0gASgIEhgKEHBlYWtfdGFyZ2V0X2xpc3QYBCADKA0SLgoOcGVha19l",
            "YXN5X2Jvc3MYAiABKAsyFi5DaGFsbGVuZ2VQZWFrQm9zc0luZm9CHqoCG0Vn",
            "Z0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChallengePeakBossInfoReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChallengePeakBossLevel), global::EggLink.DanhengServer.Proto.ChallengePeakBossLevel.Parser, new[]{ "PeakBossLevelId", "PeakHardBoss", "IsUltraBossWin", "PeakTargetList", "PeakEasyBoss" }, null, null, null, null)
          }));
    }
    #endregion

  }
  #region Messages
  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class ChallengePeakBossLevel : pb::IMessage<ChallengePeakBossLevel>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<ChallengePeakBossLevel> _parser = new pb::MessageParser<ChallengePeakBossLevel>(() => new ChallengePeakBossLevel());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<ChallengePeakBossLevel> 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.ChallengePeakBossLevelReflection.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 ChallengePeakBossLevel() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ChallengePeakBossLevel(ChallengePeakBossLevel other) : this() {
      peakBossLevelId_ = other.peakBossLevelId_;
      peakHardBoss_ = other.peakHardBoss_ != null ? other.peakHardBoss_.Clone() : null;
      isUltraBossWin_ = other.isUltraBossWin_;
      peakTargetList_ = other.peakTargetList_.Clone();
      peakEasyBoss_ = other.peakEasyBoss_ != null ? other.peakEasyBoss_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "peak_boss_level_id" field.</summary>
    public const int PeakBossLevelIdFieldNumber = 9;
    private uint peakBossLevelId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint PeakBossLevelId {
      get { return peakBossLevelId_; }
      set {
        peakBossLevelId_ = value;
      }
    }

    /// <summary>Field number for the "peak_hard_boss" field.</summary>
    public const int PeakHardBossFieldNumber = 10;
    private global::EggLink.DanhengServer.Proto.ChallengePeakBossInfo peakHardBoss_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.ChallengePeakBossInfo PeakHardBoss {
      get { return peakHardBoss_; }
      set {
        peakHardBoss_ = value;
      }
    }

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

    /// <summary>Field number for the "peak_target_list" field.</summary>
    public const int PeakTargetListFieldNumber = 4;
    private static readonly pb::FieldCodec<uint> _repeated_peakTargetList_codec
        = pb::FieldCodec.ForUInt32(34);
    private readonly pbc::RepeatedField<uint> peakTargetList_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> PeakTargetList {
      get { return peakTargetList_; }
    }

    /// <summary>Field number for the "peak_easy_boss" field.</summary>
    public const int PeakEasyBossFieldNumber = 2;
    private global::EggLink.DanhengServer.Proto.ChallengePeakBossInfo peakEasyBoss_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.ChallengePeakBossInfo PeakEasyBoss {
      get { return peakEasyBoss_; }
      set {
        peakEasyBoss_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(ChallengePeakBossLevel other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (PeakBossLevelId != other.PeakBossLevelId) return false;
      if (!object.Equals(PeakHardBoss, other.PeakHardBoss)) return false;
      if (IsUltraBossWin != other.IsUltraBossWin) return false;
      if(!peakTargetList_.Equals(other.peakTargetList_)) return false;
      if (!object.Equals(PeakEasyBoss, other.PeakEasyBoss)) 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 (PeakBossLevelId != 0) hash ^= PeakBossLevelId.GetHashCode();
      if (peakHardBoss_ != null) hash ^= PeakHardBoss.GetHashCode();
      if (IsUltraBossWin != false) hash ^= IsUltraBossWin.GetHashCode();
      hash ^= peakTargetList_.GetHashCode();
      if (peakEasyBoss_ != null) hash ^= PeakEasyBoss.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 (peakEasyBoss_ != null) {
        output.WriteRawTag(18);
        output.WriteMessage(PeakEasyBoss);
      }
      peakTargetList_.WriteTo(output, _repeated_peakTargetList_codec);
      if (PeakBossLevelId != 0) {
        output.WriteRawTag(72);
        output.WriteUInt32(PeakBossLevelId);
      }
      if (peakHardBoss_ != null) {
        output.WriteRawTag(82);
        output.WriteMessage(PeakHardBoss);
      }
      if (IsUltraBossWin != false) {
        output.WriteRawTag(104);
        output.WriteBool(IsUltraBossWin);
      }
      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 (peakEasyBoss_ != null) {
        output.WriteRawTag(18);
        output.WriteMessage(PeakEasyBoss);
      }
      peakTargetList_.WriteTo(ref output, _repeated_peakTargetList_codec);
      if (PeakBossLevelId != 0) {
        output.WriteRawTag(72);
        output.WriteUInt32(PeakBossLevelId);
      }
      if (peakHardBoss_ != null) {
        output.WriteRawTag(82);
        output.WriteMessage(PeakHardBoss);
      }
      if (IsUltraBossWin != false) {
        output.WriteRawTag(104);
        output.WriteBool(IsUltraBossWin);
      }
      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 (PeakBossLevelId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PeakBossLevelId);
      }
      if (peakHardBoss_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(PeakHardBoss);
      }
      if (IsUltraBossWin != false) {
        size += 1 + 1;
      }
      size += peakTargetList_.CalculateSize(_repeated_peakTargetList_codec);
      if (peakEasyBoss_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(PeakEasyBoss);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(ChallengePeakBossLevel other) {
      if (other == null) {
        return;
      }
      if (other.PeakBossLevelId != 0) {
        PeakBossLevelId = other.PeakBossLevelId;
      }
      if (other.peakHardBoss_ != null) {
        if (peakHardBoss_ == null) {
          PeakHardBoss = new global::EggLink.DanhengServer.Proto.ChallengePeakBossInfo();
        }
        PeakHardBoss.MergeFrom(other.PeakHardBoss);
      }
      if (other.IsUltraBossWin != false) {
        IsUltraBossWin = other.IsUltraBossWin;
      }
      peakTargetList_.Add(other.peakTargetList_);
      if (other.peakEasyBoss_ != null) {
        if (peakEasyBoss_ == null) {
          PeakEasyBoss = new global::EggLink.DanhengServer.Proto.ChallengePeakBossInfo();
        }
        PeakEasyBoss.MergeFrom(other.PeakEasyBoss);
      }
      _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 18: {
            if (peakEasyBoss_ == null) {
              PeakEasyBoss = new global::EggLink.DanhengServer.Proto.ChallengePeakBossInfo();
            }
            input.ReadMessage(PeakEasyBoss);
            break;
          }
          case 34:
          case 32: {
            peakTargetList_.AddEntriesFrom(input, _repeated_peakTargetList_codec);
            break;
          }
          case 72: {
            PeakBossLevelId = input.ReadUInt32();
            break;
          }
          case 82: {
            if (peakHardBoss_ == null) {
              PeakHardBoss = new global::EggLink.DanhengServer.Proto.ChallengePeakBossInfo();
            }
            input.ReadMessage(PeakHardBoss);
            break;
          }
          case 104: {
            IsUltraBossWin = 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 18: {
            if (peakEasyBoss_ == null) {
              PeakEasyBoss = new global::EggLink.DanhengServer.Proto.ChallengePeakBossInfo();
            }
            input.ReadMessage(PeakEasyBoss);
            break;
          }
          case 34:
          case 32: {
            peakTargetList_.AddEntriesFrom(ref input, _repeated_peakTargetList_codec);
            break;
          }
          case 72: {
            PeakBossLevelId = input.ReadUInt32();
            break;
          }
          case 82: {
            if (peakHardBoss_ == null) {
              PeakHardBoss = new global::EggLink.DanhengServer.Proto.ChallengePeakBossInfo();
            }
            input.ReadMessage(PeakHardBoss);
            break;
          }
          case 104: {
            IsUltraBossWin = input.ReadBool();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
