- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Query,Query.Builder
@Generated
public interface QueryOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* Get detail metadata for an account.* Get metadata for a consensus topic.* Call a function of a smart contract.<br/> This call is executed exclusively on the node to which it is submitted, and is much less expensive than a `contractCall` transaction.* Get runtime bytecode used by a smart contract.* Get information about a smart contract.Deprecated.proto.Query.ContractGetRecords is deprecated.* Get the current HBAR balance of an Hedera account or smart contract.* Get records of all "recent" transactions for which a specified account is the effective payer.* Get information about an account, including the balance.<br/> This does not get the list of account records.Deprecated.proto.Query.cryptoGetLiveHash is deprecated.Deprecated.proto.Query.cryptoGetProxyStakers is deprecated.* Get the content of a file.* Get metadata for a file.* Get all entities associated with a given key.* Get an Hedera identifier associated with an identifier in EVM "Solidity" form.<br/> Most often used in smart contracts to find an Hedera account, file, or contract identifier to pass to a system contract or precompile.Deprecated.proto.Query.networkGetExecutionTime is deprecated.* Get the versions of Hedera Services and the HAPI API deployed on the responding consensus node.* Get metadata for a schedule.<br/> A schedule is a request to execute a transaction at a future time.Deprecated.proto.Query.tokenGetAccountNftInfos is deprecated.* Get metadata for a token.* Get metadata for a specific, serial numbered, non-fungible/unique token (NFT).Deprecated.proto.Query.tokenGetNftInfos is deprecated.* Get a record for a transaction.* Get a receipt for a transaction.<br/> This only returns a receipt if the transaction is "recent", which is typically within the previous 180 seconds (3 minutes).* Get a record for a transaction.boolean* Get detail metadata for an account.boolean* Get metadata for a consensus topic.boolean* Call a function of a smart contract.<br/> This call is executed exclusively on the node to which it is submitted, and is much less expensive than a `contractCall` transaction.boolean* Get runtime bytecode used by a smart contract.boolean* Get information about a smart contract.booleanDeprecated.proto.Query.ContractGetRecords is deprecated.boolean* Get the current HBAR balance of an Hedera account or smart contract.boolean* Get records of all "recent" transactions for which a specified account is the effective payer.boolean* Get information about an account, including the balance.<br/> This does not get the list of account records.booleanDeprecated.proto.Query.cryptoGetLiveHash is deprecated.booleanDeprecated.proto.Query.cryptoGetProxyStakers is deprecated.boolean* Get the content of a file.boolean* Get metadata for a file.boolean* Get all entities associated with a given key.boolean* Get an Hedera identifier associated with an identifier in EVM "Solidity" form.<br/> Most often used in smart contracts to find an Hedera account, file, or contract identifier to pass to a system contract or precompile.booleanDeprecated.proto.Query.networkGetExecutionTime is deprecated.boolean* Get the versions of Hedera Services and the HAPI API deployed on the responding consensus node.boolean* Get metadata for a schedule.<br/> A schedule is a request to execute a transaction at a future time.booleanDeprecated.proto.Query.tokenGetAccountNftInfos is deprecated.boolean* Get metadata for a token.boolean* Get metadata for a specific, serial numbered, non-fungible/unique token (NFT).booleanDeprecated.proto.Query.tokenGetNftInfos is deprecated.boolean* Get a record for a transaction.boolean* Get a receipt for a transaction.<br/> This only returns a receipt if the transaction is "recent", which is typically within the previous 180 seconds (3 minutes).boolean* Get a record for a transaction.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasGetByKey
boolean hasGetByKey()* Get all entities associated with a given key.
.proto.GetByKeyQuery getByKey = 1;- Returns:
- Whether the getByKey field is set.
-
getGetByKey
GetByKeyQuery getGetByKey()* Get all entities associated with a given key.
.proto.GetByKeyQuery getByKey = 1;- Returns:
- The getByKey.
-
hasGetBySolidityID
boolean hasGetBySolidityID()* Get an Hedera identifier associated with an identifier in EVM "Solidity" form.<br/> Most often used in smart contracts to find an Hedera account, file, or contract identifier to pass to a system contract or precompile.
.proto.GetBySolidityIDQuery getBySolidityID = 2;- Returns:
- Whether the getBySolidityID field is set.
-
getGetBySolidityID
GetBySolidityIDQuery getGetBySolidityID()* Get an Hedera identifier associated with an identifier in EVM "Solidity" form.<br/> Most often used in smart contracts to find an Hedera account, file, or contract identifier to pass to a system contract or precompile.
.proto.GetBySolidityIDQuery getBySolidityID = 2;- Returns:
- The getBySolidityID.
-
hasContractCallLocal
boolean hasContractCallLocal()* Call a function of a smart contract.<br/> This call is executed exclusively on the node to which it is submitted, and is much less expensive than a `contractCall` transaction.
.proto.ContractCallLocalQuery contractCallLocal = 3;- Returns:
- Whether the contractCallLocal field is set.
-
getContractCallLocal
ContractCallLocalQuery getContractCallLocal()* Call a function of a smart contract.<br/> This call is executed exclusively on the node to which it is submitted, and is much less expensive than a `contractCall` transaction.
.proto.ContractCallLocalQuery contractCallLocal = 3;- Returns:
- The contractCallLocal.
-
hasContractGetInfo
boolean hasContractGetInfo()* Get information about a smart contract.
.proto.ContractGetInfoQuery contractGetInfo = 4;- Returns:
- Whether the contractGetInfo field is set.
-
getContractGetInfo
ContractGetInfoQuery getContractGetInfo()* Get information about a smart contract.
.proto.ContractGetInfoQuery contractGetInfo = 4;- Returns:
- The contractGetInfo.
-
hasContractGetBytecode
boolean hasContractGetBytecode()* Get runtime bytecode used by a smart contract.
.proto.ContractGetBytecodeQuery contractGetBytecode = 5;- Returns:
- Whether the contractGetBytecode field is set.
-
getContractGetBytecode
ContractGetBytecodeQuery getContractGetBytecode()* Get runtime bytecode used by a smart contract.
.proto.ContractGetBytecodeQuery contractGetBytecode = 5;- Returns:
- The contractGetBytecode.
-
hasContractGetRecords
Deprecated.proto.Query.ContractGetRecords is deprecated. See query.proto;l=105* This query is unsupported and SHALL fail.<br/> Requests for this information MUST be directed to a mirror node. <p> Get Records of a smart contract.
.proto.ContractGetRecordsQuery ContractGetRecords = 6 [deprecated = true];- Returns:
- Whether the contractGetRecords field is set.
-
getContractGetRecords
Deprecated.proto.Query.ContractGetRecords is deprecated. See query.proto;l=105* This query is unsupported and SHALL fail.<br/> Requests for this information MUST be directed to a mirror node. <p> Get Records of a smart contract.
.proto.ContractGetRecordsQuery ContractGetRecords = 6 [deprecated = true];- Returns:
- The contractGetRecords.
-
hasCryptogetAccountBalance
boolean hasCryptogetAccountBalance()* Get the current HBAR balance of an Hedera account or smart contract.
.proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;- Returns:
- Whether the cryptogetAccountBalance field is set.
-
getCryptogetAccountBalance
CryptoGetAccountBalanceQuery getCryptogetAccountBalance()* Get the current HBAR balance of an Hedera account or smart contract.
.proto.CryptoGetAccountBalanceQuery cryptogetAccountBalance = 7;- Returns:
- The cryptogetAccountBalance.
-
hasCryptoGetAccountRecords
boolean hasCryptoGetAccountRecords()* Get records of all "recent" transactions for which a specified account is the effective payer.
.proto.CryptoGetAccountRecordsQuery cryptoGetAccountRecords = 8;- Returns:
- Whether the cryptoGetAccountRecords field is set.
-
getCryptoGetAccountRecords
CryptoGetAccountRecordsQuery getCryptoGetAccountRecords()* Get records of all "recent" transactions for which a specified account is the effective payer.
.proto.CryptoGetAccountRecordsQuery cryptoGetAccountRecords = 8;- Returns:
- The cryptoGetAccountRecords.
-
hasCryptoGetInfo
boolean hasCryptoGetInfo()* Get information about an account, including the balance.<br/> This does not get the list of account records.
.proto.CryptoGetInfoQuery cryptoGetInfo = 9;- Returns:
- Whether the cryptoGetInfo field is set.
-
getCryptoGetInfo
CryptoGetInfoQuery getCryptoGetInfo()* Get information about an account, including the balance.<br/> This does not get the list of account records.
.proto.CryptoGetInfoQuery cryptoGetInfo = 9;- Returns:
- The cryptoGetInfo.
-
hasCryptoGetLiveHash
Deprecated.proto.Query.cryptoGetLiveHash is deprecated. See query.proto;l=130* This query is unsupported and SHALL fail.<br/> Requests for this information MUST be directed to a mirror node. <p> Get a single livehash from a single account, if present.
.proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10 [deprecated = true];- Returns:
- Whether the cryptoGetLiveHash field is set.
-
getCryptoGetLiveHash
Deprecated.proto.Query.cryptoGetLiveHash is deprecated. See query.proto;l=130* This query is unsupported and SHALL fail.<br/> Requests for this information MUST be directed to a mirror node. <p> Get a single livehash from a single account, if present.
.proto.CryptoGetLiveHashQuery cryptoGetLiveHash = 10 [deprecated = true];- Returns:
- The cryptoGetLiveHash.
-
hasCryptoGetProxyStakers
Deprecated.proto.Query.cryptoGetProxyStakers is deprecated. See query.proto;l=138* This query is unsupported and SHALL fail.<br/> Requests for this information MUST be directed to a mirror node. <p> Get all the accounts that are proxy staking to this account.
.proto.CryptoGetStakersQuery cryptoGetProxyStakers = 11 [deprecated = true];- Returns:
- Whether the cryptoGetProxyStakers field is set.
-
getCryptoGetProxyStakers
Deprecated.proto.Query.cryptoGetProxyStakers is deprecated. See query.proto;l=138* This query is unsupported and SHALL fail.<br/> Requests for this information MUST be directed to a mirror node. <p> Get all the accounts that are proxy staking to this account.
.proto.CryptoGetStakersQuery cryptoGetProxyStakers = 11 [deprecated = true];- Returns:
- The cryptoGetProxyStakers.
-
hasFileGetContents
boolean hasFileGetContents()* Get the content of a file.
.proto.FileGetContentsQuery fileGetContents = 12;- Returns:
- Whether the fileGetContents field is set.
-
getFileGetContents
FileGetContentsQuery getFileGetContents()* Get the content of a file.
.proto.FileGetContentsQuery fileGetContents = 12;- Returns:
- The fileGetContents.
-
hasFileGetInfo
boolean hasFileGetInfo()* Get metadata for a file.
.proto.FileGetInfoQuery fileGetInfo = 13;- Returns:
- Whether the fileGetInfo field is set.
-
getFileGetInfo
FileGetInfoQuery getFileGetInfo()* Get metadata for a file.
.proto.FileGetInfoQuery fileGetInfo = 13;- Returns:
- The fileGetInfo.
-
hasTransactionGetReceipt
boolean hasTransactionGetReceipt()* Get a receipt for a transaction.<br/> This only returns a receipt if the transaction is "recent", which is typically within the previous 180 seconds (3 minutes).
.proto.TransactionGetReceiptQuery transactionGetReceipt = 14;- Returns:
- Whether the transactionGetReceipt field is set.
-
getTransactionGetReceipt
TransactionGetReceiptQuery getTransactionGetReceipt()* Get a receipt for a transaction.<br/> This only returns a receipt if the transaction is "recent", which is typically within the previous 180 seconds (3 minutes).
.proto.TransactionGetReceiptQuery transactionGetReceipt = 14;- Returns:
- The transactionGetReceipt.
-
hasTransactionGetRecord
boolean hasTransactionGetRecord()* Get a record for a transaction. This only returns a record if the transaction is "available", which is typically within the previous 1 hour.
.proto.TransactionGetRecordQuery transactionGetRecord = 15;- Returns:
- Whether the transactionGetRecord field is set.
-
getTransactionGetRecord
TransactionGetRecordQuery getTransactionGetRecord()* Get a record for a transaction. This only returns a record if the transaction is "available", which is typically within the previous 1 hour.
.proto.TransactionGetRecordQuery transactionGetRecord = 15;- Returns:
- The transactionGetRecord.
-
hasTransactionGetFastRecord
boolean hasTransactionGetFastRecord()* Get a record for a transaction. This only returns a record if the transaction is "recent", which is typically within the previous 180 seconds (3 minutes).
.proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;- Returns:
- Whether the transactionGetFastRecord field is set.
-
getTransactionGetFastRecord
TransactionGetFastRecordQuery getTransactionGetFastRecord()* Get a record for a transaction. This only returns a record if the transaction is "recent", which is typically within the previous 180 seconds (3 minutes).
.proto.TransactionGetFastRecordQuery transactionGetFastRecord = 16;- Returns:
- The transactionGetFastRecord.
-
hasConsensusGetTopicInfo
boolean hasConsensusGetTopicInfo()* Get metadata for a consensus topic.
.proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;- Returns:
- Whether the consensusGetTopicInfo field is set.
-
getConsensusGetTopicInfo
ConsensusGetTopicInfoQuery getConsensusGetTopicInfo()* Get metadata for a consensus topic.
.proto.ConsensusGetTopicInfoQuery consensusGetTopicInfo = 50;- Returns:
- The consensusGetTopicInfo.
-
hasNetworkGetVersionInfo
boolean hasNetworkGetVersionInfo()* Get the versions of Hedera Services and the HAPI API deployed on the responding consensus node.
.proto.NetworkGetVersionInfoQuery networkGetVersionInfo = 51;- Returns:
- Whether the networkGetVersionInfo field is set.
-
getNetworkGetVersionInfo
NetworkGetVersionInfoQuery getNetworkGetVersionInfo()* Get the versions of Hedera Services and the HAPI API deployed on the responding consensus node.
.proto.NetworkGetVersionInfoQuery networkGetVersionInfo = 51;- Returns:
- The networkGetVersionInfo.
-
hasTokenGetInfo
boolean hasTokenGetInfo()* Get metadata for a token.
.proto.TokenGetInfoQuery tokenGetInfo = 52;- Returns:
- Whether the tokenGetInfo field is set.
-
getTokenGetInfo
TokenGetInfoQuery getTokenGetInfo()* Get metadata for a token.
.proto.TokenGetInfoQuery tokenGetInfo = 52;- Returns:
- The tokenGetInfo.
-
hasScheduleGetInfo
boolean hasScheduleGetInfo()* Get metadata for a schedule.<br/> A schedule is a request to execute a transaction at a future time.
.proto.ScheduleGetInfoQuery scheduleGetInfo = 53;- Returns:
- Whether the scheduleGetInfo field is set.
-
getScheduleGetInfo
ScheduleGetInfoQuery getScheduleGetInfo()* Get metadata for a schedule.<br/> A schedule is a request to execute a transaction at a future time.
.proto.ScheduleGetInfoQuery scheduleGetInfo = 53;- Returns:
- The scheduleGetInfo.
-
hasTokenGetAccountNftInfos
Deprecated.proto.Query.tokenGetAccountNftInfos is deprecated. See query.proto;l=200* This query is unsupported and SHALL fail.<br/> Requests for this information MUST be directed to a mirror node. <p> Get a list of non-fungible/unique tokens associated with an account.
.proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54 [deprecated = true];- Returns:
- Whether the tokenGetAccountNftInfos field is set.
-
getTokenGetAccountNftInfos
Deprecated.proto.Query.tokenGetAccountNftInfos is deprecated. See query.proto;l=200* This query is unsupported and SHALL fail.<br/> Requests for this information MUST be directed to a mirror node. <p> Get a list of non-fungible/unique tokens associated with an account.
.proto.TokenGetAccountNftInfosQuery tokenGetAccountNftInfos = 54 [deprecated = true];- Returns:
- The tokenGetAccountNftInfos.
-
hasTokenGetNftInfo
boolean hasTokenGetNftInfo()* Get metadata for a specific, serial numbered, non-fungible/unique token (NFT).
.proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;- Returns:
- Whether the tokenGetNftInfo field is set.
-
getTokenGetNftInfo
TokenGetNftInfoQuery getTokenGetNftInfo()* Get metadata for a specific, serial numbered, non-fungible/unique token (NFT).
.proto.TokenGetNftInfoQuery tokenGetNftInfo = 55;- Returns:
- The tokenGetNftInfo.
-
hasTokenGetNftInfos
Deprecated.proto.Query.tokenGetNftInfos is deprecated. See query.proto;l=215* This query is unsupported and SHALL fail.<br/> Requests for this information MUST be directed to a mirror node. <p> Get metadata for all non-fungible/unique tokens (NFTs) of a single type within a range of indices (0-based count of minted tokens).
.proto.TokenGetNftInfosQuery tokenGetNftInfos = 56 [deprecated = true];- Returns:
- Whether the tokenGetNftInfos field is set.
-
getTokenGetNftInfos
Deprecated.proto.Query.tokenGetNftInfos is deprecated. See query.proto;l=215* This query is unsupported and SHALL fail.<br/> Requests for this information MUST be directed to a mirror node. <p> Get metadata for all non-fungible/unique tokens (NFTs) of a single type within a range of indices (0-based count of minted tokens).
.proto.TokenGetNftInfosQuery tokenGetNftInfos = 56 [deprecated = true];- Returns:
- The tokenGetNftInfos.
-
hasNetworkGetExecutionTime
Deprecated.proto.Query.networkGetExecutionTime is deprecated. See query.proto;l=223* This query is unsupported and SHALL fail.<br/> Requests for this information MUST be directed to a mirror node. <p> Get the execution time for a recent transaction.
.proto.NetworkGetExecutionTimeQuery networkGetExecutionTime = 57 [deprecated = true];- Returns:
- Whether the networkGetExecutionTime field is set.
-
getNetworkGetExecutionTime
Deprecated.proto.Query.networkGetExecutionTime is deprecated. See query.proto;l=223* This query is unsupported and SHALL fail.<br/> Requests for this information MUST be directed to a mirror node. <p> Get the execution time for a recent transaction.
.proto.NetworkGetExecutionTimeQuery networkGetExecutionTime = 57 [deprecated = true];- Returns:
- The networkGetExecutionTime.
-
hasAccountDetails
boolean hasAccountDetails()* Get detail metadata for an account.
.proto.GetAccountDetailsQuery accountDetails = 58;- Returns:
- Whether the accountDetails field is set.
-
getAccountDetails
GetAccountDetailsQuery getAccountDetails()* Get detail metadata for an account.
.proto.GetAccountDetailsQuery accountDetails = 58;- Returns:
- The accountDetails.
-
getQueryCase
Query.QueryCase getQueryCase()
-