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

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

    static CellAdvanceInfoReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChVDZWxsQWR2YW5jZUluZm8ucHJvdG8aGkNlbGxGaW5hbE1vbnN0ZXJJbmZv",
            "LnByb3RvGhVDZWxsTW9uc3RlckluZm8ucHJvdG8aG0NlbGxNb25zdGVyU2Vs",
            "ZWN0SW5mby5wcm90byKyAQoPQ2VsbEFkdmFuY2VJbmZvEioKDmNlbGxfYm9z",
            "c19pbmZvGAMgASgLMhAuQ2VsbE1vbnN0ZXJJbmZvSAASMgoQc2VsZWN0X2Jv",
            "c3NfaW5mbxgIIAEoCzIWLkNlbGxNb25zdGVyU2VsZWN0SW5mb0gAEjAKD2Zp",
            "bmFsX2Jvc3NfaW5mbxgBIAEoCzIVLkNlbGxGaW5hbE1vbnN0ZXJJbmZvSABC",
            "DQoLSEJQR0pCQkFMQ0NCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90",
            "b2IGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.CellFinalMonsterInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.CellMonsterInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.CellMonsterSelectInfoReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.CellAdvanceInfo), global::EggLink.DanhengServer.Proto.CellAdvanceInfo.Parser, new[]{ "CellBossInfo", "SelectBossInfo", "FinalBossInfo" }, new[]{ "HBPGJBBALCC" }, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public CellAdvanceInfo(CellAdvanceInfo other) : this() {
      switch (other.HBPGJBBALCCCase) {
        case HBPGJBBALCCOneofCase.CellBossInfo:
          CellBossInfo = other.CellBossInfo.Clone();
          break;
        case HBPGJBBALCCOneofCase.SelectBossInfo:
          SelectBossInfo = other.SelectBossInfo.Clone();
          break;
        case HBPGJBBALCCOneofCase.FinalBossInfo:
          FinalBossInfo = other.FinalBossInfo.Clone();
          break;
      }

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

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

    /// <summary>Field number for the "cell_boss_info" field.</summary>
    public const int CellBossInfoFieldNumber = 3;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.CellMonsterInfo CellBossInfo {
      get { return hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.CellBossInfo ? (global::EggLink.DanhengServer.Proto.CellMonsterInfo) hBPGJBBALCC_ : null; }
      set {
        hBPGJBBALCC_ = value;
        hBPGJBBALCCCase_ = value == null ? HBPGJBBALCCOneofCase.None : HBPGJBBALCCOneofCase.CellBossInfo;
      }
    }

    /// <summary>Field number for the "select_boss_info" field.</summary>
    public const int SelectBossInfoFieldNumber = 8;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.CellMonsterSelectInfo SelectBossInfo {
      get { return hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.SelectBossInfo ? (global::EggLink.DanhengServer.Proto.CellMonsterSelectInfo) hBPGJBBALCC_ : null; }
      set {
        hBPGJBBALCC_ = value;
        hBPGJBBALCCCase_ = value == null ? HBPGJBBALCCOneofCase.None : HBPGJBBALCCOneofCase.SelectBossInfo;
      }
    }

    /// <summary>Field number for the "final_boss_info" field.</summary>
    public const int FinalBossInfoFieldNumber = 1;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.CellFinalMonsterInfo FinalBossInfo {
      get { return hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.FinalBossInfo ? (global::EggLink.DanhengServer.Proto.CellFinalMonsterInfo) hBPGJBBALCC_ : null; }
      set {
        hBPGJBBALCC_ = value;
        hBPGJBBALCCCase_ = value == null ? HBPGJBBALCCOneofCase.None : HBPGJBBALCCOneofCase.FinalBossInfo;
      }
    }

    private object hBPGJBBALCC_;
    /// <summary>Enum of possible cases for the "HBPGJBBALCC" oneof.</summary>
    public enum HBPGJBBALCCOneofCase {
      None = 0,
      CellBossInfo = 3,
      SelectBossInfo = 8,
      FinalBossInfo = 1,
    }
    private HBPGJBBALCCOneofCase hBPGJBBALCCCase_ = HBPGJBBALCCOneofCase.None;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public HBPGJBBALCCOneofCase HBPGJBBALCCCase {
      get { return hBPGJBBALCCCase_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearHBPGJBBALCC() {
      hBPGJBBALCCCase_ = HBPGJBBALCCOneofCase.None;
      hBPGJBBALCC_ = null;
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(CellAdvanceInfo other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(CellBossInfo, other.CellBossInfo)) return false;
      if (!object.Equals(SelectBossInfo, other.SelectBossInfo)) return false;
      if (!object.Equals(FinalBossInfo, other.FinalBossInfo)) return false;
      if (HBPGJBBALCCCase != other.HBPGJBBALCCCase) 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 (hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.CellBossInfo) hash ^= CellBossInfo.GetHashCode();
      if (hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.SelectBossInfo) hash ^= SelectBossInfo.GetHashCode();
      if (hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.FinalBossInfo) hash ^= FinalBossInfo.GetHashCode();
      hash ^= (int) hBPGJBBALCCCase_;
      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 (hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.FinalBossInfo) {
        output.WriteRawTag(10);
        output.WriteMessage(FinalBossInfo);
      }
      if (hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.CellBossInfo) {
        output.WriteRawTag(26);
        output.WriteMessage(CellBossInfo);
      }
      if (hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.SelectBossInfo) {
        output.WriteRawTag(66);
        output.WriteMessage(SelectBossInfo);
      }
      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 (hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.FinalBossInfo) {
        output.WriteRawTag(10);
        output.WriteMessage(FinalBossInfo);
      }
      if (hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.CellBossInfo) {
        output.WriteRawTag(26);
        output.WriteMessage(CellBossInfo);
      }
      if (hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.SelectBossInfo) {
        output.WriteRawTag(66);
        output.WriteMessage(SelectBossInfo);
      }
      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 (hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.CellBossInfo) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(CellBossInfo);
      }
      if (hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.SelectBossInfo) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(SelectBossInfo);
      }
      if (hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.FinalBossInfo) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(FinalBossInfo);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(CellAdvanceInfo other) {
      if (other == null) {
        return;
      }
      switch (other.HBPGJBBALCCCase) {
        case HBPGJBBALCCOneofCase.CellBossInfo:
          if (CellBossInfo == null) {
            CellBossInfo = new global::EggLink.DanhengServer.Proto.CellMonsterInfo();
          }
          CellBossInfo.MergeFrom(other.CellBossInfo);
          break;
        case HBPGJBBALCCOneofCase.SelectBossInfo:
          if (SelectBossInfo == null) {
            SelectBossInfo = new global::EggLink.DanhengServer.Proto.CellMonsterSelectInfo();
          }
          SelectBossInfo.MergeFrom(other.SelectBossInfo);
          break;
        case HBPGJBBALCCOneofCase.FinalBossInfo:
          if (FinalBossInfo == null) {
            FinalBossInfo = new global::EggLink.DanhengServer.Proto.CellFinalMonsterInfo();
          }
          FinalBossInfo.MergeFrom(other.FinalBossInfo);
          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.CellFinalMonsterInfo subBuilder = new global::EggLink.DanhengServer.Proto.CellFinalMonsterInfo();
            if (hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.FinalBossInfo) {
              subBuilder.MergeFrom(FinalBossInfo);
            }
            input.ReadMessage(subBuilder);
            FinalBossInfo = subBuilder;
            break;
          }
          case 26: {
            global::EggLink.DanhengServer.Proto.CellMonsterInfo subBuilder = new global::EggLink.DanhengServer.Proto.CellMonsterInfo();
            if (hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.CellBossInfo) {
              subBuilder.MergeFrom(CellBossInfo);
            }
            input.ReadMessage(subBuilder);
            CellBossInfo = subBuilder;
            break;
          }
          case 66: {
            global::EggLink.DanhengServer.Proto.CellMonsterSelectInfo subBuilder = new global::EggLink.DanhengServer.Proto.CellMonsterSelectInfo();
            if (hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.SelectBossInfo) {
              subBuilder.MergeFrom(SelectBossInfo);
            }
            input.ReadMessage(subBuilder);
            SelectBossInfo = 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.CellFinalMonsterInfo subBuilder = new global::EggLink.DanhengServer.Proto.CellFinalMonsterInfo();
            if (hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.FinalBossInfo) {
              subBuilder.MergeFrom(FinalBossInfo);
            }
            input.ReadMessage(subBuilder);
            FinalBossInfo = subBuilder;
            break;
          }
          case 26: {
            global::EggLink.DanhengServer.Proto.CellMonsterInfo subBuilder = new global::EggLink.DanhengServer.Proto.CellMonsterInfo();
            if (hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.CellBossInfo) {
              subBuilder.MergeFrom(CellBossInfo);
            }
            input.ReadMessage(subBuilder);
            CellBossInfo = subBuilder;
            break;
          }
          case 66: {
            global::EggLink.DanhengServer.Proto.CellMonsterSelectInfo subBuilder = new global::EggLink.DanhengServer.Proto.CellMonsterSelectInfo();
            if (hBPGJBBALCCCase_ == HBPGJBBALCCOneofCase.SelectBossInfo) {
              subBuilder.MergeFrom(SelectBossInfo);
            }
            input.ReadMessage(subBuilder);
            SelectBossInfo = subBuilder;
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
