Interface EvmHookStateOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
EvmHookState, EvmHookState.Builder

@Generated public interface EvmHookStateOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    * If set, a key that that can be used to remove or replace the hook; or (if applicable, as with an EVM hook) perform transactions that customize the hook.
    * The type of the extension point the hook implements.
    int
    * The type of the extension point the hook implements.
    com.google.protobuf.ByteString
    * For an EVM hook, its first storage key.
    * The id of the contract with this hook's bytecode.
    * For state proofs, the id of this hook.
    com.google.protobuf.Int64Value
    * If set, the id of the hook following this one in the owner's doubly-linked list of hooks.
    int
    * The number of storage slots an EVM hook is using.
    com.google.protobuf.Int64Value
    * If set, the id of the hook preceding this one in the owner's doubly-linked list of hooks.
    * The type of the EVM hook.
    int
    * The type of the EVM hook.
    boolean
    * If set, a key that that can be used to remove or replace the hook; or (if applicable, as with an EVM hook) perform transactions that customize the hook.
    boolean
    * The id of the contract with this hook's bytecode.
    boolean
    * For state proofs, the id of this hook.
    boolean
    * If set, the id of the hook following this one in the owner's doubly-linked list of hooks.
    boolean
    * If set, the id of the hook preceding this one in the owner's doubly-linked list of hooks.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • hasHookId

      boolean hasHookId()
       *
       For state proofs, the id of this hook.
       
      .proto.HookId hook_id = 1;
      Returns:
      Whether the hookId field is set.
    • getHookId

      HookId getHookId()
       *
       For state proofs, the id of this hook.
       
      .proto.HookId hook_id = 1;
      Returns:
      The hookId.
    • getTypeValue

      int getTypeValue()
       *
       The type of the EVM hook.
       
      .com.hedera.hapi.node.state.hooks.HookType type = 2;
      Returns:
      The enum numeric value on the wire for type.
    • getType

      HookType getType()
       *
       The type of the EVM hook.
       
      .com.hedera.hapi.node.state.hooks.HookType type = 2;
      Returns:
      The type.
    • getExtensionPointValue

      int getExtensionPointValue()
       *
       The type of the extension point the hook implements.
       
      .com.hedera.hapi.node.hooks.HookExtensionPoint extension_point = 3;
      Returns:
      The enum numeric value on the wire for extensionPoint.
    • getExtensionPoint

      HookExtensionPoint getExtensionPoint()
       *
       The type of the extension point the hook implements.
       
      .com.hedera.hapi.node.hooks.HookExtensionPoint extension_point = 3;
      Returns:
      The extensionPoint.
    • hasHookContractId

      boolean hasHookContractId()
       *
       The id of the contract with this hook's bytecode.
       
      .proto.ContractID hook_contract_id = 4;
      Returns:
      Whether the hookContractId field is set.
    • getHookContractId

      ContractID getHookContractId()
       *
       The id of the contract with this hook's bytecode.
       
      .proto.ContractID hook_contract_id = 4;
      Returns:
      The hookContractId.
    • hasAdminKey

      boolean hasAdminKey()
       *
       If set, a key that that can be used to remove or replace the hook; or (if
       applicable, as with an EVM hook) perform transactions that customize the hook.
       
      .proto.Key admin_key = 5;
      Returns:
      Whether the adminKey field is set.
    • getAdminKey

      Key getAdminKey()
       *
       If set, a key that that can be used to remove or replace the hook; or (if
       applicable, as with an EVM hook) perform transactions that customize the hook.
       
      .proto.Key admin_key = 5;
      Returns:
      The adminKey.
    • getFirstContractStorageKey

      com.google.protobuf.ByteString getFirstContractStorageKey()
       *
       For an EVM hook, its first storage key. Must be the minimal
       bytes representation (no leading zeros). An EVM hook with
       no storage slots and an EVM hook whose last-written storage
       slot was at the zero key can be differentiated by checking
       the `num_storage_slots` field.
       
      bytes first_contract_storage_key = 6;
      Returns:
      The firstContractStorageKey.
    • hasPreviousHookId

      boolean hasPreviousHookId()
       *
       If set, the id of the hook preceding this one in the owner's
       doubly-linked list of hooks.
       
      .google.protobuf.Int64Value previous_hook_id = 7;
      Returns:
      Whether the previousHookId field is set.
    • getPreviousHookId

      com.google.protobuf.Int64Value getPreviousHookId()
       *
       If set, the id of the hook preceding this one in the owner's
       doubly-linked list of hooks.
       
      .google.protobuf.Int64Value previous_hook_id = 7;
      Returns:
      The previousHookId.
    • hasNextHookId

      boolean hasNextHookId()
       *
       If set, the id of the hook following this one in the owner's
       doubly-linked list of hooks.
       
      .google.protobuf.Int64Value next_hook_id = 8;
      Returns:
      Whether the nextHookId field is set.
    • getNextHookId

      com.google.protobuf.Int64Value getNextHookId()
       *
       If set, the id of the hook following this one in the owner's
       doubly-linked list of hooks.
       
      .google.protobuf.Int64Value next_hook_id = 8;
      Returns:
      The nextHookId.
    • getNumStorageSlots

      int getNumStorageSlots()
       *
       The number of storage slots an EVM hook is using.
       
      uint32 num_storage_slots = 9;
      Returns:
      The numStorageSlots.