// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: transaction_receipt.proto
package com.hedera.hashgraph.sdk.proto;
/**
*
**
* The summary of a transaction's result so far. If the transaction has not reached consensus, this
* result will be necessarily incomplete.
*
*
* Protobuf type {@code proto.TransactionReceipt}
*/
public final class TransactionReceipt extends
com.google.protobuf.GeneratedMessageLite<
TransactionReceipt, TransactionReceipt.Builder> implements
// @@protoc_insertion_point(message_implements:proto.TransactionReceipt)
TransactionReceiptOrBuilder {
private TransactionReceipt() {
topicRunningHash_ = com.google.protobuf.ByteString.EMPTY;
serialNumbers_ = emptyLongList();
}
public static final int STATUS_FIELD_NUMBER = 1;
private int status_;
/**
*
**
* The consensus status of the transaction; is UNKNOWN if consensus has not been reached, or if
* the associated transaction did not have a valid payer signature
*
*
* .proto.ResponseCodeEnum status = 1;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override
public int getStatusValue() {
return status_;
}
/**
*
**
* The consensus status of the transaction; is UNKNOWN if consensus has not been reached, or if
* the associated transaction did not have a valid payer signature
*
*
* .proto.ResponseCodeEnum status = 1;
* @return The status.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ResponseCodeEnum getStatus() {
com.hedera.hashgraph.sdk.proto.ResponseCodeEnum result = com.hedera.hashgraph.sdk.proto.ResponseCodeEnum.forNumber(status_);
return result == null ? com.hedera.hashgraph.sdk.proto.ResponseCodeEnum.UNRECOGNIZED : result;
}
/**
*
**
* The consensus status of the transaction; is UNKNOWN if consensus has not been reached, or if
* the associated transaction did not have a valid payer signature
*
*
* .proto.ResponseCodeEnum status = 1;
* @param value The enum numeric value on the wire for status to set.
*/
private void setStatusValue(int value) {
status_ = value;
}
/**
*
**
* The consensus status of the transaction; is UNKNOWN if consensus has not been reached, or if
* the associated transaction did not have a valid payer signature
*
*
* .proto.ResponseCodeEnum status = 1;
* @param value The status to set.
*/
private void setStatus(com.hedera.hashgraph.sdk.proto.ResponseCodeEnum value) {
status_ = value.getNumber();
}
/**
*
**
* The consensus status of the transaction; is UNKNOWN if consensus has not been reached, or if
* the associated transaction did not have a valid payer signature
*
*
* .proto.ResponseCodeEnum status = 1;
*/
private void clearStatus() {
status_ = 0;
}
public static final int ACCOUNTID_FIELD_NUMBER = 2;
private com.hedera.hashgraph.sdk.proto.AccountID accountID_;
/**
*
**
* In the receipt of a CryptoCreate, the id of the newly created account
*
*
* .proto.AccountID accountID = 2;
*/
@java.lang.Override
public boolean hasAccountID() {
return accountID_ != null;
}
/**
*
**
* In the receipt of a CryptoCreate, the id of the newly created account
*
*
* .proto.AccountID accountID = 2;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.AccountID getAccountID() {
return accountID_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : accountID_;
}
/**
*
**
* In the receipt of a CryptoCreate, the id of the newly created account
*
*
* .proto.AccountID accountID = 2;
*/
private void setAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) {
value.getClass();
accountID_ = value;
}
/**
*
**
* In the receipt of a CryptoCreate, the id of the newly created account
*
*
* .proto.AccountID accountID = 2;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) {
value.getClass();
if (accountID_ != null &&
accountID_ != com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance()) {
accountID_ =
com.hedera.hashgraph.sdk.proto.AccountID.newBuilder(accountID_).mergeFrom(value).buildPartial();
} else {
accountID_ = value;
}
}
/**
*
**
* In the receipt of a CryptoCreate, the id of the newly created account
*
*
* .proto.AccountID accountID = 2;
*/
private void clearAccountID() { accountID_ = null;
}
public static final int FILEID_FIELD_NUMBER = 3;
private com.hedera.hashgraph.sdk.proto.FileID fileID_;
/**
*
**
* In the receipt of a FileCreate, the id of the newly created file
*
*
* .proto.FileID fileID = 3;
*/
@java.lang.Override
public boolean hasFileID() {
return fileID_ != null;
}
/**
*
**
* In the receipt of a FileCreate, the id of the newly created file
*
*
* .proto.FileID fileID = 3;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileID getFileID() {
return fileID_ == null ? com.hedera.hashgraph.sdk.proto.FileID.getDefaultInstance() : fileID_;
}
/**
*
**
* In the receipt of a FileCreate, the id of the newly created file
*
*
* .proto.FileID fileID = 3;
*/
private void setFileID(com.hedera.hashgraph.sdk.proto.FileID value) {
value.getClass();
fileID_ = value;
}
/**
*
**
* In the receipt of a FileCreate, the id of the newly created file
*
*
* .proto.FileID fileID = 3;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeFileID(com.hedera.hashgraph.sdk.proto.FileID value) {
value.getClass();
if (fileID_ != null &&
fileID_ != com.hedera.hashgraph.sdk.proto.FileID.getDefaultInstance()) {
fileID_ =
com.hedera.hashgraph.sdk.proto.FileID.newBuilder(fileID_).mergeFrom(value).buildPartial();
} else {
fileID_ = value;
}
}
/**
*
**
* In the receipt of a FileCreate, the id of the newly created file
*
*
* .proto.FileID fileID = 3;
*/
private void clearFileID() { fileID_ = null;
}
public static final int CONTRACTID_FIELD_NUMBER = 4;
private com.hedera.hashgraph.sdk.proto.ContractID contractID_;
/**
*
**
* In the receipt of a ContractCreate, the id of the newly created contract
*
*
* .proto.ContractID contractID = 4;
*/
@java.lang.Override
public boolean hasContractID() {
return contractID_ != null;
}
/**
*
**
* In the receipt of a ContractCreate, the id of the newly created contract
*
*
* .proto.ContractID contractID = 4;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractID getContractID() {
return contractID_ == null ? com.hedera.hashgraph.sdk.proto.ContractID.getDefaultInstance() : contractID_;
}
/**
*
**
* In the receipt of a ContractCreate, the id of the newly created contract
*
*
* .proto.ContractID contractID = 4;
*/
private void setContractID(com.hedera.hashgraph.sdk.proto.ContractID value) {
value.getClass();
contractID_ = value;
}
/**
*
**
* In the receipt of a ContractCreate, the id of the newly created contract
*
*
* .proto.ContractID contractID = 4;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeContractID(com.hedera.hashgraph.sdk.proto.ContractID value) {
value.getClass();
if (contractID_ != null &&
contractID_ != com.hedera.hashgraph.sdk.proto.ContractID.getDefaultInstance()) {
contractID_ =
com.hedera.hashgraph.sdk.proto.ContractID.newBuilder(contractID_).mergeFrom(value).buildPartial();
} else {
contractID_ = value;
}
}
/**
*
**
* In the receipt of a ContractCreate, the id of the newly created contract
*
*
* .proto.ContractID contractID = 4;
*/
private void clearContractID() { contractID_ = null;
}
public static final int EXCHANGERATE_FIELD_NUMBER = 5;
private com.hedera.hashgraph.sdk.proto.ExchangeRateSet exchangeRate_;
/**
*
**
* The exchange rates in effect when the transaction reached consensus
*
*
* .proto.ExchangeRateSet exchangeRate = 5;
*/
@java.lang.Override
public boolean hasExchangeRate() {
return exchangeRate_ != null;
}
/**
*
**
* The exchange rates in effect when the transaction reached consensus
*
*
* .proto.ExchangeRateSet exchangeRate = 5;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ExchangeRateSet getExchangeRate() {
return exchangeRate_ == null ? com.hedera.hashgraph.sdk.proto.ExchangeRateSet.getDefaultInstance() : exchangeRate_;
}
/**
*
**
* The exchange rates in effect when the transaction reached consensus
*
*
* .proto.ExchangeRateSet exchangeRate = 5;
*/
private void setExchangeRate(com.hedera.hashgraph.sdk.proto.ExchangeRateSet value) {
value.getClass();
exchangeRate_ = value;
}
/**
*
**
* The exchange rates in effect when the transaction reached consensus
*
*
* .proto.ExchangeRateSet exchangeRate = 5;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeExchangeRate(com.hedera.hashgraph.sdk.proto.ExchangeRateSet value) {
value.getClass();
if (exchangeRate_ != null &&
exchangeRate_ != com.hedera.hashgraph.sdk.proto.ExchangeRateSet.getDefaultInstance()) {
exchangeRate_ =
com.hedera.hashgraph.sdk.proto.ExchangeRateSet.newBuilder(exchangeRate_).mergeFrom(value).buildPartial();
} else {
exchangeRate_ = value;
}
}
/**
*
**
* The exchange rates in effect when the transaction reached consensus
*
*
* .proto.ExchangeRateSet exchangeRate = 5;
*/
private void clearExchangeRate() { exchangeRate_ = null;
}
public static final int TOPICID_FIELD_NUMBER = 6;
private com.hedera.hashgraph.sdk.proto.TopicID topicID_;
/**
*
**
* In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
*
*
* .proto.TopicID topicID = 6;
*/
@java.lang.Override
public boolean hasTopicID() {
return topicID_ != null;
}
/**
*
**
* In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
*
*
* .proto.TopicID topicID = 6;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TopicID getTopicID() {
return topicID_ == null ? com.hedera.hashgraph.sdk.proto.TopicID.getDefaultInstance() : topicID_;
}
/**
*
**
* In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
*
*
* .proto.TopicID topicID = 6;
*/
private void setTopicID(com.hedera.hashgraph.sdk.proto.TopicID value) {
value.getClass();
topicID_ = value;
}
/**
*
**
* In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
*
*
* .proto.TopicID topicID = 6;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeTopicID(com.hedera.hashgraph.sdk.proto.TopicID value) {
value.getClass();
if (topicID_ != null &&
topicID_ != com.hedera.hashgraph.sdk.proto.TopicID.getDefaultInstance()) {
topicID_ =
com.hedera.hashgraph.sdk.proto.TopicID.newBuilder(topicID_).mergeFrom(value).buildPartial();
} else {
topicID_ = value;
}
}
/**
*
**
* In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
*
*
* .proto.TopicID topicID = 6;
*/
private void clearTopicID() { topicID_ = null;
}
public static final int TOPICSEQUENCENUMBER_FIELD_NUMBER = 7;
private long topicSequenceNumber_;
/**
*
**
* In the receipt of a ConsensusSubmitMessage, the new sequence number of the topic that
* received the message
*
*
* uint64 topicSequenceNumber = 7;
* @return The topicSequenceNumber.
*/
@java.lang.Override
public long getTopicSequenceNumber() {
return topicSequenceNumber_;
}
/**
*
**
* In the receipt of a ConsensusSubmitMessage, the new sequence number of the topic that
* received the message
*
*
* uint64 topicSequenceNumber = 7;
* @param value The topicSequenceNumber to set.
*/
private void setTopicSequenceNumber(long value) {
topicSequenceNumber_ = value;
}
/**
*
**
* In the receipt of a ConsensusSubmitMessage, the new sequence number of the topic that
* received the message
*
*
* uint64 topicSequenceNumber = 7;
*/
private void clearTopicSequenceNumber() {
topicSequenceNumber_ = 0L;
}
public static final int TOPICRUNNINGHASH_FIELD_NUMBER = 8;
private com.google.protobuf.ByteString topicRunningHash_;
/**
*
**
* In the receipt of a `ConsensusSubmitMessage`, the new running hash of the topic that
* received the message.<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/>
* If the `topicRunningHashVersion` is '0' or '1', then the input data to the SHA-384 digest are,
* 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 `topicSequenceNumber` (8 bytes)</li>
* <li>The message bytes from the `ConsensusSubmitMessage` (variable).</li>
* </ol>
* <hr/>
* If the `topicRunningHashVersion` is '2', then the input data to the SHA-384 digest are, in
* order:
* <ol>
* <li>The previous running hash of the topic (48 bytes)</li>
* <li>The `topicRunningHashVersion` (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 `topicSequenceNumber` (8 bytes)</li>
* <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage`
* (48 bytes)</li>
* </ol>
* <hr/>
* If the `topicRunningHashVersion` is '3', then the input data to the SHA-384 digest
* are, in order:
* <ol>
* <li>The previous running hash of the topic (48 bytes)</li>
* <li>The `topicRunningHashVersion` (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 `topicSequenceNumber` (8 bytes)</li>
* <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage`
* (48 bytes)</li>
* </ol>
*
*
* bytes topicRunningHash = 8;
* @return The topicRunningHash.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTopicRunningHash() {
return topicRunningHash_;
}
/**
*
**
* In the receipt of a `ConsensusSubmitMessage`, the new running hash of the topic that
* received the message.<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/>
* If the `topicRunningHashVersion` is '0' or '1', then the input data to the SHA-384 digest are,
* 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 `topicSequenceNumber` (8 bytes)</li>
* <li>The message bytes from the `ConsensusSubmitMessage` (variable).</li>
* </ol>
* <hr/>
* If the `topicRunningHashVersion` is '2', then the input data to the SHA-384 digest are, in
* order:
* <ol>
* <li>The previous running hash of the topic (48 bytes)</li>
* <li>The `topicRunningHashVersion` (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 `topicSequenceNumber` (8 bytes)</li>
* <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage`
* (48 bytes)</li>
* </ol>
* <hr/>
* If the `topicRunningHashVersion` is '3', then the input data to the SHA-384 digest
* are, in order:
* <ol>
* <li>The previous running hash of the topic (48 bytes)</li>
* <li>The `topicRunningHashVersion` (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 `topicSequenceNumber` (8 bytes)</li>
* <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage`
* (48 bytes)</li>
* </ol>
*
*
* bytes topicRunningHash = 8;
* @param value The topicRunningHash to set.
*/
private void setTopicRunningHash(com.google.protobuf.ByteString value) {
java.lang.Class> valueClass = value.getClass();
topicRunningHash_ = value;
}
/**
*
**
* In the receipt of a `ConsensusSubmitMessage`, the new running hash of the topic that
* received the message.<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/>
* If the `topicRunningHashVersion` is '0' or '1', then the input data to the SHA-384 digest are,
* 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 `topicSequenceNumber` (8 bytes)</li>
* <li>The message bytes from the `ConsensusSubmitMessage` (variable).</li>
* </ol>
* <hr/>
* If the `topicRunningHashVersion` is '2', then the input data to the SHA-384 digest are, in
* order:
* <ol>
* <li>The previous running hash of the topic (48 bytes)</li>
* <li>The `topicRunningHashVersion` (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 `topicSequenceNumber` (8 bytes)</li>
* <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage`
* (48 bytes)</li>
* </ol>
* <hr/>
* If the `topicRunningHashVersion` is '3', then the input data to the SHA-384 digest
* are, in order:
* <ol>
* <li>The previous running hash of the topic (48 bytes)</li>
* <li>The `topicRunningHashVersion` (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 `topicSequenceNumber` (8 bytes)</li>
* <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage`
* (48 bytes)</li>
* </ol>
*
*
* bytes topicRunningHash = 8;
*/
private void clearTopicRunningHash() {
topicRunningHash_ = getDefaultInstance().getTopicRunningHash();
}
public static final int TOPICRUNNINGHASHVERSION_FIELD_NUMBER = 9;
private long topicRunningHashVersion_;
/**
*
**
* In the receipt of a ConsensusSubmitMessage, the version of the SHA-384 digest used to update
* the running hash.
*
*
* uint64 topicRunningHashVersion = 9;
* @return The topicRunningHashVersion.
*/
@java.lang.Override
public long getTopicRunningHashVersion() {
return topicRunningHashVersion_;
}
/**
*
**
* In the receipt of a ConsensusSubmitMessage, the version of the SHA-384 digest used to update
* the running hash.
*
*
* uint64 topicRunningHashVersion = 9;
* @param value The topicRunningHashVersion to set.
*/
private void setTopicRunningHashVersion(long value) {
topicRunningHashVersion_ = value;
}
/**
*
**
* In the receipt of a ConsensusSubmitMessage, the version of the SHA-384 digest used to update
* the running hash.
*
*
* uint64 topicRunningHashVersion = 9;
*/
private void clearTopicRunningHashVersion() {
topicRunningHashVersion_ = 0L;
}
public static final int TOKENID_FIELD_NUMBER = 10;
private com.hedera.hashgraph.sdk.proto.TokenID tokenID_;
/**
*
**
* In the receipt of a CreateToken, the id of the newly created token
*
*
* .proto.TokenID tokenID = 10;
*/
@java.lang.Override
public boolean hasTokenID() {
return tokenID_ != null;
}
/**
*
**
* In the receipt of a CreateToken, the id of the newly created token
*
*
* .proto.TokenID tokenID = 10;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenID getTokenID() {
return tokenID_ == null ? com.hedera.hashgraph.sdk.proto.TokenID.getDefaultInstance() : tokenID_;
}
/**
*
**
* In the receipt of a CreateToken, the id of the newly created token
*
*
* .proto.TokenID tokenID = 10;
*/
private void setTokenID(com.hedera.hashgraph.sdk.proto.TokenID value) {
value.getClass();
tokenID_ = value;
}
/**
*
**
* In the receipt of a CreateToken, the id of the newly created token
*
*
* .proto.TokenID tokenID = 10;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeTokenID(com.hedera.hashgraph.sdk.proto.TokenID value) {
value.getClass();
if (tokenID_ != null &&
tokenID_ != com.hedera.hashgraph.sdk.proto.TokenID.getDefaultInstance()) {
tokenID_ =
com.hedera.hashgraph.sdk.proto.TokenID.newBuilder(tokenID_).mergeFrom(value).buildPartial();
} else {
tokenID_ = value;
}
}
/**
*
**
* In the receipt of a CreateToken, the id of the newly created token
*
*
* .proto.TokenID tokenID = 10;
*/
private void clearTokenID() { tokenID_ = null;
}
public static final int NEWTOTALSUPPLY_FIELD_NUMBER = 11;
private long newTotalSupply_;
/**
*
**
* In the receipt of TokenMint, TokenWipe, TokenBurn, For fungible tokens - the current total
* supply of this token. For non fungible tokens - the total number of NFTs issued for a given
* tokenID
*
*
* uint64 newTotalSupply = 11;
* @return The newTotalSupply.
*/
@java.lang.Override
public long getNewTotalSupply() {
return newTotalSupply_;
}
/**
*
**
* In the receipt of TokenMint, TokenWipe, TokenBurn, For fungible tokens - the current total
* supply of this token. For non fungible tokens - the total number of NFTs issued for a given
* tokenID
*
*
* uint64 newTotalSupply = 11;
* @param value The newTotalSupply to set.
*/
private void setNewTotalSupply(long value) {
newTotalSupply_ = value;
}
/**
*
**
* In the receipt of TokenMint, TokenWipe, TokenBurn, For fungible tokens - the current total
* supply of this token. For non fungible tokens - the total number of NFTs issued for a given
* tokenID
*
*
* uint64 newTotalSupply = 11;
*/
private void clearNewTotalSupply() {
newTotalSupply_ = 0L;
}
public static final int SCHEDULEID_FIELD_NUMBER = 12;
private com.hedera.hashgraph.sdk.proto.ScheduleID scheduleID_;
/**
*
**
* In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
*
*
* .proto.ScheduleID scheduleID = 12;
*/
@java.lang.Override
public boolean hasScheduleID() {
return scheduleID_ != null;
}
/**
*
**
* In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
*
*
* .proto.ScheduleID scheduleID = 12;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleID getScheduleID() {
return scheduleID_ == null ? com.hedera.hashgraph.sdk.proto.ScheduleID.getDefaultInstance() : scheduleID_;
}
/**
*
**
* In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
*
*
* .proto.ScheduleID scheduleID = 12;
*/
private void setScheduleID(com.hedera.hashgraph.sdk.proto.ScheduleID value) {
value.getClass();
scheduleID_ = value;
}
/**
*
**
* In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
*
*
* .proto.ScheduleID scheduleID = 12;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeScheduleID(com.hedera.hashgraph.sdk.proto.ScheduleID value) {
value.getClass();
if (scheduleID_ != null &&
scheduleID_ != com.hedera.hashgraph.sdk.proto.ScheduleID.getDefaultInstance()) {
scheduleID_ =
com.hedera.hashgraph.sdk.proto.ScheduleID.newBuilder(scheduleID_).mergeFrom(value).buildPartial();
} else {
scheduleID_ = value;
}
}
/**
*
**
* In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
*
*
* .proto.ScheduleID scheduleID = 12;
*/
private void clearScheduleID() { scheduleID_ = null;
}
public static final int SCHEDULEDTRANSACTIONID_FIELD_NUMBER = 13;
private com.hedera.hashgraph.sdk.proto.TransactionID scheduledTransactionID_;
/**
*
**
* In the receipt of a ScheduleCreate or ScheduleSign that resolves to SUCCESS, the
* TransactionID that should be used to query for the receipt or record of the relevant
* scheduled transaction
*
*
* .proto.TransactionID scheduledTransactionID = 13;
*/
@java.lang.Override
public boolean hasScheduledTransactionID() {
return scheduledTransactionID_ != null;
}
/**
*
**
* In the receipt of a ScheduleCreate or ScheduleSign that resolves to SUCCESS, the
* TransactionID that should be used to query for the receipt or record of the relevant
* scheduled transaction
*
*
* .proto.TransactionID scheduledTransactionID = 13;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionID getScheduledTransactionID() {
return scheduledTransactionID_ == null ? com.hedera.hashgraph.sdk.proto.TransactionID.getDefaultInstance() : scheduledTransactionID_;
}
/**
*
**
* In the receipt of a ScheduleCreate or ScheduleSign that resolves to SUCCESS, the
* TransactionID that should be used to query for the receipt or record of the relevant
* scheduled transaction
*
*
* .proto.TransactionID scheduledTransactionID = 13;
*/
private void setScheduledTransactionID(com.hedera.hashgraph.sdk.proto.TransactionID value) {
value.getClass();
scheduledTransactionID_ = value;
}
/**
*
**
* In the receipt of a ScheduleCreate or ScheduleSign that resolves to SUCCESS, the
* TransactionID that should be used to query for the receipt or record of the relevant
* scheduled transaction
*
*
* .proto.TransactionID scheduledTransactionID = 13;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeScheduledTransactionID(com.hedera.hashgraph.sdk.proto.TransactionID value) {
value.getClass();
if (scheduledTransactionID_ != null &&
scheduledTransactionID_ != com.hedera.hashgraph.sdk.proto.TransactionID.getDefaultInstance()) {
scheduledTransactionID_ =
com.hedera.hashgraph.sdk.proto.TransactionID.newBuilder(scheduledTransactionID_).mergeFrom(value).buildPartial();
} else {
scheduledTransactionID_ = value;
}
}
/**
*
**
* In the receipt of a ScheduleCreate or ScheduleSign that resolves to SUCCESS, the
* TransactionID that should be used to query for the receipt or record of the relevant
* scheduled transaction
*
*
* .proto.TransactionID scheduledTransactionID = 13;
*/
private void clearScheduledTransactionID() { scheduledTransactionID_ = null;
}
public static final int SERIALNUMBERS_FIELD_NUMBER = 14;
private com.google.protobuf.Internal.LongList serialNumbers_;
/**
*
**
* In the receipt of a TokenMint for tokens of type NON_FUNGIBLE_UNIQUE, the serial numbers of
* the newly created NFTs
*
*
* repeated int64 serialNumbers = 14;
* @return A list containing the serialNumbers.
*/
@java.lang.Override
public java.util.List
getSerialNumbersList() {
return serialNumbers_;
}
/**
*
**
* In the receipt of a TokenMint for tokens of type NON_FUNGIBLE_UNIQUE, the serial numbers of
* the newly created NFTs
*
*
* repeated int64 serialNumbers = 14;
* @return The count of serialNumbers.
*/
@java.lang.Override
public int getSerialNumbersCount() {
return serialNumbers_.size();
}
/**
*
**
* In the receipt of a TokenMint for tokens of type NON_FUNGIBLE_UNIQUE, the serial numbers of
* the newly created NFTs
*
*
* repeated int64 serialNumbers = 14;
* @param index The index of the element to return.
* @return The serialNumbers at the given index.
*/
@java.lang.Override
public long getSerialNumbers(int index) {
return serialNumbers_.getLong(index);
}
private int serialNumbersMemoizedSerializedSize = -1;
private void ensureSerialNumbersIsMutable() {
com.google.protobuf.Internal.LongList tmp = serialNumbers_;
if (!tmp.isModifiable()) {
serialNumbers_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
*
**
* In the receipt of a TokenMint for tokens of type NON_FUNGIBLE_UNIQUE, the serial numbers of
* the newly created NFTs
*
*
* repeated int64 serialNumbers = 14;
* @param index The index to set the value at.
* @param value The serialNumbers to set.
*/
private void setSerialNumbers(
int index, long value) {
ensureSerialNumbersIsMutable();
serialNumbers_.setLong(index, value);
}
/**
*
**
* In the receipt of a TokenMint for tokens of type NON_FUNGIBLE_UNIQUE, the serial numbers of
* the newly created NFTs
*
*
* repeated int64 serialNumbers = 14;
* @param value The serialNumbers to add.
*/
private void addSerialNumbers(long value) {
ensureSerialNumbersIsMutable();
serialNumbers_.addLong(value);
}
/**
*
**
* In the receipt of a TokenMint for tokens of type NON_FUNGIBLE_UNIQUE, the serial numbers of
* the newly created NFTs
*
*
* repeated int64 serialNumbers = 14;
* @param values The serialNumbers to add.
*/
private void addAllSerialNumbers(
java.lang.Iterable extends java.lang.Long> values) {
ensureSerialNumbersIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, serialNumbers_);
}
/**
*
**
* In the receipt of a TokenMint for tokens of type NON_FUNGIBLE_UNIQUE, the serial numbers of
* the newly created NFTs
*
*
* repeated int64 serialNumbers = 14;
*/
private void clearSerialNumbers() {
serialNumbers_ = emptyLongList();
}
public static final int NODE_ID_FIELD_NUMBER = 15;
private long nodeId_;
/**
*
**
* In the receipt of a NodeCreate, NodeUpdate, NodeDelete, the id of the newly created node.
* An affected node identifier.<br/>
* This value SHALL be set following a `createNode` transaction.<br/>
* This value SHALL be set following a `updateNode` transaction.<br/>
* This value SHALL be set following a `deleteNode` transaction.<br/>
* This value SHALL NOT be set following any other transaction.
*
*
* uint64 node_id = 15;
* @return The nodeId.
*/
@java.lang.Override
public long getNodeId() {
return nodeId_;
}
/**
*
**
* In the receipt of a NodeCreate, NodeUpdate, NodeDelete, the id of the newly created node.
* An affected node identifier.<br/>
* This value SHALL be set following a `createNode` transaction.<br/>
* This value SHALL be set following a `updateNode` transaction.<br/>
* This value SHALL be set following a `deleteNode` transaction.<br/>
* This value SHALL NOT be set following any other transaction.
*
*
* uint64 node_id = 15;
* @param value The nodeId to set.
*/
private void setNodeId(long value) {
nodeId_ = value;
}
/**
*
**
* In the receipt of a NodeCreate, NodeUpdate, NodeDelete, the id of the newly created node.
* An affected node identifier.<br/>
* This value SHALL be set following a `createNode` transaction.<br/>
* This value SHALL be set following a `updateNode` transaction.<br/>
* This value SHALL be set following a `deleteNode` transaction.<br/>
* This value SHALL NOT be set following any other transaction.
*
*
* uint64 node_id = 15;
*/
private void clearNodeId() {
nodeId_ = 0L;
}
public static com.hedera.hashgraph.sdk.proto.TransactionReceipt parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.hedera.hashgraph.sdk.proto.TransactionReceipt parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.TransactionReceipt parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.hedera.hashgraph.sdk.proto.TransactionReceipt parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.TransactionReceipt parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.hedera.hashgraph.sdk.proto.TransactionReceipt parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.TransactionReceipt parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.hedera.hashgraph.sdk.proto.TransactionReceipt parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.TransactionReceipt parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.hedera.hashgraph.sdk.proto.TransactionReceipt parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.hedera.hashgraph.sdk.proto.TransactionReceipt parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.hedera.hashgraph.sdk.proto.TransactionReceipt parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.hedera.hashgraph.sdk.proto.TransactionReceipt prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
**
* The summary of a transaction's result so far. If the transaction has not reached consensus, this
* result will be necessarily incomplete.
*
*
* Protobuf type {@code proto.TransactionReceipt}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.hedera.hashgraph.sdk.proto.TransactionReceipt, Builder> implements
// @@protoc_insertion_point(builder_implements:proto.TransactionReceipt)
com.hedera.hashgraph.sdk.proto.TransactionReceiptOrBuilder {
// Construct using com.hedera.hashgraph.sdk.proto.TransactionReceipt.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
**
* The consensus status of the transaction; is UNKNOWN if consensus has not been reached, or if
* the associated transaction did not have a valid payer signature
*
*
* .proto.ResponseCodeEnum status = 1;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override
public int getStatusValue() {
return instance.getStatusValue();
}
/**
*
**
* The consensus status of the transaction; is UNKNOWN if consensus has not been reached, or if
* the associated transaction did not have a valid payer signature
*
*
* .proto.ResponseCodeEnum status = 1;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatusValue(int value) {
copyOnWrite();
instance.setStatusValue(value);
return this;
}
/**
*
**
* The consensus status of the transaction; is UNKNOWN if consensus has not been reached, or if
* the associated transaction did not have a valid payer signature
*
*
* .proto.ResponseCodeEnum status = 1;
* @return The status.
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ResponseCodeEnum getStatus() {
return instance.getStatus();
}
/**
*
**
* The consensus status of the transaction; is UNKNOWN if consensus has not been reached, or if
* the associated transaction did not have a valid payer signature
*
*
* .proto.ResponseCodeEnum status = 1;
* @param value The enum numeric value on the wire for status to set.
* @return This builder for chaining.
*/
public Builder setStatus(com.hedera.hashgraph.sdk.proto.ResponseCodeEnum value) {
copyOnWrite();
instance.setStatus(value);
return this;
}
/**
*
**
* The consensus status of the transaction; is UNKNOWN if consensus has not been reached, or if
* the associated transaction did not have a valid payer signature
*
*
* .proto.ResponseCodeEnum status = 1;
* @return This builder for chaining.
*/
public Builder clearStatus() {
copyOnWrite();
instance.clearStatus();
return this;
}
/**
*
**
* In the receipt of a CryptoCreate, the id of the newly created account
*
*
* .proto.AccountID accountID = 2;
*/
@java.lang.Override
public boolean hasAccountID() {
return instance.hasAccountID();
}
/**
*
**
* In the receipt of a CryptoCreate, the id of the newly created account
*
*
* .proto.AccountID accountID = 2;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.AccountID getAccountID() {
return instance.getAccountID();
}
/**
*
**
* In the receipt of a CryptoCreate, the id of the newly created account
*
*
* .proto.AccountID accountID = 2;
*/
public Builder setAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) {
copyOnWrite();
instance.setAccountID(value);
return this;
}
/**
*
**
* In the receipt of a CryptoCreate, the id of the newly created account
*
*
* .proto.AccountID accountID = 2;
*/
public Builder setAccountID(
com.hedera.hashgraph.sdk.proto.AccountID.Builder builderForValue) {
copyOnWrite();
instance.setAccountID(builderForValue.build());
return this;
}
/**
*
**
* In the receipt of a CryptoCreate, the id of the newly created account
*
*
* .proto.AccountID accountID = 2;
*/
public Builder mergeAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) {
copyOnWrite();
instance.mergeAccountID(value);
return this;
}
/**
*
**
* In the receipt of a CryptoCreate, the id of the newly created account
*
*
* .proto.AccountID accountID = 2;
*/
public Builder clearAccountID() { copyOnWrite();
instance.clearAccountID();
return this;
}
/**
*
**
* In the receipt of a FileCreate, the id of the newly created file
*
*
* .proto.FileID fileID = 3;
*/
@java.lang.Override
public boolean hasFileID() {
return instance.hasFileID();
}
/**
*
**
* In the receipt of a FileCreate, the id of the newly created file
*
*
* .proto.FileID fileID = 3;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.FileID getFileID() {
return instance.getFileID();
}
/**
*
**
* In the receipt of a FileCreate, the id of the newly created file
*
*
* .proto.FileID fileID = 3;
*/
public Builder setFileID(com.hedera.hashgraph.sdk.proto.FileID value) {
copyOnWrite();
instance.setFileID(value);
return this;
}
/**
*
**
* In the receipt of a FileCreate, the id of the newly created file
*
*
* .proto.FileID fileID = 3;
*/
public Builder setFileID(
com.hedera.hashgraph.sdk.proto.FileID.Builder builderForValue) {
copyOnWrite();
instance.setFileID(builderForValue.build());
return this;
}
/**
*
**
* In the receipt of a FileCreate, the id of the newly created file
*
*
* .proto.FileID fileID = 3;
*/
public Builder mergeFileID(com.hedera.hashgraph.sdk.proto.FileID value) {
copyOnWrite();
instance.mergeFileID(value);
return this;
}
/**
*
**
* In the receipt of a FileCreate, the id of the newly created file
*
*
* .proto.FileID fileID = 3;
*/
public Builder clearFileID() { copyOnWrite();
instance.clearFileID();
return this;
}
/**
*
**
* In the receipt of a ContractCreate, the id of the newly created contract
*
*
* .proto.ContractID contractID = 4;
*/
@java.lang.Override
public boolean hasContractID() {
return instance.hasContractID();
}
/**
*
**
* In the receipt of a ContractCreate, the id of the newly created contract
*
*
* .proto.ContractID contractID = 4;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ContractID getContractID() {
return instance.getContractID();
}
/**
*
**
* In the receipt of a ContractCreate, the id of the newly created contract
*
*
* .proto.ContractID contractID = 4;
*/
public Builder setContractID(com.hedera.hashgraph.sdk.proto.ContractID value) {
copyOnWrite();
instance.setContractID(value);
return this;
}
/**
*
**
* In the receipt of a ContractCreate, the id of the newly created contract
*
*
* .proto.ContractID contractID = 4;
*/
public Builder setContractID(
com.hedera.hashgraph.sdk.proto.ContractID.Builder builderForValue) {
copyOnWrite();
instance.setContractID(builderForValue.build());
return this;
}
/**
*
**
* In the receipt of a ContractCreate, the id of the newly created contract
*
*
* .proto.ContractID contractID = 4;
*/
public Builder mergeContractID(com.hedera.hashgraph.sdk.proto.ContractID value) {
copyOnWrite();
instance.mergeContractID(value);
return this;
}
/**
*
**
* In the receipt of a ContractCreate, the id of the newly created contract
*
*
* .proto.ContractID contractID = 4;
*/
public Builder clearContractID() { copyOnWrite();
instance.clearContractID();
return this;
}
/**
*
**
* The exchange rates in effect when the transaction reached consensus
*
*
* .proto.ExchangeRateSet exchangeRate = 5;
*/
@java.lang.Override
public boolean hasExchangeRate() {
return instance.hasExchangeRate();
}
/**
*
**
* The exchange rates in effect when the transaction reached consensus
*
*
* .proto.ExchangeRateSet exchangeRate = 5;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ExchangeRateSet getExchangeRate() {
return instance.getExchangeRate();
}
/**
*
**
* The exchange rates in effect when the transaction reached consensus
*
*
* .proto.ExchangeRateSet exchangeRate = 5;
*/
public Builder setExchangeRate(com.hedera.hashgraph.sdk.proto.ExchangeRateSet value) {
copyOnWrite();
instance.setExchangeRate(value);
return this;
}
/**
*
**
* The exchange rates in effect when the transaction reached consensus
*
*
* .proto.ExchangeRateSet exchangeRate = 5;
*/
public Builder setExchangeRate(
com.hedera.hashgraph.sdk.proto.ExchangeRateSet.Builder builderForValue) {
copyOnWrite();
instance.setExchangeRate(builderForValue.build());
return this;
}
/**
*
**
* The exchange rates in effect when the transaction reached consensus
*
*
* .proto.ExchangeRateSet exchangeRate = 5;
*/
public Builder mergeExchangeRate(com.hedera.hashgraph.sdk.proto.ExchangeRateSet value) {
copyOnWrite();
instance.mergeExchangeRate(value);
return this;
}
/**
*
**
* The exchange rates in effect when the transaction reached consensus
*
*
* .proto.ExchangeRateSet exchangeRate = 5;
*/
public Builder clearExchangeRate() { copyOnWrite();
instance.clearExchangeRate();
return this;
}
/**
*
**
* In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
*
*
* .proto.TopicID topicID = 6;
*/
@java.lang.Override
public boolean hasTopicID() {
return instance.hasTopicID();
}
/**
*
**
* In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
*
*
* .proto.TopicID topicID = 6;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TopicID getTopicID() {
return instance.getTopicID();
}
/**
*
**
* In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
*
*
* .proto.TopicID topicID = 6;
*/
public Builder setTopicID(com.hedera.hashgraph.sdk.proto.TopicID value) {
copyOnWrite();
instance.setTopicID(value);
return this;
}
/**
*
**
* In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
*
*
* .proto.TopicID topicID = 6;
*/
public Builder setTopicID(
com.hedera.hashgraph.sdk.proto.TopicID.Builder builderForValue) {
copyOnWrite();
instance.setTopicID(builderForValue.build());
return this;
}
/**
*
**
* In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
*
*
* .proto.TopicID topicID = 6;
*/
public Builder mergeTopicID(com.hedera.hashgraph.sdk.proto.TopicID value) {
copyOnWrite();
instance.mergeTopicID(value);
return this;
}
/**
*
**
* In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
*
*
* .proto.TopicID topicID = 6;
*/
public Builder clearTopicID() { copyOnWrite();
instance.clearTopicID();
return this;
}
/**
*
**
* In the receipt of a ConsensusSubmitMessage, the new sequence number of the topic that
* received the message
*
*
* uint64 topicSequenceNumber = 7;
* @return The topicSequenceNumber.
*/
@java.lang.Override
public long getTopicSequenceNumber() {
return instance.getTopicSequenceNumber();
}
/**
*
**
* In the receipt of a ConsensusSubmitMessage, the new sequence number of the topic that
* received the message
*
*
* uint64 topicSequenceNumber = 7;
* @param value The topicSequenceNumber to set.
* @return This builder for chaining.
*/
public Builder setTopicSequenceNumber(long value) {
copyOnWrite();
instance.setTopicSequenceNumber(value);
return this;
}
/**
*
**
* In the receipt of a ConsensusSubmitMessage, the new sequence number of the topic that
* received the message
*
*
* uint64 topicSequenceNumber = 7;
* @return This builder for chaining.
*/
public Builder clearTopicSequenceNumber() {
copyOnWrite();
instance.clearTopicSequenceNumber();
return this;
}
/**
*
**
* In the receipt of a `ConsensusSubmitMessage`, the new running hash of the topic that
* received the message.<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/>
* If the `topicRunningHashVersion` is '0' or '1', then the input data to the SHA-384 digest are,
* 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 `topicSequenceNumber` (8 bytes)</li>
* <li>The message bytes from the `ConsensusSubmitMessage` (variable).</li>
* </ol>
* <hr/>
* If the `topicRunningHashVersion` is '2', then the input data to the SHA-384 digest are, in
* order:
* <ol>
* <li>The previous running hash of the topic (48 bytes)</li>
* <li>The `topicRunningHashVersion` (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 `topicSequenceNumber` (8 bytes)</li>
* <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage`
* (48 bytes)</li>
* </ol>
* <hr/>
* If the `topicRunningHashVersion` is '3', then the input data to the SHA-384 digest
* are, in order:
* <ol>
* <li>The previous running hash of the topic (48 bytes)</li>
* <li>The `topicRunningHashVersion` (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 `topicSequenceNumber` (8 bytes)</li>
* <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage`
* (48 bytes)</li>
* </ol>
*
*
* bytes topicRunningHash = 8;
* @return The topicRunningHash.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTopicRunningHash() {
return instance.getTopicRunningHash();
}
/**
*
**
* In the receipt of a `ConsensusSubmitMessage`, the new running hash of the topic that
* received the message.<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/>
* If the `topicRunningHashVersion` is '0' or '1', then the input data to the SHA-384 digest are,
* 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 `topicSequenceNumber` (8 bytes)</li>
* <li>The message bytes from the `ConsensusSubmitMessage` (variable).</li>
* </ol>
* <hr/>
* If the `topicRunningHashVersion` is '2', then the input data to the SHA-384 digest are, in
* order:
* <ol>
* <li>The previous running hash of the topic (48 bytes)</li>
* <li>The `topicRunningHashVersion` (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 `topicSequenceNumber` (8 bytes)</li>
* <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage`
* (48 bytes)</li>
* </ol>
* <hr/>
* If the `topicRunningHashVersion` is '3', then the input data to the SHA-384 digest
* are, in order:
* <ol>
* <li>The previous running hash of the topic (48 bytes)</li>
* <li>The `topicRunningHashVersion` (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 `topicSequenceNumber` (8 bytes)</li>
* <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage`
* (48 bytes)</li>
* </ol>
*
*
* bytes topicRunningHash = 8;
* @param value The topicRunningHash to set.
* @return This builder for chaining.
*/
public Builder setTopicRunningHash(com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTopicRunningHash(value);
return this;
}
/**
*
**
* In the receipt of a `ConsensusSubmitMessage`, the new running hash of the topic that
* received the message.<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/>
* If the `topicRunningHashVersion` is '0' or '1', then the input data to the SHA-384 digest are,
* 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 `topicSequenceNumber` (8 bytes)</li>
* <li>The message bytes from the `ConsensusSubmitMessage` (variable).</li>
* </ol>
* <hr/>
* If the `topicRunningHashVersion` is '2', then the input data to the SHA-384 digest are, in
* order:
* <ol>
* <li>The previous running hash of the topic (48 bytes)</li>
* <li>The `topicRunningHashVersion` (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 `topicSequenceNumber` (8 bytes)</li>
* <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage`
* (48 bytes)</li>
* </ol>
* <hr/>
* If the `topicRunningHashVersion` is '3', then the input data to the SHA-384 digest
* are, in order:
* <ol>
* <li>The previous running hash of the topic (48 bytes)</li>
* <li>The `topicRunningHashVersion` (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 `topicSequenceNumber` (8 bytes)</li>
* <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage`
* (48 bytes)</li>
* </ol>
*
*
* bytes topicRunningHash = 8;
* @return This builder for chaining.
*/
public Builder clearTopicRunningHash() {
copyOnWrite();
instance.clearTopicRunningHash();
return this;
}
/**
*
**
* In the receipt of a ConsensusSubmitMessage, the version of the SHA-384 digest used to update
* the running hash.
*
*
* uint64 topicRunningHashVersion = 9;
* @return The topicRunningHashVersion.
*/
@java.lang.Override
public long getTopicRunningHashVersion() {
return instance.getTopicRunningHashVersion();
}
/**
*
**
* In the receipt of a ConsensusSubmitMessage, the version of the SHA-384 digest used to update
* the running hash.
*
*
* uint64 topicRunningHashVersion = 9;
* @param value The topicRunningHashVersion to set.
* @return This builder for chaining.
*/
public Builder setTopicRunningHashVersion(long value) {
copyOnWrite();
instance.setTopicRunningHashVersion(value);
return this;
}
/**
*
**
* In the receipt of a ConsensusSubmitMessage, the version of the SHA-384 digest used to update
* the running hash.
*
*
* uint64 topicRunningHashVersion = 9;
* @return This builder for chaining.
*/
public Builder clearTopicRunningHashVersion() {
copyOnWrite();
instance.clearTopicRunningHashVersion();
return this;
}
/**
*
**
* In the receipt of a CreateToken, the id of the newly created token
*
*
* .proto.TokenID tokenID = 10;
*/
@java.lang.Override
public boolean hasTokenID() {
return instance.hasTokenID();
}
/**
*
**
* In the receipt of a CreateToken, the id of the newly created token
*
*
* .proto.TokenID tokenID = 10;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TokenID getTokenID() {
return instance.getTokenID();
}
/**
*
**
* In the receipt of a CreateToken, the id of the newly created token
*
*
* .proto.TokenID tokenID = 10;
*/
public Builder setTokenID(com.hedera.hashgraph.sdk.proto.TokenID value) {
copyOnWrite();
instance.setTokenID(value);
return this;
}
/**
*
**
* In the receipt of a CreateToken, the id of the newly created token
*
*
* .proto.TokenID tokenID = 10;
*/
public Builder setTokenID(
com.hedera.hashgraph.sdk.proto.TokenID.Builder builderForValue) {
copyOnWrite();
instance.setTokenID(builderForValue.build());
return this;
}
/**
*
**
* In the receipt of a CreateToken, the id of the newly created token
*
*
* .proto.TokenID tokenID = 10;
*/
public Builder mergeTokenID(com.hedera.hashgraph.sdk.proto.TokenID value) {
copyOnWrite();
instance.mergeTokenID(value);
return this;
}
/**
*
**
* In the receipt of a CreateToken, the id of the newly created token
*
*
* .proto.TokenID tokenID = 10;
*/
public Builder clearTokenID() { copyOnWrite();
instance.clearTokenID();
return this;
}
/**
*
**
* In the receipt of TokenMint, TokenWipe, TokenBurn, For fungible tokens - the current total
* supply of this token. For non fungible tokens - the total number of NFTs issued for a given
* tokenID
*
*
* uint64 newTotalSupply = 11;
* @return The newTotalSupply.
*/
@java.lang.Override
public long getNewTotalSupply() {
return instance.getNewTotalSupply();
}
/**
*
**
* In the receipt of TokenMint, TokenWipe, TokenBurn, For fungible tokens - the current total
* supply of this token. For non fungible tokens - the total number of NFTs issued for a given
* tokenID
*
*
* uint64 newTotalSupply = 11;
* @param value The newTotalSupply to set.
* @return This builder for chaining.
*/
public Builder setNewTotalSupply(long value) {
copyOnWrite();
instance.setNewTotalSupply(value);
return this;
}
/**
*
**
* In the receipt of TokenMint, TokenWipe, TokenBurn, For fungible tokens - the current total
* supply of this token. For non fungible tokens - the total number of NFTs issued for a given
* tokenID
*
*
* uint64 newTotalSupply = 11;
* @return This builder for chaining.
*/
public Builder clearNewTotalSupply() {
copyOnWrite();
instance.clearNewTotalSupply();
return this;
}
/**
*
**
* In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
*
*
* .proto.ScheduleID scheduleID = 12;
*/
@java.lang.Override
public boolean hasScheduleID() {
return instance.hasScheduleID();
}
/**
*
**
* In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
*
*
* .proto.ScheduleID scheduleID = 12;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.ScheduleID getScheduleID() {
return instance.getScheduleID();
}
/**
*
**
* In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
*
*
* .proto.ScheduleID scheduleID = 12;
*/
public Builder setScheduleID(com.hedera.hashgraph.sdk.proto.ScheduleID value) {
copyOnWrite();
instance.setScheduleID(value);
return this;
}
/**
*
**
* In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
*
*
* .proto.ScheduleID scheduleID = 12;
*/
public Builder setScheduleID(
com.hedera.hashgraph.sdk.proto.ScheduleID.Builder builderForValue) {
copyOnWrite();
instance.setScheduleID(builderForValue.build());
return this;
}
/**
*
**
* In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
*
*
* .proto.ScheduleID scheduleID = 12;
*/
public Builder mergeScheduleID(com.hedera.hashgraph.sdk.proto.ScheduleID value) {
copyOnWrite();
instance.mergeScheduleID(value);
return this;
}
/**
*
**
* In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
*
*
* .proto.ScheduleID scheduleID = 12;
*/
public Builder clearScheduleID() { copyOnWrite();
instance.clearScheduleID();
return this;
}
/**
*
**
* In the receipt of a ScheduleCreate or ScheduleSign that resolves to SUCCESS, the
* TransactionID that should be used to query for the receipt or record of the relevant
* scheduled transaction
*
*
* .proto.TransactionID scheduledTransactionID = 13;
*/
@java.lang.Override
public boolean hasScheduledTransactionID() {
return instance.hasScheduledTransactionID();
}
/**
*
**
* In the receipt of a ScheduleCreate or ScheduleSign that resolves to SUCCESS, the
* TransactionID that should be used to query for the receipt or record of the relevant
* scheduled transaction
*
*
* .proto.TransactionID scheduledTransactionID = 13;
*/
@java.lang.Override
public com.hedera.hashgraph.sdk.proto.TransactionID getScheduledTransactionID() {
return instance.getScheduledTransactionID();
}
/**
*
**
* In the receipt of a ScheduleCreate or ScheduleSign that resolves to SUCCESS, the
* TransactionID that should be used to query for the receipt or record of the relevant
* scheduled transaction
*
*
* .proto.TransactionID scheduledTransactionID = 13;
*/
public Builder setScheduledTransactionID(com.hedera.hashgraph.sdk.proto.TransactionID value) {
copyOnWrite();
instance.setScheduledTransactionID(value);
return this;
}
/**
*
**
* In the receipt of a ScheduleCreate or ScheduleSign that resolves to SUCCESS, the
* TransactionID that should be used to query for the receipt or record of the relevant
* scheduled transaction
*
*
* .proto.TransactionID scheduledTransactionID = 13;
*/
public Builder setScheduledTransactionID(
com.hedera.hashgraph.sdk.proto.TransactionID.Builder builderForValue) {
copyOnWrite();
instance.setScheduledTransactionID(builderForValue.build());
return this;
}
/**
*
**
* In the receipt of a ScheduleCreate or ScheduleSign that resolves to SUCCESS, the
* TransactionID that should be used to query for the receipt or record of the relevant
* scheduled transaction
*
*
* .proto.TransactionID scheduledTransactionID = 13;
*/
public Builder mergeScheduledTransactionID(com.hedera.hashgraph.sdk.proto.TransactionID value) {
copyOnWrite();
instance.mergeScheduledTransactionID(value);
return this;
}
/**
*
**
* In the receipt of a ScheduleCreate or ScheduleSign that resolves to SUCCESS, the
* TransactionID that should be used to query for the receipt or record of the relevant
* scheduled transaction
*
*
* .proto.TransactionID scheduledTransactionID = 13;
*/
public Builder clearScheduledTransactionID() { copyOnWrite();
instance.clearScheduledTransactionID();
return this;
}
/**
*
**
* In the receipt of a TokenMint for tokens of type NON_FUNGIBLE_UNIQUE, the serial numbers of
* the newly created NFTs
*
*
* repeated int64 serialNumbers = 14;
* @return A list containing the serialNumbers.
*/
@java.lang.Override
public java.util.List
getSerialNumbersList() {
return java.util.Collections.unmodifiableList(
instance.getSerialNumbersList());
}
/**
*
**
* In the receipt of a TokenMint for tokens of type NON_FUNGIBLE_UNIQUE, the serial numbers of
* the newly created NFTs
*
*
* repeated int64 serialNumbers = 14;
* @return The count of serialNumbers.
*/
@java.lang.Override
public int getSerialNumbersCount() {
return instance.getSerialNumbersCount();
}
/**
*
**
* In the receipt of a TokenMint for tokens of type NON_FUNGIBLE_UNIQUE, the serial numbers of
* the newly created NFTs
*
*
* repeated int64 serialNumbers = 14;
* @param index The index of the element to return.
* @return The serialNumbers at the given index.
*/
@java.lang.Override
public long getSerialNumbers(int index) {
return instance.getSerialNumbers(index);
}
/**
*
**
* In the receipt of a TokenMint for tokens of type NON_FUNGIBLE_UNIQUE, the serial numbers of
* the newly created NFTs
*
*
* repeated int64 serialNumbers = 14;
* @param value The serialNumbers to set.
* @return This builder for chaining.
*/
public Builder setSerialNumbers(
int index, long value) {
copyOnWrite();
instance.setSerialNumbers(index, value);
return this;
}
/**
*
**
* In the receipt of a TokenMint for tokens of type NON_FUNGIBLE_UNIQUE, the serial numbers of
* the newly created NFTs
*
*
* repeated int64 serialNumbers = 14;
* @param value The serialNumbers to add.
* @return This builder for chaining.
*/
public Builder addSerialNumbers(long value) {
copyOnWrite();
instance.addSerialNumbers(value);
return this;
}
/**
*
**
* In the receipt of a TokenMint for tokens of type NON_FUNGIBLE_UNIQUE, the serial numbers of
* the newly created NFTs
*
*
* repeated int64 serialNumbers = 14;
* @param values The serialNumbers to add.
* @return This builder for chaining.
*/
public Builder addAllSerialNumbers(
java.lang.Iterable extends java.lang.Long> values) {
copyOnWrite();
instance.addAllSerialNumbers(values);
return this;
}
/**
*
**
* In the receipt of a TokenMint for tokens of type NON_FUNGIBLE_UNIQUE, the serial numbers of
* the newly created NFTs
*
*
* repeated int64 serialNumbers = 14;
* @return This builder for chaining.
*/
public Builder clearSerialNumbers() {
copyOnWrite();
instance.clearSerialNumbers();
return this;
}
/**
*
**
* In the receipt of a NodeCreate, NodeUpdate, NodeDelete, the id of the newly created node.
* An affected node identifier.<br/>
* This value SHALL be set following a `createNode` transaction.<br/>
* This value SHALL be set following a `updateNode` transaction.<br/>
* This value SHALL be set following a `deleteNode` transaction.<br/>
* This value SHALL NOT be set following any other transaction.
*
*
* uint64 node_id = 15;
* @return The nodeId.
*/
@java.lang.Override
public long getNodeId() {
return instance.getNodeId();
}
/**
*
**
* In the receipt of a NodeCreate, NodeUpdate, NodeDelete, the id of the newly created node.
* An affected node identifier.<br/>
* This value SHALL be set following a `createNode` transaction.<br/>
* This value SHALL be set following a `updateNode` transaction.<br/>
* This value SHALL be set following a `deleteNode` transaction.<br/>
* This value SHALL NOT be set following any other transaction.
*
*
* uint64 node_id = 15;
* @param value The nodeId to set.
* @return This builder for chaining.
*/
public Builder setNodeId(long value) {
copyOnWrite();
instance.setNodeId(value);
return this;
}
/**
*
**
* In the receipt of a NodeCreate, NodeUpdate, NodeDelete, the id of the newly created node.
* An affected node identifier.<br/>
* This value SHALL be set following a `createNode` transaction.<br/>
* This value SHALL be set following a `updateNode` transaction.<br/>
* This value SHALL be set following a `deleteNode` transaction.<br/>
* This value SHALL NOT be set following any other transaction.
*
*
* uint64 node_id = 15;
* @return This builder for chaining.
*/
public Builder clearNodeId() {
copyOnWrite();
instance.clearNodeId();
return this;
}
// @@protoc_insertion_point(builder_scope:proto.TransactionReceipt)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.hedera.hashgraph.sdk.proto.TransactionReceipt();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"status_",
"accountID_",
"fileID_",
"contractID_",
"exchangeRate_",
"topicID_",
"topicSequenceNumber_",
"topicRunningHash_",
"topicRunningHashVersion_",
"tokenID_",
"newTotalSupply_",
"scheduleID_",
"scheduledTransactionID_",
"serialNumbers_",
"nodeId_",
};
java.lang.String info =
"\u0000\u000f\u0000\u0000\u0001\u000f\u000f\u0000\u0001\u0000\u0001\f\u0002\t\u0003" +
"\t\u0004\t\u0005\t\u0006\t\u0007\u0003\b\n\t\u0003\n\t\u000b\u0003\f\t\r\t\u000e" +
"%\u000f\u0003";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.hedera.hashgraph.sdk.proto.TransactionReceipt.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:proto.TransactionReceipt)
private static final com.hedera.hashgraph.sdk.proto.TransactionReceipt DEFAULT_INSTANCE;
static {
TransactionReceipt defaultInstance = new TransactionReceipt();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
TransactionReceipt.class, defaultInstance);
}
public static com.hedera.hashgraph.sdk.proto.TransactionReceipt getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}