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

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

    static ChallengePeakGroupStatisticsReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CiJDaGFsbGVuZ2VQZWFrR3JvdXBTdGF0aXN0aWNzLnByb3RvGhhQcmVMZXZl",
            "bFN0YXRpc3RpY3MucHJvdG8aGUJvc3NMZXZlbFN0YXRpc3RpY3MucHJvdG8i",
            "jwEKHENoYWxsZW5nZVBlYWtHcm91cFN0YXRpc3RpY3MSLwoScHJlX2xldmVs",
            "X3N0dF9saXN0GAUgAygLMhMuUHJlTGV2ZWxTdGF0aXN0aWNzEiwKDmJvc3Nf",
            "bGV2ZWxfc3R0GAcgASgLMhQuQm9zc0xldmVsU3RhdGlzdGljcxIQCghncm91",
            "cF9pZBgCIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZw",
            "cm90bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PreLevelStatisticsReflection.Descriptor, global::EggLink.DanhengServer.Proto.BossLevelStatisticsReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChallengePeakGroupStatistics), global::EggLink.DanhengServer.Proto.ChallengePeakGroupStatistics.Parser, new[]{ "PreLevelSttList", "BossLevelStt", "GroupId" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ChallengePeakGroupStatistics(ChallengePeakGroupStatistics other) : this() {
      preLevelSttList_ = other.preLevelSttList_.Clone();
      bossLevelStt_ = other.bossLevelStt_ != null ? other.bossLevelStt_.Clone() : null;
      groupId_ = other.groupId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "pre_level_stt_list" field.</summary>
    public const int PreLevelSttListFieldNumber = 5;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.PreLevelStatistics> _repeated_preLevelSttList_codec
        = pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.PreLevelStatistics.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.PreLevelStatistics> preLevelSttList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.PreLevelStatistics>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.PreLevelStatistics> PreLevelSttList {
      get { return preLevelSttList_; }
    }

    /// <summary>Field number for the "boss_level_stt" field.</summary>
    public const int BossLevelSttFieldNumber = 7;
    private global::EggLink.DanhengServer.Proto.BossLevelStatistics bossLevelStt_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.BossLevelStatistics BossLevelStt {
      get { return bossLevelStt_; }
      set {
        bossLevelStt_ = value;
      }
    }

    /// <summary>Field number for the "group_id" field.</summary>
    public const int GroupIdFieldNumber = 2;
    private uint groupId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint GroupId {
      get { return groupId_; }
      set {
        groupId_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(ChallengePeakGroupStatistics other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if(!preLevelSttList_.Equals(other.preLevelSttList_)) return false;
      if (!object.Equals(BossLevelStt, other.BossLevelStt)) return false;
      if (GroupId != other.GroupId) 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;
      hash ^= preLevelSttList_.GetHashCode();
      if (bossLevelStt_ != null) hash ^= BossLevelStt.GetHashCode();
      if (GroupId != 0) hash ^= GroupId.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 (GroupId != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(GroupId);
      }
      preLevelSttList_.WriteTo(output, _repeated_preLevelSttList_codec);
      if (bossLevelStt_ != null) {
        output.WriteRawTag(58);
        output.WriteMessage(BossLevelStt);
      }
      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 (GroupId != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(GroupId);
      }
      preLevelSttList_.WriteTo(ref output, _repeated_preLevelSttList_codec);
      if (bossLevelStt_ != null) {
        output.WriteRawTag(58);
        output.WriteMessage(BossLevelStt);
      }
      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;
      size += preLevelSttList_.CalculateSize(_repeated_preLevelSttList_codec);
      if (bossLevelStt_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(BossLevelStt);
      }
      if (GroupId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GroupId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(ChallengePeakGroupStatistics other) {
      if (other == null) {
        return;
      }
      preLevelSttList_.Add(other.preLevelSttList_);
      if (other.bossLevelStt_ != null) {
        if (bossLevelStt_ == null) {
          BossLevelStt = new global::EggLink.DanhengServer.Proto.BossLevelStatistics();
        }
        BossLevelStt.MergeFrom(other.BossLevelStt);
      }
      if (other.GroupId != 0) {
        GroupId = other.GroupId;
      }
      _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 16: {
            GroupId = input.ReadUInt32();
            break;
          }
          case 42: {
            preLevelSttList_.AddEntriesFrom(input, _repeated_preLevelSttList_codec);
            break;
          }
          case 58: {
            if (bossLevelStt_ == null) {
              BossLevelStt = new global::EggLink.DanhengServer.Proto.BossLevelStatistics();
            }
            input.ReadMessage(BossLevelStt);
            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 16: {
            GroupId = input.ReadUInt32();
            break;
          }
          case 42: {
            preLevelSttList_.AddEntriesFrom(ref input, _repeated_preLevelSttList_codec);
            break;
          }
          case 58: {
            if (bossLevelStt_ == null) {
              BossLevelStt = new global::EggLink.DanhengServer.Proto.BossLevelStatistics();
            }
            input.ReadMessage(BossLevelStt);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
