Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class HookDispatchTransactionBody.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<HookDispatchTransactionBody,HookDispatchTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<HookDispatchTransactionBody,HookDispatchTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.HookDispatchTransactionBody.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,HookDispatchTransactionBodyOrBuilder,Cloneable
- Enclosing class:
HookDispatchTransactionBody
public static final class HookDispatchTransactionBody.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<HookDispatchTransactionBody,HookDispatchTransactionBody.Builder>
implements HookDispatchTransactionBodyOrBuilder
* Dispatches a hook action to an appropriate service.Protobuf type
com.hedera.hapi.node.hooks.HookDispatchTransactionBody-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* Creation details for a new hook.* Execution details of an existing hook.* The id of the hook to delete.* Creation details for a new hook.* Execution details of an existing hook.* The id of the hook to delete.boolean* Creation details for a new hook.boolean* Execution details of an existing hook.boolean* The id of the hook to delete.mergeCreation(HookCreation value) * Creation details for a new hook.mergeExecution(HookExecution value) * Execution details of an existing hook.mergeHookIdToDelete(HookId value) * The id of the hook to delete.setCreation(HookCreation value) * Creation details for a new hook.setCreation(HookCreation.Builder builderForValue) * Creation details for a new hook.setExecution(HookExecution value) * Execution details of an existing hook.setExecution(HookExecution.Builder builderForValue) * Execution details of an existing hook.setHookIdToDelete(HookId value) * The id of the hook to delete.setHookIdToDelete(HookId.Builder builderForValue) * The id of the hook to delete.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
-
getActionCase
- Specified by:
getActionCasein interfaceHookDispatchTransactionBodyOrBuilder
-
clearAction
-
hasHookIdToDelete
public boolean hasHookIdToDelete()* The id of the hook to delete.
.proto.HookId hook_id_to_delete = 1;- Specified by:
hasHookIdToDeletein interfaceHookDispatchTransactionBodyOrBuilder- Returns:
- Whether the hookIdToDelete field is set.
-
getHookIdToDelete
* The id of the hook to delete.
.proto.HookId hook_id_to_delete = 1;- Specified by:
getHookIdToDeletein interfaceHookDispatchTransactionBodyOrBuilder- Returns:
- The hookIdToDelete.
-
setHookIdToDelete
* The id of the hook to delete.
.proto.HookId hook_id_to_delete = 1; -
setHookIdToDelete
* The id of the hook to delete.
.proto.HookId hook_id_to_delete = 1; -
mergeHookIdToDelete
* The id of the hook to delete.
.proto.HookId hook_id_to_delete = 1; -
clearHookIdToDelete
* The id of the hook to delete.
.proto.HookId hook_id_to_delete = 1; -
hasCreation
public boolean hasCreation()* Creation details for a new hook.
.com.hedera.hapi.node.hooks.HookCreation creation = 2;- Specified by:
hasCreationin interfaceHookDispatchTransactionBodyOrBuilder- Returns:
- Whether the creation field is set.
-
getCreation
* Creation details for a new hook.
.com.hedera.hapi.node.hooks.HookCreation creation = 2;- Specified by:
getCreationin interfaceHookDispatchTransactionBodyOrBuilder- Returns:
- The creation.
-
setCreation
* Creation details for a new hook.
.com.hedera.hapi.node.hooks.HookCreation creation = 2; -
setCreation
* Creation details for a new hook.
.com.hedera.hapi.node.hooks.HookCreation creation = 2; -
mergeCreation
* Creation details for a new hook.
.com.hedera.hapi.node.hooks.HookCreation creation = 2; -
clearCreation
* Creation details for a new hook.
.com.hedera.hapi.node.hooks.HookCreation creation = 2; -
hasExecution
public boolean hasExecution()* Execution details of an existing hook.
.com.hedera.hapi.node.hooks.HookExecution execution = 3;- Specified by:
hasExecutionin interfaceHookDispatchTransactionBodyOrBuilder- Returns:
- Whether the execution field is set.
-
getExecution
* Execution details of an existing hook.
.com.hedera.hapi.node.hooks.HookExecution execution = 3;- Specified by:
getExecutionin interfaceHookDispatchTransactionBodyOrBuilder- Returns:
- The execution.
-
setExecution
* Execution details of an existing hook.
.com.hedera.hapi.node.hooks.HookExecution execution = 3; -
setExecution
* Execution details of an existing hook.
.com.hedera.hapi.node.hooks.HookExecution execution = 3; -
mergeExecution
* Execution details of an existing hook.
.com.hedera.hapi.node.hooks.HookExecution execution = 3; -
clearExecution
* Execution details of an existing hook.
.com.hedera.hapi.node.hooks.HookExecution execution = 3;
-