com.hedera.hashgraph.sdk.proto.TransactionRecordOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-full Show documentation
Show all versions of sdk-full Show documentation
Hedera™ Hashgraph SDK for Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: transaction_record.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface TransactionRecordOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.TransactionRecord)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* The status (reach consensus, or failed, or is unknown) and the ID of any new
* account/file/instance created.
*
*
* .proto.TransactionReceipt receipt = 1;
* @return Whether the receipt field is set.
*/
boolean hasReceipt();
/**
*
**
* The status (reach consensus, or failed, or is unknown) and the ID of any new
* account/file/instance created.
*
*
* .proto.TransactionReceipt receipt = 1;
* @return The receipt.
*/
com.hedera.hashgraph.sdk.proto.TransactionReceipt getReceipt();
/**
*
**
* The status (reach consensus, or failed, or is unknown) and the ID of any new
* account/file/instance created.
*
*
* .proto.TransactionReceipt receipt = 1;
*/
com.hedera.hashgraph.sdk.proto.TransactionReceiptOrBuilder getReceiptOrBuilder();
/**
*
**
* The hash of the Transaction that executed (not the hash of any Transaction that failed for
* having a duplicate TransactionID)
*
*
* bytes transactionHash = 2;
* @return The transactionHash.
*/
com.google.protobuf.ByteString getTransactionHash();
/**
*
**
* The consensus timestamp (or null if didn't reach consensus yet)
*
*
* .proto.Timestamp consensusTimestamp = 3;
* @return Whether the consensusTimestamp field is set.
*/
boolean hasConsensusTimestamp();
/**
*
**
* The consensus timestamp (or null if didn't reach consensus yet)
*
*
* .proto.Timestamp consensusTimestamp = 3;
* @return The consensusTimestamp.
*/
com.hedera.hashgraph.sdk.proto.Timestamp getConsensusTimestamp();
/**
*
**
* The consensus timestamp (or null if didn't reach consensus yet)
*
*
* .proto.Timestamp consensusTimestamp = 3;
*/
com.hedera.hashgraph.sdk.proto.TimestampOrBuilder getConsensusTimestampOrBuilder();
/**
*
**
* The ID of the transaction this record represents
*
*
* .proto.TransactionID transactionID = 4;
* @return Whether the transactionID field is set.
*/
boolean hasTransactionID();
/**
*
**
* The ID of the transaction this record represents
*
*
* .proto.TransactionID transactionID = 4;
* @return The transactionID.
*/
com.hedera.hashgraph.sdk.proto.TransactionID getTransactionID();
/**
*
**
* The ID of the transaction this record represents
*
*
* .proto.TransactionID transactionID = 4;
*/
com.hedera.hashgraph.sdk.proto.TransactionIDOrBuilder getTransactionIDOrBuilder();
/**
*
**
* The memo that was submitted as part of the transaction (max 100 bytes)
*
*
* string memo = 5;
* @return The memo.
*/
java.lang.String getMemo();
/**
*
**
* The memo that was submitted as part of the transaction (max 100 bytes)
*
*
* string memo = 5;
* @return The bytes for memo.
*/
com.google.protobuf.ByteString
getMemoBytes();
/**
*
**
* The actual transaction fee charged, not the original transactionFee value from
* TransactionBody
*
*
* uint64 transactionFee = 6;
* @return The transactionFee.
*/
long getTransactionFee();
/**
*
**
* Record of the value returned by the smart contract function (if it completed and didn't
* fail) from ContractCallTransaction
*
*
* .proto.ContractFunctionResult contractCallResult = 7;
* @return Whether the contractCallResult field is set.
*/
boolean hasContractCallResult();
/**
*
**
* Record of the value returned by the smart contract function (if it completed and didn't
* fail) from ContractCallTransaction
*
*
* .proto.ContractFunctionResult contractCallResult = 7;
* @return The contractCallResult.
*/
com.hedera.hashgraph.sdk.proto.ContractFunctionResult getContractCallResult();
/**
*
**
* Record of the value returned by the smart contract function (if it completed and didn't
* fail) from ContractCallTransaction
*
*
* .proto.ContractFunctionResult contractCallResult = 7;
*/
com.hedera.hashgraph.sdk.proto.ContractFunctionResultOrBuilder getContractCallResultOrBuilder();
/**
*
**
* Record of the value returned by the smart contract constructor (if it completed and
* didn't fail) from ContractCreateTransaction
*
*
* .proto.ContractFunctionResult contractCreateResult = 8;
* @return Whether the contractCreateResult field is set.
*/
boolean hasContractCreateResult();
/**
*
**
* Record of the value returned by the smart contract constructor (if it completed and
* didn't fail) from ContractCreateTransaction
*
*
* .proto.ContractFunctionResult contractCreateResult = 8;
* @return The contractCreateResult.
*/
com.hedera.hashgraph.sdk.proto.ContractFunctionResult getContractCreateResult();
/**
*
**
* Record of the value returned by the smart contract constructor (if it completed and
* didn't fail) from ContractCreateTransaction
*
*
* .proto.ContractFunctionResult contractCreateResult = 8;
*/
com.hedera.hashgraph.sdk.proto.ContractFunctionResultOrBuilder getContractCreateResultOrBuilder();
/**
*
**
* All hbar transfers as a result of this transaction, such as fees, or transfers performed by
* the transaction, or by a smart contract it calls, or by the creation of threshold records
* that it triggers.
*
*
* .proto.TransferList transferList = 10;
* @return Whether the transferList field is set.
*/
boolean hasTransferList();
/**
*
**
* All hbar transfers as a result of this transaction, such as fees, or transfers performed by
* the transaction, or by a smart contract it calls, or by the creation of threshold records
* that it triggers.
*
*
* .proto.TransferList transferList = 10;
* @return The transferList.
*/
com.hedera.hashgraph.sdk.proto.TransferList getTransferList();
/**
*
**
* All hbar transfers as a result of this transaction, such as fees, or transfers performed by
* the transaction, or by a smart contract it calls, or by the creation of threshold records
* that it triggers.
*
*
* .proto.TransferList transferList = 10;
*/
com.hedera.hashgraph.sdk.proto.TransferListOrBuilder getTransferListOrBuilder();
/**
*
**
* All Token transfers as a result of this transaction
*
*
* repeated .proto.TokenTransferList tokenTransferLists = 11;
*/
java.util.List
getTokenTransferListsList();
/**
*
**
* All Token transfers as a result of this transaction
*
*
* repeated .proto.TokenTransferList tokenTransferLists = 11;
*/
com.hedera.hashgraph.sdk.proto.TokenTransferList getTokenTransferLists(int index);
/**
*
**
* All Token transfers as a result of this transaction
*
*
* repeated .proto.TokenTransferList tokenTransferLists = 11;
*/
int getTokenTransferListsCount();
/**
*
**
* All Token transfers as a result of this transaction
*
*
* repeated .proto.TokenTransferList tokenTransferLists = 11;
*/
java.util.List extends com.hedera.hashgraph.sdk.proto.TokenTransferListOrBuilder>
getTokenTransferListsOrBuilderList();
/**
*
**
* All Token transfers as a result of this transaction
*
*
* repeated .proto.TokenTransferList tokenTransferLists = 11;
*/
com.hedera.hashgraph.sdk.proto.TokenTransferListOrBuilder getTokenTransferListsOrBuilder(
int index);
/**
*
**
* Reference to the scheduled transaction ID that this transaction record represent
*
*
* .proto.ScheduleID scheduleRef = 12;
* @return Whether the scheduleRef field is set.
*/
boolean hasScheduleRef();
/**
*
**
* Reference to the scheduled transaction ID that this transaction record represent
*
*
* .proto.ScheduleID scheduleRef = 12;
* @return The scheduleRef.
*/
com.hedera.hashgraph.sdk.proto.ScheduleID getScheduleRef();
/**
*
**
* Reference to the scheduled transaction ID that this transaction record represent
*
*
* .proto.ScheduleID scheduleRef = 12;
*/
com.hedera.hashgraph.sdk.proto.ScheduleIDOrBuilder getScheduleRefOrBuilder();
/**
*
**
* All custom fees that were assessed during a CryptoTransfer, and must be paid if the
* transaction status resolved to SUCCESS
*
*
* repeated .proto.AssessedCustomFee assessed_custom_fees = 13;
*/
java.util.List
getAssessedCustomFeesList();
/**
*
**
* All custom fees that were assessed during a CryptoTransfer, and must be paid if the
* transaction status resolved to SUCCESS
*
*
* repeated .proto.AssessedCustomFee assessed_custom_fees = 13;
*/
com.hedera.hashgraph.sdk.proto.AssessedCustomFee getAssessedCustomFees(int index);
/**
*
**
* All custom fees that were assessed during a CryptoTransfer, and must be paid if the
* transaction status resolved to SUCCESS
*
*
* repeated .proto.AssessedCustomFee assessed_custom_fees = 13;
*/
int getAssessedCustomFeesCount();
/**
*
**
* All custom fees that were assessed during a CryptoTransfer, and must be paid if the
* transaction status resolved to SUCCESS
*
*
* repeated .proto.AssessedCustomFee assessed_custom_fees = 13;
*/
java.util.List extends com.hedera.hashgraph.sdk.proto.AssessedCustomFeeOrBuilder>
getAssessedCustomFeesOrBuilderList();
/**
*
**
* All custom fees that were assessed during a CryptoTransfer, and must be paid if the
* transaction status resolved to SUCCESS
*
*
* repeated .proto.AssessedCustomFee assessed_custom_fees = 13;
*/
com.hedera.hashgraph.sdk.proto.AssessedCustomFeeOrBuilder getAssessedCustomFeesOrBuilder(
int index);
/**
*
**
* All token associations implicitly created while handling this transaction
*
*
* repeated .proto.TokenAssociation automatic_token_associations = 14;
*/
java.util.List
getAutomaticTokenAssociationsList();
/**
*
**
* All token associations implicitly created while handling this transaction
*
*
* repeated .proto.TokenAssociation automatic_token_associations = 14;
*/
com.hedera.hashgraph.sdk.proto.TokenAssociation getAutomaticTokenAssociations(int index);
/**
*
**
* All token associations implicitly created while handling this transaction
*
*
* repeated .proto.TokenAssociation automatic_token_associations = 14;
*/
int getAutomaticTokenAssociationsCount();
/**
*
**
* All token associations implicitly created while handling this transaction
*
*
* repeated .proto.TokenAssociation automatic_token_associations = 14;
*/
java.util.List extends com.hedera.hashgraph.sdk.proto.TokenAssociationOrBuilder>
getAutomaticTokenAssociationsOrBuilderList();
/**
*
**
* All token associations implicitly created while handling this transaction
*
*
* repeated .proto.TokenAssociation automatic_token_associations = 14;
*/
com.hedera.hashgraph.sdk.proto.TokenAssociationOrBuilder getAutomaticTokenAssociationsOrBuilder(
int index);
/**
*
**
* In the record of an internal transaction, the consensus timestamp of the user
* transaction that spawned it.
*
*
* .proto.Timestamp parent_consensus_timestamp = 15;
* @return Whether the parentConsensusTimestamp field is set.
*/
boolean hasParentConsensusTimestamp();
/**
*
**
* In the record of an internal transaction, the consensus timestamp of the user
* transaction that spawned it.
*
*
* .proto.Timestamp parent_consensus_timestamp = 15;
* @return The parentConsensusTimestamp.
*/
com.hedera.hashgraph.sdk.proto.Timestamp getParentConsensusTimestamp();
/**
*
**
* In the record of an internal transaction, the consensus timestamp of the user
* transaction that spawned it.
*
*
* .proto.Timestamp parent_consensus_timestamp = 15;
*/
com.hedera.hashgraph.sdk.proto.TimestampOrBuilder getParentConsensusTimestampOrBuilder();
/**
*
**
* In the record of a CryptoCreate transaction triggered by a user transaction with a
* (previously unused) alias, the new account's alias.
*
*
* bytes alias = 16;
* @return The alias.
*/
com.google.protobuf.ByteString getAlias();
/**
*
**
* The keccak256 hash of the ethereumData. This field will only be populated for
* EthereumTransaction.
*
*
* bytes ethereum_hash = 17;
* @return The ethereumHash.
*/
com.google.protobuf.ByteString getEthereumHash();
/**
*
**
* List of accounts with the corresponding staking rewards paid as a result of a transaction.
*
*
* repeated .proto.AccountAmount paid_staking_rewards = 18;
*/
java.util.List
getPaidStakingRewardsList();
/**
*
**
* List of accounts with the corresponding staking rewards paid as a result of a transaction.
*
*
* repeated .proto.AccountAmount paid_staking_rewards = 18;
*/
com.hedera.hashgraph.sdk.proto.AccountAmount getPaidStakingRewards(int index);
/**
*
**
* List of accounts with the corresponding staking rewards paid as a result of a transaction.
*
*
* repeated .proto.AccountAmount paid_staking_rewards = 18;
*/
int getPaidStakingRewardsCount();
/**
*
**
* List of accounts with the corresponding staking rewards paid as a result of a transaction.
*
*
* repeated .proto.AccountAmount paid_staking_rewards = 18;
*/
java.util.List extends com.hedera.hashgraph.sdk.proto.AccountAmountOrBuilder>
getPaidStakingRewardsOrBuilderList();
/**
*
**
* List of accounts with the corresponding staking rewards paid as a result of a transaction.
*
*
* repeated .proto.AccountAmount paid_staking_rewards = 18;
*/
com.hedera.hashgraph.sdk.proto.AccountAmountOrBuilder getPaidStakingRewardsOrBuilder(
int index);
/**
*
**
* In the record of a UtilPrng transaction with no output range, a pseudorandom 384-bit string.
*
*
* bytes prng_bytes = 19;
* @return Whether the prngBytes field is set.
*/
boolean hasPrngBytes();
/**
*
**
* In the record of a UtilPrng transaction with no output range, a pseudorandom 384-bit string.
*
*
* bytes prng_bytes = 19;
* @return The prngBytes.
*/
com.google.protobuf.ByteString getPrngBytes();
/**
*
**
* In the record of a PRNG transaction with an output range, the output of a PRNG whose input was a 384-bit string.
*
*
* int32 prng_number = 20;
* @return Whether the prngNumber field is set.
*/
boolean hasPrngNumber();
/**
*
**
* In the record of a PRNG transaction with an output range, the output of a PRNG whose input was a 384-bit string.
*
*
* int32 prng_number = 20;
* @return The prngNumber.
*/
int getPrngNumber();
/**
*
**
* The new default EVM address of the account created by this transaction.
* This field is populated only when the EVM address is not specified in the related transaction body.
*
*
* bytes evm_address = 21;
* @return The evmAddress.
*/
com.google.protobuf.ByteString getEvmAddress();
/**
*
**
* A list of pending token airdrops.
* Each pending airdrop represents a single requested transfer from a
* sending account to a recipient account. These pending transfers are
* issued unilaterally by the sending account, and MUST be claimed by the
* recipient account before the transfer MAY complete.
* A sender MAY cancel a pending airdrop before it is claimed.
* An airdrop transaction SHALL emit a pending airdrop when the recipient has no
* available automatic association slots available or when the recipient
* has set `receiver_sig_required`.
*
*
* repeated .proto.PendingAirdropRecord new_pending_airdrops = 22;
*/
java.util.List
getNewPendingAirdropsList();
/**
*
**
* A list of pending token airdrops.
* Each pending airdrop represents a single requested transfer from a
* sending account to a recipient account. These pending transfers are
* issued unilaterally by the sending account, and MUST be claimed by the
* recipient account before the transfer MAY complete.
* A sender MAY cancel a pending airdrop before it is claimed.
* An airdrop transaction SHALL emit a pending airdrop when the recipient has no
* available automatic association slots available or when the recipient
* has set `receiver_sig_required`.
*
*
* repeated .proto.PendingAirdropRecord new_pending_airdrops = 22;
*/
com.hedera.hashgraph.sdk.proto.PendingAirdropRecord getNewPendingAirdrops(int index);
/**
*
**
* A list of pending token airdrops.
* Each pending airdrop represents a single requested transfer from a
* sending account to a recipient account. These pending transfers are
* issued unilaterally by the sending account, and MUST be claimed by the
* recipient account before the transfer MAY complete.
* A sender MAY cancel a pending airdrop before it is claimed.
* An airdrop transaction SHALL emit a pending airdrop when the recipient has no
* available automatic association slots available or when the recipient
* has set `receiver_sig_required`.
*
*
* repeated .proto.PendingAirdropRecord new_pending_airdrops = 22;
*/
int getNewPendingAirdropsCount();
/**
*
**
* A list of pending token airdrops.
* Each pending airdrop represents a single requested transfer from a
* sending account to a recipient account. These pending transfers are
* issued unilaterally by the sending account, and MUST be claimed by the
* recipient account before the transfer MAY complete.
* A sender MAY cancel a pending airdrop before it is claimed.
* An airdrop transaction SHALL emit a pending airdrop when the recipient has no
* available automatic association slots available or when the recipient
* has set `receiver_sig_required`.
*
*
* repeated .proto.PendingAirdropRecord new_pending_airdrops = 22;
*/
java.util.List extends com.hedera.hashgraph.sdk.proto.PendingAirdropRecordOrBuilder>
getNewPendingAirdropsOrBuilderList();
/**
*
**
* A list of pending token airdrops.
* Each pending airdrop represents a single requested transfer from a
* sending account to a recipient account. These pending transfers are
* issued unilaterally by the sending account, and MUST be claimed by the
* recipient account before the transfer MAY complete.
* A sender MAY cancel a pending airdrop before it is claimed.
* An airdrop transaction SHALL emit a pending airdrop when the recipient has no
* available automatic association slots available or when the recipient
* has set `receiver_sig_required`.
*
*
* repeated .proto.PendingAirdropRecord new_pending_airdrops = 22;
*/
com.hedera.hashgraph.sdk.proto.PendingAirdropRecordOrBuilder getNewPendingAirdropsOrBuilder(
int index);
com.hedera.hashgraph.sdk.proto.TransactionRecord.BodyCase getBodyCase();
com.hedera.hashgraph.sdk.proto.TransactionRecord.EntropyCase getEntropyCase();
}