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

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

    static GetPunkLordBattleRecordScRspReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CiJHZXRQdW5rTG9yZEJhdHRsZVJlY29yZFNjUnNwLnByb3RvGhFDRU1FRE9F",
            "SEJHRS5wcm90bxoYUHVua0xvcmRNb25zdGVyS2V5LnByb3RvGhFBSEtBTktF",
            "UEFESi5wcm90byKmAQocR2V0UHVua0xvcmRCYXR0bGVSZWNvcmRTY1JzcBIh",
            "CgtPS09CR0pISkpPQRgEIAMoCzIMLkNFTUVET0VIQkdFEg8KB3JldGNvZGUY",
            "ByABKA0SKAoLUEtDUEpKTk9BTE4YAiABKAsyEy5QdW5rTG9yZE1vbnN0ZXJL",
            "ZXkSKAoSYmF0dGxlX3JlY29yZF9saXN0GAggAygLMgwuQUhLQU5LRVBBREpC",
            "HqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.CEMEDOEHBGEReflection.Descriptor, global::EggLink.DanhengServer.Proto.PunkLordMonsterKeyReflection.Descriptor, global::EggLink.DanhengServer.Proto.AHKANKEPADJReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetPunkLordBattleRecordScRsp), global::EggLink.DanhengServer.Proto.GetPunkLordBattleRecordScRsp.Parser, new[]{ "OKOBGJHJJOA", "Retcode", "PKCPJJNOALN", "BattleRecordList" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GetPunkLordBattleRecordScRsp(GetPunkLordBattleRecordScRsp other) : this() {
      oKOBGJHJJOA_ = other.oKOBGJHJJOA_.Clone();
      retcode_ = other.retcode_;
      pKCPJJNOALN_ = other.pKCPJJNOALN_ != null ? other.pKCPJJNOALN_.Clone() : null;
      battleRecordList_ = other.battleRecordList_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "OKOBGJHJJOA" field.</summary>
    public const int OKOBGJHJJOAFieldNumber = 4;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.CEMEDOEHBGE> _repeated_oKOBGJHJJOA_codec
        = pb::FieldCodec.ForMessage(34, global::EggLink.DanhengServer.Proto.CEMEDOEHBGE.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.CEMEDOEHBGE> oKOBGJHJJOA_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.CEMEDOEHBGE>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.CEMEDOEHBGE> OKOBGJHJJOA {
      get { return oKOBGJHJJOA_; }
    }

    /// <summary>Field number for the "retcode" field.</summary>
    public const int RetcodeFieldNumber = 7;
    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 "PKCPJJNOALN" field.</summary>
    public const int PKCPJJNOALNFieldNumber = 2;
    private global::EggLink.DanhengServer.Proto.PunkLordMonsterKey pKCPJJNOALN_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.PunkLordMonsterKey PKCPJJNOALN {
      get { return pKCPJJNOALN_; }
      set {
        pKCPJJNOALN_ = value;
      }
    }

    /// <summary>Field number for the "battle_record_list" field.</summary>
    public const int BattleRecordListFieldNumber = 8;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.AHKANKEPADJ> _repeated_battleRecordList_codec
        = pb::FieldCodec.ForMessage(66, global::EggLink.DanhengServer.Proto.AHKANKEPADJ.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AHKANKEPADJ> battleRecordList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AHKANKEPADJ>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AHKANKEPADJ> BattleRecordList {
      get { return battleRecordList_; }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(GetPunkLordBattleRecordScRsp other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if(!oKOBGJHJJOA_.Equals(other.oKOBGJHJJOA_)) return false;
      if (Retcode != other.Retcode) return false;
      if (!object.Equals(PKCPJJNOALN, other.PKCPJJNOALN)) return false;
      if(!battleRecordList_.Equals(other.battleRecordList_)) 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 ^= oKOBGJHJJOA_.GetHashCode();
      if (Retcode != 0) hash ^= Retcode.GetHashCode();
      if (pKCPJJNOALN_ != null) hash ^= PKCPJJNOALN.GetHashCode();
      hash ^= battleRecordList_.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 (pKCPJJNOALN_ != null) {
        output.WriteRawTag(18);
        output.WriteMessage(PKCPJJNOALN);
      }
      oKOBGJHJJOA_.WriteTo(output, _repeated_oKOBGJHJJOA_codec);
      if (Retcode != 0) {
        output.WriteRawTag(56);
        output.WriteUInt32(Retcode);
      }
      battleRecordList_.WriteTo(output, _repeated_battleRecordList_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 (pKCPJJNOALN_ != null) {
        output.WriteRawTag(18);
        output.WriteMessage(PKCPJJNOALN);
      }
      oKOBGJHJJOA_.WriteTo(ref output, _repeated_oKOBGJHJJOA_codec);
      if (Retcode != 0) {
        output.WriteRawTag(56);
        output.WriteUInt32(Retcode);
      }
      battleRecordList_.WriteTo(ref output, _repeated_battleRecordList_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;
      size += oKOBGJHJJOA_.CalculateSize(_repeated_oKOBGJHJJOA_codec);
      if (Retcode != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
      }
      if (pKCPJJNOALN_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(PKCPJJNOALN);
      }
      size += battleRecordList_.CalculateSize(_repeated_battleRecordList_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(GetPunkLordBattleRecordScRsp other) {
      if (other == null) {
        return;
      }
      oKOBGJHJJOA_.Add(other.oKOBGJHJJOA_);
      if (other.Retcode != 0) {
        Retcode = other.Retcode;
      }
      if (other.pKCPJJNOALN_ != null) {
        if (pKCPJJNOALN_ == null) {
          PKCPJJNOALN = new global::EggLink.DanhengServer.Proto.PunkLordMonsterKey();
        }
        PKCPJJNOALN.MergeFrom(other.PKCPJJNOALN);
      }
      battleRecordList_.Add(other.battleRecordList_);
      _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 (pKCPJJNOALN_ == null) {
              PKCPJJNOALN = new global::EggLink.DanhengServer.Proto.PunkLordMonsterKey();
            }
            input.ReadMessage(PKCPJJNOALN);
            break;
          }
          case 34: {
            oKOBGJHJJOA_.AddEntriesFrom(input, _repeated_oKOBGJHJJOA_codec);
            break;
          }
          case 56: {
            Retcode = input.ReadUInt32();
            break;
          }
          case 66: {
            battleRecordList_.AddEntriesFrom(input, _repeated_battleRecordList_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 18: {
            if (pKCPJJNOALN_ == null) {
              PKCPJJNOALN = new global::EggLink.DanhengServer.Proto.PunkLordMonsterKey();
            }
            input.ReadMessage(PKCPJJNOALN);
            break;
          }
          case 34: {
            oKOBGJHJJOA_.AddEntriesFrom(ref input, _repeated_oKOBGJHJJOA_codec);
            break;
          }
          case 56: {
            Retcode = input.ReadUInt32();
            break;
          }
          case 66: {
            battleRecordList_.AddEntriesFrom(ref input, _repeated_battleRecordList_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
