Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class CryptoGetInfoQuery.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<CryptoGetInfoQuery,CryptoGetInfoQuery.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<CryptoGetInfoQuery,CryptoGetInfoQuery.Builder>
com.hedera.hashgraph.sdk.proto.CryptoGetInfoQuery.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,CryptoGetInfoQueryOrBuilder,Cloneable
- Enclosing class:
CryptoGetInfoQuery
public static final class CryptoGetInfoQuery.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<CryptoGetInfoQuery,CryptoGetInfoQuery.Builder>
implements CryptoGetInfoQueryOrBuilder
* A query to read information for an account. The returned information SHALL include balance.<br/> The returned information SHALL NOT include allowances.<br/> The returned information SHALL NOT include token relationships.<br/> The returned information SHALL NOT include account records.Protobuf type
proto.CryptoGetInfoQuery-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The account ID for which information is requested* 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).* The account ID for which information is requested* 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* The account ID for which information is requestedboolean* 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) * The account ID for which information is requestedmergeHeader(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) * The account ID for which information is requestedsetAccountID(AccountID.Builder builderForValue) * The account ID for which information is requestedsetHeader(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 interfaceCryptoGetInfoQueryOrBuilder- 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 interfaceCryptoGetInfoQueryOrBuilder- 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()* The account ID for which information is requested
.proto.AccountID accountID = 2;- Specified by:
hasAccountIDin interfaceCryptoGetInfoQueryOrBuilder- Returns:
- Whether the accountID field is set.
-
getAccountID
* The account ID for which information is requested
.proto.AccountID accountID = 2;- Specified by:
getAccountIDin interfaceCryptoGetInfoQueryOrBuilder- Returns:
- The accountID.
-
setAccountID
* The account ID for which information is requested
.proto.AccountID accountID = 2; -
setAccountID
* The account ID for which information is requested
.proto.AccountID accountID = 2; -
mergeAccountID
* The account ID for which information is requested
.proto.AccountID accountID = 2; -
clearAccountID
* The account ID for which information is requested
.proto.AccountID accountID = 2;
-