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 ClassesModifier and TypeClassDescriptionstatic final class** The details of a hook's creation.static enumNested 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(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.static HookCreationDetails* 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.static HookCreationDetails.Builderstatic HookCreationDetails.BuildernewBuilder(HookCreationDetails prototype) static HookCreationDetailsparseDelimitedFrom(InputStream input) static HookCreationDetailsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HookCreationDetailsparseFrom(byte[] data) static HookCreationDetailsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HookCreationDetailsparseFrom(com.google.protobuf.ByteString data) static HookCreationDetailsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HookCreationDetailsparseFrom(com.google.protobuf.CodedInputStream input) static HookCreationDetailsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HookCreationDetailsparseFrom(InputStream input) static HookCreationDetailsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HookCreationDetailsparseFrom(ByteBuffer data) static HookCreationDetailsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<HookCreationDetails> parser()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, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
- Specified by:
getHookCasein interfaceHookCreationDetailsOrBuilder
-
getExtensionPointValue
public int getExtensionPointValue()* The extension point for the hook.
.com.hedera.hapi.node.hooks.HookExtensionPoint extension_point = 1;- Specified by:
getExtensionPointValuein interfaceHookCreationDetailsOrBuilder- Returns:
- The enum numeric value on the wire for extensionPoint.
-
getExtensionPoint
* The extension point for the hook.
.com.hedera.hapi.node.hooks.HookExtensionPoint extension_point = 1;- Specified by:
getExtensionPointin interfaceHookCreationDetailsOrBuilder- Returns:
- The extensionPoint.
-
getHookId
public long getHookId()* The id to create the hook at.
int64 hook_id = 2;- Specified by:
getHookIdin interfaceHookCreationDetailsOrBuilder- 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:
hasEvmHookin interfaceHookCreationDetailsOrBuilder- Returns:
- Whether the evmHook field is set.
-
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:
getEvmHookin interfaceHookCreationDetailsOrBuilder- 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:
hasAdminKeyin interfaceHookCreationDetailsOrBuilder- Returns:
- Whether the adminKey field is set.
-
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:
getAdminKeyin interfaceHookCreationDetailsOrBuilder- 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
- Throws:
IOException
-
parseFrom
public static HookCreationDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<HookCreationDetails,HookCreationDetails.Builder>
-
getDefaultInstance
-
parser
-