java.lang.Object
com.google.protobuf.AbstractMessageLite<EvmHookMappingEntries,EvmHookMappingEntries.Builder>
com.google.protobuf.GeneratedMessageLite<EvmHookMappingEntries,EvmHookMappingEntries.Builder>
com.hedera.hashgraph.sdk.proto.EvmHookMappingEntries
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,EvmHookMappingEntriesOrBuilder
@Generated
public final class EvmHookMappingEntries
extends com.google.protobuf.GeneratedMessageLite<EvmHookMappingEntries,EvmHookMappingEntries.Builder>
implements EvmHookMappingEntriesOrBuilder
* Specifies storage slot updates via indirection into a Solidity mapping. <p> Concretely, if the Solidity mapping is itself at slot `mapping_slot`, then the * storage slot for key `key` in the mapping is defined by the relationship `key_storage_slot = keccak256(abi.encodePacked(mapping_slot, key))`. <p> This message lets a metaprotocol be specified in terms of changes to a Solidity mapping's entries. If only raw slots could be updated, then a block stream consumer following the metaprotocol would have to invert the Keccak256 hash to determine which mapping entry was being updated, which is not possible.Protobuf type
com.hedera.hapi.node.hooks.EvmHookMappingEntries-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* Specifies storage slot updates via indirection into a Solidity mapping.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 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) static EvmHookMappingEntriesgetEntries(int index) * The entries in the mapping at the given slot.int* The entries in the mapping at the given slot.* The entries in the mapping at the given slot.getEntriesOrBuilder(int index) * The entries in the mapping at the given slot.List<? extends EvmHookMappingEntryOrBuilder> * The entries in the mapping at the given slot.com.google.protobuf.ByteString* The slot that corresponds to the Solidity mapping itself.newBuilder(EvmHookMappingEntries prototype) static EvmHookMappingEntriesparseDelimitedFrom(InputStream input) static EvmHookMappingEntriesparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvmHookMappingEntriesparseFrom(byte[] data) static EvmHookMappingEntriesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvmHookMappingEntriesparseFrom(com.google.protobuf.ByteString data) static EvmHookMappingEntriesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvmHookMappingEntriesparseFrom(com.google.protobuf.CodedInputStream input) static EvmHookMappingEntriesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvmHookMappingEntriesparseFrom(InputStream input) static EvmHookMappingEntriesparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvmHookMappingEntriesparseFrom(ByteBuffer data) static EvmHookMappingEntriesparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<EvmHookMappingEntries> 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
-
MAPPING_SLOT_FIELD_NUMBER
public static final int MAPPING_SLOT_FIELD_NUMBER- See Also:
-
ENTRIES_FIELD_NUMBER
public static final int ENTRIES_FIELD_NUMBER- See Also:
-
-
Method Details
-
getMappingSlot
public com.google.protobuf.ByteString getMappingSlot()* The slot that corresponds to the Solidity mapping itself. Must use a minimal byte representation (no leading zeros).
bytes mapping_slot = 1;- Specified by:
getMappingSlotin interfaceEvmHookMappingEntriesOrBuilder- Returns:
- The mappingSlot.
-
getEntriesList
* The entries in the mapping at the given slot.
repeated .com.hedera.hapi.node.hooks.EvmHookMappingEntry entries = 2;- Specified by:
getEntriesListin interfaceEvmHookMappingEntriesOrBuilder
-
getEntriesOrBuilderList
* The entries in the mapping at the given slot.
repeated .com.hedera.hapi.node.hooks.EvmHookMappingEntry entries = 2; -
getEntriesCount
public int getEntriesCount()* The entries in the mapping at the given slot.
repeated .com.hedera.hapi.node.hooks.EvmHookMappingEntry entries = 2;- Specified by:
getEntriesCountin interfaceEvmHookMappingEntriesOrBuilder
-
getEntries
* The entries in the mapping at the given slot.
repeated .com.hedera.hapi.node.hooks.EvmHookMappingEntry entries = 2;- Specified by:
getEntriesin interfaceEvmHookMappingEntriesOrBuilder
-
getEntriesOrBuilder
* The entries in the mapping at the given slot.
repeated .com.hedera.hapi.node.hooks.EvmHookMappingEntry entries = 2; -
parseFrom
public static EvmHookMappingEntries parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EvmHookMappingEntries parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EvmHookMappingEntries parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EvmHookMappingEntries parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EvmHookMappingEntries parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EvmHookMappingEntries parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EvmHookMappingEntries parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static EvmHookMappingEntries parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static EvmHookMappingEntries parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static EvmHookMappingEntries 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<EvmHookMappingEntries,EvmHookMappingEntries.Builder>
-
getDefaultInstance
-
parser
-