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

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

    static ChallengeGroupStatisticsReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Ch5DaGFsbGVuZ2VHcm91cFN0YXRpc3RpY3MucHJvdG8aGUJvc3NHcm91cFN0",
            "YXRpc3RpY3MucHJvdG8aGlN0b3J5R3JvdXBTdGF0aXN0aWNzLnByb3RvGhtN",
            "ZW1vcnlHcm91cFN0YXRpc3RpY3MucHJvdG8i4wEKGENoYWxsZW5nZUdyb3Vw",
            "U3RhdGlzdGljcxIvCgxtZW1vcnlfZ3JvdXAYiA8gASgLMhYuTWVtb3J5R3Jv",
            "dXBTdGF0aXN0aWNzSAASLQoLc3RvcnlfZ3JvdXAY7QQgASgLMhUuU3RvcnlH",
            "cm91cFN0YXRpc3RpY3NIABIrCgpib3NzX2dyb3VwGOEMIAEoCzIULkJvc3NH",
            "cm91cFN0YXRpc3RpY3NIABIZChFncm91cF90b3RhbF9zdGFycxgPIAEoDRIQ",
            "Cghncm91cF9pZBgEIAEoDUINCgtJSEFHR0lMREFOTEIeqgIbRWdnTGluay5E",
            "YW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BossGroupStatisticsReflection.Descriptor, global::EggLink.DanhengServer.Proto.StoryGroupStatisticsReflection.Descriptor, global::EggLink.DanhengServer.Proto.MemoryGroupStatisticsReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChallengeGroupStatistics), global::EggLink.DanhengServer.Proto.ChallengeGroupStatistics.Parser, new[]{ "MemoryGroup", "StoryGroup", "BossGroup", "GroupTotalStars", "GroupId" }, new[]{ "IHAGGILDANL" }, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ChallengeGroupStatistics(ChallengeGroupStatistics other) : this() {
      groupTotalStars_ = other.groupTotalStars_;
      groupId_ = other.groupId_;
      switch (other.IHAGGILDANLCase) {
        case IHAGGILDANLOneofCase.MemoryGroup:
          MemoryGroup = other.MemoryGroup.Clone();
          break;
        case IHAGGILDANLOneofCase.StoryGroup:
          StoryGroup = other.StoryGroup.Clone();
          break;
        case IHAGGILDANLOneofCase.BossGroup:
          BossGroup = other.BossGroup.Clone();
          break;
      }

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

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

    /// <summary>Field number for the "memory_group" field.</summary>
    public const int MemoryGroupFieldNumber = 1928;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.MemoryGroupStatistics MemoryGroup {
      get { return iHAGGILDANLCase_ == IHAGGILDANLOneofCase.MemoryGroup ? (global::EggLink.DanhengServer.Proto.MemoryGroupStatistics) iHAGGILDANL_ : null; }
      set {
        iHAGGILDANL_ = value;
        iHAGGILDANLCase_ = value == null ? IHAGGILDANLOneofCase.None : IHAGGILDANLOneofCase.MemoryGroup;
      }
    }

    /// <summary>Field number for the "story_group" field.</summary>
    public const int StoryGroupFieldNumber = 621;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.StoryGroupStatistics StoryGroup {
      get { return iHAGGILDANLCase_ == IHAGGILDANLOneofCase.StoryGroup ? (global::EggLink.DanhengServer.Proto.StoryGroupStatistics) iHAGGILDANL_ : null; }
      set {
        iHAGGILDANL_ = value;
        iHAGGILDANLCase_ = value == null ? IHAGGILDANLOneofCase.None : IHAGGILDANLOneofCase.StoryGroup;
      }
    }

    /// <summary>Field number for the "boss_group" field.</summary>
    public const int BossGroupFieldNumber = 1633;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.BossGroupStatistics BossGroup {
      get { return iHAGGILDANLCase_ == IHAGGILDANLOneofCase.BossGroup ? (global::EggLink.DanhengServer.Proto.BossGroupStatistics) iHAGGILDANL_ : null; }
      set {
        iHAGGILDANL_ = value;
        iHAGGILDANLCase_ = value == null ? IHAGGILDANLOneofCase.None : IHAGGILDANLOneofCase.BossGroup;
      }
    }

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

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

    private object iHAGGILDANL_;
    /// <summary>Enum of possible cases for the "IHAGGILDANL" oneof.</summary>
    public enum IHAGGILDANLOneofCase {
      None = 0,
      MemoryGroup = 1928,
      StoryGroup = 621,
      BossGroup = 1633,
    }
    private IHAGGILDANLOneofCase iHAGGILDANLCase_ = IHAGGILDANLOneofCase.None;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public IHAGGILDANLOneofCase IHAGGILDANLCase {
      get { return iHAGGILDANLCase_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void ClearIHAGGILDANL() {
      iHAGGILDANLCase_ = IHAGGILDANLOneofCase.None;
      iHAGGILDANL_ = null;
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(ChallengeGroupStatistics other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(MemoryGroup, other.MemoryGroup)) return false;
      if (!object.Equals(StoryGroup, other.StoryGroup)) return false;
      if (!object.Equals(BossGroup, other.BossGroup)) return false;
      if (GroupTotalStars != other.GroupTotalStars) return false;
      if (GroupId != other.GroupId) return false;
      if (IHAGGILDANLCase != other.IHAGGILDANLCase) 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 (iHAGGILDANLCase_ == IHAGGILDANLOneofCase.MemoryGroup) hash ^= MemoryGroup.GetHashCode();
      if (iHAGGILDANLCase_ == IHAGGILDANLOneofCase.StoryGroup) hash ^= StoryGroup.GetHashCode();
      if (iHAGGILDANLCase_ == IHAGGILDANLOneofCase.BossGroup) hash ^= BossGroup.GetHashCode();
      if (GroupTotalStars != 0) hash ^= GroupTotalStars.GetHashCode();
      if (GroupId != 0) hash ^= GroupId.GetHashCode();
      hash ^= (int) iHAGGILDANLCase_;
      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 (GroupId != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(GroupId);
      }
      if (GroupTotalStars != 0) {
        output.WriteRawTag(120);
        output.WriteUInt32(GroupTotalStars);
      }
      if (iHAGGILDANLCase_ == IHAGGILDANLOneofCase.StoryGroup) {
        output.WriteRawTag(234, 38);
        output.WriteMessage(StoryGroup);
      }
      if (iHAGGILDANLCase_ == IHAGGILDANLOneofCase.BossGroup) {
        output.WriteRawTag(138, 102);
        output.WriteMessage(BossGroup);
      }
      if (iHAGGILDANLCase_ == IHAGGILDANLOneofCase.MemoryGroup) {
        output.WriteRawTag(194, 120);
        output.WriteMessage(MemoryGroup);
      }
      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 (GroupId != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(GroupId);
      }
      if (GroupTotalStars != 0) {
        output.WriteRawTag(120);
        output.WriteUInt32(GroupTotalStars);
      }
      if (iHAGGILDANLCase_ == IHAGGILDANLOneofCase.StoryGroup) {
        output.WriteRawTag(234, 38);
        output.WriteMessage(StoryGroup);
      }
      if (iHAGGILDANLCase_ == IHAGGILDANLOneofCase.BossGroup) {
        output.WriteRawTag(138, 102);
        output.WriteMessage(BossGroup);
      }
      if (iHAGGILDANLCase_ == IHAGGILDANLOneofCase.MemoryGroup) {
        output.WriteRawTag(194, 120);
        output.WriteMessage(MemoryGroup);
      }
      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 (iHAGGILDANLCase_ == IHAGGILDANLOneofCase.MemoryGroup) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(MemoryGroup);
      }
      if (iHAGGILDANLCase_ == IHAGGILDANLOneofCase.StoryGroup) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(StoryGroup);
      }
      if (iHAGGILDANLCase_ == IHAGGILDANLOneofCase.BossGroup) {
        size += 2 + pb::CodedOutputStream.ComputeMessageSize(BossGroup);
      }
      if (GroupTotalStars != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GroupTotalStars);
      }
      if (GroupId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GroupId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(ChallengeGroupStatistics other) {
      if (other == null) {
        return;
      }
      if (other.GroupTotalStars != 0) {
        GroupTotalStars = other.GroupTotalStars;
      }
      if (other.GroupId != 0) {
        GroupId = other.GroupId;
      }
      switch (other.IHAGGILDANLCase) {
        case IHAGGILDANLOneofCase.MemoryGroup:
          if (MemoryGroup == null) {
            MemoryGroup = new global::EggLink.DanhengServer.Proto.MemoryGroupStatistics();
          }
          MemoryGroup.MergeFrom(other.MemoryGroup);
          break;
        case IHAGGILDANLOneofCase.StoryGroup:
          if (StoryGroup == null) {
            StoryGroup = new global::EggLink.DanhengServer.Proto.StoryGroupStatistics();
          }
          StoryGroup.MergeFrom(other.StoryGroup);
          break;
        case IHAGGILDANLOneofCase.BossGroup:
          if (BossGroup == null) {
            BossGroup = new global::EggLink.DanhengServer.Proto.BossGroupStatistics();
          }
          BossGroup.MergeFrom(other.BossGroup);
          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 32: {
            GroupId = input.ReadUInt32();
            break;
          }
          case 120: {
            GroupTotalStars = input.ReadUInt32();
            break;
          }
          case 4970: {
            global::EggLink.DanhengServer.Proto.StoryGroupStatistics subBuilder = new global::EggLink.DanhengServer.Proto.StoryGroupStatistics();
            if (iHAGGILDANLCase_ == IHAGGILDANLOneofCase.StoryGroup) {
              subBuilder.MergeFrom(StoryGroup);
            }
            input.ReadMessage(subBuilder);
            StoryGroup = subBuilder;
            break;
          }
          case 13066: {
            global::EggLink.DanhengServer.Proto.BossGroupStatistics subBuilder = new global::EggLink.DanhengServer.Proto.BossGroupStatistics();
            if (iHAGGILDANLCase_ == IHAGGILDANLOneofCase.BossGroup) {
              subBuilder.MergeFrom(BossGroup);
            }
            input.ReadMessage(subBuilder);
            BossGroup = subBuilder;
            break;
          }
          case 15426: {
            global::EggLink.DanhengServer.Proto.MemoryGroupStatistics subBuilder = new global::EggLink.DanhengServer.Proto.MemoryGroupStatistics();
            if (iHAGGILDANLCase_ == IHAGGILDANLOneofCase.MemoryGroup) {
              subBuilder.MergeFrom(MemoryGroup);
            }
            input.ReadMessage(subBuilder);
            MemoryGroup = 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 32: {
            GroupId = input.ReadUInt32();
            break;
          }
          case 120: {
            GroupTotalStars = input.ReadUInt32();
            break;
          }
          case 4970: {
            global::EggLink.DanhengServer.Proto.StoryGroupStatistics subBuilder = new global::EggLink.DanhengServer.Proto.StoryGroupStatistics();
            if (iHAGGILDANLCase_ == IHAGGILDANLOneofCase.StoryGroup) {
              subBuilder.MergeFrom(StoryGroup);
            }
            input.ReadMessage(subBuilder);
            StoryGroup = subBuilder;
            break;
          }
          case 13066: {
            global::EggLink.DanhengServer.Proto.BossGroupStatistics subBuilder = new global::EggLink.DanhengServer.Proto.BossGroupStatistics();
            if (iHAGGILDANLCase_ == IHAGGILDANLOneofCase.BossGroup) {
              subBuilder.MergeFrom(BossGroup);
            }
            input.ReadMessage(subBuilder);
            BossGroup = subBuilder;
            break;
          }
          case 15426: {
            global::EggLink.DanhengServer.Proto.MemoryGroupStatistics subBuilder = new global::EggLink.DanhengServer.Proto.MemoryGroupStatistics();
            if (iHAGGILDANLCase_ == IHAGGILDANLOneofCase.MemoryGroup) {
              subBuilder.MergeFrom(MemoryGroup);
            }
            input.ReadMessage(subBuilder);
            MemoryGroup = subBuilder;
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
