Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface CryptoGetAccountBalanceQueryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
CryptoGetAccountBalanceQuery,CryptoGetAccountBalanceQuery.Builder
@Generated
public interface CryptoGetAccountBalanceQueryOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* An account identifier.<br/> This identifies an account for which the balance is requested.* A smart contract identifier.<br/> This identifies a smart contract for which the balance 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* An account identifier.<br/> This identifies an account for which the balance is requested.boolean* A smart contract identifier.<br/> This identifies a smart contract for which the balance is requested.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).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasHeader
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;- Returns:
- Whether the header field is set.
-
getHeader
QueryHeader 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;- Returns:
- The header.
-
hasAccountID
boolean hasAccountID()* An account identifier.<br/> This identifies an account for which the balance is requested. <p> Exactly one identifier MUST be provided.
.proto.AccountID accountID = 2;- Returns:
- Whether the accountID field is set.
-
getAccountID
AccountID getAccountID()* An account identifier.<br/> This identifies an account for which the balance is requested. <p> Exactly one identifier MUST be provided.
.proto.AccountID accountID = 2;- Returns:
- The accountID.
-
hasContractID
boolean hasContractID()* A smart contract identifier.<br/> This identifies a smart contract for which the balance is requested. <p> Exactly one identifier MUST be provided.
.proto.ContractID contractID = 3;- Returns:
- Whether the contractID field is set.
-
getContractID
ContractID getContractID()* A smart contract identifier.<br/> This identifies a smart contract for which the balance is requested. <p> Exactly one identifier MUST be provided.
.proto.ContractID contractID = 3;- Returns:
- The contractID.
-
getBalanceSourceCase
CryptoGetAccountBalanceQuery.BalanceSourceCase getBalanceSourceCase()
-