Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class HookStoreTransactionBody.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<HookStoreTransactionBody,HookStoreTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<HookStoreTransactionBody,HookStoreTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.HookStoreTransactionBody.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,HookStoreTransactionBodyOrBuilder,Cloneable
- Enclosing class:
HookStoreTransactionBody
public static final class HookStoreTransactionBody.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<HookStoreTransactionBody,HookStoreTransactionBody.Builder>
implements HookStoreTransactionBodyOrBuilder
* Adds or removes key/value pairs in the storage of an EVM hook. Either the hook owner's key, or its admin key, must sign the transaction.Protobuf type
com.hedera.hapi.node.hooks.HookStoreTransactionBody-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllStorageUpdates(Iterable<? extends EvmHookStorageUpdate> values) * The updates to the storage of the EVM hook.addStorageUpdates(int index, EvmHookStorageUpdate value) * The updates to the storage of the EVM hook.addStorageUpdates(int index, EvmHookStorageUpdate.Builder builderForValue) * The updates to the storage of the EVM hook.* The updates to the storage of the EVM hook.addStorageUpdates(EvmHookStorageUpdate.Builder builderForValue) * The updates to the storage of the EVM hook.* The id of the EVM hook whose storage is being updated.* The updates to the storage of the EVM hook.* The id of the EVM hook whose storage is being updated.getStorageUpdates(int index) * The updates to the storage of the EVM hook.int* The updates to the storage of the EVM hook.* The updates to the storage of the EVM hook.boolean* The id of the EVM hook whose storage is being updated.mergeHookId(HookId value) * The id of the EVM hook whose storage is being updated.removeStorageUpdates(int index) * The updates to the storage of the EVM hook.* The id of the EVM hook whose storage is being updated.setHookId(HookId.Builder builderForValue) * The id of the EVM hook whose storage is being updated.setStorageUpdates(int index, EvmHookStorageUpdate value) * The updates to the storage of the EVM hook.setStorageUpdates(int index, EvmHookStorageUpdate.Builder builderForValue) * The updates to the storage of the EVM hook.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 whose storage is being updated.
.proto.HookId hook_id = 1;- Specified by:
hasHookIdin interfaceHookStoreTransactionBodyOrBuilder- Returns:
- Whether the hookId field is set.
-
getHookId
* The id of the EVM hook whose storage is being updated.
.proto.HookId hook_id = 1;- Specified by:
getHookIdin interfaceHookStoreTransactionBodyOrBuilder- Returns:
- The hookId.
-
setHookId
* The id of the EVM hook whose storage is being updated.
.proto.HookId hook_id = 1; -
setHookId
* The id of the EVM hook whose storage is being updated.
.proto.HookId hook_id = 1; -
mergeHookId
* The id of the EVM hook whose storage is being updated.
.proto.HookId hook_id = 1; -
clearHookId
* The id of the EVM hook whose storage is being updated.
.proto.HookId hook_id = 1; -
getStorageUpdatesList
* The updates to the storage of the EVM hook.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2;- Specified by:
getStorageUpdatesListin interfaceHookStoreTransactionBodyOrBuilder
-
getStorageUpdatesCount
public int getStorageUpdatesCount()* The updates to the storage of the EVM hook.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2;- Specified by:
getStorageUpdatesCountin interfaceHookStoreTransactionBodyOrBuilder
-
getStorageUpdates
* The updates to the storage of the EVM hook.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2;- Specified by:
getStorageUpdatesin interfaceHookStoreTransactionBodyOrBuilder
-
setStorageUpdates
* The updates to the storage of the EVM hook.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2; -
setStorageUpdates
public HookStoreTransactionBody.Builder setStorageUpdates(int index, EvmHookStorageUpdate.Builder builderForValue) * The updates to the storage of the EVM hook.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2; -
addStorageUpdates
* The updates to the storage of the EVM hook.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2; -
addStorageUpdates
* The updates to the storage of the EVM hook.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2; -
addStorageUpdates
public HookStoreTransactionBody.Builder addStorageUpdates(EvmHookStorageUpdate.Builder builderForValue) * The updates to the storage of the EVM hook.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2; -
addStorageUpdates
public HookStoreTransactionBody.Builder addStorageUpdates(int index, EvmHookStorageUpdate.Builder builderForValue) * The updates to the storage of the EVM hook.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2; -
addAllStorageUpdates
public HookStoreTransactionBody.Builder addAllStorageUpdates(Iterable<? extends EvmHookStorageUpdate> values) * The updates to the storage of the EVM hook.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2; -
clearStorageUpdates
* The updates to the storage of the EVM hook.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2; -
removeStorageUpdates
* The updates to the storage of the EVM hook.
repeated .com.hedera.hapi.node.hooks.EvmHookStorageUpdate storage_updates = 2;
-