Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class TransactionReceipt.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<TransactionReceipt,TransactionReceipt.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<TransactionReceipt,TransactionReceipt.Builder>
com.hedera.hashgraph.sdk.proto.TransactionReceipt.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TransactionReceiptOrBuilder,Cloneable
- Enclosing class:
TransactionReceipt
public static final class TransactionReceipt.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<TransactionReceipt,TransactionReceipt.Builder>
implements TransactionReceiptOrBuilder
* The summary of a transaction's result so far.<br/> If the transaction has not reached consensus, this result will be necessarily incomplete. Most items in this object are only set for specific transactions. Those values SHALL be unset for all other transactions.Protobuf type
proto.TransactionReceipt-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllSerialNumbers(Iterable<? extends Long> values) * In the receipt of a `TokenMint` for non-fungible/unique tokens, the serial numbers of the newly created tokens.addSerialNumbers(long value) * In the receipt of a `TokenMint` for non-fungible/unique tokens, the serial numbers of the newly created tokens.* In the receipt of a `CryptoCreate`, the id of the newly created account.* The block number containing this transaction.* In the receipt of a `ContractCreate`, the id of the newly created contract.* The exchange rates in effect when the transaction reached consensus.* In the receipt of a `FileCreate`, the id of the newly created file.* In the receipt of `TokenMint`, `TokenWipe`, or `TokenBurn`.<br/> For non-unique tokens, the current total supply of that token.<br/> For unique tokens,the total number of NFTs issued for that token.* An affected node identifier.<br/> In the receipt of a NodeCreate, the id of the newly created node.* The identifier of a newly created RegisteredNode.* In the receipt of a `ScheduleCreate` or `ScheduleSign` that enables the scheduled transaction to execute immediately, the `TransactionID` that should be used to query for the receipt or record of the scheduled transaction that was executed.* In the receipt of a `ScheduleCreate`, the id of the newly created Scheduled Entity* In the receipt of a `TokenMint` for non-fungible/unique tokens, the serial numbers of the newly created tokens.* The consensus status of the transaction.* In the receipt of a `CreateToken`, the id of the newly created token* In the receipt of a `ConsensusCreateTopic`, the id of the newly created topic.* In the receipt of a `ConsensusSubmitMessage`, the new running hash of the topic that received the message.<br/> <p> The inputs to the topic running hash have changed over time.<br/> This 48-byte field is the output of a SHA-384 digest with input data determined by the value of the `topicRunningHashVersion` field.<br/> All new transactions SHALL use `topicRunningHashVersion` `3`.<br/> The bytes of each uint64 or uint32 encoded for the hash input MUST be in Big-Endian format.* In the receipt of a `ConsensusSubmitMessage`, the version of the SHA-384 digest inputs used to update the running hash.* In the receipt of a `ConsensusSubmitMessage`, the new sequence number for the topic that received the message.* In the receipt of a `CryptoCreate`, the id of the newly created account.com.google.protobuf.UInt64Value* The block number containing this transaction.* In the receipt of a `ContractCreate`, the id of the newly created contract.* The exchange rates in effect when the transaction reached consensus.* In the receipt of a `FileCreate`, the id of the newly created file.long* In the receipt of `TokenMint`, `TokenWipe`, or `TokenBurn`.<br/> For non-unique tokens, the current total supply of that token.<br/> For unique tokens,the total number of NFTs issued for that token.long* An affected node identifier.<br/> In the receipt of a NodeCreate, the id of the newly created node.long* The identifier of a newly created RegisteredNode.* In the receipt of a `ScheduleCreate` or `ScheduleSign` that enables the scheduled transaction to execute immediately, the `TransactionID` that should be used to query for the receipt or record of the scheduled transaction that was executed.* In the receipt of a `ScheduleCreate`, the id of the newly created Scheduled EntitylonggetSerialNumbers(int index) * In the receipt of a `TokenMint` for non-fungible/unique tokens, the serial numbers of the newly created tokens.int* In the receipt of a `TokenMint` for non-fungible/unique tokens, the serial numbers of the newly created tokens.* In the receipt of a `TokenMint` for non-fungible/unique tokens, the serial numbers of the newly created tokens.* The consensus status of the transaction.int* The consensus status of the transaction.* In the receipt of a `CreateToken`, the id of the newly created token* In the receipt of a `ConsensusCreateTopic`, the id of the newly created topic.com.google.protobuf.ByteString* In the receipt of a `ConsensusSubmitMessage`, the new running hash of the topic that received the message.<br/> <p> The inputs to the topic running hash have changed over time.<br/> This 48-byte field is the output of a SHA-384 digest with input data determined by the value of the `topicRunningHashVersion` field.<br/> All new transactions SHALL use `topicRunningHashVersion` `3`.<br/> The bytes of each uint64 or uint32 encoded for the hash input MUST be in Big-Endian format.long* In the receipt of a `ConsensusSubmitMessage`, the version of the SHA-384 digest inputs used to update the running hash.long* In the receipt of a `ConsensusSubmitMessage`, the new sequence number for the topic that received the message.boolean* In the receipt of a `CryptoCreate`, the id of the newly created account.boolean* The block number containing this transaction.boolean* In the receipt of a `ContractCreate`, the id of the newly created contract.boolean* The exchange rates in effect when the transaction reached consensus.boolean* In the receipt of a `FileCreate`, the id of the newly created file.boolean* In the receipt of a `ScheduleCreate` or `ScheduleSign` that enables the scheduled transaction to execute immediately, the `TransactionID` that should be used to query for the receipt or record of the scheduled transaction that was executed.boolean* In the receipt of a `ScheduleCreate`, the id of the newly created Scheduled Entityboolean* In the receipt of a `CreateToken`, the id of the newly created tokenboolean* In the receipt of a `ConsensusCreateTopic`, the id of the newly created topic.mergeAccountID(AccountID value) * In the receipt of a `CryptoCreate`, the id of the newly created account.mergeBlockNumber(com.google.protobuf.UInt64Value value) * The block number containing this transaction.mergeContractID(ContractID value) * In the receipt of a `ContractCreate`, the id of the newly created contract.mergeExchangeRate(ExchangeRateSet value) * The exchange rates in effect when the transaction reached consensus.mergeFileID(FileID value) * In the receipt of a `FileCreate`, the id of the newly created file.* In the receipt of a `ScheduleCreate` or `ScheduleSign` that enables the scheduled transaction to execute immediately, the `TransactionID` that should be used to query for the receipt or record of the scheduled transaction that was executed.mergeScheduleID(ScheduleID value) * In the receipt of a `ScheduleCreate`, the id of the newly created Scheduled EntitymergeTokenID(TokenID value) * In the receipt of a `CreateToken`, the id of the newly created tokenmergeTopicID(TopicID value) * In the receipt of a `ConsensusCreateTopic`, the id of the newly created topic.setAccountID(AccountID value) * In the receipt of a `CryptoCreate`, the id of the newly created account.setAccountID(AccountID.Builder builderForValue) * In the receipt of a `CryptoCreate`, the id of the newly created account.setBlockNumber(com.google.protobuf.UInt64Value value) * The block number containing this transaction.setBlockNumber(com.google.protobuf.UInt64Value.Builder builderForValue) * The block number containing this transaction.setContractID(ContractID value) * In the receipt of a `ContractCreate`, the id of the newly created contract.setContractID(ContractID.Builder builderForValue) * In the receipt of a `ContractCreate`, the id of the newly created contract.setExchangeRate(ExchangeRateSet value) * The exchange rates in effect when the transaction reached consensus.setExchangeRate(ExchangeRateSet.Builder builderForValue) * The exchange rates in effect when the transaction reached consensus.* In the receipt of a `FileCreate`, the id of the newly created file.setFileID(FileID.Builder builderForValue) * In the receipt of a `FileCreate`, the id of the newly created file.setNewTotalSupply(long value) * In the receipt of `TokenMint`, `TokenWipe`, or `TokenBurn`.<br/> For non-unique tokens, the current total supply of that token.<br/> For unique tokens,the total number of NFTs issued for that token.setNodeId(long value) * An affected node identifier.<br/> In the receipt of a NodeCreate, the id of the newly created node.setRegisteredNodeId(long value) * The identifier of a newly created RegisteredNode.* In the receipt of a `ScheduleCreate` or `ScheduleSign` that enables the scheduled transaction to execute immediately, the `TransactionID` that should be used to query for the receipt or record of the scheduled transaction that was executed.setScheduledTransactionID(TransactionID.Builder builderForValue) * In the receipt of a `ScheduleCreate` or `ScheduleSign` that enables the scheduled transaction to execute immediately, the `TransactionID` that should be used to query for the receipt or record of the scheduled transaction that was executed.setScheduleID(ScheduleID value) * In the receipt of a `ScheduleCreate`, the id of the newly created Scheduled EntitysetScheduleID(ScheduleID.Builder builderForValue) * In the receipt of a `ScheduleCreate`, the id of the newly created Scheduled EntitysetSerialNumbers(int index, long value) * In the receipt of a `TokenMint` for non-fungible/unique tokens, the serial numbers of the newly created tokens.setStatus(ResponseCodeEnum value) * The consensus status of the transaction.setStatusValue(int value) * The consensus status of the transaction.setTokenID(TokenID value) * In the receipt of a `CreateToken`, the id of the newly created tokensetTokenID(TokenID.Builder builderForValue) * In the receipt of a `CreateToken`, the id of the newly created tokensetTopicID(TopicID value) * In the receipt of a `ConsensusCreateTopic`, the id of the newly created topic.setTopicID(TopicID.Builder builderForValue) * In the receipt of a `ConsensusCreateTopic`, the id of the newly created topic.setTopicRunningHash(com.google.protobuf.ByteString value) * In the receipt of a `ConsensusSubmitMessage`, the new running hash of the topic that received the message.<br/> <p> The inputs to the topic running hash have changed over time.<br/> This 48-byte field is the output of a SHA-384 digest with input data determined by the value of the `topicRunningHashVersion` field.<br/> All new transactions SHALL use `topicRunningHashVersion` `3`.<br/> The bytes of each uint64 or uint32 encoded for the hash input MUST be in Big-Endian format.setTopicRunningHashVersion(long value) * In the receipt of a `ConsensusSubmitMessage`, the version of the SHA-384 digest inputs used to update the running hash.setTopicSequenceNumber(long value) * In the receipt of a `ConsensusSubmitMessage`, the new sequence number for the topic that received the message.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getStatusValue
public int getStatusValue()* The consensus status of the transaction. <p> This SHALL be `UNKNOWN` if consensus has not been reached.<br/> This SHALL be `UNKNOWN` if the associated transaction did not have a valid payer signature.
.proto.ResponseCodeEnum status = 1;- Specified by:
getStatusValuein interfaceTransactionReceiptOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
* The consensus status of the transaction. <p> This SHALL be `UNKNOWN` if consensus has not been reached.<br/> This SHALL be `UNKNOWN` if the associated transaction did not have a valid payer signature.
.proto.ResponseCodeEnum status = 1;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
- Throws:
IllegalArgumentException- if UNRECOGNIZED is provided.
-
getStatus
* The consensus status of the transaction. <p> This SHALL be `UNKNOWN` if consensus has not been reached.<br/> This SHALL be `UNKNOWN` if the associated transaction did not have a valid payer signature.
.proto.ResponseCodeEnum status = 1;- Specified by:
getStatusin interfaceTransactionReceiptOrBuilder- Returns:
- The status.
-
setStatus
* The consensus status of the transaction. <p> This SHALL be `UNKNOWN` if consensus has not been reached.<br/> This SHALL be `UNKNOWN` if the associated transaction did not have a valid payer signature.
.proto.ResponseCodeEnum status = 1;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
clearStatus
* The consensus status of the transaction. <p> This SHALL be `UNKNOWN` if consensus has not been reached.<br/> This SHALL be `UNKNOWN` if the associated transaction did not have a valid payer signature.
.proto.ResponseCodeEnum status = 1;- Returns:
- This builder for chaining.
-
hasAccountID
public boolean hasAccountID()* In the receipt of a `CryptoCreate`, the id of the newly created account.
.proto.AccountID accountID = 2;- Specified by:
hasAccountIDin interfaceTransactionReceiptOrBuilder- Returns:
- Whether the accountID field is set.
-
getAccountID
* In the receipt of a `CryptoCreate`, the id of the newly created account.
.proto.AccountID accountID = 2;- Specified by:
getAccountIDin interfaceTransactionReceiptOrBuilder- Returns:
- The accountID.
-
setAccountID
* In the receipt of a `CryptoCreate`, the id of the newly created account.
.proto.AccountID accountID = 2; -
setAccountID
* In the receipt of a `CryptoCreate`, the id of the newly created account.
.proto.AccountID accountID = 2; -
mergeAccountID
* In the receipt of a `CryptoCreate`, the id of the newly created account.
.proto.AccountID accountID = 2; -
clearAccountID
* In the receipt of a `CryptoCreate`, the id of the newly created account.
.proto.AccountID accountID = 2; -
hasFileID
public boolean hasFileID()* In the receipt of a `FileCreate`, the id of the newly created file.
.proto.FileID fileID = 3;- Specified by:
hasFileIDin interfaceTransactionReceiptOrBuilder- Returns:
- Whether the fileID field is set.
-
getFileID
* In the receipt of a `FileCreate`, the id of the newly created file.
.proto.FileID fileID = 3;- Specified by:
getFileIDin interfaceTransactionReceiptOrBuilder- Returns:
- The fileID.
-
setFileID
* In the receipt of a `FileCreate`, the id of the newly created file.
.proto.FileID fileID = 3; -
setFileID
* In the receipt of a `FileCreate`, the id of the newly created file.
.proto.FileID fileID = 3; -
mergeFileID
* In the receipt of a `FileCreate`, the id of the newly created file.
.proto.FileID fileID = 3; -
clearFileID
* In the receipt of a `FileCreate`, the id of the newly created file.
.proto.FileID fileID = 3; -
hasContractID
public boolean hasContractID()* In the receipt of a `ContractCreate`, the id of the newly created contract.
.proto.ContractID contractID = 4;- Specified by:
hasContractIDin interfaceTransactionReceiptOrBuilder- Returns:
- Whether the contractID field is set.
-
getContractID
* In the receipt of a `ContractCreate`, the id of the newly created contract.
.proto.ContractID contractID = 4;- Specified by:
getContractIDin interfaceTransactionReceiptOrBuilder- Returns:
- The contractID.
-
setContractID
* In the receipt of a `ContractCreate`, the id of the newly created contract.
.proto.ContractID contractID = 4; -
setContractID
* In the receipt of a `ContractCreate`, the id of the newly created contract.
.proto.ContractID contractID = 4; -
mergeContractID
* In the receipt of a `ContractCreate`, the id of the newly created contract.
.proto.ContractID contractID = 4; -
clearContractID
* In the receipt of a `ContractCreate`, the id of the newly created contract.
.proto.ContractID contractID = 4; -
hasExchangeRate
public boolean hasExchangeRate()* The exchange rates in effect when the transaction reached consensus.
.proto.ExchangeRateSet exchangeRate = 5;- Specified by:
hasExchangeRatein interfaceTransactionReceiptOrBuilder- Returns:
- Whether the exchangeRate field is set.
-
getExchangeRate
* The exchange rates in effect when the transaction reached consensus.
.proto.ExchangeRateSet exchangeRate = 5;- Specified by:
getExchangeRatein interfaceTransactionReceiptOrBuilder- Returns:
- The exchangeRate.
-
setExchangeRate
* The exchange rates in effect when the transaction reached consensus.
.proto.ExchangeRateSet exchangeRate = 5; -
setExchangeRate
* The exchange rates in effect when the transaction reached consensus.
.proto.ExchangeRateSet exchangeRate = 5; -
mergeExchangeRate
* The exchange rates in effect when the transaction reached consensus.
.proto.ExchangeRateSet exchangeRate = 5; -
clearExchangeRate
* The exchange rates in effect when the transaction reached consensus.
.proto.ExchangeRateSet exchangeRate = 5; -
hasTopicID
public boolean hasTopicID()* In the receipt of a `ConsensusCreateTopic`, the id of the newly created topic.
.proto.TopicID topicID = 6;- Specified by:
hasTopicIDin interfaceTransactionReceiptOrBuilder- Returns:
- Whether the topicID field is set.
-
getTopicID
* In the receipt of a `ConsensusCreateTopic`, the id of the newly created topic.
.proto.TopicID topicID = 6;- Specified by:
getTopicIDin interfaceTransactionReceiptOrBuilder- Returns:
- The topicID.
-
setTopicID
* In the receipt of a `ConsensusCreateTopic`, the id of the newly created topic.
.proto.TopicID topicID = 6; -
setTopicID
* In the receipt of a `ConsensusCreateTopic`, the id of the newly created topic.
.proto.TopicID topicID = 6; -
mergeTopicID
* In the receipt of a `ConsensusCreateTopic`, the id of the newly created topic.
.proto.TopicID topicID = 6; -
clearTopicID
* In the receipt of a `ConsensusCreateTopic`, the id of the newly created topic.
.proto.TopicID topicID = 6; -
getTopicSequenceNumber
public long getTopicSequenceNumber()* In the receipt of a `ConsensusSubmitMessage`, the new sequence number for the topic that received the message.
uint64 topicSequenceNumber = 7;- Specified by:
getTopicSequenceNumberin interfaceTransactionReceiptOrBuilder- Returns:
- The topicSequenceNumber.
-
setTopicSequenceNumber
* In the receipt of a `ConsensusSubmitMessage`, the new sequence number for the topic that received the message.
uint64 topicSequenceNumber = 7;- Parameters:
value- The topicSequenceNumber to set.- Returns:
- This builder for chaining.
-
clearTopicSequenceNumber
* In the receipt of a `ConsensusSubmitMessage`, the new sequence number for the topic that received the message.
uint64 topicSequenceNumber = 7;- Returns:
- This builder for chaining.
-
getTopicRunningHash
public com.google.protobuf.ByteString getTopicRunningHash()* In the receipt of a `ConsensusSubmitMessage`, the new running hash of the topic that received the message.<br/> <p> The inputs to the topic running hash have changed over time.<br/> This 48-byte field is the output of a SHA-384 digest with input data determined by the value of the `topicRunningHashVersion` field.<br/> All new transactions SHALL use `topicRunningHashVersion` `3`.<br/> The bytes of each uint64 or uint32 encoded for the hash input MUST be in Big-Endian format. <p> <hr style="margin: 0.2em 5em 0.2em 5em; height: 0.5em; border-style: solid none solid none; border-width: 2px;"/> <p> The most recent version is denoted by `topicRunningHashVersion = 3`. <p> This version SHALL include, in order <ol> <li>The previous running hash of the topic (48 bytes)</li> <li>The `topic_running_hash_version` field (8 bytes)</li> <li>The payer account's shard (8 bytes)</li> <li>The payer account's realm (8 bytes)</li> <li>The payer account's number (8 bytes)</li> <li>The topic's shard (8 bytes)</li> <li>The topic's realm (8 bytes)</li> <li>The topic's number (8 bytes)</li> <li>The number of seconds since the epoch when the `ConsensusSubmitMessage` reached consensus (8 bytes)</li> <li>The number of nanoseconds within the second when the `ConsensusSubmitMessage` reached consensus (4 bytes)</li> <li>The `topic_sequence_number` field (8 bytes)</li> <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage` (48 bytes)</li> </ol> <hr style="margin: 0.2em 5em 0.2em 5em; height: 0.5em; border-style: solid none solid none; border-width: 2px;"/> <p> The next older version is denoted by `topicRunningHashVersion = 2`. <p> This version SHALL include, in order <ol> <li>The previous running hash of the topic (48 bytes)</li> <li>The `topic_running_hash_version` field (8 bytes)</li> <li>The topic's shard (8 bytes)</li> <li>The topic's realm (8 bytes)</li> <li>The topic's number (8 bytes)</li> <li>The number of seconds since the epoch when the `ConsensusSubmitMessage` reached consensus (8 bytes)</li> <li>The number of nanoseconds within the second when the `ConsensusSubmitMessage` reached consensus (4 bytes)</li> <li>The `topic_sequence_number` field (8 bytes)</li> <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage` (48 bytes)</li> </ol> <hr style="margin: 0.2em 5em 0.2em 5em; height: 0.5em; border-style: solid none solid none; border-width: 2px;"/> <p> The original version, used at genesis, is denoted by `topicRunningHashVersion = 1` or `topicRunningHashVersion = 0`. <p> This version SHALL include, in order <ol> <li>The previous running hash of the topic (48 bytes)</li> <li>The topic's shard (8 bytes)</li> <li>The topic's realm (8 bytes)</li> <li>The topic's number (8 bytes)</li> <li>The number of seconds since the epoch when the `ConsensusSubmitMessage` reached consensus (8 bytes)</li> <li>The number of nanoseconds within the second when the `ConsensusSubmitMessage` reached consensus (4 bytes)</li> <li>The `topic_sequence_number` field (8 bytes)</li> <li>The message bytes from the `ConsensusSubmitMessage` (variable)</li> </ol>
bytes topicRunningHash = 8;- Specified by:
getTopicRunningHashin interfaceTransactionReceiptOrBuilder- Returns:
- The topicRunningHash.
-
setTopicRunningHash
* In the receipt of a `ConsensusSubmitMessage`, the new running hash of the topic that received the message.<br/> <p> The inputs to the topic running hash have changed over time.<br/> This 48-byte field is the output of a SHA-384 digest with input data determined by the value of the `topicRunningHashVersion` field.<br/> All new transactions SHALL use `topicRunningHashVersion` `3`.<br/> The bytes of each uint64 or uint32 encoded for the hash input MUST be in Big-Endian format. <p> <hr style="margin: 0.2em 5em 0.2em 5em; height: 0.5em; border-style: solid none solid none; border-width: 2px;"/> <p> The most recent version is denoted by `topicRunningHashVersion = 3`. <p> This version SHALL include, in order <ol> <li>The previous running hash of the topic (48 bytes)</li> <li>The `topic_running_hash_version` field (8 bytes)</li> <li>The payer account's shard (8 bytes)</li> <li>The payer account's realm (8 bytes)</li> <li>The payer account's number (8 bytes)</li> <li>The topic's shard (8 bytes)</li> <li>The topic's realm (8 bytes)</li> <li>The topic's number (8 bytes)</li> <li>The number of seconds since the epoch when the `ConsensusSubmitMessage` reached consensus (8 bytes)</li> <li>The number of nanoseconds within the second when the `ConsensusSubmitMessage` reached consensus (4 bytes)</li> <li>The `topic_sequence_number` field (8 bytes)</li> <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage` (48 bytes)</li> </ol> <hr style="margin: 0.2em 5em 0.2em 5em; height: 0.5em; border-style: solid none solid none; border-width: 2px;"/> <p> The next older version is denoted by `topicRunningHashVersion = 2`. <p> This version SHALL include, in order <ol> <li>The previous running hash of the topic (48 bytes)</li> <li>The `topic_running_hash_version` field (8 bytes)</li> <li>The topic's shard (8 bytes)</li> <li>The topic's realm (8 bytes)</li> <li>The topic's number (8 bytes)</li> <li>The number of seconds since the epoch when the `ConsensusSubmitMessage` reached consensus (8 bytes)</li> <li>The number of nanoseconds within the second when the `ConsensusSubmitMessage` reached consensus (4 bytes)</li> <li>The `topic_sequence_number` field (8 bytes)</li> <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage` (48 bytes)</li> </ol> <hr style="margin: 0.2em 5em 0.2em 5em; height: 0.5em; border-style: solid none solid none; border-width: 2px;"/> <p> The original version, used at genesis, is denoted by `topicRunningHashVersion = 1` or `topicRunningHashVersion = 0`. <p> This version SHALL include, in order <ol> <li>The previous running hash of the topic (48 bytes)</li> <li>The topic's shard (8 bytes)</li> <li>The topic's realm (8 bytes)</li> <li>The topic's number (8 bytes)</li> <li>The number of seconds since the epoch when the `ConsensusSubmitMessage` reached consensus (8 bytes)</li> <li>The number of nanoseconds within the second when the `ConsensusSubmitMessage` reached consensus (4 bytes)</li> <li>The `topic_sequence_number` field (8 bytes)</li> <li>The message bytes from the `ConsensusSubmitMessage` (variable)</li> </ol>
bytes topicRunningHash = 8;- Parameters:
value- The topicRunningHash to set.- Returns:
- This builder for chaining.
-
clearTopicRunningHash
* In the receipt of a `ConsensusSubmitMessage`, the new running hash of the topic that received the message.<br/> <p> The inputs to the topic running hash have changed over time.<br/> This 48-byte field is the output of a SHA-384 digest with input data determined by the value of the `topicRunningHashVersion` field.<br/> All new transactions SHALL use `topicRunningHashVersion` `3`.<br/> The bytes of each uint64 or uint32 encoded for the hash input MUST be in Big-Endian format. <p> <hr style="margin: 0.2em 5em 0.2em 5em; height: 0.5em; border-style: solid none solid none; border-width: 2px;"/> <p> The most recent version is denoted by `topicRunningHashVersion = 3`. <p> This version SHALL include, in order <ol> <li>The previous running hash of the topic (48 bytes)</li> <li>The `topic_running_hash_version` field (8 bytes)</li> <li>The payer account's shard (8 bytes)</li> <li>The payer account's realm (8 bytes)</li> <li>The payer account's number (8 bytes)</li> <li>The topic's shard (8 bytes)</li> <li>The topic's realm (8 bytes)</li> <li>The topic's number (8 bytes)</li> <li>The number of seconds since the epoch when the `ConsensusSubmitMessage` reached consensus (8 bytes)</li> <li>The number of nanoseconds within the second when the `ConsensusSubmitMessage` reached consensus (4 bytes)</li> <li>The `topic_sequence_number` field (8 bytes)</li> <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage` (48 bytes)</li> </ol> <hr style="margin: 0.2em 5em 0.2em 5em; height: 0.5em; border-style: solid none solid none; border-width: 2px;"/> <p> The next older version is denoted by `topicRunningHashVersion = 2`. <p> This version SHALL include, in order <ol> <li>The previous running hash of the topic (48 bytes)</li> <li>The `topic_running_hash_version` field (8 bytes)</li> <li>The topic's shard (8 bytes)</li> <li>The topic's realm (8 bytes)</li> <li>The topic's number (8 bytes)</li> <li>The number of seconds since the epoch when the `ConsensusSubmitMessage` reached consensus (8 bytes)</li> <li>The number of nanoseconds within the second when the `ConsensusSubmitMessage` reached consensus (4 bytes)</li> <li>The `topic_sequence_number` field (8 bytes)</li> <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage` (48 bytes)</li> </ol> <hr style="margin: 0.2em 5em 0.2em 5em; height: 0.5em; border-style: solid none solid none; border-width: 2px;"/> <p> The original version, used at genesis, is denoted by `topicRunningHashVersion = 1` or `topicRunningHashVersion = 0`. <p> This version SHALL include, in order <ol> <li>The previous running hash of the topic (48 bytes)</li> <li>The topic's shard (8 bytes)</li> <li>The topic's realm (8 bytes)</li> <li>The topic's number (8 bytes)</li> <li>The number of seconds since the epoch when the `ConsensusSubmitMessage` reached consensus (8 bytes)</li> <li>The number of nanoseconds within the second when the `ConsensusSubmitMessage` reached consensus (4 bytes)</li> <li>The `topic_sequence_number` field (8 bytes)</li> <li>The message bytes from the `ConsensusSubmitMessage` (variable)</li> </ol>
bytes topicRunningHash = 8;- Returns:
- This builder for chaining.
-
getTopicRunningHashVersion
public long getTopicRunningHashVersion()* In the receipt of a `ConsensusSubmitMessage`, the version of the SHA-384 digest inputs used to update the running hash.
uint64 topicRunningHashVersion = 9;- Specified by:
getTopicRunningHashVersionin interfaceTransactionReceiptOrBuilder- Returns:
- The topicRunningHashVersion.
-
setTopicRunningHashVersion
* In the receipt of a `ConsensusSubmitMessage`, the version of the SHA-384 digest inputs used to update the running hash.
uint64 topicRunningHashVersion = 9;- Parameters:
value- The topicRunningHashVersion to set.- Returns:
- This builder for chaining.
-
clearTopicRunningHashVersion
* In the receipt of a `ConsensusSubmitMessage`, the version of the SHA-384 digest inputs used to update the running hash.
uint64 topicRunningHashVersion = 9;- Returns:
- This builder for chaining.
-
hasTokenID
public boolean hasTokenID()* In the receipt of a `CreateToken`, the id of the newly created token
.proto.TokenID tokenID = 10;- Specified by:
hasTokenIDin interfaceTransactionReceiptOrBuilder- Returns:
- Whether the tokenID field is set.
-
getTokenID
* In the receipt of a `CreateToken`, the id of the newly created token
.proto.TokenID tokenID = 10;- Specified by:
getTokenIDin interfaceTransactionReceiptOrBuilder- Returns:
- The tokenID.
-
setTokenID
* In the receipt of a `CreateToken`, the id of the newly created token
.proto.TokenID tokenID = 10; -
setTokenID
* In the receipt of a `CreateToken`, the id of the newly created token
.proto.TokenID tokenID = 10; -
mergeTokenID
* In the receipt of a `CreateToken`, the id of the newly created token
.proto.TokenID tokenID = 10; -
clearTokenID
* In the receipt of a `CreateToken`, the id of the newly created token
.proto.TokenID tokenID = 10; -
getNewTotalSupply
public long getNewTotalSupply()* In the receipt of `TokenMint`, `TokenWipe`, or `TokenBurn`.<br/> For non-unique tokens, the current total supply of that token.<br/> For unique tokens,the total number of NFTs issued for that token.
uint64 newTotalSupply = 11;- Specified by:
getNewTotalSupplyin interfaceTransactionReceiptOrBuilder- Returns:
- The newTotalSupply.
-
setNewTotalSupply
* In the receipt of `TokenMint`, `TokenWipe`, or `TokenBurn`.<br/> For non-unique tokens, the current total supply of that token.<br/> For unique tokens,the total number of NFTs issued for that token.
uint64 newTotalSupply = 11;- Parameters:
value- The newTotalSupply to set.- Returns:
- This builder for chaining.
-
clearNewTotalSupply
* In the receipt of `TokenMint`, `TokenWipe`, or `TokenBurn`.<br/> For non-unique tokens, the current total supply of that token.<br/> For unique tokens,the total number of NFTs issued for that token.
uint64 newTotalSupply = 11;- Returns:
- This builder for chaining.
-
hasScheduleID
public boolean hasScheduleID()* In the receipt of a `ScheduleCreate`, the id of the newly created Scheduled Entity
.proto.ScheduleID scheduleID = 12;- Specified by:
hasScheduleIDin interfaceTransactionReceiptOrBuilder- Returns:
- Whether the scheduleID field is set.
-
getScheduleID
* In the receipt of a `ScheduleCreate`, the id of the newly created Scheduled Entity
.proto.ScheduleID scheduleID = 12;- Specified by:
getScheduleIDin interfaceTransactionReceiptOrBuilder- Returns:
- The scheduleID.
-
setScheduleID
* In the receipt of a `ScheduleCreate`, the id of the newly created Scheduled Entity
.proto.ScheduleID scheduleID = 12; -
setScheduleID
* In the receipt of a `ScheduleCreate`, the id of the newly created Scheduled Entity
.proto.ScheduleID scheduleID = 12; -
mergeScheduleID
* In the receipt of a `ScheduleCreate`, the id of the newly created Scheduled Entity
.proto.ScheduleID scheduleID = 12; -
clearScheduleID
* In the receipt of a `ScheduleCreate`, the id of the newly created Scheduled Entity
.proto.ScheduleID scheduleID = 12; -
hasScheduledTransactionID
public boolean hasScheduledTransactionID()* In the receipt of a `ScheduleCreate` or `ScheduleSign` that enables the scheduled transaction to execute immediately, the `TransactionID` that should be used to query for the receipt or record of the scheduled transaction that was executed.
.proto.TransactionID scheduledTransactionID = 13;- Specified by:
hasScheduledTransactionIDin interfaceTransactionReceiptOrBuilder- Returns:
- Whether the scheduledTransactionID field is set.
-
getScheduledTransactionID
* In the receipt of a `ScheduleCreate` or `ScheduleSign` that enables the scheduled transaction to execute immediately, the `TransactionID` that should be used to query for the receipt or record of the scheduled transaction that was executed.
.proto.TransactionID scheduledTransactionID = 13;- Specified by:
getScheduledTransactionIDin interfaceTransactionReceiptOrBuilder- Returns:
- The scheduledTransactionID.
-
setScheduledTransactionID
* In the receipt of a `ScheduleCreate` or `ScheduleSign` that enables the scheduled transaction to execute immediately, the `TransactionID` that should be used to query for the receipt or record of the scheduled transaction that was executed.
.proto.TransactionID scheduledTransactionID = 13; -
setScheduledTransactionID
* In the receipt of a `ScheduleCreate` or `ScheduleSign` that enables the scheduled transaction to execute immediately, the `TransactionID` that should be used to query for the receipt or record of the scheduled transaction that was executed.
.proto.TransactionID scheduledTransactionID = 13; -
mergeScheduledTransactionID
* In the receipt of a `ScheduleCreate` or `ScheduleSign` that enables the scheduled transaction to execute immediately, the `TransactionID` that should be used to query for the receipt or record of the scheduled transaction that was executed.
.proto.TransactionID scheduledTransactionID = 13; -
clearScheduledTransactionID
* In the receipt of a `ScheduleCreate` or `ScheduleSign` that enables the scheduled transaction to execute immediately, the `TransactionID` that should be used to query for the receipt or record of the scheduled transaction that was executed.
.proto.TransactionID scheduledTransactionID = 13; -
getSerialNumbersList
* In the receipt of a `TokenMint` for non-fungible/unique tokens, the serial numbers of the newly created tokens.
repeated int64 serialNumbers = 14;- Specified by:
getSerialNumbersListin interfaceTransactionReceiptOrBuilder- Returns:
- A list containing the serialNumbers.
-
getSerialNumbersCount
public int getSerialNumbersCount()* In the receipt of a `TokenMint` for non-fungible/unique tokens, the serial numbers of the newly created tokens.
repeated int64 serialNumbers = 14;- Specified by:
getSerialNumbersCountin interfaceTransactionReceiptOrBuilder- Returns:
- The count of serialNumbers.
-
getSerialNumbers
public long getSerialNumbers(int index) * In the receipt of a `TokenMint` for non-fungible/unique tokens, the serial numbers of the newly created tokens.
repeated int64 serialNumbers = 14;- Specified by:
getSerialNumbersin interfaceTransactionReceiptOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The serialNumbers at the given index.
-
setSerialNumbers
* In the receipt of a `TokenMint` for non-fungible/unique tokens, the serial numbers of the newly created tokens.
repeated int64 serialNumbers = 14;- Parameters:
value- The serialNumbers to set.- Returns:
- This builder for chaining.
-
addSerialNumbers
* In the receipt of a `TokenMint` for non-fungible/unique tokens, the serial numbers of the newly created tokens.
repeated int64 serialNumbers = 14;- Parameters:
value- The serialNumbers to add.- Returns:
- This builder for chaining.
-
addAllSerialNumbers
* In the receipt of a `TokenMint` for non-fungible/unique tokens, the serial numbers of the newly created tokens.
repeated int64 serialNumbers = 14;- Parameters:
values- The serialNumbers to add.- Returns:
- This builder for chaining.
-
clearSerialNumbers
* In the receipt of a `TokenMint` for non-fungible/unique tokens, the serial numbers of the newly created tokens.
repeated int64 serialNumbers = 14;- Returns:
- This builder for chaining.
-
getNodeId
public long getNodeId()* An affected node identifier.<br/> In the receipt of a NodeCreate, the id of the newly created node. <p> This value SHALL be set following a `createNode` transaction.<br/> This value SHALL NOT be set following any other transaction.
uint64 node_id = 15;- Specified by:
getNodeIdin interfaceTransactionReceiptOrBuilder- Returns:
- The nodeId.
-
setNodeId
* An affected node identifier.<br/> In the receipt of a NodeCreate, the id of the newly created node. <p> This value SHALL be set following a `createNode` transaction.<br/> This value SHALL NOT be set following any other transaction.
uint64 node_id = 15;- Parameters:
value- The nodeId to set.- Returns:
- This builder for chaining.
-
clearNodeId
* An affected node identifier.<br/> In the receipt of a NodeCreate, the id of the newly created node. <p> This value SHALL be set following a `createNode` transaction.<br/> This value SHALL NOT be set following any other transaction.
uint64 node_id = 15;- Returns:
- This builder for chaining.
-
getRegisteredNodeId
public long getRegisteredNodeId()* The identifier of a newly created RegisteredNode. <p> This value SHALL be set following a `createRegisteredNode` transaction.<br/> This value SHALL NOT be set following any other transaction.<br/> This value SHALL be unique within a given network.
uint64 registered_node_id = 16;- Specified by:
getRegisteredNodeIdin interfaceTransactionReceiptOrBuilder- Returns:
- The registeredNodeId.
-
setRegisteredNodeId
* The identifier of a newly created RegisteredNode. <p> This value SHALL be set following a `createRegisteredNode` transaction.<br/> This value SHALL NOT be set following any other transaction.<br/> This value SHALL be unique within a given network.
uint64 registered_node_id = 16;- Parameters:
value- The registeredNodeId to set.- Returns:
- This builder for chaining.
-
clearRegisteredNodeId
* The identifier of a newly created RegisteredNode. <p> This value SHALL be set following a `createRegisteredNode` transaction.<br/> This value SHALL NOT be set following any other transaction.<br/> This value SHALL be unique within a given network.
uint64 registered_node_id = 16;- Returns:
- This builder for chaining.
-
hasBlockNumber
public boolean hasBlockNumber()* The block number containing this transaction. <p> This value SHALL be unset or default if consensus has not been reached or the block assignment is not yet known.<br/> Once known, this value SHALL identify the block containing the transaction represented by this receipt.
.google.protobuf.UInt64Value block_number = 17;- Specified by:
hasBlockNumberin interfaceTransactionReceiptOrBuilder- Returns:
- Whether the blockNumber field is set.
-
getBlockNumber
public com.google.protobuf.UInt64Value getBlockNumber()* The block number containing this transaction. <p> This value SHALL be unset or default if consensus has not been reached or the block assignment is not yet known.<br/> Once known, this value SHALL identify the block containing the transaction represented by this receipt.
.google.protobuf.UInt64Value block_number = 17;- Specified by:
getBlockNumberin interfaceTransactionReceiptOrBuilder- Returns:
- The blockNumber.
-
setBlockNumber
* The block number containing this transaction. <p> This value SHALL be unset or default if consensus has not been reached or the block assignment is not yet known.<br/> Once known, this value SHALL identify the block containing the transaction represented by this receipt.
.google.protobuf.UInt64Value block_number = 17; -
setBlockNumber
public TransactionReceipt.Builder setBlockNumber(com.google.protobuf.UInt64Value.Builder builderForValue) * The block number containing this transaction. <p> This value SHALL be unset or default if consensus has not been reached or the block assignment is not yet known.<br/> Once known, this value SHALL identify the block containing the transaction represented by this receipt.
.google.protobuf.UInt64Value block_number = 17; -
mergeBlockNumber
* The block number containing this transaction. <p> This value SHALL be unset or default if consensus has not been reached or the block assignment is not yet known.<br/> Once known, this value SHALL identify the block containing the transaction represented by this receipt.
.google.protobuf.UInt64Value block_number = 17; -
clearBlockNumber
* The block number containing this transaction. <p> This value SHALL be unset or default if consensus has not been reached or the block assignment is not yet known.<br/> Once known, this value SHALL identify the block containing the transaction represented by this receipt.
.google.protobuf.UInt64Value block_number = 17;
-