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
  • 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:
      getStatusValue in interface TransactionReceiptOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • setStatusValue

      public TransactionReceipt.Builder setStatusValue(int value)
       *
       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

      public 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;
      Specified by:
      getStatus in interface TransactionReceiptOrBuilder
      Returns:
      The status.
    • setStatus

      public TransactionReceipt.Builder setStatus(ResponseCodeEnum value)
       *
       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

      public TransactionReceipt.Builder 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:
      hasAccountID in interface TransactionReceiptOrBuilder
      Returns:
      Whether the accountID field is set.
    • getAccountID

      public AccountID getAccountID()
       *
       In the receipt of a `CryptoCreate`, the id of the newly created account.
       
      .proto.AccountID accountID = 2;
      Specified by:
      getAccountID in interface TransactionReceiptOrBuilder
      Returns:
      The accountID.
    • setAccountID

      public TransactionReceipt.Builder setAccountID(AccountID value)
       *
       In the receipt of a `CryptoCreate`, the id of the newly created account.
       
      .proto.AccountID accountID = 2;
    • setAccountID

      public TransactionReceipt.Builder setAccountID(AccountID.Builder builderForValue)
       *
       In the receipt of a `CryptoCreate`, the id of the newly created account.
       
      .proto.AccountID accountID = 2;
    • mergeAccountID

      public TransactionReceipt.Builder mergeAccountID(AccountID value)
       *
       In the receipt of a `CryptoCreate`, the id of the newly created account.
       
      .proto.AccountID accountID = 2;
    • clearAccountID

      public TransactionReceipt.Builder 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:
      hasFileID in interface TransactionReceiptOrBuilder
      Returns:
      Whether the fileID field is set.
    • getFileID

      public FileID getFileID()
       *
       In the receipt of a `FileCreate`, the id of the newly created file.
       
      .proto.FileID fileID = 3;
      Specified by:
      getFileID in interface TransactionReceiptOrBuilder
      Returns:
      The fileID.
    • setFileID

      public TransactionReceipt.Builder setFileID(FileID value)
       *
       In the receipt of a `FileCreate`, the id of the newly created file.
       
      .proto.FileID fileID = 3;
    • setFileID

      public TransactionReceipt.Builder setFileID(FileID.Builder builderForValue)
       *
       In the receipt of a `FileCreate`, the id of the newly created file.
       
      .proto.FileID fileID = 3;
    • mergeFileID

      public TransactionReceipt.Builder mergeFileID(FileID value)
       *
       In the receipt of a `FileCreate`, the id of the newly created file.
       
      .proto.FileID fileID = 3;
    • clearFileID

      public TransactionReceipt.Builder 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:
      hasContractID in interface TransactionReceiptOrBuilder
      Returns:
      Whether the contractID field is set.
    • getContractID

      public ContractID getContractID()
       *
       In the receipt of a `ContractCreate`, the id of the newly created
       contract.
       
      .proto.ContractID contractID = 4;
      Specified by:
      getContractID in interface TransactionReceiptOrBuilder
      Returns:
      The contractID.
    • setContractID

      public TransactionReceipt.Builder setContractID(ContractID value)
       *
       In the receipt of a `ContractCreate`, the id of the newly created
       contract.
       
      .proto.ContractID contractID = 4;
    • setContractID

      public TransactionReceipt.Builder setContractID(ContractID.Builder builderForValue)
       *
       In the receipt of a `ContractCreate`, the id of the newly created
       contract.
       
      .proto.ContractID contractID = 4;
    • mergeContractID

      public TransactionReceipt.Builder mergeContractID(ContractID value)
       *
       In the receipt of a `ContractCreate`, the id of the newly created
       contract.
       
      .proto.ContractID contractID = 4;
    • clearContractID

      public TransactionReceipt.Builder 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:
      hasExchangeRate in interface TransactionReceiptOrBuilder
      Returns:
      Whether the exchangeRate field is set.
    • getExchangeRate

      public ExchangeRateSet getExchangeRate()
       *
       The exchange rates in effect when the transaction reached consensus.
       
      .proto.ExchangeRateSet exchangeRate = 5;
      Specified by:
      getExchangeRate in interface TransactionReceiptOrBuilder
      Returns:
      The exchangeRate.
    • setExchangeRate

      public TransactionReceipt.Builder setExchangeRate(ExchangeRateSet value)
       *
       The exchange rates in effect when the transaction reached consensus.
       
      .proto.ExchangeRateSet exchangeRate = 5;
    • setExchangeRate

      public TransactionReceipt.Builder setExchangeRate(ExchangeRateSet.Builder builderForValue)
       *
       The exchange rates in effect when the transaction reached consensus.
       
      .proto.ExchangeRateSet exchangeRate = 5;
    • mergeExchangeRate

      public TransactionReceipt.Builder mergeExchangeRate(ExchangeRateSet value)
       *
       The exchange rates in effect when the transaction reached consensus.
       
      .proto.ExchangeRateSet exchangeRate = 5;
    • clearExchangeRate

      public TransactionReceipt.Builder 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:
      hasTopicID in interface TransactionReceiptOrBuilder
      Returns:
      Whether the topicID field is set.
    • getTopicID

      public TopicID getTopicID()
       *
       In the receipt of a `ConsensusCreateTopic`, the id of the newly
       created topic.
       
      .proto.TopicID topicID = 6;
      Specified by:
      getTopicID in interface TransactionReceiptOrBuilder
      Returns:
      The topicID.
    • setTopicID

      public TransactionReceipt.Builder setTopicID(TopicID value)
       *
       In the receipt of a `ConsensusCreateTopic`, the id of the newly
       created topic.
       
      .proto.TopicID topicID = 6;
    • setTopicID

      public TransactionReceipt.Builder setTopicID(TopicID.Builder builderForValue)
       *
       In the receipt of a `ConsensusCreateTopic`, the id of the newly
       created topic.
       
      .proto.TopicID topicID = 6;
    • mergeTopicID

      public TransactionReceipt.Builder mergeTopicID(TopicID value)
       *
       In the receipt of a `ConsensusCreateTopic`, the id of the newly
       created topic.
       
      .proto.TopicID topicID = 6;
    • clearTopicID

      public TransactionReceipt.Builder 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:
      getTopicSequenceNumber in interface TransactionReceiptOrBuilder
      Returns:
      The topicSequenceNumber.
    • setTopicSequenceNumber

      public TransactionReceipt.Builder setTopicSequenceNumber(long value)
       *
       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

      public TransactionReceipt.Builder 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:
      getTopicRunningHash in interface TransactionReceiptOrBuilder
      Returns:
      The topicRunningHash.
    • setTopicRunningHash

      public TransactionReceipt.Builder 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.
       <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

      public TransactionReceipt.Builder 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:
      getTopicRunningHashVersion in interface TransactionReceiptOrBuilder
      Returns:
      The topicRunningHashVersion.
    • setTopicRunningHashVersion

      public TransactionReceipt.Builder setTopicRunningHashVersion(long value)
       *
       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

      public TransactionReceipt.Builder 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:
      hasTokenID in interface TransactionReceiptOrBuilder
      Returns:
      Whether the tokenID field is set.
    • getTokenID

      public TokenID getTokenID()
       *
       In the receipt of a `CreateToken`, the id of the newly created token
       
      .proto.TokenID tokenID = 10;
      Specified by:
      getTokenID in interface TransactionReceiptOrBuilder
      Returns:
      The tokenID.
    • setTokenID

      public TransactionReceipt.Builder setTokenID(TokenID value)
       *
       In the receipt of a `CreateToken`, the id of the newly created token
       
      .proto.TokenID tokenID = 10;
    • setTokenID

      public TransactionReceipt.Builder setTokenID(TokenID.Builder builderForValue)
       *
       In the receipt of a `CreateToken`, the id of the newly created token
       
      .proto.TokenID tokenID = 10;
    • mergeTokenID

      public TransactionReceipt.Builder mergeTokenID(TokenID value)
       *
       In the receipt of a `CreateToken`, the id of the newly created token
       
      .proto.TokenID tokenID = 10;
    • clearTokenID

      public TransactionReceipt.Builder 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:
      getNewTotalSupply in interface TransactionReceiptOrBuilder
      Returns:
      The newTotalSupply.
    • setNewTotalSupply

      public TransactionReceipt.Builder 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.
       
      uint64 newTotalSupply = 11;
      Parameters:
      value - The newTotalSupply to set.
      Returns:
      This builder for chaining.
    • clearNewTotalSupply

      public TransactionReceipt.Builder 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:
      hasScheduleID in interface TransactionReceiptOrBuilder
      Returns:
      Whether the scheduleID field is set.
    • getScheduleID

      public ScheduleID getScheduleID()
       *
       In the receipt of a `ScheduleCreate`, the id of the newly created
       Scheduled Entity
       
      .proto.ScheduleID scheduleID = 12;
      Specified by:
      getScheduleID in interface TransactionReceiptOrBuilder
      Returns:
      The scheduleID.
    • setScheduleID

      public TransactionReceipt.Builder setScheduleID(ScheduleID value)
       *
       In the receipt of a `ScheduleCreate`, the id of the newly created
       Scheduled Entity
       
      .proto.ScheduleID scheduleID = 12;
    • setScheduleID

      public TransactionReceipt.Builder setScheduleID(ScheduleID.Builder builderForValue)
       *
       In the receipt of a `ScheduleCreate`, the id of the newly created
       Scheduled Entity
       
      .proto.ScheduleID scheduleID = 12;
    • mergeScheduleID

      public TransactionReceipt.Builder mergeScheduleID(ScheduleID value)
       *
       In the receipt of a `ScheduleCreate`, the id of the newly created
       Scheduled Entity
       
      .proto.ScheduleID scheduleID = 12;
    • clearScheduleID

      public TransactionReceipt.Builder 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:
      hasScheduledTransactionID in interface TransactionReceiptOrBuilder
      Returns:
      Whether the scheduledTransactionID field is set.
    • getScheduledTransactionID

      public 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;
      Specified by:
      getScheduledTransactionID in interface TransactionReceiptOrBuilder
      Returns:
      The scheduledTransactionID.
    • setScheduledTransactionID

      public TransactionReceipt.Builder setScheduledTransactionID(TransactionID value)
       *
       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

      public TransactionReceipt.Builder 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.
       
      .proto.TransactionID scheduledTransactionID = 13;
    • mergeScheduledTransactionID

      public TransactionReceipt.Builder mergeScheduledTransactionID(TransactionID value)
       *
       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

      public TransactionReceipt.Builder 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

      public 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;
      Specified by:
      getSerialNumbersList in interface TransactionReceiptOrBuilder
      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:
      getSerialNumbersCount in interface TransactionReceiptOrBuilder
      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:
      getSerialNumbers in interface TransactionReceiptOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The serialNumbers at the given index.
    • setSerialNumbers

      public TransactionReceipt.Builder setSerialNumbers(int index, long value)
       *
       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

      public TransactionReceipt.Builder addSerialNumbers(long value)
       *
       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

      public TransactionReceipt.Builder addAllSerialNumbers(Iterable<? extends Long> values)
       *
       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

      public TransactionReceipt.Builder 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:
      getNodeId in interface TransactionReceiptOrBuilder
      Returns:
      The nodeId.
    • setNodeId

      public TransactionReceipt.Builder setNodeId(long value)
       *
       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

      public TransactionReceipt.Builder 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:
      getRegisteredNodeId in interface TransactionReceiptOrBuilder
      Returns:
      The registeredNodeId.
    • setRegisteredNodeId

      public TransactionReceipt.Builder setRegisteredNodeId(long value)
       *
       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

      public TransactionReceipt.Builder 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:
      hasBlockNumber in interface TransactionReceiptOrBuilder
      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:
      getBlockNumber in interface TransactionReceiptOrBuilder
      Returns:
      The blockNumber.
    • setBlockNumber

      public TransactionReceipt.Builder setBlockNumber(com.google.protobuf.UInt64Value value)
       *
       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

      public TransactionReceipt.Builder mergeBlockNumber(com.google.protobuf.UInt64Value value)
       *
       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

      public TransactionReceipt.Builder 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;