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

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

    static BenefitItemConfigReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChdCZW5lZml0SXRlbUNvbmZpZy5wcm90bxoRRUNNS0FMS0NKQUMucHJvdG8a",
            "F0JlbmVmaXRSZXdhcmRJdGVtLnByb3RvIsMBChFCZW5lZml0SXRlbUNvbmZp",
            "ZxIkCg5sdWNreV9rb2lfbGlzdBgLIAMoCzIMLkVDTUtBTEtDSkFDEhIKCmJl",
            "Z2luX3RpbWUYDSABKAQSGAoQcmV2ZWFsX251bV9saW1pdBgBIAEoDRIQCghl",
            "bmRfdGltZRgDIAEoBBIzChdyb2d1ZV9zY29yZV9yZXdhcmRfaW5mbxgFIAMo",
            "CzISLkJlbmVmaXRSZXdhcmRJdGVtEhMKC3JldmVhbF90aW1lGAIgASgEQh6q",
            "AhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ECMKALKCJACReflection.Descriptor, global::EggLink.DanhengServer.Proto.BenefitRewardItemReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.BenefitItemConfig), global::EggLink.DanhengServer.Proto.BenefitItemConfig.Parser, new[]{ "LuckyKoiList", "BeginTime", "RevealNumLimit", "EndTime", "RogueScoreRewardInfo", "RevealTime" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public BenefitItemConfig(BenefitItemConfig other) : this() {
      luckyKoiList_ = other.luckyKoiList_.Clone();
      beginTime_ = other.beginTime_;
      revealNumLimit_ = other.revealNumLimit_;
      endTime_ = other.endTime_;
      rogueScoreRewardInfo_ = other.rogueScoreRewardInfo_.Clone();
      revealTime_ = other.revealTime_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "lucky_koi_list" field.</summary>
    public const int LuckyKoiListFieldNumber = 11;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ECMKALKCJAC> _repeated_luckyKoiList_codec
        = pb::FieldCodec.ForMessage(90, global::EggLink.DanhengServer.Proto.ECMKALKCJAC.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ECMKALKCJAC> luckyKoiList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ECMKALKCJAC>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ECMKALKCJAC> LuckyKoiList {
      get { return luckyKoiList_; }
    }

    /// <summary>Field number for the "begin_time" field.</summary>
    public const int BeginTimeFieldNumber = 13;
    private ulong beginTime_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ulong BeginTime {
      get { return beginTime_; }
      set {
        beginTime_ = value;
      }
    }

    /// <summary>Field number for the "reveal_num_limit" field.</summary>
    public const int RevealNumLimitFieldNumber = 1;
    private uint revealNumLimit_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint RevealNumLimit {
      get { return revealNumLimit_; }
      set {
        revealNumLimit_ = value;
      }
    }

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

    /// <summary>Field number for the "rogue_score_reward_info" field.</summary>
    public const int RogueScoreRewardInfoFieldNumber = 5;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.BenefitRewardItem> _repeated_rogueScoreRewardInfo_codec
        = pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.BenefitRewardItem.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BenefitRewardItem> rogueScoreRewardInfo_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BenefitRewardItem>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BenefitRewardItem> RogueScoreRewardInfo {
      get { return rogueScoreRewardInfo_; }
    }

    /// <summary>Field number for the "reveal_time" field.</summary>
    public const int RevealTimeFieldNumber = 2;
    private ulong revealTime_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ulong RevealTime {
      get { return revealTime_; }
      set {
        revealTime_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(BenefitItemConfig other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if(!luckyKoiList_.Equals(other.luckyKoiList_)) return false;
      if (BeginTime != other.BeginTime) return false;
      if (RevealNumLimit != other.RevealNumLimit) return false;
      if (EndTime != other.EndTime) return false;
      if(!rogueScoreRewardInfo_.Equals(other.rogueScoreRewardInfo_)) return false;
      if (RevealTime != other.RevealTime) 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 ^= luckyKoiList_.GetHashCode();
      if (BeginTime != 0UL) hash ^= BeginTime.GetHashCode();
      if (RevealNumLimit != 0) hash ^= RevealNumLimit.GetHashCode();
      if (EndTime != 0UL) hash ^= EndTime.GetHashCode();
      hash ^= rogueScoreRewardInfo_.GetHashCode();
      if (RevealTime != 0UL) hash ^= RevealTime.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 (RevealNumLimit != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(RevealNumLimit);
      }
      if (RevealTime != 0UL) {
        output.WriteRawTag(16);
        output.WriteUInt64(RevealTime);
      }
      if (EndTime != 0UL) {
        output.WriteRawTag(24);
        output.WriteUInt64(EndTime);
      }
      rogueScoreRewardInfo_.WriteTo(output, _repeated_rogueScoreRewardInfo_codec);
      luckyKoiList_.WriteTo(output, _repeated_luckyKoiList_codec);
      if (BeginTime != 0UL) {
        output.WriteRawTag(104);
        output.WriteUInt64(BeginTime);
      }
      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 (RevealNumLimit != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(RevealNumLimit);
      }
      if (RevealTime != 0UL) {
        output.WriteRawTag(16);
        output.WriteUInt64(RevealTime);
      }
      if (EndTime != 0UL) {
        output.WriteRawTag(24);
        output.WriteUInt64(EndTime);
      }
      rogueScoreRewardInfo_.WriteTo(ref output, _repeated_rogueScoreRewardInfo_codec);
      luckyKoiList_.WriteTo(ref output, _repeated_luckyKoiList_codec);
      if (BeginTime != 0UL) {
        output.WriteRawTag(104);
        output.WriteUInt64(BeginTime);
      }
      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 += luckyKoiList_.CalculateSize(_repeated_luckyKoiList_codec);
      if (BeginTime != 0UL) {
        size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BeginTime);
      }
      if (RevealNumLimit != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RevealNumLimit);
      }
      if (EndTime != 0UL) {
        size += 1 + pb::CodedOutputStream.ComputeUInt64Size(EndTime);
      }
      size += rogueScoreRewardInfo_.CalculateSize(_repeated_rogueScoreRewardInfo_codec);
      if (RevealTime != 0UL) {
        size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RevealTime);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(BenefitItemConfig other) {
      if (other == null) {
        return;
      }
      luckyKoiList_.Add(other.luckyKoiList_);
      if (other.BeginTime != 0UL) {
        BeginTime = other.BeginTime;
      }
      if (other.RevealNumLimit != 0) {
        RevealNumLimit = other.RevealNumLimit;
      }
      if (other.EndTime != 0UL) {
        EndTime = other.EndTime;
      }
      rogueScoreRewardInfo_.Add(other.rogueScoreRewardInfo_);
      if (other.RevealTime != 0UL) {
        RevealTime = other.RevealTime;
      }
      _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: {
            RevealNumLimit = input.ReadUInt32();
            break;
          }
          case 16: {
            RevealTime = input.ReadUInt64();
            break;
          }
          case 24: {
            EndTime = input.ReadUInt64();
            break;
          }
          case 42: {
            rogueScoreRewardInfo_.AddEntriesFrom(input, _repeated_rogueScoreRewardInfo_codec);
            break;
          }
          case 90: {
            luckyKoiList_.AddEntriesFrom(input, _repeated_luckyKoiList_codec);
            break;
          }
          case 104: {
            BeginTime = input.ReadUInt64();
            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: {
            RevealNumLimit = input.ReadUInt32();
            break;
          }
          case 16: {
            RevealTime = input.ReadUInt64();
            break;
          }
          case 24: {
            EndTime = input.ReadUInt64();
            break;
          }
          case 42: {
            rogueScoreRewardInfo_.AddEntriesFrom(ref input, _repeated_rogueScoreRewardInfo_codec);
            break;
          }
          case 90: {
            luckyKoiList_.AddEntriesFrom(ref input, _repeated_luckyKoiList_codec);
            break;
          }
          case 104: {
            BeginTime = input.ReadUInt64();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
