Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class GetAccountDetailsQuery.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<GetAccountDetailsQuery,GetAccountDetailsQuery.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<GetAccountDetailsQuery,GetAccountDetailsQuery.Builder>
com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,GetAccountDetailsQueryOrBuilder,Cloneable
- Enclosing class:
GetAccountDetailsQuery
public static final class GetAccountDetailsQuery.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<GetAccountDetailsQuery,GetAccountDetailsQuery.Builder>
implements GetAccountDetailsQueryOrBuilder
* Request detail information about an account. The returned information SHALL include balance and allowances.<br/> The returned information SHALL NOT include a list of account records. #### Important This query is a _privileged_ query. Only "system" accounts SHALL be permitted to submit this query.Protobuf type
proto.GetAccountDetailsQuery-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).* An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).boolean* An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.boolean* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).mergeAccountId(AccountID value) * An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.mergeHeader(QueryHeader value) * Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).setAccountId(AccountID value) * An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.setAccountId(AccountID.Builder builderForValue) * An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.setHeader(QueryHeader value) * Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).setHeader(QueryHeader.Builder builderForValue) * Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).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
-
hasHeader
public boolean hasHeader()* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
.proto.QueryHeader header = 1;- Specified by:
hasHeaderin interfaceGetAccountDetailsQueryOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
.proto.QueryHeader header = 1;- Specified by:
getHeaderin interfaceGetAccountDetailsQueryOrBuilder- Returns:
- The header.
-
setHeader
* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
.proto.QueryHeader header = 1; -
setHeader
* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
.proto.QueryHeader header = 1; -
mergeHeader
* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
.proto.QueryHeader header = 1; -
clearHeader
* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
.proto.QueryHeader header = 1; -
hasAccountId
public boolean hasAccountId()* An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.
.proto.AccountID account_id = 2;- Specified by:
hasAccountIdin interfaceGetAccountDetailsQueryOrBuilder- Returns:
- Whether the accountId field is set.
-
getAccountId
* An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.
.proto.AccountID account_id = 2;- Specified by:
getAccountIdin interfaceGetAccountDetailsQueryOrBuilder- Returns:
- The accountId.
-
setAccountId
* An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.
.proto.AccountID account_id = 2; -
setAccountId
* An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.
.proto.AccountID account_id = 2; -
mergeAccountId
* An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.
.proto.AccountID account_id = 2; -
clearAccountId
* An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.
.proto.AccountID account_id = 2;
-