java.lang.Object
com.hedera.hashgraph.sdk.Executable<SystemDeleteTransaction,Transaction,TransactionResponse,TransactionResponse>
com.hedera.hashgraph.sdk.Transaction<SystemDeleteTransaction>
com.hedera.hashgraph.sdk.SystemDeleteTransaction
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hedera.hashgraph.sdk.Transaction
Transaction.SignableNodeTransactionBodyBytesNested classes/interfaces inherited from class com.hedera.hashgraph.sdk.Executable
Executable.GrpcRequest -
Field Summary
Fields inherited from class com.hedera.hashgraph.sdk.Transaction
customFeeLimits, DEFAULT_AUTO_RENEW_PERIOD, defaultMaxTransactionFee, DUMMY_ACCOUNT_ID, DUMMY_TRANSACTION_ID, frozenBodyBuilder, innerSignedTransactions, outerTransactions, publicKeys, regenerateTransactionId, signers, sigPairLists, sourceTransactionBody, transactionIdsFields inherited from class com.hedera.hashgraph.sdk.Executable
attemptedAllNodes, blockingUnaryCall, grpcDeadline, logger, maxAttempts, maxBackoff, minBackoff, nodeAccountIds, nodes, random, RST_STREAM -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructor.Deprecated.Constructor.Deprecated.Constructor. -
Method Summary
Modifier and TypeMethodDescription(package private) SystemDeleteTransactionBody.Builderbuild()Deprecated.Build the transaction body.Deprecated.Extract the contract id.Deprecated.Extract the expiration time.final FileIdDeprecated.Extract the file id.(package private) io.grpc.MethodDescriptor<Transaction, TransactionResponse> Deprecated.Called to direct the invocation of the query to the appropriate gRPC service.(package private) voidDeprecated.Initialize from the transaction body.(package private) CompletableFuture<Void> onExecuteAsync(Client client) Deprecated.(package private) voidonFreeze(TransactionBody.Builder bodyBuilder) Deprecated.Called inTransaction.freezeWith(Client)just before the transaction body is built.(package private) voidonScheduled(SchedulableTransactionBody.Builder scheduled) Deprecated.Called inTransaction.schedule()when converting transaction into a scheduled version.setContractId(ContractId contractId) Deprecated.A contract identifier.setExpirationTime(Instant expirationTime) Deprecated.A timestamp indicating when the file will be removed from state.Deprecated.A file identifier.(package private) voidvalidateChecksums(Client client) Deprecated.Methods inherited from class com.hedera.hashgraph.sdk.Transaction
addSignature, addSignature, batchify, buildAllTransactions, buildTransaction, doSchedule, estimateFee, freeze, freezeWith, fromBytes, fromScheduledTransaction, generateTransactionIds, getBatchKey, getDefaultMaxTransactionFee, getExecutionState, getHighVolume, getMaxTransactionFee, getRegenerateTransactionId, getRequiredChunks, getSignableNodeBodyBytesList, getSignatures, getSignaturesAtOffset, getTransactionBodySize, getTransactionHash, getTransactionHashPerNode, getTransactionId, getTransactionIdInternal, getTransactionMemo, getTransactionSize, getTransactionValidDuration, hash, isBatchedAndNotBatchTransaction, isFrozen, keyAlreadySigned, makeRequest, mapResponse, mapResponseStatus, onExecute, regenerateTransactionId, requireNotFrozen, requireOneNodeAccountId, schedule, setBatchKey, setHighVolume, setMaxTransactionFee, setNodeAccountIds, setRegenerateTransactionId, setTransactionId, setTransactionMemo, setTransactionValidDuration, sign, signTransaction, signWith, signWithOperator, spawnBodyBuilder, toBytes, toString, wipeTransactionListsMethods inherited from class com.hedera.hashgraph.sdk.Executable
advanceRequest, checkNodeAccountIds, execute, execute, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, getGrpcRequest, getMaxAttempts, getMaxBackoff, getMaxRetry, getMinBackoff, getNodeAccountIds, getNodeForExecute, grpcDeadline, logTransaction, mergeFromClient, setGrpcDeadline, setLogger, setMaxAttempts, setMaxBackoff, setMaxRetry, setMinBackoff, setNodesFromNodeAccountIds, setRequestListener, setResponseListener, shouldRetryExceptionally
-
Constructor Details
-
SystemDeleteTransaction
public SystemDeleteTransaction()Deprecated.Constructor. -
SystemDeleteTransaction
SystemDeleteTransaction(LinkedHashMap<TransactionId, LinkedHashMap<AccountId, throws com.google.protobuf.InvalidProtocolBufferExceptionTransaction>> txs) Deprecated.Constructor.- Parameters:
txs- Compound list of transaction id's list of (AccountId, Transaction) records- Throws:
com.google.protobuf.InvalidProtocolBufferException- when there is an issue with the protobuf
-
SystemDeleteTransaction
SystemDeleteTransaction(TransactionBody txBody) Deprecated.Constructor.- Parameters:
txBody- protobuf TransactionBody
-
-
Method Details
-
getFileId
Deprecated.Extract the file id.- Returns:
- the file id
-
setFileId
Deprecated.A file identifier.The identified file MUST exist in the HFS.
The identified file MUST NOT be deleted.
The identified file MUST NOT be a "system" file.
This field is REQUIRED. Mutually exclusive withsetContractId(ContractId).- Parameters:
fileId- The FileId to be set- Returns:
this
-
getContractId
Deprecated.Extract the contract id.- Returns:
- the contract id
-
setContractId
Deprecated.A contract identifier.The identified contract MUST exist in network state.
The identified contract bytecode MUST NOT be deleted.
Mutually exclusive with
setFileId(FileId).- Parameters:
contractId- The ContractId to be set- Returns:
this
-
getExpirationTime
Deprecated.Extract the expiration time.- Returns:
- the expiration time
-
setExpirationTime
Deprecated.A timestamp indicating when the file will be removed from state.This value SHALL be expressed in seconds since the `epoch`. The `epoch` SHALL be the UNIX epoch with 0 at `1970-01-01T00:00:00.000Z`.
This field is REQUIRED.- Parameters:
expirationTime- The Instant to be set as expiration time- Returns:
this
-
build
Deprecated.Build the transaction body.- Returns:
SystemDeleteTransactionBody
-
initFromTransactionBody
void initFromTransactionBody()Deprecated.Initialize from the transaction body. -
validateChecksums
Deprecated.- Specified by:
validateChecksumsin classTransaction<SystemDeleteTransaction>- Throws:
BadEntityIdException
-
onExecuteAsync
Deprecated.- Overrides:
onExecuteAsyncin classTransaction<SystemDeleteTransaction>
-
getMethodDescriptor
io.grpc.MethodDescriptor<Transaction,TransactionResponse> getMethodDescriptor()Deprecated.Description copied from class:ExecutableCalled to direct the invocation of the query to the appropriate gRPC service.- Specified by:
getMethodDescriptorin classExecutable<SystemDeleteTransaction,Transaction, TransactionResponse, TransactionResponse>
-
onFreeze
Deprecated.Description copied from class:TransactionCalled inTransaction.freezeWith(Client)just before the transaction body is built. The intent is for the derived class to assign their data variant to the transaction body.- Specified by:
onFreezein classTransaction<SystemDeleteTransaction>
-
onScheduled
Deprecated.Description copied from class:TransactionCalled inTransaction.schedule()when converting transaction into a scheduled version.- Specified by:
onScheduledin classTransaction<SystemDeleteTransaction>
-
This transaction MUST specify an expiration timestamp (with seconds precision). The file SHALL be permanently removed from state when network consensus time exceeds the specified expiration time.
This transaction MUST be signed by an Hedera administrative ("system") account. ### What is a "system" file A "system" file is any file with a file number less than or equal to the current configuration value for `ledger.numReservedSystemEntities`, typically `750`. ### Block Stream Effects None