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

package io.grasscutter.net.proto.gadget;

/**
 * Protobuf enum {@code InteractType}
 */
public enum InteractType
    implements com.google.protobuf.ProtocolMessageEnum {
  /**
   * <code>InteractType_INTERACT_NONE = 0;</code>
   */
  InteractType_INTERACT_NONE(0),
  /**
   * <code>InteractType_INTERACT_PICK_ITEM = 1;</code>
   */
  InteractType_INTERACT_PICK_ITEM(1),
  /**
   * <code>InteractType_INTERACT_GATHER = 2;</code>
   */
  InteractType_INTERACT_GATHER(2),
  /**
   * <code>InteractType_INTERACT_OPEN_CHEST = 3;</code>
   */
  InteractType_INTERACT_OPEN_CHEST(3),
  /**
   * <code>InteractType_INTERACT_OPEN_STATUE = 4;</code>
   */
  InteractType_INTERACT_OPEN_STATUE(4),
  /**
   * <code>InteractType_INTERACT_CONSUM = 5;</code>
   */
  InteractType_INTERACT_CONSUM(5),
  /**
   * <code>InteractType_INTERACT_MP_PLAY_REWARD = 6;</code>
   */
  InteractType_INTERACT_MP_PLAY_REWARD(6),
  /**
   * <code>InteractType_INTERACT_VIEW = 7;</code>
   */
  InteractType_INTERACT_VIEW(7),
  /**
   * <code>InteractType_INTERACT_GENERAL_REWARD = 8;</code>
   */
  InteractType_INTERACT_GENERAL_REWARD(8),
  /**
   * <code>InteractType_INTERACT_MIRACLE_RING = 9;</code>
   */
  InteractType_INTERACT_MIRACLE_RING(9),
  /**
   * <code>InteractType_INTERACT_FOUNDATION = 10;</code>
   */
  InteractType_INTERACT_FOUNDATION(10),
  /**
   * <code>InteractType_INTERACT_ECHO_SHELL = 11;</code>
   */
  InteractType_INTERACT_ECHO_SHELL(11),
  /**
   * <code>InteractType_INTERACT_HOME_GATHER = 12;</code>
   */
  InteractType_INTERACT_HOME_GATHER(12),
  /**
   * <code>InteractType_INTERACT_ENV_ANIMAL = 13;</code>
   */
  InteractType_INTERACT_ENV_ANIMAL(13),
  /**
   * <code>InteractType_INTERACT_QUEST_GADGET = 14;</code>
   */
  InteractType_INTERACT_QUEST_GADGET(14),
  /**
   * <code>InteractType_INTERACT_UI_INTERACT = 15;</code>
   */
  InteractType_INTERACT_UI_INTERACT(15),
  /**
   * <code>InteractType_INTERACT_DESHRET_OBELISK = 16;</code>
   */
  InteractType_INTERACT_DESHRET_OBELISK(16),
  UNRECOGNIZED(-1),
  ;

  /**
   * <code>InteractType_INTERACT_NONE = 0;</code>
   */
  public static final int InteractType_INTERACT_NONE_VALUE = 0;
  /**
   * <code>InteractType_INTERACT_PICK_ITEM = 1;</code>
   */
  public static final int InteractType_INTERACT_PICK_ITEM_VALUE = 1;
  /**
   * <code>InteractType_INTERACT_GATHER = 2;</code>
   */
  public static final int InteractType_INTERACT_GATHER_VALUE = 2;
  /**
   * <code>InteractType_INTERACT_OPEN_CHEST = 3;</code>
   */
  public static final int InteractType_INTERACT_OPEN_CHEST_VALUE = 3;
  /**
   * <code>InteractType_INTERACT_OPEN_STATUE = 4;</code>
   */
  public static final int InteractType_INTERACT_OPEN_STATUE_VALUE = 4;
  /**
   * <code>InteractType_INTERACT_CONSUM = 5;</code>
   */
  public static final int InteractType_INTERACT_CONSUM_VALUE = 5;
  /**
   * <code>InteractType_INTERACT_MP_PLAY_REWARD = 6;</code>
   */
  public static final int InteractType_INTERACT_MP_PLAY_REWARD_VALUE = 6;
  /**
   * <code>InteractType_INTERACT_VIEW = 7;</code>
   */
  public static final int InteractType_INTERACT_VIEW_VALUE = 7;
  /**
   * <code>InteractType_INTERACT_GENERAL_REWARD = 8;</code>
   */
  public static final int InteractType_INTERACT_GENERAL_REWARD_VALUE = 8;
  /**
   * <code>InteractType_INTERACT_MIRACLE_RING = 9;</code>
   */
  public static final int InteractType_INTERACT_MIRACLE_RING_VALUE = 9;
  /**
   * <code>InteractType_INTERACT_FOUNDATION = 10;</code>
   */
  public static final int InteractType_INTERACT_FOUNDATION_VALUE = 10;
  /**
   * <code>InteractType_INTERACT_ECHO_SHELL = 11;</code>
   */
  public static final int InteractType_INTERACT_ECHO_SHELL_VALUE = 11;
  /**
   * <code>InteractType_INTERACT_HOME_GATHER = 12;</code>
   */
  public static final int InteractType_INTERACT_HOME_GATHER_VALUE = 12;
  /**
   * <code>InteractType_INTERACT_ENV_ANIMAL = 13;</code>
   */
  public static final int InteractType_INTERACT_ENV_ANIMAL_VALUE = 13;
  /**
   * <code>InteractType_INTERACT_QUEST_GADGET = 14;</code>
   */
  public static final int InteractType_INTERACT_QUEST_GADGET_VALUE = 14;
  /**
   * <code>InteractType_INTERACT_UI_INTERACT = 15;</code>
   */
  public static final int InteractType_INTERACT_UI_INTERACT_VALUE = 15;
  /**
   * <code>InteractType_INTERACT_DESHRET_OBELISK = 16;</code>
   */
  public static final int InteractType_INTERACT_DESHRET_OBELISK_VALUE = 16;


  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 InteractType 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 InteractType forNumber(int value) {
    switch (value) {
      case 0: return InteractType_INTERACT_NONE;
      case 1: return InteractType_INTERACT_PICK_ITEM;
      case 2: return InteractType_INTERACT_GATHER;
      case 3: return InteractType_INTERACT_OPEN_CHEST;
      case 4: return InteractType_INTERACT_OPEN_STATUE;
      case 5: return InteractType_INTERACT_CONSUM;
      case 6: return InteractType_INTERACT_MP_PLAY_REWARD;
      case 7: return InteractType_INTERACT_VIEW;
      case 8: return InteractType_INTERACT_GENERAL_REWARD;
      case 9: return InteractType_INTERACT_MIRACLE_RING;
      case 10: return InteractType_INTERACT_FOUNDATION;
      case 11: return InteractType_INTERACT_ECHO_SHELL;
      case 12: return InteractType_INTERACT_HOME_GATHER;
      case 13: return InteractType_INTERACT_ENV_ANIMAL;
      case 14: return InteractType_INTERACT_QUEST_GADGET;
      case 15: return InteractType_INTERACT_UI_INTERACT;
      case 16: return InteractType_INTERACT_DESHRET_OBELISK;
      default: return null;
    }
  }

  public static com.google.protobuf.Internal.EnumLiteMap<InteractType>
      internalGetValueMap() {
    return internalValueMap;
  }
  private static final com.google.protobuf.Internal.EnumLiteMap<
      InteractType> internalValueMap =
        new com.google.protobuf.Internal.EnumLiteMap<InteractType>() {
          public InteractType findValueByNumber(int number) {
            return InteractType.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 io.grasscutter.net.proto.gadget.Gadget.getDescriptor().getEnumTypes().get(1);
  }

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

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

  // @@protoc_insertion_point(enum_scope:InteractType)
}

