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

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

    static MusicRhythmDataScRspReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChpNdXNpY1JoeXRobURhdGFTY1JzcC5wcm90bxoWTXVzaWNSaHl0aG1MZXZl",
            "bC5wcm90bxoWTXVzaWNSaHl0aG1Hcm91cC5wcm90byKFAgoUTXVzaWNSaHl0",
            "aG1EYXRhU2NSc3ASDwoHcmV0Y29kZRgGIAEoDRIUCgxjdXJfbGV2ZWxfaWQY",
            "AyABKA0SEwoLY3VyX3NvbmdfaWQYBSABKA0SJgoLbXVzaWNfbGV2ZWwYASAD",
            "KAsyES5NdXNpY1JoeXRobUxldmVsEhEKCXNob3dfaGludBgIIAEoCBIZChF1",
            "bmxvY2tfcGhhc2VfbGlzdBgOIAMoDRIYChB1bmxvY2tfc29uZ19saXN0GAQg",
            "AygNEhkKEXVubG9ja190cmFja19saXN0GA8gAygNEiYKC211c2ljX2dyb3Vw",
            "GAwgAygLMhEuTXVzaWNSaHl0aG1Hcm91cEIeqgIbRWdnTGluay5EYW5oZW5n",
            "U2VydmVyLlByb3RvYgZwcm90bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.MusicRhythmLevelReflection.Descriptor, global::EggLink.DanhengServer.Proto.MusicRhythmGroupReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.MusicRhythmDataScRsp), global::EggLink.DanhengServer.Proto.MusicRhythmDataScRsp.Parser, new[]{ "Retcode", "CurLevelId", "CurSongId", "MusicLevel", "ShowHint", "UnlockPhaseList", "UnlockSongList", "UnlockTrackList", "MusicGroup" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public MusicRhythmDataScRsp(MusicRhythmDataScRsp other) : this() {
      retcode_ = other.retcode_;
      curLevelId_ = other.curLevelId_;
      curSongId_ = other.curSongId_;
      musicLevel_ = other.musicLevel_.Clone();
      showHint_ = other.showHint_;
      unlockPhaseList_ = other.unlockPhaseList_.Clone();
      unlockSongList_ = other.unlockSongList_.Clone();
      unlockTrackList_ = other.unlockTrackList_.Clone();
      musicGroup_ = other.musicGroup_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "retcode" field.</summary>
    public const int RetcodeFieldNumber = 6;
    private uint retcode_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Retcode {
      get { return retcode_; }
      set {
        retcode_ = value;
      }
    }

    /// <summary>Field number for the "cur_level_id" field.</summary>
    public const int CurLevelIdFieldNumber = 3;
    private uint curLevelId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint CurLevelId {
      get { return curLevelId_; }
      set {
        curLevelId_ = value;
      }
    }

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

    /// <summary>Field number for the "music_level" field.</summary>
    public const int MusicLevelFieldNumber = 1;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.MusicRhythmLevel> _repeated_musicLevel_codec
        = pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.MusicRhythmLevel.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MusicRhythmLevel> musicLevel_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MusicRhythmLevel>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MusicRhythmLevel> MusicLevel {
      get { return musicLevel_; }
    }

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

    /// <summary>Field number for the "unlock_phase_list" field.</summary>
    public const int UnlockPhaseListFieldNumber = 14;
    private static readonly pb::FieldCodec<uint> _repeated_unlockPhaseList_codec
        = pb::FieldCodec.ForUInt32(114);
    private readonly pbc::RepeatedField<uint> unlockPhaseList_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> UnlockPhaseList {
      get { return unlockPhaseList_; }
    }

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

    /// <summary>Field number for the "unlock_track_list" field.</summary>
    public const int UnlockTrackListFieldNumber = 15;
    private static readonly pb::FieldCodec<uint> _repeated_unlockTrackList_codec
        = pb::FieldCodec.ForUInt32(122);
    private readonly pbc::RepeatedField<uint> unlockTrackList_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> UnlockTrackList {
      get { return unlockTrackList_; }
    }

    /// <summary>Field number for the "music_group" field.</summary>
    public const int MusicGroupFieldNumber = 12;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.MusicRhythmGroup> _repeated_musicGroup_codec
        = pb::FieldCodec.ForMessage(98, global::EggLink.DanhengServer.Proto.MusicRhythmGroup.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MusicRhythmGroup> musicGroup_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MusicRhythmGroup>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MusicRhythmGroup> MusicGroup {
      get { return musicGroup_; }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(MusicRhythmDataScRsp other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Retcode != other.Retcode) return false;
      if (CurLevelId != other.CurLevelId) return false;
      if (CurSongId != other.CurSongId) return false;
      if(!musicLevel_.Equals(other.musicLevel_)) return false;
      if (ShowHint != other.ShowHint) return false;
      if(!unlockPhaseList_.Equals(other.unlockPhaseList_)) return false;
      if(!unlockSongList_.Equals(other.unlockSongList_)) return false;
      if(!unlockTrackList_.Equals(other.unlockTrackList_)) return false;
      if(!musicGroup_.Equals(other.musicGroup_)) 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 (Retcode != 0) hash ^= Retcode.GetHashCode();
      if (CurLevelId != 0) hash ^= CurLevelId.GetHashCode();
      if (CurSongId != 0) hash ^= CurSongId.GetHashCode();
      hash ^= musicLevel_.GetHashCode();
      if (ShowHint != false) hash ^= ShowHint.GetHashCode();
      hash ^= unlockPhaseList_.GetHashCode();
      hash ^= unlockSongList_.GetHashCode();
      hash ^= unlockTrackList_.GetHashCode();
      hash ^= musicGroup_.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
      musicLevel_.WriteTo(output, _repeated_musicLevel_codec);
      if (CurLevelId != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(CurLevelId);
      }
      unlockSongList_.WriteTo(output, _repeated_unlockSongList_codec);
      if (CurSongId != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(CurSongId);
      }
      if (Retcode != 0) {
        output.WriteRawTag(48);
        output.WriteUInt32(Retcode);
      }
      if (ShowHint != false) {
        output.WriteRawTag(64);
        output.WriteBool(ShowHint);
      }
      musicGroup_.WriteTo(output, _repeated_musicGroup_codec);
      unlockPhaseList_.WriteTo(output, _repeated_unlockPhaseList_codec);
      unlockTrackList_.WriteTo(output, _repeated_unlockTrackList_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) {
      musicLevel_.WriteTo(ref output, _repeated_musicLevel_codec);
      if (CurLevelId != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(CurLevelId);
      }
      unlockSongList_.WriteTo(ref output, _repeated_unlockSongList_codec);
      if (CurSongId != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(CurSongId);
      }
      if (Retcode != 0) {
        output.WriteRawTag(48);
        output.WriteUInt32(Retcode);
      }
      if (ShowHint != false) {
        output.WriteRawTag(64);
        output.WriteBool(ShowHint);
      }
      musicGroup_.WriteTo(ref output, _repeated_musicGroup_codec);
      unlockPhaseList_.WriteTo(ref output, _repeated_unlockPhaseList_codec);
      unlockTrackList_.WriteTo(ref output, _repeated_unlockTrackList_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 (Retcode != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
      }
      if (CurLevelId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurLevelId);
      }
      if (CurSongId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurSongId);
      }
      size += musicLevel_.CalculateSize(_repeated_musicLevel_codec);
      if (ShowHint != false) {
        size += 1 + 1;
      }
      size += unlockPhaseList_.CalculateSize(_repeated_unlockPhaseList_codec);
      size += unlockSongList_.CalculateSize(_repeated_unlockSongList_codec);
      size += unlockTrackList_.CalculateSize(_repeated_unlockTrackList_codec);
      size += musicGroup_.CalculateSize(_repeated_musicGroup_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(MusicRhythmDataScRsp other) {
      if (other == null) {
        return;
      }
      if (other.Retcode != 0) {
        Retcode = other.Retcode;
      }
      if (other.CurLevelId != 0) {
        CurLevelId = other.CurLevelId;
      }
      if (other.CurSongId != 0) {
        CurSongId = other.CurSongId;
      }
      musicLevel_.Add(other.musicLevel_);
      if (other.ShowHint != false) {
        ShowHint = other.ShowHint;
      }
      unlockPhaseList_.Add(other.unlockPhaseList_);
      unlockSongList_.Add(other.unlockSongList_);
      unlockTrackList_.Add(other.unlockTrackList_);
      musicGroup_.Add(other.musicGroup_);
      _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: {
            musicLevel_.AddEntriesFrom(input, _repeated_musicLevel_codec);
            break;
          }
          case 24: {
            CurLevelId = input.ReadUInt32();
            break;
          }
          case 34:
          case 32: {
            unlockSongList_.AddEntriesFrom(input, _repeated_unlockSongList_codec);
            break;
          }
          case 40: {
            CurSongId = input.ReadUInt32();
            break;
          }
          case 48: {
            Retcode = input.ReadUInt32();
            break;
          }
          case 64: {
            ShowHint = input.ReadBool();
            break;
          }
          case 98: {
            musicGroup_.AddEntriesFrom(input, _repeated_musicGroup_codec);
            break;
          }
          case 114:
          case 112: {
            unlockPhaseList_.AddEntriesFrom(input, _repeated_unlockPhaseList_codec);
            break;
          }
          case 122:
          case 120: {
            unlockTrackList_.AddEntriesFrom(input, _repeated_unlockTrackList_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 10: {
            musicLevel_.AddEntriesFrom(ref input, _repeated_musicLevel_codec);
            break;
          }
          case 24: {
            CurLevelId = input.ReadUInt32();
            break;
          }
          case 34:
          case 32: {
            unlockSongList_.AddEntriesFrom(ref input, _repeated_unlockSongList_codec);
            break;
          }
          case 40: {
            CurSongId = input.ReadUInt32();
            break;
          }
          case 48: {
            Retcode = input.ReadUInt32();
            break;
          }
          case 64: {
            ShowHint = input.ReadBool();
            break;
          }
          case 98: {
            musicGroup_.AddEntriesFrom(ref input, _repeated_musicGroup_codec);
            break;
          }
          case 114:
          case 112: {
            unlockPhaseList_.AddEntriesFrom(ref input, _repeated_unlockPhaseList_codec);
            break;
          }
          case 122:
          case 120: {
            unlockTrackList_.AddEntriesFrom(ref input, _repeated_unlockTrackList_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
