java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<EvmHookSlotKey,EvmHookSlotKey.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<EvmHookSlotKey,EvmHookSlotKey.Builder>
com.hedera.hashgraph.sdk.proto.EvmHookSlotKey.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,EvmHookSlotKeyOrBuilder,Cloneable
- Enclosing class:
EvmHookSlotKey
public static final class EvmHookSlotKey.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<EvmHookSlotKey,EvmHookSlotKey.Builder>
implements EvmHookSlotKeyOrBuilder
* The key of an EVM hook's storage slot. For each EVM hook, its storage is a mapping of 256-bit keys (or "words") to 256-bit values.Protobuf type
com.hedera.hapi.node.state.hooks.EvmHookSlotKey-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The id of the EVM hook that owns this slot.clearKey()* The EVM key of this slot.* The id of the EVM hook that owns this slot.com.google.protobuf.ByteStringgetKey()* The EVM key of this slot.boolean* The id of the EVM hook that owns this slot.mergeHookId(HookId value) * The id of the EVM hook that owns this slot.* The id of the EVM hook that owns this slot.setHookId(HookId.Builder builderForValue) * The id of the EVM hook that owns this slot.setKey(com.google.protobuf.ByteString value) * The EVM key of this slot.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasHookId
public boolean hasHookId()* The id of the EVM hook that owns this slot.
.proto.HookId hook_id = 1;- Specified by:
hasHookIdin interfaceEvmHookSlotKeyOrBuilder- Returns:
- Whether the hookId field is set.
-
getHookId
* The id of the EVM hook that owns this slot.
.proto.HookId hook_id = 1;- Specified by:
getHookIdin interfaceEvmHookSlotKeyOrBuilder- Returns:
- The hookId.
-
setHookId
* The id of the EVM hook that owns this slot.
.proto.HookId hook_id = 1; -
setHookId
* The id of the EVM hook that owns this slot.
.proto.HookId hook_id = 1; -
mergeHookId
* The id of the EVM hook that owns this slot.
.proto.HookId hook_id = 1; -
clearHookId
* The id of the EVM hook that owns this slot.
.proto.HookId hook_id = 1; -
getKey
public com.google.protobuf.ByteString getKey()* The EVM key of this slot. Must be the minimal bytes representation (no leading zeros).
bytes key = 2;- Specified by:
getKeyin interfaceEvmHookSlotKeyOrBuilder- Returns:
- The key.
-
setKey
* The EVM key of this slot. Must be the minimal bytes representation (no leading zeros).
bytes key = 2;- Parameters:
value- The key to set.- Returns:
- This builder for chaining.
-
clearKey
* The EVM key of this slot. Must be the minimal bytes representation (no leading zeros).
bytes key = 2;- Returns:
- This builder for chaining.
-