Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class EvmHookStorageSlot.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<EvmHookStorageSlot,EvmHookStorageSlot.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<EvmHookStorageSlot,EvmHookStorageSlot.Builder>
com.hedera.hashgraph.sdk.proto.EvmHookStorageSlot.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,EvmHookStorageSlotOrBuilder,Cloneable
- Enclosing class:
EvmHookStorageSlot
public static final class EvmHookStorageSlot.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<EvmHookStorageSlot,EvmHookStorageSlot.Builder>
implements EvmHookStorageSlotOrBuilder
* A slot in the storage of an EVM hook.Protobuf type
com.hedera.hapi.node.hooks.EvmHookStorageSlot-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionclearKey()* The key of the slot.* If the slot is present and non-zero, its value.com.google.protobuf.ByteStringgetKey()* The key of the slot.com.google.protobuf.ByteStringgetValue()* If the slot is present and non-zero, its value.setKey(com.google.protobuf.ByteString value) * The key of the slot.setValue(com.google.protobuf.ByteString value) * If the slot is present and non-zero, its value.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
-
getKey
public com.google.protobuf.ByteString getKey()* The key of the slot. Must use a minimal byte representation (no leading zeros); may not exceed 32 bytes in length.
bytes key = 1;- Specified by:
getKeyin interfaceEvmHookStorageSlotOrBuilder- Returns:
- The key.
-
setKey
* The key of the slot. Must use a minimal byte representation (no leading zeros); may not exceed 32 bytes in length.
bytes key = 1;- Parameters:
value- The key to set.- Returns:
- This builder for chaining.
-
clearKey
* The key of the slot. Must use a minimal byte representation (no leading zeros); may not exceed 32 bytes in length.
bytes key = 1;- Returns:
- This builder for chaining.
-
getValue
public com.google.protobuf.ByteString getValue()* If the slot is present and non-zero, its value. Must use a minimal byte representation (no leading zeros); may not exceed 32 bytes in length Leaving this field empty in an update removes the slot from storage.
bytes value = 2;- Specified by:
getValuein interfaceEvmHookStorageSlotOrBuilder- Returns:
- The value.
-
setValue
* If the slot is present and non-zero, its value. Must use a minimal byte representation (no leading zeros); may not exceed 32 bytes in length Leaving this field empty in an update removes the slot from storage.
bytes value = 2;- Parameters:
value- The value to set.- Returns:
- This builder for chaining.
-
clearValue
* If the slot is present and non-zero, its value. Must use a minimal byte representation (no leading zeros); may not exceed 32 bytes in length Leaving this field empty in an update removes the slot from storage.
bytes value = 2;- Returns:
- This builder for chaining.
-