Enum Class HookType

java.lang.Object
java.lang.Enum<HookType>
com.hedera.hashgraph.sdk.proto.HookType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, Serializable, Comparable<HookType>, Constable

@Generated public enum HookType extends Enum<HookType> implements com.google.protobuf.Internal.EnumLite
 *
 The type of a hook.
 
Protobuf enum com.hedera.hapi.node.state.hooks.HookType
  • Enum Constant Details

    • EVM_HOOK

      public static final HookType EVM_HOOK
       *
       A general-purpose EVM hook.
       
      EVM_HOOK = 0;
    • UNRECOGNIZED

      public static final HookType UNRECOGNIZED
  • Field Details

    • EVM_HOOK_VALUE

      public static final int EVM_HOOK_VALUE
       *
       A general-purpose EVM hook.
       
      EVM_HOOK = 0;
      See Also:
  • Method Details

    • values

      public static HookType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HookType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
    • valueOf

      @Deprecated public static HookType valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static HookType forNumber(int value)
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<HookType> internalGetValueMap()
    • internalGetVerifier

      public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()