Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface HookCreationDetailsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
HookCreationDetails,HookCreationDetails.Builder
@Generated
public interface HookCreationDetailsOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* If set, a key that that can be used to remove or replace the hook; or (if applicable, as with an EVM hook) do transactions that customize the hook.* A general-purpose hook programmed in EVM bytecode that may access state or interact with external contracts.* The extension point for the hook.int* The extension point for the hook.long* The id to create the hook at.boolean* If set, a key that that can be used to remove or replace the hook; or (if applicable, as with an EVM hook) do transactions that customize the hook.boolean* A general-purpose hook programmed in EVM bytecode that may access state or interact with external contracts.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getExtensionPointValue
int getExtensionPointValue()* The extension point for the hook.
.com.hedera.hapi.node.hooks.HookExtensionPoint extension_point = 1;- Returns:
- The enum numeric value on the wire for extensionPoint.
-
getExtensionPoint
HookExtensionPoint getExtensionPoint()* The extension point for the hook.
.com.hedera.hapi.node.hooks.HookExtensionPoint extension_point = 1;- Returns:
- The extensionPoint.
-
getHookId
long getHookId()* The id to create the hook at.
int64 hook_id = 2;- Returns:
- The hookId.
-
hasEvmHook
boolean hasEvmHook()* A general-purpose hook programmed in EVM bytecode that may access state or interact with external contracts.
.com.hedera.hapi.node.hooks.EvmHook evm_hook = 3;- Returns:
- Whether the evmHook field is set.
-
getEvmHook
EvmHook getEvmHook()* A general-purpose hook programmed in EVM bytecode that may access state or interact with external contracts.
.com.hedera.hapi.node.hooks.EvmHook evm_hook = 3;- Returns:
- The evmHook.
-
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) do transactions that customize the hook.
.proto.Key admin_key = 4;- 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) do transactions that customize the hook.
.proto.Key admin_key = 4;- Returns:
- The adminKey.
-
getHookCase
HookCreationDetails.HookCase getHookCase()
-