java.lang.Object
com.google.protobuf.AbstractMessageLite<EvmHookState,EvmHookState.Builder>
com.google.protobuf.GeneratedMessageLite<EvmHookState,EvmHookState.Builder>
com.hedera.hashgraph.sdk.proto.EvmHookState
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,EvmHookStateOrBuilder
@Generated
public final class EvmHookState
extends com.google.protobuf.GeneratedMessageLite<EvmHookState,EvmHookState.Builder>
implements EvmHookStateOrBuilder
* The representation of an EVM hook in state, including the previous and next hook ids in its owner's list.Protobuf type
com.hedera.hapi.node.state.hooks.EvmHookState-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* The representation of an EVM hook in state, including the previous and next hook ids in its owner's list.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) * 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.static EvmHookState* 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.getType()* 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.static EvmHookState.Builderstatic EvmHookState.BuildernewBuilder(EvmHookState prototype) static EvmHookStateparseDelimitedFrom(InputStream input) static EvmHookStateparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvmHookStateparseFrom(byte[] data) static EvmHookStateparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvmHookStateparseFrom(com.google.protobuf.ByteString data) static EvmHookStateparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvmHookStateparseFrom(com.google.protobuf.CodedInputStream input) static EvmHookStateparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvmHookStateparseFrom(InputStream input) static EvmHookStateparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvmHookStateparseFrom(ByteBuffer data) static EvmHookStateparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<EvmHookState> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
HOOK_ID_FIELD_NUMBER
public static final int HOOK_ID_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
EXTENSION_POINT_FIELD_NUMBER
public static final int EXTENSION_POINT_FIELD_NUMBER- See Also:
-
HOOK_CONTRACT_ID_FIELD_NUMBER
public static final int HOOK_CONTRACT_ID_FIELD_NUMBER- See Also:
-
ADMIN_KEY_FIELD_NUMBER
public static final int ADMIN_KEY_FIELD_NUMBER- See Also:
-
FIRST_CONTRACT_STORAGE_KEY_FIELD_NUMBER
public static final int FIRST_CONTRACT_STORAGE_KEY_FIELD_NUMBER- See Also:
-
PREVIOUS_HOOK_ID_FIELD_NUMBER
public static final int PREVIOUS_HOOK_ID_FIELD_NUMBER- See Also:
-
NEXT_HOOK_ID_FIELD_NUMBER
public static final int NEXT_HOOK_ID_FIELD_NUMBER- See Also:
-
NUM_STORAGE_SLOTS_FIELD_NUMBER
public static final int NUM_STORAGE_SLOTS_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasHookId
public boolean hasHookId()* For state proofs, the id of this hook.
.proto.HookId hook_id = 1;- Specified by:
hasHookIdin interfaceEvmHookStateOrBuilder- Returns:
- Whether the hookId field is set.
-
getHookId
* For state proofs, the id of this hook.
.proto.HookId hook_id = 1;- Specified by:
getHookIdin interfaceEvmHookStateOrBuilder- Returns:
- The hookId.
-
getTypeValue
public int getTypeValue()* The type of the EVM hook.
.com.hedera.hapi.node.state.hooks.HookType type = 2;- Specified by:
getTypeValuein interfaceEvmHookStateOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
* The type of the EVM hook.
.com.hedera.hapi.node.state.hooks.HookType type = 2;- Specified by:
getTypein interfaceEvmHookStateOrBuilder- Returns:
- The type.
-
getExtensionPointValue
public int getExtensionPointValue()* The type of the extension point the hook implements.
.com.hedera.hapi.node.hooks.HookExtensionPoint extension_point = 3;- Specified by:
getExtensionPointValuein interfaceEvmHookStateOrBuilder- Returns:
- The enum numeric value on the wire for extensionPoint.
-
getExtensionPoint
* The type of the extension point the hook implements.
.com.hedera.hapi.node.hooks.HookExtensionPoint extension_point = 3;- Specified by:
getExtensionPointin interfaceEvmHookStateOrBuilder- Returns:
- The extensionPoint.
-
hasHookContractId
public boolean hasHookContractId()* The id of the contract with this hook's bytecode.
.proto.ContractID hook_contract_id = 4;- Specified by:
hasHookContractIdin interfaceEvmHookStateOrBuilder- Returns:
- Whether the hookContractId field is set.
-
getHookContractId
* The id of the contract with this hook's bytecode.
.proto.ContractID hook_contract_id = 4;- Specified by:
getHookContractIdin interfaceEvmHookStateOrBuilder- Returns:
- The hookContractId.
-
hasAdminKey
public 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;- Specified by:
hasAdminKeyin interfaceEvmHookStateOrBuilder- Returns:
- Whether the adminKey field is set.
-
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;- Specified by:
getAdminKeyin interfaceEvmHookStateOrBuilder- Returns:
- The adminKey.
-
getFirstContractStorageKey
public 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;- Specified by:
getFirstContractStorageKeyin interfaceEvmHookStateOrBuilder- Returns:
- The firstContractStorageKey.
-
hasPreviousHookId
public 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;- Specified by:
hasPreviousHookIdin interfaceEvmHookStateOrBuilder- Returns:
- Whether the previousHookId field is set.
-
getPreviousHookId
public 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;- Specified by:
getPreviousHookIdin interfaceEvmHookStateOrBuilder- Returns:
- The previousHookId.
-
hasNextHookId
public 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;- Specified by:
hasNextHookIdin interfaceEvmHookStateOrBuilder- Returns:
- Whether the nextHookId field is set.
-
getNextHookId
public 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;- Specified by:
getNextHookIdin interfaceEvmHookStateOrBuilder- Returns:
- The nextHookId.
-
getNumStorageSlots
public int getNumStorageSlots()* The number of storage slots an EVM hook is using.
uint32 num_storage_slots = 9;- Specified by:
getNumStorageSlotsin interfaceEvmHookStateOrBuilder- Returns:
- The numStorageSlots.
-
parseFrom
public static EvmHookState parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EvmHookState parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EvmHookState parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EvmHookState parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EvmHookState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EvmHookState parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EvmHookState parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static EvmHookState parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EvmHookState parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<EvmHookState,EvmHookState.Builder>
-
getDefaultInstance
-
parser
-