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

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

    static BattleRogueMagicDetailInfoReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CiBCYXR0bGVSb2d1ZU1hZ2ljRGV0YWlsSW5mby5wcm90bxoeQmF0dGxlUm9n",
            "dWVNYWdpY0l0ZW1JbmZvLnByb3RvGhFGS09DQk9PQ0ROTC5wcm90byKNAQoa",
            "QmF0dGxlUm9ndWVNYWdpY0RldGFpbEluZm8SOwoWYmF0dGxlX21hZ2ljX2l0",
            "ZW1faW5mbxgBIAEoCzIZLkJhdHRsZVJvZ3VlTWFnaWNJdGVtSW5mb0gAEiMK",
            "C0VOTlBKR0xDQkVNGAIgASgLMgwuRktPQ0JPT0NETkxIAEINCgtHS0ZIQk5F",
            "SEdFS0IeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BattleRogueMagicItemInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.FKOCBOOCDNLReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.BattleRogueMagicDetailInfo), global::EggLink.DanhengServer.Proto.BattleRogueMagicDetailInfo.Parser, new[]{ "BattleMagicItemInfo", "ENNPJGLCBEM" }, new[]{ "GKFHBNEHGEK" }, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public BattleRogueMagicDetailInfo(BattleRogueMagicDetailInfo other) : this() {
      switch (other.GKFHBNEHGEKCase) {
        case GKFHBNEHGEKOneofCase.BattleMagicItemInfo:
          BattleMagicItemInfo = other.BattleMagicItemInfo.Clone();
          break;
        case GKFHBNEHGEKOneofCase.ENNPJGLCBEM:
          ENNPJGLCBEM = other.ENNPJGLCBEM.Clone();
          break;
      }

      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "battle_magic_item_info" field.</summary>
    public const int BattleMagicItemInfoFieldNumber = 1;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.BattleRogueMagicItemInfo BattleMagicItemInfo {
      get { return gKFHBNEHGEKCase_ == GKFHBNEHGEKOneofCase.BattleMagicItemInfo ? (global::EggLink.DanhengServer.Proto.BattleRogueMagicItemInfo) gKFHBNEHGEK_ : null; }
      set {
        gKFHBNEHGEK_ = value;
        gKFHBNEHGEKCase_ = value == null ? GKFHBNEHGEKOneofCase.None : GKFHBNEHGEKOneofCase.BattleMagicItemInfo;
      }
    }

    /// <summary>Field number for the "ENNPJGLCBEM" field.</summary>
    public const int ENNPJGLCBEMFieldNumber = 2;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.FKOCBOOCDNL ENNPJGLCBEM {
      get { return gKFHBNEHGEKCase_ == GKFHBNEHGEKOneofCase.ENNPJGLCBEM ? (global::EggLink.DanhengServer.Proto.FKOCBOOCDNL) gKFHBNEHGEK_ : null; }
      set {
        gKFHBNEHGEK_ = value;
        gKFHBNEHGEKCase_ = value == null ? GKFHBNEHGEKOneofCase.None : GKFHBNEHGEKOneofCase.ENNPJGLCBEM;
      }
    }

    private object gKFHBNEHGEK_;
    /// <summary>Enum of possible cases for the "GKFHBNEHGEK" oneof.</summary>
    public enum GKFHBNEHGEKOneofCase {
      None = 0,
      BattleMagicItemInfo = 1,
      ENNPJGLCBEM = 2,
    }
    private GKFHBNEHGEKOneofCase gKFHBNEHGEKCase_ = GKFHBNEHGEKOneofCase.None;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GKFHBNEHGEKOneofCase GKFHBNEHGEKCase {
      get { return gKFHBNEHGEKCase_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearGKFHBNEHGEK() {
      gKFHBNEHGEKCase_ = GKFHBNEHGEKOneofCase.None;
      gKFHBNEHGEK_ = null;
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(BattleRogueMagicDetailInfo other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(BattleMagicItemInfo, other.BattleMagicItemInfo)) return false;
      if (!object.Equals(ENNPJGLCBEM, other.ENNPJGLCBEM)) return false;
      if (GKFHBNEHGEKCase != other.GKFHBNEHGEKCase) 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 (gKFHBNEHGEKCase_ == GKFHBNEHGEKOneofCase.BattleMagicItemInfo) hash ^= BattleMagicItemInfo.GetHashCode();
      if (gKFHBNEHGEKCase_ == GKFHBNEHGEKOneofCase.ENNPJGLCBEM) hash ^= ENNPJGLCBEM.GetHashCode();
      hash ^= (int) gKFHBNEHGEKCase_;
      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 (gKFHBNEHGEKCase_ == GKFHBNEHGEKOneofCase.BattleMagicItemInfo) {
        output.WriteRawTag(10);
        output.WriteMessage(BattleMagicItemInfo);
      }
      if (gKFHBNEHGEKCase_ == GKFHBNEHGEKOneofCase.ENNPJGLCBEM) {
        output.WriteRawTag(18);
        output.WriteMessage(ENNPJGLCBEM);
      }
      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 (gKFHBNEHGEKCase_ == GKFHBNEHGEKOneofCase.BattleMagicItemInfo) {
        output.WriteRawTag(10);
        output.WriteMessage(BattleMagicItemInfo);
      }
      if (gKFHBNEHGEKCase_ == GKFHBNEHGEKOneofCase.ENNPJGLCBEM) {
        output.WriteRawTag(18);
        output.WriteMessage(ENNPJGLCBEM);
      }
      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 (gKFHBNEHGEKCase_ == GKFHBNEHGEKOneofCase.BattleMagicItemInfo) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(BattleMagicItemInfo);
      }
      if (gKFHBNEHGEKCase_ == GKFHBNEHGEKOneofCase.ENNPJGLCBEM) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(ENNPJGLCBEM);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(BattleRogueMagicDetailInfo other) {
      if (other == null) {
        return;
      }
      switch (other.GKFHBNEHGEKCase) {
        case GKFHBNEHGEKOneofCase.BattleMagicItemInfo:
          if (BattleMagicItemInfo == null) {
            BattleMagicItemInfo = new global::EggLink.DanhengServer.Proto.BattleRogueMagicItemInfo();
          }
          BattleMagicItemInfo.MergeFrom(other.BattleMagicItemInfo);
          break;
        case GKFHBNEHGEKOneofCase.ENNPJGLCBEM:
          if (ENNPJGLCBEM == null) {
            ENNPJGLCBEM = new global::EggLink.DanhengServer.Proto.FKOCBOOCDNL();
          }
          ENNPJGLCBEM.MergeFrom(other.ENNPJGLCBEM);
          break;
      }

      _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: {
            global::EggLink.DanhengServer.Proto.BattleRogueMagicItemInfo subBuilder = new global::EggLink.DanhengServer.Proto.BattleRogueMagicItemInfo();
            if (gKFHBNEHGEKCase_ == GKFHBNEHGEKOneofCase.BattleMagicItemInfo) {
              subBuilder.MergeFrom(BattleMagicItemInfo);
            }
            input.ReadMessage(subBuilder);
            BattleMagicItemInfo = subBuilder;
            break;
          }
          case 18: {
            global::EggLink.DanhengServer.Proto.FKOCBOOCDNL subBuilder = new global::EggLink.DanhengServer.Proto.FKOCBOOCDNL();
            if (gKFHBNEHGEKCase_ == GKFHBNEHGEKOneofCase.ENNPJGLCBEM) {
              subBuilder.MergeFrom(ENNPJGLCBEM);
            }
            input.ReadMessage(subBuilder);
            ENNPJGLCBEM = subBuilder;
            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: {
            global::EggLink.DanhengServer.Proto.BattleRogueMagicItemInfo subBuilder = new global::EggLink.DanhengServer.Proto.BattleRogueMagicItemInfo();
            if (gKFHBNEHGEKCase_ == GKFHBNEHGEKOneofCase.BattleMagicItemInfo) {
              subBuilder.MergeFrom(BattleMagicItemInfo);
            }
            input.ReadMessage(subBuilder);
            BattleMagicItemInfo = subBuilder;
            break;
          }
          case 18: {
            global::EggLink.DanhengServer.Proto.FKOCBOOCDNL subBuilder = new global::EggLink.DanhengServer.Proto.FKOCBOOCDNL();
            if (gKFHBNEHGEKCase_ == GKFHBNEHGEKOneofCase.ENNPJGLCBEM) {
              subBuilder.MergeFrom(ENNPJGLCBEM);
            }
            input.ReadMessage(subBuilder);
            ENNPJGLCBEM = subBuilder;
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
