Interface TransactionReceiptOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
TransactionReceipt, TransactionReceipt.Builder

@Generated public interface TransactionReceiptOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    * 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 Entity
    long
    getSerialNumbers(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 Entity
    boolean
    * In the receipt of a `CreateToken`, the id of the newly created token
    boolean
    * In the receipt of a `ConsensusCreateTopic`, the id of the newly created topic.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getStatusValue

      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;
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

      ResponseCodeEnum 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;
      Returns:
      The status.
    • hasAccountID

      boolean hasAccountID()
       *
       In the receipt of a `CryptoCreate`, the id of the newly created account.
       
      .proto.AccountID accountID = 2;
      Returns:
      Whether the accountID field is set.
    • getAccountID

      AccountID getAccountID()
       *
       In the receipt of a `CryptoCreate`, the id of the newly created account.
       
      .proto.AccountID accountID = 2;
      Returns:
      The accountID.
    • hasFileID

      boolean hasFileID()
       *
       In the receipt of a `FileCreate`, the id of the newly created file.
       
      .proto.FileID fileID = 3;
      Returns:
      Whether the fileID field is set.
    • getFileID

      FileID getFileID()
       *
       In the receipt of a `FileCreate`, the id of the newly created file.
       
      .proto.FileID fileID = 3;
      Returns:
      The fileID.
    • hasContractID

      boolean hasContractID()
       *
       In the receipt of a `ContractCreate`, the id of the newly created
       contract.
       
      .proto.ContractID contractID = 4;
      Returns:
      Whether the contractID field is set.
    • getContractID

      ContractID getContractID()
       *
       In the receipt of a `ContractCreate`, the id of the newly created
       contract.
       
      .proto.ContractID contractID = 4;
      Returns:
      The contractID.
    • hasExchangeRate

      boolean hasExchangeRate()
       *
       The exchange rates in effect when the transaction reached consensus.
       
      .proto.ExchangeRateSet exchangeRate = 5;
      Returns:
      Whether the exchangeRate field is set.
    • getExchangeRate

      ExchangeRateSet getExchangeRate()
       *
       The exchange rates in effect when the transaction reached consensus.
       
      .proto.ExchangeRateSet exchangeRate = 5;
      Returns:
      The exchangeRate.
    • hasTopicID

      boolean hasTopicID()
       *
       In the receipt of a `ConsensusCreateTopic`, the id of the newly
       created topic.
       
      .proto.TopicID topicID = 6;
      Returns:
      Whether the topicID field is set.
    • getTopicID

      TopicID getTopicID()
       *
       In the receipt of a `ConsensusCreateTopic`, the id of the newly
       created topic.
       
      .proto.TopicID topicID = 6;
      Returns:
      The topicID.
    • getTopicSequenceNumber

      long getTopicSequenceNumber()
       *
       In the receipt of a `ConsensusSubmitMessage`, the new sequence
       number for the topic that received the message.
       
      uint64 topicSequenceNumber = 7;
      Returns:
      The topicSequenceNumber.
    • getTopicRunningHash

      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;
      Returns:
      The topicRunningHash.
    • getTopicRunningHashVersion

      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;
      Returns:
      The topicRunningHashVersion.
    • hasTokenID

      boolean hasTokenID()
       *
       In the receipt of a `CreateToken`, the id of the newly created token
       
      .proto.TokenID tokenID = 10;
      Returns:
      Whether the tokenID field is set.
    • getTokenID

      TokenID getTokenID()
       *
       In the receipt of a `CreateToken`, the id of the newly created token
       
      .proto.TokenID tokenID = 10;
      Returns:
      The tokenID.
    • getNewTotalSupply

      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;
      Returns:
      The newTotalSupply.
    • hasScheduleID

      boolean hasScheduleID()
       *
       In the receipt of a `ScheduleCreate`, the id of the newly created
       Scheduled Entity
       
      .proto.ScheduleID scheduleID = 12;
      Returns:
      Whether the scheduleID field is set.
    • getScheduleID

      ScheduleID getScheduleID()
       *
       In the receipt of a `ScheduleCreate`, the id of the newly created
       Scheduled Entity
       
      .proto.ScheduleID scheduleID = 12;
      Returns:
      The scheduleID.
    • hasScheduledTransactionID

      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;
      Returns:
      Whether the scheduledTransactionID field is set.
    • getScheduledTransactionID

      TransactionID 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;
      Returns:
      The scheduledTransactionID.
    • getSerialNumbersList

      List<Long> getSerialNumbersList()
       *
       In the receipt of a `TokenMint` for non-fungible/unique tokens,
       the serial numbers of the newly created tokens.
       
      repeated int64 serialNumbers = 14;
      Returns:
      A list containing the serialNumbers.
    • getSerialNumbersCount

      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;
      Returns:
      The count of serialNumbers.
    • getSerialNumbers

      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;
      Parameters:
      index - The index of the element to return.
      Returns:
      The serialNumbers at the given index.
    • getNodeId

      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;
      Returns:
      The nodeId.
    • getRegisteredNodeId

      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;
      Returns:
      The registeredNodeId.
    • hasBlockNumber

      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;
      Returns:
      Whether the blockNumber field is set.
    • getBlockNumber

      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;
      Returns:
      The blockNumber.