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

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

    static PreLevelStatisticsReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChhQcmVMZXZlbFN0YXRpc3RpY3MucHJvdG8aGUNoYWxsZW5nZUxpbmV1cExp",
            "c3QucHJvdG8igQEKElByZUxldmVsU3RhdGlzdGljcxITCgtJRVBIRExNTE9B",
            "TxgMIAMoDRIZChFwZWFrX3JvdW5kc19jb3VudBgJIAEoDRIkCgZsaW5ldXAY",
            "DSABKAsyFC5DaGFsbGVuZ2VMaW5ldXBMaXN0EhUKDXBlYWtfbGV2ZWxfaWQY",
            "CiABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChallengeLineupListReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.PreLevelStatistics), global::EggLink.DanhengServer.Proto.PreLevelStatistics.Parser, new[]{ "IEPHDLMLOAO", "PeakRoundsCount", "Lineup", "PeakLevelId" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public PreLevelStatistics(PreLevelStatistics other) : this() {
      iEPHDLMLOAO_ = other.iEPHDLMLOAO_.Clone();
      peakRoundsCount_ = other.peakRoundsCount_;
      lineup_ = other.lineup_ != null ? other.lineup_.Clone() : null;
      peakLevelId_ = other.peakLevelId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "IEPHDLMLOAO" field.</summary>
    public const int IEPHDLMLOAOFieldNumber = 12;
    private static readonly pb::FieldCodec<uint> _repeated_iEPHDLMLOAO_codec
        = pb::FieldCodec.ForUInt32(98);
    private readonly pbc::RepeatedField<uint> iEPHDLMLOAO_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> IEPHDLMLOAO {
      get { return iEPHDLMLOAO_; }
    }

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

    /// <summary>Field number for the "lineup" field.</summary>
    public const int LineupFieldNumber = 13;
    private global::EggLink.DanhengServer.Proto.ChallengeLineupList lineup_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.ChallengeLineupList Lineup {
      get { return lineup_; }
      set {
        lineup_ = value;
      }
    }

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(PreLevelStatistics other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if(!iEPHDLMLOAO_.Equals(other.iEPHDLMLOAO_)) return false;
      if (PeakRoundsCount != other.PeakRoundsCount) return false;
      if (!object.Equals(Lineup, other.Lineup)) return false;
      if (PeakLevelId != other.PeakLevelId) 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 ^= iEPHDLMLOAO_.GetHashCode();
      if (PeakRoundsCount != 0) hash ^= PeakRoundsCount.GetHashCode();
      if (lineup_ != null) hash ^= Lineup.GetHashCode();
      if (PeakLevelId != 0) hash ^= PeakLevelId.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 (PeakRoundsCount != 0) {
        output.WriteRawTag(72);
        output.WriteUInt32(PeakRoundsCount);
      }
      if (PeakLevelId != 0) {
        output.WriteRawTag(80);
        output.WriteUInt32(PeakLevelId);
      }
      iEPHDLMLOAO_.WriteTo(output, _repeated_iEPHDLMLOAO_codec);
      if (lineup_ != null) {
        output.WriteRawTag(106);
        output.WriteMessage(Lineup);
      }
      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 (PeakRoundsCount != 0) {
        output.WriteRawTag(72);
        output.WriteUInt32(PeakRoundsCount);
      }
      if (PeakLevelId != 0) {
        output.WriteRawTag(80);
        output.WriteUInt32(PeakLevelId);
      }
      iEPHDLMLOAO_.WriteTo(ref output, _repeated_iEPHDLMLOAO_codec);
      if (lineup_ != null) {
        output.WriteRawTag(106);
        output.WriteMessage(Lineup);
      }
      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 += iEPHDLMLOAO_.CalculateSize(_repeated_iEPHDLMLOAO_codec);
      if (PeakRoundsCount != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PeakRoundsCount);
      }
      if (lineup_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Lineup);
      }
      if (PeakLevelId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PeakLevelId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(PreLevelStatistics other) {
      if (other == null) {
        return;
      }
      iEPHDLMLOAO_.Add(other.iEPHDLMLOAO_);
      if (other.PeakRoundsCount != 0) {
        PeakRoundsCount = other.PeakRoundsCount;
      }
      if (other.lineup_ != null) {
        if (lineup_ == null) {
          Lineup = new global::EggLink.DanhengServer.Proto.ChallengeLineupList();
        }
        Lineup.MergeFrom(other.Lineup);
      }
      if (other.PeakLevelId != 0) {
        PeakLevelId = other.PeakLevelId;
      }
      _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 72: {
            PeakRoundsCount = input.ReadUInt32();
            break;
          }
          case 80: {
            PeakLevelId = input.ReadUInt32();
            break;
          }
          case 98:
          case 96: {
            iEPHDLMLOAO_.AddEntriesFrom(input, _repeated_iEPHDLMLOAO_codec);
            break;
          }
          case 106: {
            if (lineup_ == null) {
              Lineup = new global::EggLink.DanhengServer.Proto.ChallengeLineupList();
            }
            input.ReadMessage(Lineup);
            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 72: {
            PeakRoundsCount = input.ReadUInt32();
            break;
          }
          case 80: {
            PeakLevelId = input.ReadUInt32();
            break;
          }
          case 98:
          case 96: {
            iEPHDLMLOAO_.AddEntriesFrom(ref input, _repeated_iEPHDLMLOAO_codec);
            break;
          }
          case 106: {
            if (lineup_ == null) {
              Lineup = new global::EggLink.DanhengServer.Proto.ChallengeLineupList();
            }
            input.ReadMessage(Lineup);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
