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

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

    static GridFightTraitEffectInfoReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Ch5HcmlkRmlnaHRUcmFpdEVmZmVjdEluZm8ucHJvdG8aEUFNRVBJQ01EREZL",
            "LnByb3RvGhFJUEZEQ0tFRU9HTC5wcm90byLHAQoYR3JpZEZpZ2h0VHJhaXRF",
            "ZmZlY3RJbmZvEhoKD3RyYWl0X2NvcmVfcm9sZRjJDiABKA1IABIkCgtJSUJC",
            "R0pGQ0hETxj2BSABKAsyDC5JUEZEQ0tFRU9HTEgAEiEKFnRyYWl0X2VmZmVj",
            "dF9sZXZlbF9leHAYkw4gASgNSAASJAoLT0FES09FTU1HR0oYqwwgASgLMgwu",
            "QU1FUElDTURERktIABIRCgllZmZlY3RfaWQYCyABKA1CDQoLR0ROQUlIUE1N",
            "SERCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.AMEPICMDDFKReflection.Descriptor, global::EggLink.DanhengServer.Proto.IPFDCKEEOGLReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightTraitEffectInfo), global::EggLink.DanhengServer.Proto.GridFightTraitEffectInfo.Parser, new[]{ "TraitCoreRole", "IIBBGJFCHDO", "TraitEffectLevelExp", "OADKOEMMGGJ", "EffectId" }, new[]{ "GDNAIHPMMHD" }, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GridFightTraitEffectInfo(GridFightTraitEffectInfo other) : this() {
      effectId_ = other.effectId_;
      switch (other.GDNAIHPMMHDCase) {
        case GDNAIHPMMHDOneofCase.TraitCoreRole:
          TraitCoreRole = other.TraitCoreRole;
          break;
        case GDNAIHPMMHDOneofCase.IIBBGJFCHDO:
          IIBBGJFCHDO = other.IIBBGJFCHDO.Clone();
          break;
        case GDNAIHPMMHDOneofCase.TraitEffectLevelExp:
          TraitEffectLevelExp = other.TraitEffectLevelExp;
          break;
        case GDNAIHPMMHDOneofCase.OADKOEMMGGJ:
          OADKOEMMGGJ = other.OADKOEMMGGJ.Clone();
          break;
      }

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

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

    /// <summary>Field number for the "trait_core_role" field.</summary>
    public const int TraitCoreRoleFieldNumber = 1865;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint TraitCoreRole {
      get { return HasTraitCoreRole ? (uint) gDNAIHPMMHD_ : 0; }
      set {
        gDNAIHPMMHD_ = value;
        gDNAIHPMMHDCase_ = GDNAIHPMMHDOneofCase.TraitCoreRole;
      }
    }
    /// <summary>Gets whether the "trait_core_role" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool HasTraitCoreRole {
      get { return gDNAIHPMMHDCase_ == GDNAIHPMMHDOneofCase.TraitCoreRole; }
    }
    /// <summary> Clears the value of the oneof if it's currently set to "trait_core_role" </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearTraitCoreRole() {
      if (HasTraitCoreRole) {
        ClearGDNAIHPMMHD();
      }
    }

    /// <summary>Field number for the "IIBBGJFCHDO" field.</summary>
    public const int IIBBGJFCHDOFieldNumber = 758;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.IPFDCKEEOGL IIBBGJFCHDO {
      get { return gDNAIHPMMHDCase_ == GDNAIHPMMHDOneofCase.IIBBGJFCHDO ? (global::EggLink.DanhengServer.Proto.IPFDCKEEOGL) gDNAIHPMMHD_ : null; }
      set {
        gDNAIHPMMHD_ = value;
        gDNAIHPMMHDCase_ = value == null ? GDNAIHPMMHDOneofCase.None : GDNAIHPMMHDOneofCase.IIBBGJFCHDO;
      }
    }

    /// <summary>Field number for the "trait_effect_level_exp" field.</summary>
    public const int TraitEffectLevelExpFieldNumber = 1811;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint TraitEffectLevelExp {
      get { return HasTraitEffectLevelExp ? (uint) gDNAIHPMMHD_ : 0; }
      set {
        gDNAIHPMMHD_ = value;
        gDNAIHPMMHDCase_ = GDNAIHPMMHDOneofCase.TraitEffectLevelExp;
      }
    }
    /// <summary>Gets whether the "trait_effect_level_exp" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool HasTraitEffectLevelExp {
      get { return gDNAIHPMMHDCase_ == GDNAIHPMMHDOneofCase.TraitEffectLevelExp; }
    }
    /// <summary> Clears the value of the oneof if it's currently set to "trait_effect_level_exp" </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearTraitEffectLevelExp() {
      if (HasTraitEffectLevelExp) {
        ClearGDNAIHPMMHD();
      }
    }

    /// <summary>Field number for the "OADKOEMMGGJ" field.</summary>
    public const int OADKOEMMGGJFieldNumber = 1579;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.AMEPICMDDFK OADKOEMMGGJ {
      get { return gDNAIHPMMHDCase_ == GDNAIHPMMHDOneofCase.OADKOEMMGGJ ? (global::EggLink.DanhengServer.Proto.AMEPICMDDFK) gDNAIHPMMHD_ : null; }
      set {
        gDNAIHPMMHD_ = value;
        gDNAIHPMMHDCase_ = value == null ? GDNAIHPMMHDOneofCase.None : GDNAIHPMMHDOneofCase.OADKOEMMGGJ;
      }
    }

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

    private object gDNAIHPMMHD_;
    /// <summary>Enum of possible cases for the "GDNAIHPMMHD" oneof.</summary>
    public enum GDNAIHPMMHDOneofCase {
      None = 0,
      TraitCoreRole = 1865,
      IIBBGJFCHDO = 758,
      TraitEffectLevelExp = 1811,
      OADKOEMMGGJ = 1579,
    }
    private GDNAIHPMMHDOneofCase gDNAIHPMMHDCase_ = GDNAIHPMMHDOneofCase.None;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GDNAIHPMMHDOneofCase GDNAIHPMMHDCase {
      get { return gDNAIHPMMHDCase_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearGDNAIHPMMHD() {
      gDNAIHPMMHDCase_ = GDNAIHPMMHDOneofCase.None;
      gDNAIHPMMHD_ = null;
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(GridFightTraitEffectInfo other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (TraitCoreRole != other.TraitCoreRole) return false;
      if (!object.Equals(IIBBGJFCHDO, other.IIBBGJFCHDO)) return false;
      if (TraitEffectLevelExp != other.TraitEffectLevelExp) return false;
      if (!object.Equals(OADKOEMMGGJ, other.OADKOEMMGGJ)) return false;
      if (EffectId != other.EffectId) return false;
      if (GDNAIHPMMHDCase != other.GDNAIHPMMHDCase) 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 (HasTraitCoreRole) hash ^= TraitCoreRole.GetHashCode();
      if (gDNAIHPMMHDCase_ == GDNAIHPMMHDOneofCase.IIBBGJFCHDO) hash ^= IIBBGJFCHDO.GetHashCode();
      if (HasTraitEffectLevelExp) hash ^= TraitEffectLevelExp.GetHashCode();
      if (gDNAIHPMMHDCase_ == GDNAIHPMMHDOneofCase.OADKOEMMGGJ) hash ^= OADKOEMMGGJ.GetHashCode();
      if (EffectId != 0) hash ^= EffectId.GetHashCode();
      hash ^= (int) gDNAIHPMMHDCase_;
      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 (EffectId != 0) {
        output.WriteRawTag(88);
        output.WriteUInt32(EffectId);
      }
      if (gDNAIHPMMHDCase_ == GDNAIHPMMHDOneofCase.IIBBGJFCHDO) {
        output.WriteRawTag(178, 47);
        output.WriteMessage(IIBBGJFCHDO);
      }
      if (gDNAIHPMMHDCase_ == GDNAIHPMMHDOneofCase.OADKOEMMGGJ) {
        output.WriteRawTag(218, 98);
        output.WriteMessage(OADKOEMMGGJ);
      }
      if (HasTraitEffectLevelExp) {
        output.WriteRawTag(152, 113);
        output.WriteUInt32(TraitEffectLevelExp);
      }
      if (HasTraitCoreRole) {
        output.WriteRawTag(200, 116);
        output.WriteUInt32(TraitCoreRole);
      }
      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 (EffectId != 0) {
        output.WriteRawTag(88);
        output.WriteUInt32(EffectId);
      }
      if (gDNAIHPMMHDCase_ == GDNAIHPMMHDOneofCase.IIBBGJFCHDO) {
        output.WriteRawTag(178, 47);
        output.WriteMessage(IIBBGJFCHDO);
      }
      if (gDNAIHPMMHDCase_ == GDNAIHPMMHDOneofCase.OADKOEMMGGJ) {
        output.WriteRawTag(218, 98);
        output.WriteMessage(OADKOEMMGGJ);
      }
      if (HasTraitEffectLevelExp) {
        output.WriteRawTag(152, 113);
        output.WriteUInt32(TraitEffectLevelExp);
      }
      if (HasTraitCoreRole) {
        output.WriteRawTag(200, 116);
        output.WriteUInt32(TraitCoreRole);
      }
      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 (HasTraitCoreRole) {
        size += 2 + pb::CodedOutputStream.ComputeUInt32Size(TraitCoreRole);
      }
      if (gDNAIHPMMHDCase_ == GDNAIHPMMHDOneofCase.IIBBGJFCHDO) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(IIBBGJFCHDO);
      }
      if (HasTraitEffectLevelExp) {
        size += 2 + pb::CodedOutputStream.ComputeUInt32Size(TraitEffectLevelExp);
      }
      if (gDNAIHPMMHDCase_ == GDNAIHPMMHDOneofCase.OADKOEMMGGJ) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(OADKOEMMGGJ);
      }
      if (EffectId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EffectId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(GridFightTraitEffectInfo other) {
      if (other == null) {
        return;
      }
      if (other.EffectId != 0) {
        EffectId = other.EffectId;
      }
      switch (other.GDNAIHPMMHDCase) {
        case GDNAIHPMMHDOneofCase.TraitCoreRole:
          TraitCoreRole = other.TraitCoreRole;
          break;
        case GDNAIHPMMHDOneofCase.IIBBGJFCHDO:
          if (IIBBGJFCHDO == null) {
            IIBBGJFCHDO = new global::EggLink.DanhengServer.Proto.IPFDCKEEOGL();
          }
          IIBBGJFCHDO.MergeFrom(other.IIBBGJFCHDO);
          break;
        case GDNAIHPMMHDOneofCase.TraitEffectLevelExp:
          TraitEffectLevelExp = other.TraitEffectLevelExp;
          break;
        case GDNAIHPMMHDOneofCase.OADKOEMMGGJ:
          if (OADKOEMMGGJ == null) {
            OADKOEMMGGJ = new global::EggLink.DanhengServer.Proto.AMEPICMDDFK();
          }
          OADKOEMMGGJ.MergeFrom(other.OADKOEMMGGJ);
          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 88: {
            EffectId = input.ReadUInt32();
            break;
          }
          case 6066: {
            global::EggLink.DanhengServer.Proto.IPFDCKEEOGL subBuilder = new global::EggLink.DanhengServer.Proto.IPFDCKEEOGL();
            if (gDNAIHPMMHDCase_ == GDNAIHPMMHDOneofCase.IIBBGJFCHDO) {
              subBuilder.MergeFrom(IIBBGJFCHDO);
            }
            input.ReadMessage(subBuilder);
            IIBBGJFCHDO = subBuilder;
            break;
          }
          case 12634: {
            global::EggLink.DanhengServer.Proto.AMEPICMDDFK subBuilder = new global::EggLink.DanhengServer.Proto.AMEPICMDDFK();
            if (gDNAIHPMMHDCase_ == GDNAIHPMMHDOneofCase.OADKOEMMGGJ) {
              subBuilder.MergeFrom(OADKOEMMGGJ);
            }
            input.ReadMessage(subBuilder);
            OADKOEMMGGJ = subBuilder;
            break;
          }
          case 14488: {
            TraitEffectLevelExp = input.ReadUInt32();
            break;
          }
          case 14920: {
            TraitCoreRole = 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 88: {
            EffectId = input.ReadUInt32();
            break;
          }
          case 6066: {
            global::EggLink.DanhengServer.Proto.IPFDCKEEOGL subBuilder = new global::EggLink.DanhengServer.Proto.IPFDCKEEOGL();
            if (gDNAIHPMMHDCase_ == GDNAIHPMMHDOneofCase.IIBBGJFCHDO) {
              subBuilder.MergeFrom(IIBBGJFCHDO);
            }
            input.ReadMessage(subBuilder);
            IIBBGJFCHDO = subBuilder;
            break;
          }
          case 12634: {
            global::EggLink.DanhengServer.Proto.AMEPICMDDFK subBuilder = new global::EggLink.DanhengServer.Proto.AMEPICMDDFK();
            if (gDNAIHPMMHDCase_ == GDNAIHPMMHDOneofCase.OADKOEMMGGJ) {
              subBuilder.MergeFrom(OADKOEMMGGJ);
            }
            input.ReadMessage(subBuilder);
            OADKOEMMGGJ = subBuilder;
            break;
          }
          case 14488: {
            TraitEffectLevelExp = input.ReadUInt32();
            break;
          }
          case 14920: {
            TraitCoreRole = input.ReadUInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
