Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface EvmHookMappingEntryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
EvmHookMappingEntry,EvmHookMappingEntry.Builder
@Generated
public interface EvmHookMappingEntryOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringgetKey()* The explicit bytes of the mapping entry.com.google.protobuf.ByteString* The bytes that are the preimage of the Keccak256 hash that forms the mapping key.com.google.protobuf.ByteStringgetValue()* If the mapping entry is present and non-zero, its value.booleanhasKey()* The explicit bytes of the mapping entry.boolean* The bytes that are the preimage of the Keccak256 hash that forms the mapping key.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasKey
boolean hasKey()* The explicit bytes of the mapping entry. Must use a minimal byte representation; may not exceed 32 bytes in length.
bytes key = 1;- Returns:
- Whether the key field is set.
-
getKey
com.google.protobuf.ByteString getKey()* The explicit bytes of the mapping entry. Must use a minimal byte representation; may not exceed 32 bytes in length.
bytes key = 1;- Returns:
- The key.
-
hasPreimage
boolean hasPreimage()* The bytes that are the preimage of the Keccak256 hash that forms the mapping key. May be longer or shorter than 32 bytes and may have leading zeros, since Solidity supports variable-length keys in mappings.
bytes preimage = 2;- Returns:
- Whether the preimage field is set.
-
getPreimage
com.google.protobuf.ByteString getPreimage()* The bytes that are the preimage of the Keccak256 hash that forms the mapping key. May be longer or shorter than 32 bytes and may have leading zeros, since Solidity supports variable-length keys in mappings.
bytes preimage = 2;- Returns:
- The preimage.
-
getValue
com.google.protobuf.ByteString getValue()* If the mapping entry is present and non-zero, its value. May not be longer than 32 bytes in length; must use a minimal byte representation (no leading zeros). Leaving this field empty in an update removes the entry from the mapping.
bytes value = 3;- Returns:
- The value.
-
getEntryKeyCase
EvmHookMappingEntry.EntryKeyCase getEntryKeyCase()
-