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

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

    static SetGachaDecideItemCsReqReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Ch1TZXRHYWNoYURlY2lkZUl0ZW1Dc1JlcS5wcm90byJbChdTZXRHYWNoYURl",
            "Y2lkZUl0ZW1Dc1JlcRIZChFkZWNpZGVfaXRlbV9vcmRlchgPIAMoDRITCgtD",
            "SERPSUJGRUhMUBgCIAEoDRIQCghnYWNoYV9pZBgMIAEoDUIeqgIbRWdnTGlu",
            "ay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SetGachaDecideItemCsReq), global::EggLink.DanhengServer.Proto.SetGachaDecideItemCsReq.Parser, new[]{ "DecideItemOrder", "CHDOIBFEHLP", "GachaId" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SetGachaDecideItemCsReq(SetGachaDecideItemCsReq other) : this() {
      decideItemOrder_ = other.decideItemOrder_.Clone();
      cHDOIBFEHLP_ = other.cHDOIBFEHLP_;
      gachaId_ = other.gachaId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

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

    /// <summary>Field number for the "gacha_id" field.</summary>
    public const int GachaIdFieldNumber = 12;
    private uint gachaId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint GachaId {
      get { return gachaId_; }
      set {
        gachaId_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(SetGachaDecideItemCsReq other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if(!decideItemOrder_.Equals(other.decideItemOrder_)) return false;
      if (CHDOIBFEHLP != other.CHDOIBFEHLP) return false;
      if (GachaId != other.GachaId) 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 ^= decideItemOrder_.GetHashCode();
      if (CHDOIBFEHLP != 0) hash ^= CHDOIBFEHLP.GetHashCode();
      if (GachaId != 0) hash ^= GachaId.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 (CHDOIBFEHLP != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(CHDOIBFEHLP);
      }
      if (GachaId != 0) {
        output.WriteRawTag(96);
        output.WriteUInt32(GachaId);
      }
      decideItemOrder_.WriteTo(output, _repeated_decideItemOrder_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 (CHDOIBFEHLP != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(CHDOIBFEHLP);
      }
      if (GachaId != 0) {
        output.WriteRawTag(96);
        output.WriteUInt32(GachaId);
      }
      decideItemOrder_.WriteTo(ref output, _repeated_decideItemOrder_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 += decideItemOrder_.CalculateSize(_repeated_decideItemOrder_codec);
      if (CHDOIBFEHLP != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CHDOIBFEHLP);
      }
      if (GachaId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GachaId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(SetGachaDecideItemCsReq other) {
      if (other == null) {
        return;
      }
      decideItemOrder_.Add(other.decideItemOrder_);
      if (other.CHDOIBFEHLP != 0) {
        CHDOIBFEHLP = other.CHDOIBFEHLP;
      }
      if (other.GachaId != 0) {
        GachaId = other.GachaId;
      }
      _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 16: {
            CHDOIBFEHLP = input.ReadUInt32();
            break;
          }
          case 96: {
            GachaId = input.ReadUInt32();
            break;
          }
          case 122:
          case 120: {
            decideItemOrder_.AddEntriesFrom(input, _repeated_decideItemOrder_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 16: {
            CHDOIBFEHLP = input.ReadUInt32();
            break;
          }
          case 96: {
            GachaId = input.ReadUInt32();
            break;
          }
          case 122:
          case 120: {
            decideItemOrder_.AddEntriesFrom(ref input, _repeated_decideItemOrder_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
