java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<EvmHook,EvmHook.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<EvmHook,EvmHook.Builder>
com.hedera.hashgraph.sdk.proto.EvmHook.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,EvmHookOrBuilder,Cloneable
- Enclosing class:
EvmHook
public static final class EvmHook.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<EvmHook,EvmHook.Builder>
implements EvmHookOrBuilder
* Definition of a general-purpose EVM hook.Protobuf type
com.hedera.hapi.node.hooks.EvmHook-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllStorageUpdates(Iterable<? extends EvmHookStorageUpdate> values) * Initial storage updates for the hook, if any.addStorageUpdates(int index, EvmHookStorageUpdate value) * Initial storage updates for the hook, if any.addStorageUpdates(int index, EvmHookStorageUpdate.Builder builderForValue) * Initial storage updates for the hook, if any.* Initial storage updates for the hook, if any.addStorageUpdates(EvmHookStorageUpdate.Builder builderForValue) * Initial storage updates for the hook, if any.* The specification for the hook.* Initial storage updates for the hook, if any.getSpec()* The specification for the hook.getStorageUpdates(int index) * Initial storage updates for the hook, if any.int* Initial storage updates for the hook, if any.* Initial storage updates for the hook, if any.booleanhasSpec()* The specification for the hook.mergeSpec(EvmHookSpec value) * The specification for the hook.removeStorageUpdates(int index) * Initial storage updates for the hook, if any.setSpec(EvmHookSpec value) * The specification for the hook.setSpec(EvmHookSpec.Builder builderForValue) * The specification for the hook.setStorageUpdates(int index, EvmHookStorageUpdate value) * Initial storage updates for the hook, if any.setStorageUpdates(int index, EvmHookStorageUpdate.Builder builderForValue) * Initial storage updates for the hook, if any.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
-
hasSpec
public boolean hasSpec()* The specification for the hook.
.com.hedera.hapi.node.hooks.EvmHookSpec spec = 1;- Specified by:
hasSpecin interfaceEvmHookOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
* The specification for the hook.
.com.hedera.hapi.node.hooks.EvmHookSpec spec = 1;- Specified by:
getSpecin interfaceEvmHookOrBuilder- Returns:
- The spec.
-
setSpec
* The specification for the hook.
.com.hedera.hapi.node.hooks.EvmHookSpec spec = 1; -
setSpec
* The specification for the hook.
.com.hedera.hapi.node.hooks.EvmHookSpec spec = 1; -
mergeSpec
* The specification for the hook.
.com.hedera.hapi.node.hooks.EvmHookSpec spec = 1; -
clearSpec
* The specification for the hook.
.com.hedera.hapi.node.hooks.EvmHookSpec spec = 1; -
getStorageUpdatesList
* Initial storage updates for the hook, if any.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2;- Specified by:
getStorageUpdatesListin interfaceEvmHookOrBuilder
-
getStorageUpdatesCount
public int getStorageUpdatesCount()* Initial storage updates for the hook, if any.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2;- Specified by:
getStorageUpdatesCountin interfaceEvmHookOrBuilder
-
getStorageUpdates
* Initial storage updates for the hook, if any.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2;- Specified by:
getStorageUpdatesin interfaceEvmHookOrBuilder
-
setStorageUpdates
* Initial storage updates for the hook, if any.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2; -
setStorageUpdates
* Initial storage updates for the hook, if any.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2; -
addStorageUpdates
* Initial storage updates for the hook, if any.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2; -
addStorageUpdates
* Initial storage updates for the hook, if any.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2; -
addStorageUpdates
* Initial storage updates for the hook, if any.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2; -
addStorageUpdates
* Initial storage updates for the hook, if any.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2; -
addAllStorageUpdates
* Initial storage updates for the hook, if any.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2; -
clearStorageUpdates
* Initial storage updates for the hook, if any.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2; -
removeStorageUpdates
* Initial storage updates for the hook, if any.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2;
-