Class HookExecution.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<HookExecution,HookExecution.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<HookExecution,HookExecution.Builder>
com.hedera.hashgraph.sdk.proto.HookExecution.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, HookExecutionOrBuilder, Cloneable
Enclosing class:
HookExecution

public static final class HookExecution.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<HookExecution,HookExecution.Builder> implements HookExecutionOrBuilder
 *
 Details the execution of a hook.
 
Protobuf type com.hedera.hapi.node.hooks.HookExecution
  • Method Details

    • hasHookEntityId

      public boolean hasHookEntityId()
       *
       The id of the hook's entity.
       
      .proto.HookEntityId hook_entity_id = 1;
      Specified by:
      hasHookEntityId in interface HookExecutionOrBuilder
      Returns:
      Whether the hookEntityId field is set.
    • getHookEntityId

      public HookEntityId getHookEntityId()
       *
       The id of the hook's entity.
       
      .proto.HookEntityId hook_entity_id = 1;
      Specified by:
      getHookEntityId in interface HookExecutionOrBuilder
      Returns:
      The hookEntityId.
    • setHookEntityId

      public HookExecution.Builder setHookEntityId(HookEntityId value)
       *
       The id of the hook's entity.
       
      .proto.HookEntityId hook_entity_id = 1;
    • setHookEntityId

      public HookExecution.Builder setHookEntityId(HookEntityId.Builder builderForValue)
       *
       The id of the hook's entity.
       
      .proto.HookEntityId hook_entity_id = 1;
    • mergeHookEntityId

      public HookExecution.Builder mergeHookEntityId(HookEntityId value)
       *
       The id of the hook's entity.
       
      .proto.HookEntityId hook_entity_id = 1;
    • clearHookEntityId

      public HookExecution.Builder clearHookEntityId()
       *
       The id of the hook's entity.
       
      .proto.HookEntityId hook_entity_id = 1;
    • hasCall

      public boolean hasCall()
       *
       The details of the call, including which hook id to call.
       
      .proto.HookCall call = 2;
      Specified by:
      hasCall in interface HookExecutionOrBuilder
      Returns:
      Whether the call field is set.
    • getCall

      public HookCall getCall()
       *
       The details of the call, including which hook id to call.
       
      .proto.HookCall call = 2;
      Specified by:
      getCall in interface HookExecutionOrBuilder
      Returns:
      The call.
    • setCall

      public HookExecution.Builder setCall(HookCall value)
       *
       The details of the call, including which hook id to call.
       
      .proto.HookCall call = 2;
    • setCall

      public HookExecution.Builder setCall(HookCall.Builder builderForValue)
       *
       The details of the call, including which hook id to call.
       
      .proto.HookCall call = 2;
    • mergeCall

      public HookExecution.Builder mergeCall(HookCall value)
       *
       The details of the call, including which hook id to call.
       
      .proto.HookCall call = 2;
    • clearCall

      public HookExecution.Builder clearCall()
       *
       The details of the call, including which hook id to call.
       
      .proto.HookCall call = 2;