Deprecated.
This query is no longer supported.
Requests a livehash associated to an account.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hedera.hashgraph.sdk.Executable
Executable.GrpcRequest -
Field Summary
Fields inherited from class com.hedera.hashgraph.sdk.Query
paymentTransactionId, paymentTransactionsFields inherited from class com.hedera.hashgraph.sdk.Executable
attemptedAllNodes, blockingUnaryCall, grpcDeadline, logger, maxAttempts, maxBackoff, minBackoff, nodeAccountIds, nodes, random, RST_STREAM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Extract the account id.com.google.protobuf.ByteStringgetHash()Deprecated.Extract the hash.Deprecated.Called to direct the invocation of the query to the appropriate gRPC service.(package private) QueryHeadermapRequestHeader(Query request) Deprecated.The derived class should access its request header and return.(package private) LiveHashmapResponse(Response response, AccountId nodeId, Query request) Deprecated.Called after receiving the query response from Hedera.(package private) ResponseHeadermapResponseHeader(Response response) Deprecated.The derived class should access its response header and return.(package private) voidonMakeRequest(Query.Builder queryBuilder, QueryHeader header) Deprecated.Called inQuery.makeRequest()just before the query is built.setAccountId(AccountId accountId) Deprecated.The account to which the livehash is associatedsetHash(byte[] hash) Deprecated.The SHA-384 data in the livehash(package private) voidvalidateChecksums(Client client) Deprecated.Validate the checksums.Methods inherited from class com.hedera.hashgraph.sdk.Query
getCost, getCost, getCostAsync, getCostAsync, getCostAsync, getCostAsync, getCostAsync, getCostAsync, getOperatorFromClient, getPaymentTransaction, getPaymentTransactionId, getTransactionIdInternal, isPaymentRequired, makeRequest, mapResponseStatus, onExecute, onExecuteAsync, setMaxQueryPayment, setPaymentTransactionId, setQueryPayment, toStringMethods inherited from class com.hedera.hashgraph.sdk.Executable
advanceRequest, checkNodeAccountIds, execute, execute, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, getExecutionState, getGrpcRequest, getMaxAttempts, getMaxBackoff, getMaxRetry, getMinBackoff, getNodeAccountIds, getNodeForExecute, grpcDeadline, isBatchedAndNotBatchTransaction, logTransaction, mergeFromClient, setGrpcDeadline, setLogger, setMaxAttempts, setMaxBackoff, setMaxRetry, setMinBackoff, setNodeAccountIds, setNodesFromNodeAccountIds, setRequestListener, setResponseListener, shouldRetryExceptionally
-
Constructor Details
-
LiveHashQuery
public LiveHashQuery()Deprecated.Constructor.
-
-
Method Details
-
getAccountId
Deprecated.Extract the account id.- Returns:
- the account id
-
setAccountId
Deprecated.The account to which the livehash is associated- Parameters:
accountId- The AccountId to be set- Returns:
this
-
getHash
public com.google.protobuf.ByteString getHash()Deprecated.Extract the hash.- Returns:
- the hash
-
setHash
Deprecated.The SHA-384 data in the livehash- Parameters:
hash- The array of bytes to be set as hash- Returns:
this
-
validateChecksums
Deprecated.Description copied from class:QueryValidate the checksums.- Specified by:
validateChecksumsin classQuery<LiveHash,LiveHashQuery> - Throws:
BadEntityIdException
-
onMakeRequest
Deprecated.Description copied from class:QueryCalled inQuery.makeRequest()just before the query is built. The intent is for the derived class to assign their data variant to the query.- Specified by:
onMakeRequestin classQuery<LiveHash,LiveHashQuery>
-
mapResponse
Deprecated.Description copied from class:ExecutableCalled after receiving the query response from Hedera. The derived class should map into its output type.- Specified by:
mapResponsein classExecutable<LiveHashQuery,Query, Response, LiveHash>
-
mapResponseHeader
Deprecated.Description copied from class:QueryThe derived class should access its response header and return.- Specified by:
mapResponseHeaderin classQuery<LiveHash,LiveHashQuery>
-
mapRequestHeader
Deprecated.Description copied from class:QueryThe derived class should access its request header and return.- Specified by:
mapRequestHeaderin classQuery<LiveHash,LiveHashQuery>
-
getMethodDescriptor
Deprecated.Description copied from class:ExecutableCalled to direct the invocation of the query to the appropriate gRPC service.- Specified by:
getMethodDescriptorin classExecutable<LiveHashQuery,Query, Response, LiveHash>
-