java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<HookCreation,HookCreation.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<HookCreation,HookCreation.Builder>
com.hedera.hashgraph.sdk.proto.HookCreation.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,HookCreationOrBuilder,Cloneable
- Enclosing class:
HookCreation
public static final class HookCreation.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<HookCreation,HookCreation.Builder>
implements HookCreationOrBuilder
* Specifies the creation of a new hook at the given id for the given entity.Protobuf type
com.hedera.hapi.node.hooks.HookCreation-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The creation details.* The id of the hook's entity.* If set, the id of the hook following this one in the owner's doubly-linked list of hooks.* The creation details.* The id of the hook's entity.com.google.protobuf.Int64Value* If set, the id of the hook following this one in the owner's doubly-linked list of hooks.boolean* The creation details.boolean* The id of the hook's entity.boolean* If set, the id of the hook following this one in the owner's doubly-linked list of hooks.mergeDetails(HookCreationDetails value) * The creation details.mergeEntityId(HookEntityId value) * The id of the hook's entity.mergeNextHookId(com.google.protobuf.Int64Value value) * If set, the id of the hook following this one in the owner's doubly-linked list of hooks.setDetails(HookCreationDetails value) * The creation details.setDetails(HookCreationDetails.Builder builderForValue) * The creation details.setEntityId(HookEntityId value) * The id of the hook's entity.setEntityId(HookEntityId.Builder builderForValue) * The id of the hook's entity.setNextHookId(com.google.protobuf.Int64Value value) * If set, the id of the hook following this one in the owner's doubly-linked list of hooks.setNextHookId(com.google.protobuf.Int64Value.Builder builderForValue) * If set, the id of the hook following this one in the owner's doubly-linked list of hooks.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasEntityId
public boolean hasEntityId()* The id of the hook's entity.
.proto.HookEntityId entity_id = 1;- Specified by:
hasEntityIdin interfaceHookCreationOrBuilder- Returns:
- Whether the entityId field is set.
-
getEntityId
* The id of the hook's entity.
.proto.HookEntityId entity_id = 1;- Specified by:
getEntityIdin interfaceHookCreationOrBuilder- Returns:
- The entityId.
-
setEntityId
* The id of the hook's entity.
.proto.HookEntityId entity_id = 1; -
setEntityId
* The id of the hook's entity.
.proto.HookEntityId entity_id = 1; -
mergeEntityId
* The id of the hook's entity.
.proto.HookEntityId entity_id = 1; -
clearEntityId
* The id of the hook's entity.
.proto.HookEntityId entity_id = 1; -
hasDetails
public boolean hasDetails()* The creation details.
.com.hedera.hapi.node.hooks.HookCreationDetails details = 2;- Specified by:
hasDetailsin interfaceHookCreationOrBuilder- Returns:
- Whether the details field is set.
-
getDetails
* The creation details.
.com.hedera.hapi.node.hooks.HookCreationDetails details = 2;- Specified by:
getDetailsin interfaceHookCreationOrBuilder- Returns:
- The details.
-
setDetails
* The creation details.
.com.hedera.hapi.node.hooks.HookCreationDetails details = 2; -
setDetails
* The creation details.
.com.hedera.hapi.node.hooks.HookCreationDetails details = 2; -
mergeDetails
* The creation details.
.com.hedera.hapi.node.hooks.HookCreationDetails details = 2; -
clearDetails
* The creation details.
.com.hedera.hapi.node.hooks.HookCreationDetails details = 2; -
hasNextHookId
public boolean hasNextHookId()* If set, the id of the hook following this one in the owner's doubly-linked list of hooks.
.google.protobuf.Int64Value next_hook_id = 9;- Specified by:
hasNextHookIdin interfaceHookCreationOrBuilder- Returns:
- Whether the nextHookId field is set.
-
getNextHookId
public com.google.protobuf.Int64Value getNextHookId()* If set, the id of the hook following this one in the owner's doubly-linked list of hooks.
.google.protobuf.Int64Value next_hook_id = 9;- Specified by:
getNextHookIdin interfaceHookCreationOrBuilder- Returns:
- The nextHookId.
-
setNextHookId
* If set, the id of the hook following this one in the owner's doubly-linked list of hooks.
.google.protobuf.Int64Value next_hook_id = 9; -
setNextHookId
* If set, the id of the hook following this one in the owner's doubly-linked list of hooks.
.google.protobuf.Int64Value next_hook_id = 9; -
mergeNextHookId
* If set, the id of the hook following this one in the owner's doubly-linked list of hooks.
.google.protobuf.Int64Value next_hook_id = 9; -
clearNextHookId
* If set, the id of the hook following this one in the owner's doubly-linked list of hooks.
.google.protobuf.Int64Value next_hook_id = 9;
-