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 ClassesModifier and TypeClassDescriptionstatic final class* Specifies a call to a hook from within a transaction.static enumstatic 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 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) 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.static HookCall.Builderstatic HookCall.BuildernewBuilder(HookCall prototype) static HookCallparseDelimitedFrom(InputStream input) static HookCallparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HookCallparseFrom(byte[] data) static HookCallparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HookCallparseFrom(com.google.protobuf.ByteString data) static HookCallparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HookCallparseFrom(com.google.protobuf.CodedInputStream input) static HookCallparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HookCallparseFrom(InputStream input) static HookCallparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HookCallparseFrom(ByteBuffer data) static HookCallparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<HookCall> 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
-
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
- Specified by:
getIdCasein interfaceHookCallOrBuilder
-
getCallSpecCase
- Specified by:
getCallSpecCasein interfaceHookCallOrBuilder
-
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:
hasHookIdin interfaceHookCallOrBuilder- 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:
getHookIdin interfaceHookCallOrBuilder- Returns:
- The hookId.
-
hasEvmHookCall
public boolean hasEvmHookCall()* Specification of how to call an EVM hook.
.proto.EvmHookCall evm_hook_call = 3;- Specified by:
hasEvmHookCallin interfaceHookCallOrBuilder- Returns:
- Whether the evmHookCall field is set.
-
getEvmHookCall
* Specification of how to call an EVM hook.
.proto.EvmHookCall evm_hook_call = 3;- Specified by:
getEvmHookCallin interfaceHookCallOrBuilder- 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
- Throws:
IOException
-
parseFrom
public static HookCall parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static HookCall parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static HookCall 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<HookCall,HookCall.Builder>
-
getDefaultInstance
-
parser
-