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

package emu.grasscutter.net.proto;

public final class PropChangeReasonOuterClass {
  private PropChangeReasonOuterClass() {}
  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 PropChangeReason}
   */
  public enum PropChangeReason
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>PropChangeNone = 0;</code>
     */
    PropChangeNone(0),
    /**
     * <code>PropChangeStatueRecover = 1;</code>
     */
    PropChangeStatueRecover(1),
    /**
     * <code>PropChangeEnergyBall = 2;</code>
     */
    PropChangeEnergyBall(2),
    /**
     * <code>PropChangeAbility = 3;</code>
     */
    PropChangeAbility(3),
    /**
     * <code>PropChangeLevelup = 4;</code>
     */
    PropChangeLevelup(4),
    /**
     * <code>PropChangeItem = 5;</code>
     */
    PropChangeItem(5),
    /**
     * <code>PropChangeAvatarCard = 6;</code>
     */
    PropChangeAvatarCard(6),
    /**
     * <code>PropChangeCityLevelup = 7;</code>
     */
    PropChangeCityLevelup(7),
    /**
     * <code>PropChangeAvatarUpgrade = 8;</code>
     */
    PropChangeAvatarUpgrade(8),
    /**
     * <code>PropChangeAvatarPromote = 9;</code>
     */
    PropChangeAvatarPromote(9),
    /**
     * <code>PropChangePlayerAddExp = 10;</code>
     */
    PropChangePlayerAddExp(10),
    /**
     * <code>PropChangeFinishQuest = 11;</code>
     */
    PropChangeFinishQuest(11),
    /**
     * <code>PropChangeGm = 12;</code>
     */
    PropChangeGm(12),
    /**
     * <code>PropChangeManualAdjustWorldLevel = 13;</code>
     */
    PropChangeManualAdjustWorldLevel(13),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>PropChangeNone = 0;</code>
     */
    public static final int PropChangeNone_VALUE = 0;
    /**
     * <code>PropChangeStatueRecover = 1;</code>
     */
    public static final int PropChangeStatueRecover_VALUE = 1;
    /**
     * <code>PropChangeEnergyBall = 2;</code>
     */
    public static final int PropChangeEnergyBall_VALUE = 2;
    /**
     * <code>PropChangeAbility = 3;</code>
     */
    public static final int PropChangeAbility_VALUE = 3;
    /**
     * <code>PropChangeLevelup = 4;</code>
     */
    public static final int PropChangeLevelup_VALUE = 4;
    /**
     * <code>PropChangeItem = 5;</code>
     */
    public static final int PropChangeItem_VALUE = 5;
    /**
     * <code>PropChangeAvatarCard = 6;</code>
     */
    public static final int PropChangeAvatarCard_VALUE = 6;
    /**
     * <code>PropChangeCityLevelup = 7;</code>
     */
    public static final int PropChangeCityLevelup_VALUE = 7;
    /**
     * <code>PropChangeAvatarUpgrade = 8;</code>
     */
    public static final int PropChangeAvatarUpgrade_VALUE = 8;
    /**
     * <code>PropChangeAvatarPromote = 9;</code>
     */
    public static final int PropChangeAvatarPromote_VALUE = 9;
    /**
     * <code>PropChangePlayerAddExp = 10;</code>
     */
    public static final int PropChangePlayerAddExp_VALUE = 10;
    /**
     * <code>PropChangeFinishQuest = 11;</code>
     */
    public static final int PropChangeFinishQuest_VALUE = 11;
    /**
     * <code>PropChangeGm = 12;</code>
     */
    public static final int PropChangeGm_VALUE = 12;
    /**
     * <code>PropChangeManualAdjustWorldLevel = 13;</code>
     */
    public static final int PropChangeManualAdjustWorldLevel_VALUE = 13;


    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 PropChangeReason 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 PropChangeReason forNumber(int value) {
      switch (value) {
        case 0: return PropChangeNone;
        case 1: return PropChangeStatueRecover;
        case 2: return PropChangeEnergyBall;
        case 3: return PropChangeAbility;
        case 4: return PropChangeLevelup;
        case 5: return PropChangeItem;
        case 6: return PropChangeAvatarCard;
        case 7: return PropChangeCityLevelup;
        case 8: return PropChangeAvatarUpgrade;
        case 9: return PropChangeAvatarPromote;
        case 10: return PropChangePlayerAddExp;
        case 11: return PropChangeFinishQuest;
        case 12: return PropChangeGm;
        case 13: return PropChangeManualAdjustWorldLevel;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<PropChangeReason>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        PropChangeReason> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<PropChangeReason>() {
            public PropChangeReason findValueByNumber(int number) {
              return PropChangeReason.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.PropChangeReasonOuterClass.getDescriptor().getEnumTypes().get(0);
    }

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

    public static PropChangeReason 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 PropChangeReason(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:PropChangeReason)
  }


  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\026PropChangeReason.proto*\375\002\n\020PropChangeR" +
      "eason\022\022\n\016PropChangeNone\020\000\022\033\n\027PropChangeS" +
      "tatueRecover\020\001\022\030\n\024PropChangeEnergyBall\020\002" +
      "\022\025\n\021PropChangeAbility\020\003\022\025\n\021PropChangeLev" +
      "elup\020\004\022\022\n\016PropChangeItem\020\005\022\030\n\024PropChange" +
      "AvatarCard\020\006\022\031\n\025PropChangeCityLevelup\020\007\022" +
      "\033\n\027PropChangeAvatarUpgrade\020\010\022\033\n\027PropChan" +
      "geAvatarPromote\020\t\022\032\n\026PropChangePlayerAdd" +
      "Exp\020\n\022\031\n\025PropChangeFinishQuest\020\013\022\020\n\014Prop" +
      "ChangeGm\020\014\022$\n PropChangeManualAdjustWorl" +
      "dLevel\020\rB\033\n\031emu.grasscutter.net.protob\006p" +
      "roto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
