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

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

    static MemoryStatisticsInfoReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChpNZW1vcnlTdGF0aXN0aWNzSW5mby5wcm90bxoZQ2hhbGxlbmdlTGluZXVw",
            "TGlzdC5wcm90byJ+ChRNZW1vcnlTdGF0aXN0aWNzSW5mbxITCgtyb3VuZF9j",
            "b3VudBgHIAEoDRINCgVsZXZlbBgKIAEoDRIpCgtsaW5ldXBfbGlzdBgOIAMo",
            "CzIULkNoYWxsZW5nZUxpbmV1cExpc3QSFwoPY3VyX2xldmVsX3N0YXJzGAUg",
            "ASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
      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.MemoryStatisticsInfo), global::EggLink.DanhengServer.Proto.MemoryStatisticsInfo.Parser, new[]{ "RoundCount", "Level", "LineupList", "CurLevelStars" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MemoryStatisticsInfo(MemoryStatisticsInfo other) : this() {
      roundCount_ = other.roundCount_;
      level_ = other.level_;
      lineupList_ = other.lineupList_.Clone();
      curLevelStars_ = other.curLevelStars_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "round_count" field.</summary>
    public const int RoundCountFieldNumber = 7;
    private uint roundCount_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint RoundCount {
      get { return roundCount_; }
      set {
        roundCount_ = value;
      }
    }

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

    /// <summary>Field number for the "lineup_list" field.</summary>
    public const int LineupListFieldNumber = 14;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ChallengeLineupList> _repeated_lineupList_codec
        = pb::FieldCodec.ForMessage(114, global::EggLink.DanhengServer.Proto.ChallengeLineupList.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChallengeLineupList> lineupList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChallengeLineupList>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChallengeLineupList> LineupList {
      get { return lineupList_; }
    }

    /// <summary>Field number for the "cur_level_stars" field.</summary>
    public const int CurLevelStarsFieldNumber = 5;
    private uint curLevelStars_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint CurLevelStars {
      get { return curLevelStars_; }
      set {
        curLevelStars_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(MemoryStatisticsInfo other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (RoundCount != other.RoundCount) return false;
      if (Level != other.Level) return false;
      if(!lineupList_.Equals(other.lineupList_)) return false;
      if (CurLevelStars != other.CurLevelStars) 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 (RoundCount != 0) hash ^= RoundCount.GetHashCode();
      if (Level != 0) hash ^= Level.GetHashCode();
      hash ^= lineupList_.GetHashCode();
      if (CurLevelStars != 0) hash ^= CurLevelStars.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 (CurLevelStars != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(CurLevelStars);
      }
      if (RoundCount != 0) {
        output.WriteRawTag(56);
        output.WriteUInt32(RoundCount);
      }
      if (Level != 0) {
        output.WriteRawTag(80);
        output.WriteUInt32(Level);
      }
      lineupList_.WriteTo(output, _repeated_lineupList_codec);
      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 (CurLevelStars != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(CurLevelStars);
      }
      if (RoundCount != 0) {
        output.WriteRawTag(56);
        output.WriteUInt32(RoundCount);
      }
      if (Level != 0) {
        output.WriteRawTag(80);
        output.WriteUInt32(Level);
      }
      lineupList_.WriteTo(ref output, _repeated_lineupList_codec);
      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 (RoundCount != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoundCount);
      }
      if (Level != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level);
      }
      size += lineupList_.CalculateSize(_repeated_lineupList_codec);
      if (CurLevelStars != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurLevelStars);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(MemoryStatisticsInfo other) {
      if (other == null) {
        return;
      }
      if (other.RoundCount != 0) {
        RoundCount = other.RoundCount;
      }
      if (other.Level != 0) {
        Level = other.Level;
      }
      lineupList_.Add(other.lineupList_);
      if (other.CurLevelStars != 0) {
        CurLevelStars = other.CurLevelStars;
      }
      _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 40: {
            CurLevelStars = input.ReadUInt32();
            break;
          }
          case 56: {
            RoundCount = input.ReadUInt32();
            break;
          }
          case 80: {
            Level = input.ReadUInt32();
            break;
          }
          case 114: {
            lineupList_.AddEntriesFrom(input, _repeated_lineupList_codec);
            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 40: {
            CurLevelStars = input.ReadUInt32();
            break;
          }
          case 56: {
            RoundCount = input.ReadUInt32();
            break;
          }
          case 80: {
            Level = input.ReadUInt32();
            break;
          }
          case 114: {
            lineupList_.AddEntriesFrom(ref input, _repeated_lineupList_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
