java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<HookEntityId,HookEntityId.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<HookEntityId,HookEntityId.Builder>
com.hedera.hashgraph.sdk.proto.HookEntityId.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,HookEntityIdOrBuilder,Cloneable
- Enclosing class:
HookEntityId
public static final class HookEntityId.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<HookEntityId,HookEntityId.Builder>
implements HookEntityIdOrBuilder
* The id of an entity using a hook.Protobuf type
proto.HookEntityId-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* An account using a hook.* A contract using a hook.* An account using a hook.* A contract using a hook.boolean* An account using a hook.boolean* A contract using a hook.mergeAccountId(AccountID value) * An account using a hook.mergeContractId(ContractID value) * A contract using a hook.setAccountId(AccountID value) * An account using a hook.setAccountId(AccountID.Builder builderForValue) * An account using a hook.setContractId(ContractID value) * A contract using a hook.setContractId(ContractID.Builder builderForValue) * A contract using a hook.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
-
getEntityIdCase
- Specified by:
getEntityIdCasein interfaceHookEntityIdOrBuilder
-
clearEntityId
-
hasAccountId
public boolean hasAccountId()* An account using a hook.
.proto.AccountID account_id = 1;- Specified by:
hasAccountIdin interfaceHookEntityIdOrBuilder- Returns:
- Whether the accountId field is set.
-
getAccountId
* An account using a hook.
.proto.AccountID account_id = 1;- Specified by:
getAccountIdin interfaceHookEntityIdOrBuilder- Returns:
- The accountId.
-
setAccountId
* An account using a hook.
.proto.AccountID account_id = 1; -
setAccountId
* An account using a hook.
.proto.AccountID account_id = 1; -
mergeAccountId
* An account using a hook.
.proto.AccountID account_id = 1; -
clearAccountId
* An account using a hook.
.proto.AccountID account_id = 1; -
hasContractId
public boolean hasContractId()* A contract using a hook.
.proto.ContractID contract_id = 2;- Specified by:
hasContractIdin interfaceHookEntityIdOrBuilder- Returns:
- Whether the contractId field is set.
-
getContractId
* A contract using a hook.
.proto.ContractID contract_id = 2;- Specified by:
getContractIdin interfaceHookEntityIdOrBuilder- Returns:
- The contractId.
-
setContractId
* A contract using a hook.
.proto.ContractID contract_id = 2; -
setContractId
* A contract using a hook.
.proto.ContractID contract_id = 2; -
mergeContractId
* A contract using a hook.
.proto.ContractID contract_id = 2; -
clearContractId
* A contract using a hook.
.proto.ContractID contract_id = 2;
-