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

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

    static GridFightTakeWeeklyRewardInfoReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CiNHcmlkRmlnaHRUYWtlV2Vla2x5UmV3YXJkSW5mby5wcm90byKLAQodR3Jp",
            "ZEZpZ2h0VGFrZVdlZWtseVJld2FyZEluZm8SGQoRZ3JpZF93ZWVrbHlfc2Nv",
            "cmUYByABKA0SIQoZaGFzX3Rha2VuX3Njb3JlX3JhbmtfbGlzdBgNIAMoDRIa",
            "ChJmZWF0dXJlX2JlZ2luX3RpbWUYCyABKAMSEAoIZW5kX3RpbWUYASABKANC",
            "HqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightTakeWeeklyRewardInfo), global::EggLink.DanhengServer.Proto.GridFightTakeWeeklyRewardInfo.Parser, new[]{ "GridWeeklyScore", "HasTakenScoreRankList", "FeatureBeginTime", "EndTime" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GridFightTakeWeeklyRewardInfo(GridFightTakeWeeklyRewardInfo other) : this() {
      gridWeeklyScore_ = other.gridWeeklyScore_;
      hasTakenScoreRankList_ = other.hasTakenScoreRankList_.Clone();
      featureBeginTime_ = other.featureBeginTime_;
      endTime_ = other.endTime_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

    /// <summary>Field number for the "has_taken_score_rank_list" field.</summary>
    public const int HasTakenScoreRankListFieldNumber = 13;
    private static readonly pb::FieldCodec<uint> _repeated_hasTakenScoreRankList_codec
        = pb::FieldCodec.ForUInt32(106);
    private readonly pbc::RepeatedField<uint> hasTakenScoreRankList_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> HasTakenScoreRankList {
      get { return hasTakenScoreRankList_; }
    }

    /// <summary>Field number for the "feature_begin_time" field.</summary>
    public const int FeatureBeginTimeFieldNumber = 11;
    private long featureBeginTime_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public long FeatureBeginTime {
      get { return featureBeginTime_; }
      set {
        featureBeginTime_ = value;
      }
    }

    /// <summary>Field number for the "end_time" field.</summary>
    public const int EndTimeFieldNumber = 1;
    private long endTime_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public long EndTime {
      get { return endTime_; }
      set {
        endTime_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(GridFightTakeWeeklyRewardInfo other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (GridWeeklyScore != other.GridWeeklyScore) return false;
      if(!hasTakenScoreRankList_.Equals(other.hasTakenScoreRankList_)) return false;
      if (FeatureBeginTime != other.FeatureBeginTime) return false;
      if (EndTime != other.EndTime) 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 (GridWeeklyScore != 0) hash ^= GridWeeklyScore.GetHashCode();
      hash ^= hasTakenScoreRankList_.GetHashCode();
      if (FeatureBeginTime != 0L) hash ^= FeatureBeginTime.GetHashCode();
      if (EndTime != 0L) hash ^= EndTime.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 (EndTime != 0L) {
        output.WriteRawTag(8);
        output.WriteInt64(EndTime);
      }
      if (GridWeeklyScore != 0) {
        output.WriteRawTag(56);
        output.WriteUInt32(GridWeeklyScore);
      }
      if (FeatureBeginTime != 0L) {
        output.WriteRawTag(88);
        output.WriteInt64(FeatureBeginTime);
      }
      hasTakenScoreRankList_.WriteTo(output, _repeated_hasTakenScoreRankList_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 (EndTime != 0L) {
        output.WriteRawTag(8);
        output.WriteInt64(EndTime);
      }
      if (GridWeeklyScore != 0) {
        output.WriteRawTag(56);
        output.WriteUInt32(GridWeeklyScore);
      }
      if (FeatureBeginTime != 0L) {
        output.WriteRawTag(88);
        output.WriteInt64(FeatureBeginTime);
      }
      hasTakenScoreRankList_.WriteTo(ref output, _repeated_hasTakenScoreRankList_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 (GridWeeklyScore != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GridWeeklyScore);
      }
      size += hasTakenScoreRankList_.CalculateSize(_repeated_hasTakenScoreRankList_codec);
      if (FeatureBeginTime != 0L) {
        size += 1 + pb::CodedOutputStream.ComputeInt64Size(FeatureBeginTime);
      }
      if (EndTime != 0L) {
        size += 1 + pb::CodedOutputStream.ComputeInt64Size(EndTime);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(GridFightTakeWeeklyRewardInfo other) {
      if (other == null) {
        return;
      }
      if (other.GridWeeklyScore != 0) {
        GridWeeklyScore = other.GridWeeklyScore;
      }
      hasTakenScoreRankList_.Add(other.hasTakenScoreRankList_);
      if (other.FeatureBeginTime != 0L) {
        FeatureBeginTime = other.FeatureBeginTime;
      }
      if (other.EndTime != 0L) {
        EndTime = other.EndTime;
      }
      _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 8: {
            EndTime = input.ReadInt64();
            break;
          }
          case 56: {
            GridWeeklyScore = input.ReadUInt32();
            break;
          }
          case 88: {
            FeatureBeginTime = input.ReadInt64();
            break;
          }
          case 106:
          case 104: {
            hasTakenScoreRankList_.AddEntriesFrom(input, _repeated_hasTakenScoreRankList_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 8: {
            EndTime = input.ReadInt64();
            break;
          }
          case 56: {
            GridWeeklyScore = input.ReadUInt32();
            break;
          }
          case 88: {
            FeatureBeginTime = input.ReadInt64();
            break;
          }
          case 106:
          case 104: {
            hasTakenScoreRankList_.AddEntriesFrom(ref input, _repeated_hasTakenScoreRankList_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
