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

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

    static OMOJDEIFDAMReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChFPTU9KREVJRkRBTS5wcm90bxoRQ0dIS0lEQkpIRkgucHJvdG8aEVBLSEpC",
            "UE1JQkJBLnByb3RvIk8KC09NT0pERUlGREFNEhwKBnNvdXJjZRgNIAEoDjIM",
            "LlBLSEpCUE1JQkJBEiIKDHJvZ3VlX2FjdGlvbhgBIAEoCzIMLkNHSEtJREJK",
            "SEZIQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.CGHKIDBJHFHReflection.Descriptor, global::EggLink.DanhengServer.Proto.PKHJBPMIBBAReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.OMOJDEIFDAM), global::EggLink.DanhengServer.Proto.OMOJDEIFDAM.Parser, new[]{ "Source", "RogueAction" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public OMOJDEIFDAM(OMOJDEIFDAM other) : this() {
      source_ = other.source_;
      rogueAction_ = other.rogueAction_ != null ? other.rogueAction_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "source" field.</summary>
    public const int SourceFieldNumber = 13;
    private global::EggLink.DanhengServer.Proto.PKHJBPMIBBA source_ = global::EggLink.DanhengServer.Proto.PKHJBPMIBBA.SwordTrainGameSourceTypeNone;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.PKHJBPMIBBA Source {
      get { return source_; }
      set {
        source_ = value;
      }
    }

    /// <summary>Field number for the "rogue_action" field.</summary>
    public const int RogueActionFieldNumber = 1;
    private global::EggLink.DanhengServer.Proto.CGHKIDBJHFH rogueAction_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.CGHKIDBJHFH RogueAction {
      get { return rogueAction_; }
      set {
        rogueAction_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(OMOJDEIFDAM other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Source != other.Source) return false;
      if (!object.Equals(RogueAction, other.RogueAction)) 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 (Source != global::EggLink.DanhengServer.Proto.PKHJBPMIBBA.SwordTrainGameSourceTypeNone) hash ^= Source.GetHashCode();
      if (rogueAction_ != null) hash ^= RogueAction.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 (rogueAction_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(RogueAction);
      }
      if (Source != global::EggLink.DanhengServer.Proto.PKHJBPMIBBA.SwordTrainGameSourceTypeNone) {
        output.WriteRawTag(104);
        output.WriteEnum((int) Source);
      }
      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 (rogueAction_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(RogueAction);
      }
      if (Source != global::EggLink.DanhengServer.Proto.PKHJBPMIBBA.SwordTrainGameSourceTypeNone) {
        output.WriteRawTag(104);
        output.WriteEnum((int) Source);
      }
      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 (Source != global::EggLink.DanhengServer.Proto.PKHJBPMIBBA.SwordTrainGameSourceTypeNone) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Source);
      }
      if (rogueAction_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueAction);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(OMOJDEIFDAM other) {
      if (other == null) {
        return;
      }
      if (other.Source != global::EggLink.DanhengServer.Proto.PKHJBPMIBBA.SwordTrainGameSourceTypeNone) {
        Source = other.Source;
      }
      if (other.rogueAction_ != null) {
        if (rogueAction_ == null) {
          RogueAction = new global::EggLink.DanhengServer.Proto.CGHKIDBJHFH();
        }
        RogueAction.MergeFrom(other.RogueAction);
      }
      _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: {
            if (rogueAction_ == null) {
              RogueAction = new global::EggLink.DanhengServer.Proto.CGHKIDBJHFH();
            }
            input.ReadMessage(RogueAction);
            break;
          }
          case 104: {
            Source = (global::EggLink.DanhengServer.Proto.PKHJBPMIBBA) input.ReadEnum();
            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: {
            if (rogueAction_ == null) {
              RogueAction = new global::EggLink.DanhengServer.Proto.CGHKIDBJHFH();
            }
            input.ReadMessage(RogueAction);
            break;
          }
          case 104: {
            Source = (global::EggLink.DanhengServer.Proto.PKHJBPMIBBA) input.ReadEnum();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
