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

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

    static TakeChallengePeakRewardCsReqReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CiJUYWtlQ2hhbGxlbmdlUGVha1Jld2FyZENzUmVxLnByb3RvImIKHFRha2VD",
            "aGFsbGVuZ2VQZWFrUmV3YXJkQ3NSZXESFQoNcGVha19ncm91cF9pZBgKIAEo",
            "DRITCgtGS05OTlBMUE5HShgBIAMoDRIWCg5wZWFrX3Jld2FyZF9pZBgIIAMo",
            "DUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.TakeChallengePeakRewardCsReq), global::EggLink.DanhengServer.Proto.TakeChallengePeakRewardCsReq.Parser, new[]{ "PeakGroupId", "FKNNNPLPNGJ", "PeakRewardId" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TakeChallengePeakRewardCsReq(TakeChallengePeakRewardCsReq other) : this() {
      peakGroupId_ = other.peakGroupId_;
      fKNNNPLPNGJ_ = other.fKNNNPLPNGJ_.Clone();
      peakRewardId_ = other.peakRewardId_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

    /// <summary>Field number for the "FKNNNPLPNGJ" field.</summary>
    public const int FKNNNPLPNGJFieldNumber = 1;
    private static readonly pb::FieldCodec<uint> _repeated_fKNNNPLPNGJ_codec
        = pb::FieldCodec.ForUInt32(10);
    private readonly pbc::RepeatedField<uint> fKNNNPLPNGJ_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> FKNNNPLPNGJ {
      get { return fKNNNPLPNGJ_; }
    }

    /// <summary>Field number for the "peak_reward_id" field.</summary>
    public const int PeakRewardIdFieldNumber = 8;
    private static readonly pb::FieldCodec<uint> _repeated_peakRewardId_codec
        = pb::FieldCodec.ForUInt32(66);
    private readonly pbc::RepeatedField<uint> peakRewardId_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> PeakRewardId {
      get { return peakRewardId_; }
    }

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(TakeChallengePeakRewardCsReq other) {
      if (other == null) {
        return;
      }
      if (other.PeakGroupId != 0) {
        PeakGroupId = other.PeakGroupId;
      }
      fKNNNPLPNGJ_.Add(other.fKNNNPLPNGJ_);
      peakRewardId_.Add(other.peakRewardId_);
      _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:
          case 8: {
            fKNNNPLPNGJ_.AddEntriesFrom(input, _repeated_fKNNNPLPNGJ_codec);
            break;
          }
          case 66:
          case 64: {
            peakRewardId_.AddEntriesFrom(input, _repeated_peakRewardId_codec);
            break;
          }
          case 80: {
            PeakGroupId = input.ReadUInt32();
            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:
          case 8: {
            fKNNNPLPNGJ_.AddEntriesFrom(ref input, _repeated_fKNNNPLPNGJ_codec);
            break;
          }
          case 66:
          case 64: {
            peakRewardId_.AddEntriesFrom(ref input, _repeated_peakRewardId_codec);
            break;
          }
          case 80: {
            PeakGroupId = input.ReadUInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
