// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: ChangeHpReason.proto

package emu.grasscutter.net.proto;

public final class ChangeHpReasonOuterClass {
  private ChangeHpReasonOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code ChangeHpReason}
   */
  public enum ChangeHpReason
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>ChangeHpNone = 0;</code>
     */
    ChangeHpNone(0),
    /**
     * <code>ChangeHpSubAvatar = 1;</code>
     */
    ChangeHpSubAvatar(1),
    /**
     * <code>ChangeHpSubMonster = 2;</code>
     */
    ChangeHpSubMonster(2),
    /**
     * <code>ChangeHpSubGear = 3;</code>
     */
    ChangeHpSubGear(3),
    /**
     * <code>ChangeHpSubEnvir = 4;</code>
     */
    ChangeHpSubEnvir(4),
    /**
     * <code>ChangeHpSubFall = 5;</code>
     */
    ChangeHpSubFall(5),
    /**
     * <code>ChangeHpSubDrawn = 6;</code>
     */
    ChangeHpSubDrawn(6),
    /**
     * <code>ChangeHpSubAbyss = 7;</code>
     */
    ChangeHpSubAbyss(7),
    /**
     * <code>ChangeHpSubAbility = 8;</code>
     */
    ChangeHpSubAbility(8),
    /**
     * <code>ChangeHpSubSummon = 9;</code>
     */
    ChangeHpSubSummon(9),
    /**
     * <code>ChangeHpSubScript = 10;</code>
     */
    ChangeHpSubScript(10),
    /**
     * <code>ChangeHpSubGm = 11;</code>
     */
    ChangeHpSubGm(11),
    /**
     * <code>ChangeHpSubKillSelf = 12;</code>
     */
    ChangeHpSubKillSelf(12),
    /**
     * <code>ChangeHpSubClimateCold = 13;</code>
     */
    ChangeHpSubClimateCold(13),
    /**
     * <code>ChangeHpSubStormLightning = 14;</code>
     */
    ChangeHpSubStormLightning(14),
    /**
     * <code>ChangeHpSubKillServerGadget = 15;</code>
     */
    ChangeHpSubKillServerGadget(15),
    /**
     * <code>ChangeHpByLua = 51;</code>
     */
    ChangeHpByLua(51),
    /**
     * <code>ChangeHpAddAbility = 101;</code>
     */
    ChangeHpAddAbility(101),
    /**
     * <code>ChangeHpAddItem = 102;</code>
     */
    ChangeHpAddItem(102),
    /**
     * <code>ChangeHpAddRevive = 103;</code>
     */
    ChangeHpAddRevive(103),
    /**
     * <code>ChangeHpAddUpgrade = 104;</code>
     */
    ChangeHpAddUpgrade(104),
    /**
     * <code>ChangeHpAddStatue = 105;</code>
     */
    ChangeHpAddStatue(105),
    /**
     * <code>ChangeHpAddBackground = 106;</code>
     */
    ChangeHpAddBackground(106),
    /**
     * <code>ChangeHpAddGm = 107;</code>
     */
    ChangeHpAddGm(107),
    /**
     * <code>ChangeHpAddTrialAvatarActivity = 108;</code>
     */
    ChangeHpAddTrialAvatarActivity(108),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>ChangeHpNone = 0;</code>
     */
    public static final int ChangeHpNone_VALUE = 0;
    /**
     * <code>ChangeHpSubAvatar = 1;</code>
     */
    public static final int ChangeHpSubAvatar_VALUE = 1;
    /**
     * <code>ChangeHpSubMonster = 2;</code>
     */
    public static final int ChangeHpSubMonster_VALUE = 2;
    /**
     * <code>ChangeHpSubGear = 3;</code>
     */
    public static final int ChangeHpSubGear_VALUE = 3;
    /**
     * <code>ChangeHpSubEnvir = 4;</code>
     */
    public static final int ChangeHpSubEnvir_VALUE = 4;
    /**
     * <code>ChangeHpSubFall = 5;</code>
     */
    public static final int ChangeHpSubFall_VALUE = 5;
    /**
     * <code>ChangeHpSubDrawn = 6;</code>
     */
    public static final int ChangeHpSubDrawn_VALUE = 6;
    /**
     * <code>ChangeHpSubAbyss = 7;</code>
     */
    public static final int ChangeHpSubAbyss_VALUE = 7;
    /**
     * <code>ChangeHpSubAbility = 8;</code>
     */
    public static final int ChangeHpSubAbility_VALUE = 8;
    /**
     * <code>ChangeHpSubSummon = 9;</code>
     */
    public static final int ChangeHpSubSummon_VALUE = 9;
    /**
     * <code>ChangeHpSubScript = 10;</code>
     */
    public static final int ChangeHpSubScript_VALUE = 10;
    /**
     * <code>ChangeHpSubGm = 11;</code>
     */
    public static final int ChangeHpSubGm_VALUE = 11;
    /**
     * <code>ChangeHpSubKillSelf = 12;</code>
     */
    public static final int ChangeHpSubKillSelf_VALUE = 12;
    /**
     * <code>ChangeHpSubClimateCold = 13;</code>
     */
    public static final int ChangeHpSubClimateCold_VALUE = 13;
    /**
     * <code>ChangeHpSubStormLightning = 14;</code>
     */
    public static final int ChangeHpSubStormLightning_VALUE = 14;
    /**
     * <code>ChangeHpSubKillServerGadget = 15;</code>
     */
    public static final int ChangeHpSubKillServerGadget_VALUE = 15;
    /**
     * <code>ChangeHpByLua = 51;</code>
     */
    public static final int ChangeHpByLua_VALUE = 51;
    /**
     * <code>ChangeHpAddAbility = 101;</code>
     */
    public static final int ChangeHpAddAbility_VALUE = 101;
    /**
     * <code>ChangeHpAddItem = 102;</code>
     */
    public static final int ChangeHpAddItem_VALUE = 102;
    /**
     * <code>ChangeHpAddRevive = 103;</code>
     */
    public static final int ChangeHpAddRevive_VALUE = 103;
    /**
     * <code>ChangeHpAddUpgrade = 104;</code>
     */
    public static final int ChangeHpAddUpgrade_VALUE = 104;
    /**
     * <code>ChangeHpAddStatue = 105;</code>
     */
    public static final int ChangeHpAddStatue_VALUE = 105;
    /**
     * <code>ChangeHpAddBackground = 106;</code>
     */
    public static final int ChangeHpAddBackground_VALUE = 106;
    /**
     * <code>ChangeHpAddGm = 107;</code>
     */
    public static final int ChangeHpAddGm_VALUE = 107;
    /**
     * <code>ChangeHpAddTrialAvatarActivity = 108;</code>
     */
    public static final int ChangeHpAddTrialAvatarActivity_VALUE = 108;


    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static ChangeHpReason valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static ChangeHpReason forNumber(int value) {
      switch (value) {
        case 0: return ChangeHpNone;
        case 1: return ChangeHpSubAvatar;
        case 2: return ChangeHpSubMonster;
        case 3: return ChangeHpSubGear;
        case 4: return ChangeHpSubEnvir;
        case 5: return ChangeHpSubFall;
        case 6: return ChangeHpSubDrawn;
        case 7: return ChangeHpSubAbyss;
        case 8: return ChangeHpSubAbility;
        case 9: return ChangeHpSubSummon;
        case 10: return ChangeHpSubScript;
        case 11: return ChangeHpSubGm;
        case 12: return ChangeHpSubKillSelf;
        case 13: return ChangeHpSubClimateCold;
        case 14: return ChangeHpSubStormLightning;
        case 15: return ChangeHpSubKillServerGadget;
        case 51: return ChangeHpByLua;
        case 101: return ChangeHpAddAbility;
        case 102: return ChangeHpAddItem;
        case 103: return ChangeHpAddRevive;
        case 104: return ChangeHpAddUpgrade;
        case 105: return ChangeHpAddStatue;
        case 106: return ChangeHpAddBackground;
        case 107: return ChangeHpAddGm;
        case 108: return ChangeHpAddTrialAvatarActivity;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<ChangeHpReason>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        ChangeHpReason> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<ChangeHpReason>() {
            public ChangeHpReason findValueByNumber(int number) {
              return ChangeHpReason.forNumber(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.ChangeHpReasonOuterClass.getDescriptor().getEnumTypes().get(0);
    }

    private static final ChangeHpReason[] VALUES = values();

    public static ChangeHpReason valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private ChangeHpReason(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:ChangeHpReason)
  }


  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\024ChangeHpReason.proto*\343\004\n\016ChangeHpReaso" +
      "n\022\020\n\014ChangeHpNone\020\000\022\025\n\021ChangeHpSubAvatar" +
      "\020\001\022\026\n\022ChangeHpSubMonster\020\002\022\023\n\017ChangeHpSu" +
      "bGear\020\003\022\024\n\020ChangeHpSubEnvir\020\004\022\023\n\017ChangeH" +
      "pSubFall\020\005\022\024\n\020ChangeHpSubDrawn\020\006\022\024\n\020Chan" +
      "geHpSubAbyss\020\007\022\026\n\022ChangeHpSubAbility\020\010\022\025" +
      "\n\021ChangeHpSubSummon\020\t\022\025\n\021ChangeHpSubScri" +
      "pt\020\n\022\021\n\rChangeHpSubGm\020\013\022\027\n\023ChangeHpSubKi" +
      "llSelf\020\014\022\032\n\026ChangeHpSubClimateCold\020\r\022\035\n\031" +
      "ChangeHpSubStormLightning\020\016\022\037\n\033ChangeHpS" +
      "ubKillServerGadget\020\017\022\021\n\rChangeHpByLua\0203\022" +
      "\026\n\022ChangeHpAddAbility\020e\022\023\n\017ChangeHpAddIt" +
      "em\020f\022\025\n\021ChangeHpAddRevive\020g\022\026\n\022ChangeHpA" +
      "ddUpgrade\020h\022\025\n\021ChangeHpAddStatue\020i\022\031\n\025Ch" +
      "angeHpAddBackground\020j\022\021\n\rChangeHpAddGm\020k" +
      "\022\"\n\036ChangeHpAddTrialAvatarActivity\020lB\033\n\031" +
      "emu.grasscutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
