Class HookCreationDetails

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

@Generated public final class HookCreationDetails extends com.google.protobuf.GeneratedMessageLite<HookCreationDetails,HookCreationDetails.Builder> implements HookCreationDetailsOrBuilder
 **
 The details of a hook's creation.
 
Protobuf type com.hedera.hapi.node.hooks.HookCreationDetails
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    ** The details of a hook's creation.
    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
     
    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)
     
    * If set, a key that that can be used to remove or replace the hook; or (if applicable, as with an EVM hook) do transactions that customize the hook.
     
    * A general-purpose hook programmed in EVM bytecode that may access state or interact with external contracts.
    * The extension point for the hook.
    int
    * The extension point for the hook.
     
    long
    * The id to create the hook at.
    boolean
    * If set, a key that that can be used to remove or replace the hook; or (if applicable, as with an EVM hook) do transactions that customize the hook.
    boolean
    * A general-purpose hook programmed in EVM bytecode that may access state or interact with external contracts.
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<HookCreationDetails>
     

    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

    • EXTENSION_POINT_FIELD_NUMBER

      public static final int EXTENSION_POINT_FIELD_NUMBER
      See Also:
    • HOOK_ID_FIELD_NUMBER

      public static final int HOOK_ID_FIELD_NUMBER
      See Also:
    • EVM_HOOK_FIELD_NUMBER

      public static final int EVM_HOOK_FIELD_NUMBER
      See Also:
    • ADMIN_KEY_FIELD_NUMBER

      public static final int ADMIN_KEY_FIELD_NUMBER
      See Also:
  • Method Details

    • getHookCase

      public HookCreationDetails.HookCase getHookCase()
      Specified by:
      getHookCase in interface HookCreationDetailsOrBuilder
    • getExtensionPointValue

      public int getExtensionPointValue()
       *
       The extension point for the hook.
       
      .com.hedera.hapi.node.hooks.HookExtensionPoint extension_point = 1;
      Specified by:
      getExtensionPointValue in interface HookCreationDetailsOrBuilder
      Returns:
      The enum numeric value on the wire for extensionPoint.
    • getExtensionPoint

      public HookExtensionPoint getExtensionPoint()
       *
       The extension point for the hook.
       
      .com.hedera.hapi.node.hooks.HookExtensionPoint extension_point = 1;
      Specified by:
      getExtensionPoint in interface HookCreationDetailsOrBuilder
      Returns:
      The extensionPoint.
    • getHookId

      public long getHookId()
       *
       The id to create the hook at.
       
      int64 hook_id = 2;
      Specified by:
      getHookId in interface HookCreationDetailsOrBuilder
      Returns:
      The hookId.
    • hasEvmHook

      public boolean hasEvmHook()
       *
       A general-purpose hook programmed in EVM bytecode that may access state
       or interact with external contracts.
       
      .com.hedera.hapi.node.hooks.EvmHook evm_hook = 3;
      Specified by:
      hasEvmHook in interface HookCreationDetailsOrBuilder
      Returns:
      Whether the evmHook field is set.
    • getEvmHook

      public EvmHook getEvmHook()
       *
       A general-purpose hook programmed in EVM bytecode that may access state
       or interact with external contracts.
       
      .com.hedera.hapi.node.hooks.EvmHook evm_hook = 3;
      Specified by:
      getEvmHook in interface HookCreationDetailsOrBuilder
      Returns:
      The evmHook.
    • hasAdminKey

      public boolean hasAdminKey()
       *
       If set, a key that that can be used to remove or replace the hook; or (if
       applicable, as with an EVM hook) do transactions that customize the hook.
       
      .proto.Key admin_key = 4;
      Specified by:
      hasAdminKey in interface HookCreationDetailsOrBuilder
      Returns:
      Whether the adminKey field is set.
    • getAdminKey

      public Key getAdminKey()
       *
       If set, a key that that can be used to remove or replace the hook; or (if
       applicable, as with an EVM hook) do transactions that customize the hook.
       
      .proto.Key admin_key = 4;
      Specified by:
      getAdminKey in interface HookCreationDetailsOrBuilder
      Returns:
      The adminKey.
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static HookCreationDetails.Builder newBuilder()
    • newBuilder

      public static HookCreationDetails.Builder newBuilder(HookCreationDetails 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<HookCreationDetails,HookCreationDetails.Builder>
    • getDefaultInstance

      public static HookCreationDetails getDefaultInstance()
    • parser

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