java.lang.Object
com.google.protobuf.AbstractMessageLite<HookCall,HookCall.Builder>
com.google.protobuf.GeneratedMessageLite<HookCall,HookCall.Builder>
com.hedera.hashgraph.sdk.proto.HookCall
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, HookCallOrBuilder

@Generated public final class HookCall extends com.google.protobuf.GeneratedMessageLite<HookCall,HookCall.Builder> implements HookCallOrBuilder
 *
 Specifies a call to a hook from within a transaction.
 <p>
 Often the hook's entity is implied by the nature of the call site. For example, when using an account allowance hook
 inside a crypto transfer, the hook's entity is necessarily the account whose authorization is required.
 <p>
 For future extension points where the hook owner is not forced by the context, we include the option to fully
 specify the hook id for the call.
 
Protobuf type proto.HookCall
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    * Specifies a call to a hook from within a transaction.
    static enum 
     
    static enum 
     

    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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
     
    static HookCall
     
    * Specification of how to call an EVM hook.
    long
    * The numeric id of the hook to call, when the owning entity is forced by the call site.
     
    boolean
    * Specification of how to call an EVM hook.
    boolean
    * The numeric id of the hook to call, when the owning entity is forced by the call site.
     
    newBuilder(HookCall prototype)
     
    static HookCall
     
    static HookCall
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static HookCall
    parseFrom(byte[] data)
     
    static HookCall
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static HookCall
    parseFrom(com.google.protobuf.ByteString data)
     
    static HookCall
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static HookCall
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static HookCall
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static HookCall
     
    static HookCall
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static HookCall
     
    static HookCall
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<HookCall>
     

    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, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Field Details

    • HOOK_ID_FIELD_NUMBER

      public static final int HOOK_ID_FIELD_NUMBER
      See Also:
    • EVM_HOOK_CALL_FIELD_NUMBER

      public static final int EVM_HOOK_CALL_FIELD_NUMBER
      See Also:
  • Method Details

    • getIdCase

      public HookCall.IdCase getIdCase()
      Specified by:
      getIdCase in interface HookCallOrBuilder
    • getCallSpecCase

      public HookCall.CallSpecCase getCallSpecCase()
      Specified by:
      getCallSpecCase in interface HookCallOrBuilder
    • hasHookId

      public boolean hasHookId()
       *
       The numeric id of the hook to call, when the owning entity is forced by the call site.
       
      int64 hook_id = 1;
      Specified by:
      hasHookId in interface HookCallOrBuilder
      Returns:
      Whether the hookId field is set.
    • getHookId

      public long getHookId()
       *
       The numeric id of the hook to call, when the owning entity is forced by the call site.
       
      int64 hook_id = 1;
      Specified by:
      getHookId in interface HookCallOrBuilder
      Returns:
      The hookId.
    • hasEvmHookCall

      public boolean hasEvmHookCall()
       *
       Specification of how to call an EVM hook.
       
      .proto.EvmHookCall evm_hook_call = 3;
      Specified by:
      hasEvmHookCall in interface HookCallOrBuilder
      Returns:
      Whether the evmHookCall field is set.
    • getEvmHookCall

      public EvmHookCall getEvmHookCall()
       *
       Specification of how to call an EVM hook.
       
      .proto.EvmHookCall evm_hook_call = 3;
      Specified by:
      getEvmHookCall in interface HookCallOrBuilder
      Returns:
      The evmHookCall.
    • parseFrom

      public static HookCall parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HookCall parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HookCall parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HookCall parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HookCall parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HookCall parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HookCall parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HookCall parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static HookCall parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static HookCall parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HookCall parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HookCall parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static HookCall.Builder newBuilder()
    • newBuilder

      public static HookCall.Builder newBuilder(HookCall prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<HookCall,HookCall.Builder>
    • getDefaultInstance

      public static HookCall getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<HookCall> parser()