All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hederahashgraph.api.proto.java.TransactionReceipt Maven / Gradle / Ivy

There is a newer version: 0.57.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: transaction_receipt.proto

package com.hederahashgraph.api.proto.java;

/**
 * 
 **
 * 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.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:proto.TransactionReceipt) TransactionReceiptOrBuilder { private static final long serialVersionUID = 0L; // Use TransactionReceipt.newBuilder() to construct. private TransactionReceipt(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TransactionReceipt() { status_ = 0; topicRunningHash_ = com.google.protobuf.ByteString.EMPTY; serialNumbers_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TransactionReceipt(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TransactionReceipt( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); status_ = rawValue; break; } case 18: { com.hederahashgraph.api.proto.java.AccountID.Builder subBuilder = null; if (accountID_ != null) { subBuilder = accountID_.toBuilder(); } accountID_ = input.readMessage(com.hederahashgraph.api.proto.java.AccountID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(accountID_); accountID_ = subBuilder.buildPartial(); } break; } case 26: { com.hederahashgraph.api.proto.java.FileID.Builder subBuilder = null; if (fileID_ != null) { subBuilder = fileID_.toBuilder(); } fileID_ = input.readMessage(com.hederahashgraph.api.proto.java.FileID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(fileID_); fileID_ = subBuilder.buildPartial(); } break; } case 34: { com.hederahashgraph.api.proto.java.ContractID.Builder subBuilder = null; if (contractID_ != null) { subBuilder = contractID_.toBuilder(); } contractID_ = input.readMessage(com.hederahashgraph.api.proto.java.ContractID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(contractID_); contractID_ = subBuilder.buildPartial(); } break; } case 42: { com.hederahashgraph.api.proto.java.ExchangeRateSet.Builder subBuilder = null; if (exchangeRate_ != null) { subBuilder = exchangeRate_.toBuilder(); } exchangeRate_ = input.readMessage(com.hederahashgraph.api.proto.java.ExchangeRateSet.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(exchangeRate_); exchangeRate_ = subBuilder.buildPartial(); } break; } case 50: { com.hederahashgraph.api.proto.java.TopicID.Builder subBuilder = null; if (topicID_ != null) { subBuilder = topicID_.toBuilder(); } topicID_ = input.readMessage(com.hederahashgraph.api.proto.java.TopicID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(topicID_); topicID_ = subBuilder.buildPartial(); } break; } case 56: { topicSequenceNumber_ = input.readUInt64(); break; } case 66: { topicRunningHash_ = input.readBytes(); break; } case 72: { topicRunningHashVersion_ = input.readUInt64(); break; } case 82: { com.hederahashgraph.api.proto.java.TokenID.Builder subBuilder = null; if (tokenID_ != null) { subBuilder = tokenID_.toBuilder(); } tokenID_ = input.readMessage(com.hederahashgraph.api.proto.java.TokenID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tokenID_); tokenID_ = subBuilder.buildPartial(); } break; } case 88: { newTotalSupply_ = input.readUInt64(); break; } case 98: { com.hederahashgraph.api.proto.java.ScheduleID.Builder subBuilder = null; if (scheduleID_ != null) { subBuilder = scheduleID_.toBuilder(); } scheduleID_ = input.readMessage(com.hederahashgraph.api.proto.java.ScheduleID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(scheduleID_); scheduleID_ = subBuilder.buildPartial(); } break; } case 106: { com.hederahashgraph.api.proto.java.TransactionID.Builder subBuilder = null; if (scheduledTransactionID_ != null) { subBuilder = scheduledTransactionID_.toBuilder(); } scheduledTransactionID_ = input.readMessage(com.hederahashgraph.api.proto.java.TransactionID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(scheduledTransactionID_); scheduledTransactionID_ = subBuilder.buildPartial(); } break; } case 112: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { serialNumbers_ = newLongList(); mutable_bitField0_ |= 0x00000001; } serialNumbers_.addLong(input.readInt64()); break; } case 114: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { serialNumbers_ = newLongList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { serialNumbers_.addLong(input.readInt64()); } input.popLimit(limit); break; } case 120: { nodeId_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { serialNumbers_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hederahashgraph.api.proto.java.TransactionReceiptOuterClass.internal_static_proto_TransactionReceipt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hederahashgraph.api.proto.java.TransactionReceiptOuterClass.internal_static_proto_TransactionReceipt_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hederahashgraph.api.proto.java.TransactionReceipt.class, com.hederahashgraph.api.proto.java.TransactionReceipt.Builder.class); } 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.hederahashgraph.api.proto.java.ResponseCodeEnum getStatus() { @SuppressWarnings("deprecation") com.hederahashgraph.api.proto.java.ResponseCodeEnum result = com.hederahashgraph.api.proto.java.ResponseCodeEnum.valueOf(status_); return result == null ? com.hederahashgraph.api.proto.java.ResponseCodeEnum.UNRECOGNIZED : result; } public static final int ACCOUNTID_FIELD_NUMBER = 2; private com.hederahashgraph.api.proto.java.AccountID accountID_; /** *
   **
   * In the receipt of a CryptoCreate, the id of the newly created account
   * 
* * .proto.AccountID accountID = 2; * @return Whether the accountID field is set. */ @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; * @return The accountID. */ @java.lang.Override public com.hederahashgraph.api.proto.java.AccountID getAccountID() { return accountID_ == null ? com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance() : accountID_; } /** *
   **
   * In the receipt of a CryptoCreate, the id of the newly created account
   * 
* * .proto.AccountID accountID = 2; */ @java.lang.Override public com.hederahashgraph.api.proto.java.AccountIDOrBuilder getAccountIDOrBuilder() { return getAccountID(); } public static final int FILEID_FIELD_NUMBER = 3; private com.hederahashgraph.api.proto.java.FileID fileID_; /** *
   **
   * In the receipt of a FileCreate, the id of the newly created file
   * 
* * .proto.FileID fileID = 3; * @return Whether the fileID field is set. */ @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; * @return The fileID. */ @java.lang.Override public com.hederahashgraph.api.proto.java.FileID getFileID() { return fileID_ == null ? com.hederahashgraph.api.proto.java.FileID.getDefaultInstance() : fileID_; } /** *
   **
   * In the receipt of a FileCreate, the id of the newly created file
   * 
* * .proto.FileID fileID = 3; */ @java.lang.Override public com.hederahashgraph.api.proto.java.FileIDOrBuilder getFileIDOrBuilder() { return getFileID(); } public static final int CONTRACTID_FIELD_NUMBER = 4; private com.hederahashgraph.api.proto.java.ContractID contractID_; /** *
   **
   * In the receipt of a ContractCreate, the id of the newly created contract
   * 
* * .proto.ContractID contractID = 4; * @return Whether the contractID field is set. */ @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; * @return The contractID. */ @java.lang.Override public com.hederahashgraph.api.proto.java.ContractID getContractID() { return contractID_ == null ? com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance() : contractID_; } /** *
   **
   * In the receipt of a ContractCreate, the id of the newly created contract
   * 
* * .proto.ContractID contractID = 4; */ @java.lang.Override public com.hederahashgraph.api.proto.java.ContractIDOrBuilder getContractIDOrBuilder() { return getContractID(); } public static final int EXCHANGERATE_FIELD_NUMBER = 5; private com.hederahashgraph.api.proto.java.ExchangeRateSet exchangeRate_; /** *
   **
   * The exchange rates in effect when the transaction reached consensus
   * 
* * .proto.ExchangeRateSet exchangeRate = 5; * @return Whether the exchangeRate field is set. */ @java.lang.Override public boolean hasExchangeRate() { return exchangeRate_ != null; } /** *
   **
   * The exchange rates in effect when the transaction reached consensus
   * 
* * .proto.ExchangeRateSet exchangeRate = 5; * @return The exchangeRate. */ @java.lang.Override public com.hederahashgraph.api.proto.java.ExchangeRateSet getExchangeRate() { return exchangeRate_ == null ? com.hederahashgraph.api.proto.java.ExchangeRateSet.getDefaultInstance() : exchangeRate_; } /** *
   **
   * The exchange rates in effect when the transaction reached consensus
   * 
* * .proto.ExchangeRateSet exchangeRate = 5; */ @java.lang.Override public com.hederahashgraph.api.proto.java.ExchangeRateSetOrBuilder getExchangeRateOrBuilder() { return getExchangeRate(); } public static final int TOPICID_FIELD_NUMBER = 6; private com.hederahashgraph.api.proto.java.TopicID topicID_; /** *
   **
   * In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
   * 
* * .proto.TopicID topicID = 6; * @return Whether the topicID field is set. */ @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; * @return The topicID. */ @java.lang.Override public com.hederahashgraph.api.proto.java.TopicID getTopicID() { return topicID_ == null ? com.hederahashgraph.api.proto.java.TopicID.getDefaultInstance() : topicID_; } /** *
   **
   * In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
   * 
* * .proto.TopicID topicID = 6; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TopicIDOrBuilder getTopicIDOrBuilder() { return getTopicID(); } 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_; } 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_; } 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_; } public static final int TOKENID_FIELD_NUMBER = 10; private com.hederahashgraph.api.proto.java.TokenID tokenID_; /** *
   **
   * In the receipt of a CreateToken, the id of the newly created token
   * 
* * .proto.TokenID tokenID = 10; * @return Whether the tokenID field is set. */ @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; * @return The tokenID. */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenID getTokenID() { return tokenID_ == null ? com.hederahashgraph.api.proto.java.TokenID.getDefaultInstance() : tokenID_; } /** *
   **
   * In the receipt of a CreateToken, the id of the newly created token
   * 
* * .proto.TokenID tokenID = 10; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenIDOrBuilder getTokenIDOrBuilder() { return getTokenID(); } 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_; } public static final int SCHEDULEID_FIELD_NUMBER = 12; private com.hederahashgraph.api.proto.java.ScheduleID scheduleID_; /** *
   **
   * In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
   * 
* * .proto.ScheduleID scheduleID = 12; * @return Whether the scheduleID field is set. */ @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; * @return The scheduleID. */ @java.lang.Override public com.hederahashgraph.api.proto.java.ScheduleID getScheduleID() { return scheduleID_ == null ? com.hederahashgraph.api.proto.java.ScheduleID.getDefaultInstance() : scheduleID_; } /** *
   **
   * In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
   * 
* * .proto.ScheduleID scheduleID = 12; */ @java.lang.Override public com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder getScheduleIDOrBuilder() { return getScheduleID(); } public static final int SCHEDULEDTRANSACTIONID_FIELD_NUMBER = 13; private com.hederahashgraph.api.proto.java.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; * @return Whether the scheduledTransactionID field is set. */ @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; * @return The scheduledTransactionID. */ @java.lang.Override public com.hederahashgraph.api.proto.java.TransactionID getScheduledTransactionID() { return scheduledTransactionID_ == null ? com.hederahashgraph.api.proto.java.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; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TransactionIDOrBuilder getScheduledTransactionIDOrBuilder() { return getScheduledTransactionID(); } 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. */ 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. */ public long getSerialNumbers(int index) { return serialNumbers_.getLong(index); } private int serialNumbersMemoizedSerializedSize = -1; 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_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (status_ != com.hederahashgraph.api.proto.java.ResponseCodeEnum.OK.getNumber()) { output.writeEnum(1, status_); } if (accountID_ != null) { output.writeMessage(2, getAccountID()); } if (fileID_ != null) { output.writeMessage(3, getFileID()); } if (contractID_ != null) { output.writeMessage(4, getContractID()); } if (exchangeRate_ != null) { output.writeMessage(5, getExchangeRate()); } if (topicID_ != null) { output.writeMessage(6, getTopicID()); } if (topicSequenceNumber_ != 0L) { output.writeUInt64(7, topicSequenceNumber_); } if (!topicRunningHash_.isEmpty()) { output.writeBytes(8, topicRunningHash_); } if (topicRunningHashVersion_ != 0L) { output.writeUInt64(9, topicRunningHashVersion_); } if (tokenID_ != null) { output.writeMessage(10, getTokenID()); } if (newTotalSupply_ != 0L) { output.writeUInt64(11, newTotalSupply_); } if (scheduleID_ != null) { output.writeMessage(12, getScheduleID()); } if (scheduledTransactionID_ != null) { output.writeMessage(13, getScheduledTransactionID()); } if (getSerialNumbersList().size() > 0) { output.writeUInt32NoTag(114); output.writeUInt32NoTag(serialNumbersMemoizedSerializedSize); } for (int i = 0; i < serialNumbers_.size(); i++) { output.writeInt64NoTag(serialNumbers_.getLong(i)); } if (nodeId_ != 0L) { output.writeUInt64(15, nodeId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != com.hederahashgraph.api.proto.java.ResponseCodeEnum.OK.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, status_); } if (accountID_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getAccountID()); } if (fileID_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getFileID()); } if (contractID_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getContractID()); } if (exchangeRate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getExchangeRate()); } if (topicID_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getTopicID()); } if (topicSequenceNumber_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(7, topicSequenceNumber_); } if (!topicRunningHash_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(8, topicRunningHash_); } if (topicRunningHashVersion_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(9, topicRunningHashVersion_); } if (tokenID_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getTokenID()); } if (newTotalSupply_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(11, newTotalSupply_); } if (scheduleID_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getScheduleID()); } if (scheduledTransactionID_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getScheduledTransactionID()); } { int dataSize = 0; for (int i = 0; i < serialNumbers_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(serialNumbers_.getLong(i)); } size += dataSize; if (!getSerialNumbersList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } serialNumbersMemoizedSerializedSize = dataSize; } if (nodeId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(15, nodeId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.hederahashgraph.api.proto.java.TransactionReceipt)) { return super.equals(obj); } com.hederahashgraph.api.proto.java.TransactionReceipt other = (com.hederahashgraph.api.proto.java.TransactionReceipt) obj; if (status_ != other.status_) return false; if (hasAccountID() != other.hasAccountID()) return false; if (hasAccountID()) { if (!getAccountID() .equals(other.getAccountID())) return false; } if (hasFileID() != other.hasFileID()) return false; if (hasFileID()) { if (!getFileID() .equals(other.getFileID())) return false; } if (hasContractID() != other.hasContractID()) return false; if (hasContractID()) { if (!getContractID() .equals(other.getContractID())) return false; } if (hasExchangeRate() != other.hasExchangeRate()) return false; if (hasExchangeRate()) { if (!getExchangeRate() .equals(other.getExchangeRate())) return false; } if (hasTopicID() != other.hasTopicID()) return false; if (hasTopicID()) { if (!getTopicID() .equals(other.getTopicID())) return false; } if (getTopicSequenceNumber() != other.getTopicSequenceNumber()) return false; if (!getTopicRunningHash() .equals(other.getTopicRunningHash())) return false; if (getTopicRunningHashVersion() != other.getTopicRunningHashVersion()) return false; if (hasTokenID() != other.hasTokenID()) return false; if (hasTokenID()) { if (!getTokenID() .equals(other.getTokenID())) return false; } if (getNewTotalSupply() != other.getNewTotalSupply()) return false; if (hasScheduleID() != other.hasScheduleID()) return false; if (hasScheduleID()) { if (!getScheduleID() .equals(other.getScheduleID())) return false; } if (hasScheduledTransactionID() != other.hasScheduledTransactionID()) return false; if (hasScheduledTransactionID()) { if (!getScheduledTransactionID() .equals(other.getScheduledTransactionID())) return false; } if (!getSerialNumbersList() .equals(other.getSerialNumbersList())) return false; if (getNodeId() != other.getNodeId()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; if (hasAccountID()) { hash = (37 * hash) + ACCOUNTID_FIELD_NUMBER; hash = (53 * hash) + getAccountID().hashCode(); } if (hasFileID()) { hash = (37 * hash) + FILEID_FIELD_NUMBER; hash = (53 * hash) + getFileID().hashCode(); } if (hasContractID()) { hash = (37 * hash) + CONTRACTID_FIELD_NUMBER; hash = (53 * hash) + getContractID().hashCode(); } if (hasExchangeRate()) { hash = (37 * hash) + EXCHANGERATE_FIELD_NUMBER; hash = (53 * hash) + getExchangeRate().hashCode(); } if (hasTopicID()) { hash = (37 * hash) + TOPICID_FIELD_NUMBER; hash = (53 * hash) + getTopicID().hashCode(); } hash = (37 * hash) + TOPICSEQUENCENUMBER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTopicSequenceNumber()); hash = (37 * hash) + TOPICRUNNINGHASH_FIELD_NUMBER; hash = (53 * hash) + getTopicRunningHash().hashCode(); hash = (37 * hash) + TOPICRUNNINGHASHVERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTopicRunningHashVersion()); if (hasTokenID()) { hash = (37 * hash) + TOKENID_FIELD_NUMBER; hash = (53 * hash) + getTokenID().hashCode(); } hash = (37 * hash) + NEWTOTALSUPPLY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNewTotalSupply()); if (hasScheduleID()) { hash = (37 * hash) + SCHEDULEID_FIELD_NUMBER; hash = (53 * hash) + getScheduleID().hashCode(); } if (hasScheduledTransactionID()) { hash = (37 * hash) + SCHEDULEDTRANSACTIONID_FIELD_NUMBER; hash = (53 * hash) + getScheduledTransactionID().hashCode(); } if (getSerialNumbersCount() > 0) { hash = (37 * hash) + SERIALNUMBERS_FIELD_NUMBER; hash = (53 * hash) + getSerialNumbersList().hashCode(); } hash = (37 * hash) + NODE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNodeId()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.hederahashgraph.api.proto.java.TransactionReceipt parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.TransactionReceipt parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hederahashgraph.api.proto.java.TransactionReceipt parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.TransactionReceipt parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hederahashgraph.api.proto.java.TransactionReceipt parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.TransactionReceipt parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hederahashgraph.api.proto.java.TransactionReceipt parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.TransactionReceipt parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.hederahashgraph.api.proto.java.TransactionReceipt parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.TransactionReceipt parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.hederahashgraph.api.proto.java.TransactionReceipt parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.TransactionReceipt parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.hederahashgraph.api.proto.java.TransactionReceipt prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   **
   * 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.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:proto.TransactionReceipt) com.hederahashgraph.api.proto.java.TransactionReceiptOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hederahashgraph.api.proto.java.TransactionReceiptOuterClass.internal_static_proto_TransactionReceipt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hederahashgraph.api.proto.java.TransactionReceiptOuterClass.internal_static_proto_TransactionReceipt_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hederahashgraph.api.proto.java.TransactionReceipt.class, com.hederahashgraph.api.proto.java.TransactionReceipt.Builder.class); } // Construct using com.hederahashgraph.api.proto.java.TransactionReceipt.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); status_ = 0; if (accountIDBuilder_ == null) { accountID_ = null; } else { accountID_ = null; accountIDBuilder_ = null; } if (fileIDBuilder_ == null) { fileID_ = null; } else { fileID_ = null; fileIDBuilder_ = null; } if (contractIDBuilder_ == null) { contractID_ = null; } else { contractID_ = null; contractIDBuilder_ = null; } if (exchangeRateBuilder_ == null) { exchangeRate_ = null; } else { exchangeRate_ = null; exchangeRateBuilder_ = null; } if (topicIDBuilder_ == null) { topicID_ = null; } else { topicID_ = null; topicIDBuilder_ = null; } topicSequenceNumber_ = 0L; topicRunningHash_ = com.google.protobuf.ByteString.EMPTY; topicRunningHashVersion_ = 0L; if (tokenIDBuilder_ == null) { tokenID_ = null; } else { tokenID_ = null; tokenIDBuilder_ = null; } newTotalSupply_ = 0L; if (scheduleIDBuilder_ == null) { scheduleID_ = null; } else { scheduleID_ = null; scheduleIDBuilder_ = null; } if (scheduledTransactionIDBuilder_ == null) { scheduledTransactionID_ = null; } else { scheduledTransactionID_ = null; scheduledTransactionIDBuilder_ = null; } serialNumbers_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); nodeId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.hederahashgraph.api.proto.java.TransactionReceiptOuterClass.internal_static_proto_TransactionReceipt_descriptor; } @java.lang.Override public com.hederahashgraph.api.proto.java.TransactionReceipt getDefaultInstanceForType() { return com.hederahashgraph.api.proto.java.TransactionReceipt.getDefaultInstance(); } @java.lang.Override public com.hederahashgraph.api.proto.java.TransactionReceipt build() { com.hederahashgraph.api.proto.java.TransactionReceipt result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.hederahashgraph.api.proto.java.TransactionReceipt buildPartial() { com.hederahashgraph.api.proto.java.TransactionReceipt result = new com.hederahashgraph.api.proto.java.TransactionReceipt(this); int from_bitField0_ = bitField0_; result.status_ = status_; if (accountIDBuilder_ == null) { result.accountID_ = accountID_; } else { result.accountID_ = accountIDBuilder_.build(); } if (fileIDBuilder_ == null) { result.fileID_ = fileID_; } else { result.fileID_ = fileIDBuilder_.build(); } if (contractIDBuilder_ == null) { result.contractID_ = contractID_; } else { result.contractID_ = contractIDBuilder_.build(); } if (exchangeRateBuilder_ == null) { result.exchangeRate_ = exchangeRate_; } else { result.exchangeRate_ = exchangeRateBuilder_.build(); } if (topicIDBuilder_ == null) { result.topicID_ = topicID_; } else { result.topicID_ = topicIDBuilder_.build(); } result.topicSequenceNumber_ = topicSequenceNumber_; result.topicRunningHash_ = topicRunningHash_; result.topicRunningHashVersion_ = topicRunningHashVersion_; if (tokenIDBuilder_ == null) { result.tokenID_ = tokenID_; } else { result.tokenID_ = tokenIDBuilder_.build(); } result.newTotalSupply_ = newTotalSupply_; if (scheduleIDBuilder_ == null) { result.scheduleID_ = scheduleID_; } else { result.scheduleID_ = scheduleIDBuilder_.build(); } if (scheduledTransactionIDBuilder_ == null) { result.scheduledTransactionID_ = scheduledTransactionID_; } else { result.scheduledTransactionID_ = scheduledTransactionIDBuilder_.build(); } if (((bitField0_ & 0x00000001) != 0)) { serialNumbers_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.serialNumbers_ = serialNumbers_; result.nodeId_ = nodeId_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.hederahashgraph.api.proto.java.TransactionReceipt) { return mergeFrom((com.hederahashgraph.api.proto.java.TransactionReceipt)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.hederahashgraph.api.proto.java.TransactionReceipt other) { if (other == com.hederahashgraph.api.proto.java.TransactionReceipt.getDefaultInstance()) return this; if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (other.hasAccountID()) { mergeAccountID(other.getAccountID()); } if (other.hasFileID()) { mergeFileID(other.getFileID()); } if (other.hasContractID()) { mergeContractID(other.getContractID()); } if (other.hasExchangeRate()) { mergeExchangeRate(other.getExchangeRate()); } if (other.hasTopicID()) { mergeTopicID(other.getTopicID()); } if (other.getTopicSequenceNumber() != 0L) { setTopicSequenceNumber(other.getTopicSequenceNumber()); } if (other.getTopicRunningHash() != com.google.protobuf.ByteString.EMPTY) { setTopicRunningHash(other.getTopicRunningHash()); } if (other.getTopicRunningHashVersion() != 0L) { setTopicRunningHashVersion(other.getTopicRunningHashVersion()); } if (other.hasTokenID()) { mergeTokenID(other.getTokenID()); } if (other.getNewTotalSupply() != 0L) { setNewTotalSupply(other.getNewTotalSupply()); } if (other.hasScheduleID()) { mergeScheduleID(other.getScheduleID()); } if (other.hasScheduledTransactionID()) { mergeScheduledTransactionID(other.getScheduledTransactionID()); } if (!other.serialNumbers_.isEmpty()) { if (serialNumbers_.isEmpty()) { serialNumbers_ = other.serialNumbers_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSerialNumbersIsMutable(); serialNumbers_.addAll(other.serialNumbers_); } onChanged(); } if (other.getNodeId() != 0L) { setNodeId(other.getNodeId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.hederahashgraph.api.proto.java.TransactionReceipt parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.hederahashgraph.api.proto.java.TransactionReceipt) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int status_ = 0; /** *
     **
     * 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; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; onChanged(); 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.hederahashgraph.api.proto.java.ResponseCodeEnum getStatus() { @SuppressWarnings("deprecation") com.hederahashgraph.api.proto.java.ResponseCodeEnum result = com.hederahashgraph.api.proto.java.ResponseCodeEnum.valueOf(status_); return result == null ? com.hederahashgraph.api.proto.java.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 status to set. * @return This builder for chaining. */ public Builder setStatus(com.hederahashgraph.api.proto.java.ResponseCodeEnum value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); 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() { status_ = 0; onChanged(); return this; } private com.hederahashgraph.api.proto.java.AccountID accountID_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder> accountIDBuilder_; /** *
     **
     * In the receipt of a CryptoCreate, the id of the newly created account
     * 
* * .proto.AccountID accountID = 2; * @return Whether the accountID field is set. */ public boolean hasAccountID() { return accountIDBuilder_ != null || accountID_ != null; } /** *
     **
     * In the receipt of a CryptoCreate, the id of the newly created account
     * 
* * .proto.AccountID accountID = 2; * @return The accountID. */ public com.hederahashgraph.api.proto.java.AccountID getAccountID() { if (accountIDBuilder_ == null) { return accountID_ == null ? com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance() : accountID_; } else { return accountIDBuilder_.getMessage(); } } /** *
     **
     * In the receipt of a CryptoCreate, the id of the newly created account
     * 
* * .proto.AccountID accountID = 2; */ public Builder setAccountID(com.hederahashgraph.api.proto.java.AccountID value) { if (accountIDBuilder_ == null) { if (value == null) { throw new NullPointerException(); } accountID_ = value; onChanged(); } else { accountIDBuilder_.setMessage(value); } return this; } /** *
     **
     * In the receipt of a CryptoCreate, the id of the newly created account
     * 
* * .proto.AccountID accountID = 2; */ public Builder setAccountID( com.hederahashgraph.api.proto.java.AccountID.Builder builderForValue) { if (accountIDBuilder_ == null) { accountID_ = builderForValue.build(); onChanged(); } else { accountIDBuilder_.setMessage(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.hederahashgraph.api.proto.java.AccountID value) { if (accountIDBuilder_ == null) { if (accountID_ != null) { accountID_ = com.hederahashgraph.api.proto.java.AccountID.newBuilder(accountID_).mergeFrom(value).buildPartial(); } else { accountID_ = value; } onChanged(); } else { accountIDBuilder_.mergeFrom(value); } return this; } /** *
     **
     * In the receipt of a CryptoCreate, the id of the newly created account
     * 
* * .proto.AccountID accountID = 2; */ public Builder clearAccountID() { if (accountIDBuilder_ == null) { accountID_ = null; onChanged(); } else { accountID_ = null; accountIDBuilder_ = null; } return this; } /** *
     **
     * In the receipt of a CryptoCreate, the id of the newly created account
     * 
* * .proto.AccountID accountID = 2; */ public com.hederahashgraph.api.proto.java.AccountID.Builder getAccountIDBuilder() { onChanged(); return getAccountIDFieldBuilder().getBuilder(); } /** *
     **
     * In the receipt of a CryptoCreate, the id of the newly created account
     * 
* * .proto.AccountID accountID = 2; */ public com.hederahashgraph.api.proto.java.AccountIDOrBuilder getAccountIDOrBuilder() { if (accountIDBuilder_ != null) { return accountIDBuilder_.getMessageOrBuilder(); } else { return accountID_ == null ? com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance() : accountID_; } } /** *
     **
     * In the receipt of a CryptoCreate, the id of the newly created account
     * 
* * .proto.AccountID accountID = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder> getAccountIDFieldBuilder() { if (accountIDBuilder_ == null) { accountIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder>( getAccountID(), getParentForChildren(), isClean()); accountID_ = null; } return accountIDBuilder_; } private com.hederahashgraph.api.proto.java.FileID fileID_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.FileID, com.hederahashgraph.api.proto.java.FileID.Builder, com.hederahashgraph.api.proto.java.FileIDOrBuilder> fileIDBuilder_; /** *
     **
     * In the receipt of a FileCreate, the id of the newly created file
     * 
* * .proto.FileID fileID = 3; * @return Whether the fileID field is set. */ public boolean hasFileID() { return fileIDBuilder_ != null || fileID_ != null; } /** *
     **
     * In the receipt of a FileCreate, the id of the newly created file
     * 
* * .proto.FileID fileID = 3; * @return The fileID. */ public com.hederahashgraph.api.proto.java.FileID getFileID() { if (fileIDBuilder_ == null) { return fileID_ == null ? com.hederahashgraph.api.proto.java.FileID.getDefaultInstance() : fileID_; } else { return fileIDBuilder_.getMessage(); } } /** *
     **
     * In the receipt of a FileCreate, the id of the newly created file
     * 
* * .proto.FileID fileID = 3; */ public Builder setFileID(com.hederahashgraph.api.proto.java.FileID value) { if (fileIDBuilder_ == null) { if (value == null) { throw new NullPointerException(); } fileID_ = value; onChanged(); } else { fileIDBuilder_.setMessage(value); } return this; } /** *
     **
     * In the receipt of a FileCreate, the id of the newly created file
     * 
* * .proto.FileID fileID = 3; */ public Builder setFileID( com.hederahashgraph.api.proto.java.FileID.Builder builderForValue) { if (fileIDBuilder_ == null) { fileID_ = builderForValue.build(); onChanged(); } else { fileIDBuilder_.setMessage(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.hederahashgraph.api.proto.java.FileID value) { if (fileIDBuilder_ == null) { if (fileID_ != null) { fileID_ = com.hederahashgraph.api.proto.java.FileID.newBuilder(fileID_).mergeFrom(value).buildPartial(); } else { fileID_ = value; } onChanged(); } else { fileIDBuilder_.mergeFrom(value); } return this; } /** *
     **
     * In the receipt of a FileCreate, the id of the newly created file
     * 
* * .proto.FileID fileID = 3; */ public Builder clearFileID() { if (fileIDBuilder_ == null) { fileID_ = null; onChanged(); } else { fileID_ = null; fileIDBuilder_ = null; } return this; } /** *
     **
     * In the receipt of a FileCreate, the id of the newly created file
     * 
* * .proto.FileID fileID = 3; */ public com.hederahashgraph.api.proto.java.FileID.Builder getFileIDBuilder() { onChanged(); return getFileIDFieldBuilder().getBuilder(); } /** *
     **
     * In the receipt of a FileCreate, the id of the newly created file
     * 
* * .proto.FileID fileID = 3; */ public com.hederahashgraph.api.proto.java.FileIDOrBuilder getFileIDOrBuilder() { if (fileIDBuilder_ != null) { return fileIDBuilder_.getMessageOrBuilder(); } else { return fileID_ == null ? com.hederahashgraph.api.proto.java.FileID.getDefaultInstance() : fileID_; } } /** *
     **
     * In the receipt of a FileCreate, the id of the newly created file
     * 
* * .proto.FileID fileID = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.FileID, com.hederahashgraph.api.proto.java.FileID.Builder, com.hederahashgraph.api.proto.java.FileIDOrBuilder> getFileIDFieldBuilder() { if (fileIDBuilder_ == null) { fileIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.FileID, com.hederahashgraph.api.proto.java.FileID.Builder, com.hederahashgraph.api.proto.java.FileIDOrBuilder>( getFileID(), getParentForChildren(), isClean()); fileID_ = null; } return fileIDBuilder_; } private com.hederahashgraph.api.proto.java.ContractID contractID_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ContractID, com.hederahashgraph.api.proto.java.ContractID.Builder, com.hederahashgraph.api.proto.java.ContractIDOrBuilder> contractIDBuilder_; /** *
     **
     * In the receipt of a ContractCreate, the id of the newly created contract
     * 
* * .proto.ContractID contractID = 4; * @return Whether the contractID field is set. */ public boolean hasContractID() { return contractIDBuilder_ != null || contractID_ != null; } /** *
     **
     * In the receipt of a ContractCreate, the id of the newly created contract
     * 
* * .proto.ContractID contractID = 4; * @return The contractID. */ public com.hederahashgraph.api.proto.java.ContractID getContractID() { if (contractIDBuilder_ == null) { return contractID_ == null ? com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance() : contractID_; } else { return contractIDBuilder_.getMessage(); } } /** *
     **
     * In the receipt of a ContractCreate, the id of the newly created contract
     * 
* * .proto.ContractID contractID = 4; */ public Builder setContractID(com.hederahashgraph.api.proto.java.ContractID value) { if (contractIDBuilder_ == null) { if (value == null) { throw new NullPointerException(); } contractID_ = value; onChanged(); } else { contractIDBuilder_.setMessage(value); } return this; } /** *
     **
     * In the receipt of a ContractCreate, the id of the newly created contract
     * 
* * .proto.ContractID contractID = 4; */ public Builder setContractID( com.hederahashgraph.api.proto.java.ContractID.Builder builderForValue) { if (contractIDBuilder_ == null) { contractID_ = builderForValue.build(); onChanged(); } else { contractIDBuilder_.setMessage(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.hederahashgraph.api.proto.java.ContractID value) { if (contractIDBuilder_ == null) { if (contractID_ != null) { contractID_ = com.hederahashgraph.api.proto.java.ContractID.newBuilder(contractID_).mergeFrom(value).buildPartial(); } else { contractID_ = value; } onChanged(); } else { contractIDBuilder_.mergeFrom(value); } return this; } /** *
     **
     * In the receipt of a ContractCreate, the id of the newly created contract
     * 
* * .proto.ContractID contractID = 4; */ public Builder clearContractID() { if (contractIDBuilder_ == null) { contractID_ = null; onChanged(); } else { contractID_ = null; contractIDBuilder_ = null; } return this; } /** *
     **
     * In the receipt of a ContractCreate, the id of the newly created contract
     * 
* * .proto.ContractID contractID = 4; */ public com.hederahashgraph.api.proto.java.ContractID.Builder getContractIDBuilder() { onChanged(); return getContractIDFieldBuilder().getBuilder(); } /** *
     **
     * In the receipt of a ContractCreate, the id of the newly created contract
     * 
* * .proto.ContractID contractID = 4; */ public com.hederahashgraph.api.proto.java.ContractIDOrBuilder getContractIDOrBuilder() { if (contractIDBuilder_ != null) { return contractIDBuilder_.getMessageOrBuilder(); } else { return contractID_ == null ? com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance() : contractID_; } } /** *
     **
     * In the receipt of a ContractCreate, the id of the newly created contract
     * 
* * .proto.ContractID contractID = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ContractID, com.hederahashgraph.api.proto.java.ContractID.Builder, com.hederahashgraph.api.proto.java.ContractIDOrBuilder> getContractIDFieldBuilder() { if (contractIDBuilder_ == null) { contractIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ContractID, com.hederahashgraph.api.proto.java.ContractID.Builder, com.hederahashgraph.api.proto.java.ContractIDOrBuilder>( getContractID(), getParentForChildren(), isClean()); contractID_ = null; } return contractIDBuilder_; } private com.hederahashgraph.api.proto.java.ExchangeRateSet exchangeRate_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ExchangeRateSet, com.hederahashgraph.api.proto.java.ExchangeRateSet.Builder, com.hederahashgraph.api.proto.java.ExchangeRateSetOrBuilder> exchangeRateBuilder_; /** *
     **
     * The exchange rates in effect when the transaction reached consensus
     * 
* * .proto.ExchangeRateSet exchangeRate = 5; * @return Whether the exchangeRate field is set. */ public boolean hasExchangeRate() { return exchangeRateBuilder_ != null || exchangeRate_ != null; } /** *
     **
     * The exchange rates in effect when the transaction reached consensus
     * 
* * .proto.ExchangeRateSet exchangeRate = 5; * @return The exchangeRate. */ public com.hederahashgraph.api.proto.java.ExchangeRateSet getExchangeRate() { if (exchangeRateBuilder_ == null) { return exchangeRate_ == null ? com.hederahashgraph.api.proto.java.ExchangeRateSet.getDefaultInstance() : exchangeRate_; } else { return exchangeRateBuilder_.getMessage(); } } /** *
     **
     * The exchange rates in effect when the transaction reached consensus
     * 
* * .proto.ExchangeRateSet exchangeRate = 5; */ public Builder setExchangeRate(com.hederahashgraph.api.proto.java.ExchangeRateSet value) { if (exchangeRateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } exchangeRate_ = value; onChanged(); } else { exchangeRateBuilder_.setMessage(value); } return this; } /** *
     **
     * The exchange rates in effect when the transaction reached consensus
     * 
* * .proto.ExchangeRateSet exchangeRate = 5; */ public Builder setExchangeRate( com.hederahashgraph.api.proto.java.ExchangeRateSet.Builder builderForValue) { if (exchangeRateBuilder_ == null) { exchangeRate_ = builderForValue.build(); onChanged(); } else { exchangeRateBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     **
     * The exchange rates in effect when the transaction reached consensus
     * 
* * .proto.ExchangeRateSet exchangeRate = 5; */ public Builder mergeExchangeRate(com.hederahashgraph.api.proto.java.ExchangeRateSet value) { if (exchangeRateBuilder_ == null) { if (exchangeRate_ != null) { exchangeRate_ = com.hederahashgraph.api.proto.java.ExchangeRateSet.newBuilder(exchangeRate_).mergeFrom(value).buildPartial(); } else { exchangeRate_ = value; } onChanged(); } else { exchangeRateBuilder_.mergeFrom(value); } return this; } /** *
     **
     * The exchange rates in effect when the transaction reached consensus
     * 
* * .proto.ExchangeRateSet exchangeRate = 5; */ public Builder clearExchangeRate() { if (exchangeRateBuilder_ == null) { exchangeRate_ = null; onChanged(); } else { exchangeRate_ = null; exchangeRateBuilder_ = null; } return this; } /** *
     **
     * The exchange rates in effect when the transaction reached consensus
     * 
* * .proto.ExchangeRateSet exchangeRate = 5; */ public com.hederahashgraph.api.proto.java.ExchangeRateSet.Builder getExchangeRateBuilder() { onChanged(); return getExchangeRateFieldBuilder().getBuilder(); } /** *
     **
     * The exchange rates in effect when the transaction reached consensus
     * 
* * .proto.ExchangeRateSet exchangeRate = 5; */ public com.hederahashgraph.api.proto.java.ExchangeRateSetOrBuilder getExchangeRateOrBuilder() { if (exchangeRateBuilder_ != null) { return exchangeRateBuilder_.getMessageOrBuilder(); } else { return exchangeRate_ == null ? com.hederahashgraph.api.proto.java.ExchangeRateSet.getDefaultInstance() : exchangeRate_; } } /** *
     **
     * The exchange rates in effect when the transaction reached consensus
     * 
* * .proto.ExchangeRateSet exchangeRate = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ExchangeRateSet, com.hederahashgraph.api.proto.java.ExchangeRateSet.Builder, com.hederahashgraph.api.proto.java.ExchangeRateSetOrBuilder> getExchangeRateFieldBuilder() { if (exchangeRateBuilder_ == null) { exchangeRateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ExchangeRateSet, com.hederahashgraph.api.proto.java.ExchangeRateSet.Builder, com.hederahashgraph.api.proto.java.ExchangeRateSetOrBuilder>( getExchangeRate(), getParentForChildren(), isClean()); exchangeRate_ = null; } return exchangeRateBuilder_; } private com.hederahashgraph.api.proto.java.TopicID topicID_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TopicID, com.hederahashgraph.api.proto.java.TopicID.Builder, com.hederahashgraph.api.proto.java.TopicIDOrBuilder> topicIDBuilder_; /** *
     **
     * In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
     * 
* * .proto.TopicID topicID = 6; * @return Whether the topicID field is set. */ public boolean hasTopicID() { return topicIDBuilder_ != null || topicID_ != null; } /** *
     **
     * In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
     * 
* * .proto.TopicID topicID = 6; * @return The topicID. */ public com.hederahashgraph.api.proto.java.TopicID getTopicID() { if (topicIDBuilder_ == null) { return topicID_ == null ? com.hederahashgraph.api.proto.java.TopicID.getDefaultInstance() : topicID_; } else { return topicIDBuilder_.getMessage(); } } /** *
     **
     * In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
     * 
* * .proto.TopicID topicID = 6; */ public Builder setTopicID(com.hederahashgraph.api.proto.java.TopicID value) { if (topicIDBuilder_ == null) { if (value == null) { throw new NullPointerException(); } topicID_ = value; onChanged(); } else { topicIDBuilder_.setMessage(value); } return this; } /** *
     **
     * In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
     * 
* * .proto.TopicID topicID = 6; */ public Builder setTopicID( com.hederahashgraph.api.proto.java.TopicID.Builder builderForValue) { if (topicIDBuilder_ == null) { topicID_ = builderForValue.build(); onChanged(); } else { topicIDBuilder_.setMessage(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.hederahashgraph.api.proto.java.TopicID value) { if (topicIDBuilder_ == null) { if (topicID_ != null) { topicID_ = com.hederahashgraph.api.proto.java.TopicID.newBuilder(topicID_).mergeFrom(value).buildPartial(); } else { topicID_ = value; } onChanged(); } else { topicIDBuilder_.mergeFrom(value); } return this; } /** *
     **
     * In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
     * 
* * .proto.TopicID topicID = 6; */ public Builder clearTopicID() { if (topicIDBuilder_ == null) { topicID_ = null; onChanged(); } else { topicID_ = null; topicIDBuilder_ = null; } return this; } /** *
     **
     * In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
     * 
* * .proto.TopicID topicID = 6; */ public com.hederahashgraph.api.proto.java.TopicID.Builder getTopicIDBuilder() { onChanged(); return getTopicIDFieldBuilder().getBuilder(); } /** *
     **
     * In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
     * 
* * .proto.TopicID topicID = 6; */ public com.hederahashgraph.api.proto.java.TopicIDOrBuilder getTopicIDOrBuilder() { if (topicIDBuilder_ != null) { return topicIDBuilder_.getMessageOrBuilder(); } else { return topicID_ == null ? com.hederahashgraph.api.proto.java.TopicID.getDefaultInstance() : topicID_; } } /** *
     **
     * In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
     * 
* * .proto.TopicID topicID = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TopicID, com.hederahashgraph.api.proto.java.TopicID.Builder, com.hederahashgraph.api.proto.java.TopicIDOrBuilder> getTopicIDFieldBuilder() { if (topicIDBuilder_ == null) { topicIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TopicID, com.hederahashgraph.api.proto.java.TopicID.Builder, com.hederahashgraph.api.proto.java.TopicIDOrBuilder>( getTopicID(), getParentForChildren(), isClean()); topicID_ = null; } return topicIDBuilder_; } 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. * @return This builder for chaining. */ public Builder setTopicSequenceNumber(long value) { topicSequenceNumber_ = value; onChanged(); 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() { topicSequenceNumber_ = 0L; onChanged(); return this; } private com.google.protobuf.ByteString topicRunningHash_ = com.google.protobuf.ByteString.EMPTY; /** *
     **
     * 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. * @return This builder for chaining. */ public Builder setTopicRunningHash(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } topicRunningHash_ = value; onChanged(); 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() { topicRunningHash_ = getDefaultInstance().getTopicRunningHash(); onChanged(); return this; } 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. * @return This builder for chaining. */ public Builder setTopicRunningHashVersion(long value) { topicRunningHashVersion_ = value; onChanged(); 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() { topicRunningHashVersion_ = 0L; onChanged(); return this; } private com.hederahashgraph.api.proto.java.TokenID tokenID_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TokenID, com.hederahashgraph.api.proto.java.TokenID.Builder, com.hederahashgraph.api.proto.java.TokenIDOrBuilder> tokenIDBuilder_; /** *
     **
     * In the receipt of a CreateToken, the id of the newly created token
     * 
* * .proto.TokenID tokenID = 10; * @return Whether the tokenID field is set. */ public boolean hasTokenID() { return tokenIDBuilder_ != null || tokenID_ != null; } /** *
     **
     * In the receipt of a CreateToken, the id of the newly created token
     * 
* * .proto.TokenID tokenID = 10; * @return The tokenID. */ public com.hederahashgraph.api.proto.java.TokenID getTokenID() { if (tokenIDBuilder_ == null) { return tokenID_ == null ? com.hederahashgraph.api.proto.java.TokenID.getDefaultInstance() : tokenID_; } else { return tokenIDBuilder_.getMessage(); } } /** *
     **
     * In the receipt of a CreateToken, the id of the newly created token
     * 
* * .proto.TokenID tokenID = 10; */ public Builder setTokenID(com.hederahashgraph.api.proto.java.TokenID value) { if (tokenIDBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tokenID_ = value; onChanged(); } else { tokenIDBuilder_.setMessage(value); } return this; } /** *
     **
     * In the receipt of a CreateToken, the id of the newly created token
     * 
* * .proto.TokenID tokenID = 10; */ public Builder setTokenID( com.hederahashgraph.api.proto.java.TokenID.Builder builderForValue) { if (tokenIDBuilder_ == null) { tokenID_ = builderForValue.build(); onChanged(); } else { tokenIDBuilder_.setMessage(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.hederahashgraph.api.proto.java.TokenID value) { if (tokenIDBuilder_ == null) { if (tokenID_ != null) { tokenID_ = com.hederahashgraph.api.proto.java.TokenID.newBuilder(tokenID_).mergeFrom(value).buildPartial(); } else { tokenID_ = value; } onChanged(); } else { tokenIDBuilder_.mergeFrom(value); } return this; } /** *
     **
     * In the receipt of a CreateToken, the id of the newly created token
     * 
* * .proto.TokenID tokenID = 10; */ public Builder clearTokenID() { if (tokenIDBuilder_ == null) { tokenID_ = null; onChanged(); } else { tokenID_ = null; tokenIDBuilder_ = null; } return this; } /** *
     **
     * In the receipt of a CreateToken, the id of the newly created token
     * 
* * .proto.TokenID tokenID = 10; */ public com.hederahashgraph.api.proto.java.TokenID.Builder getTokenIDBuilder() { onChanged(); return getTokenIDFieldBuilder().getBuilder(); } /** *
     **
     * In the receipt of a CreateToken, the id of the newly created token
     * 
* * .proto.TokenID tokenID = 10; */ public com.hederahashgraph.api.proto.java.TokenIDOrBuilder getTokenIDOrBuilder() { if (tokenIDBuilder_ != null) { return tokenIDBuilder_.getMessageOrBuilder(); } else { return tokenID_ == null ? com.hederahashgraph.api.proto.java.TokenID.getDefaultInstance() : tokenID_; } } /** *
     **
     * In the receipt of a CreateToken, the id of the newly created token
     * 
* * .proto.TokenID tokenID = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TokenID, com.hederahashgraph.api.proto.java.TokenID.Builder, com.hederahashgraph.api.proto.java.TokenIDOrBuilder> getTokenIDFieldBuilder() { if (tokenIDBuilder_ == null) { tokenIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TokenID, com.hederahashgraph.api.proto.java.TokenID.Builder, com.hederahashgraph.api.proto.java.TokenIDOrBuilder>( getTokenID(), getParentForChildren(), isClean()); tokenID_ = null; } return tokenIDBuilder_; } 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. * @return This builder for chaining. */ public Builder setNewTotalSupply(long value) { newTotalSupply_ = value; onChanged(); 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() { newTotalSupply_ = 0L; onChanged(); return this; } private com.hederahashgraph.api.proto.java.ScheduleID scheduleID_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ScheduleID, com.hederahashgraph.api.proto.java.ScheduleID.Builder, com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder> scheduleIDBuilder_; /** *
     **
     * In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
     * 
* * .proto.ScheduleID scheduleID = 12; * @return Whether the scheduleID field is set. */ public boolean hasScheduleID() { return scheduleIDBuilder_ != null || scheduleID_ != null; } /** *
     **
     * In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
     * 
* * .proto.ScheduleID scheduleID = 12; * @return The scheduleID. */ public com.hederahashgraph.api.proto.java.ScheduleID getScheduleID() { if (scheduleIDBuilder_ == null) { return scheduleID_ == null ? com.hederahashgraph.api.proto.java.ScheduleID.getDefaultInstance() : scheduleID_; } else { return scheduleIDBuilder_.getMessage(); } } /** *
     **
     * In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
     * 
* * .proto.ScheduleID scheduleID = 12; */ public Builder setScheduleID(com.hederahashgraph.api.proto.java.ScheduleID value) { if (scheduleIDBuilder_ == null) { if (value == null) { throw new NullPointerException(); } scheduleID_ = value; onChanged(); } else { scheduleIDBuilder_.setMessage(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.hederahashgraph.api.proto.java.ScheduleID.Builder builderForValue) { if (scheduleIDBuilder_ == null) { scheduleID_ = builderForValue.build(); onChanged(); } else { scheduleIDBuilder_.setMessage(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.hederahashgraph.api.proto.java.ScheduleID value) { if (scheduleIDBuilder_ == null) { if (scheduleID_ != null) { scheduleID_ = com.hederahashgraph.api.proto.java.ScheduleID.newBuilder(scheduleID_).mergeFrom(value).buildPartial(); } else { scheduleID_ = value; } onChanged(); } else { scheduleIDBuilder_.mergeFrom(value); } return this; } /** *
     **
     * In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
     * 
* * .proto.ScheduleID scheduleID = 12; */ public Builder clearScheduleID() { if (scheduleIDBuilder_ == null) { scheduleID_ = null; onChanged(); } else { scheduleID_ = null; scheduleIDBuilder_ = null; } return this; } /** *
     **
     * In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
     * 
* * .proto.ScheduleID scheduleID = 12; */ public com.hederahashgraph.api.proto.java.ScheduleID.Builder getScheduleIDBuilder() { onChanged(); return getScheduleIDFieldBuilder().getBuilder(); } /** *
     **
     * In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
     * 
* * .proto.ScheduleID scheduleID = 12; */ public com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder getScheduleIDOrBuilder() { if (scheduleIDBuilder_ != null) { return scheduleIDBuilder_.getMessageOrBuilder(); } else { return scheduleID_ == null ? com.hederahashgraph.api.proto.java.ScheduleID.getDefaultInstance() : scheduleID_; } } /** *
     **
     * In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
     * 
* * .proto.ScheduleID scheduleID = 12; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ScheduleID, com.hederahashgraph.api.proto.java.ScheduleID.Builder, com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder> getScheduleIDFieldBuilder() { if (scheduleIDBuilder_ == null) { scheduleIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ScheduleID, com.hederahashgraph.api.proto.java.ScheduleID.Builder, com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder>( getScheduleID(), getParentForChildren(), isClean()); scheduleID_ = null; } return scheduleIDBuilder_; } private com.hederahashgraph.api.proto.java.TransactionID scheduledTransactionID_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TransactionID, com.hederahashgraph.api.proto.java.TransactionID.Builder, com.hederahashgraph.api.proto.java.TransactionIDOrBuilder> scheduledTransactionIDBuilder_; /** *
     **
     * 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; * @return Whether the scheduledTransactionID field is set. */ public boolean hasScheduledTransactionID() { return scheduledTransactionIDBuilder_ != null || 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; * @return The scheduledTransactionID. */ public com.hederahashgraph.api.proto.java.TransactionID getScheduledTransactionID() { if (scheduledTransactionIDBuilder_ == null) { return scheduledTransactionID_ == null ? com.hederahashgraph.api.proto.java.TransactionID.getDefaultInstance() : scheduledTransactionID_; } else { return scheduledTransactionIDBuilder_.getMessage(); } } /** *
     **
     * 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.hederahashgraph.api.proto.java.TransactionID value) { if (scheduledTransactionIDBuilder_ == null) { if (value == null) { throw new NullPointerException(); } scheduledTransactionID_ = value; onChanged(); } else { scheduledTransactionIDBuilder_.setMessage(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.hederahashgraph.api.proto.java.TransactionID.Builder builderForValue) { if (scheduledTransactionIDBuilder_ == null) { scheduledTransactionID_ = builderForValue.build(); onChanged(); } else { scheduledTransactionIDBuilder_.setMessage(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.hederahashgraph.api.proto.java.TransactionID value) { if (scheduledTransactionIDBuilder_ == null) { if (scheduledTransactionID_ != null) { scheduledTransactionID_ = com.hederahashgraph.api.proto.java.TransactionID.newBuilder(scheduledTransactionID_).mergeFrom(value).buildPartial(); } else { scheduledTransactionID_ = value; } onChanged(); } else { scheduledTransactionIDBuilder_.mergeFrom(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() { if (scheduledTransactionIDBuilder_ == null) { scheduledTransactionID_ = null; onChanged(); } else { scheduledTransactionID_ = null; scheduledTransactionIDBuilder_ = null; } 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 com.hederahashgraph.api.proto.java.TransactionID.Builder getScheduledTransactionIDBuilder() { onChanged(); return getScheduledTransactionIDFieldBuilder().getBuilder(); } /** *
     **
     * 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 com.hederahashgraph.api.proto.java.TransactionIDOrBuilder getScheduledTransactionIDOrBuilder() { if (scheduledTransactionIDBuilder_ != null) { return scheduledTransactionIDBuilder_.getMessageOrBuilder(); } else { return scheduledTransactionID_ == null ? com.hederahashgraph.api.proto.java.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 com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TransactionID, com.hederahashgraph.api.proto.java.TransactionID.Builder, com.hederahashgraph.api.proto.java.TransactionIDOrBuilder> getScheduledTransactionIDFieldBuilder() { if (scheduledTransactionIDBuilder_ == null) { scheduledTransactionIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TransactionID, com.hederahashgraph.api.proto.java.TransactionID.Builder, com.hederahashgraph.api.proto.java.TransactionIDOrBuilder>( getScheduledTransactionID(), getParentForChildren(), isClean()); scheduledTransactionID_ = null; } return scheduledTransactionIDBuilder_; } private com.google.protobuf.Internal.LongList serialNumbers_ = emptyLongList(); private void ensureSerialNumbersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { serialNumbers_ = mutableCopy(serialNumbers_); bitField0_ |= 0x00000001; } } /** *
     **
     * 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. */ public java.util.List getSerialNumbersList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(serialNumbers_) : 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. */ 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. */ public long getSerialNumbers(int index) { return serialNumbers_.getLong(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 index The index to set the value at. * @param value The serialNumbers to set. * @return This builder for chaining. */ public Builder setSerialNumbers( int index, long value) { ensureSerialNumbersIsMutable(); serialNumbers_.setLong(index, value); onChanged(); 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) { ensureSerialNumbersIsMutable(); serialNumbers_.addLong(value); onChanged(); 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 values) { ensureSerialNumbersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, serialNumbers_); onChanged(); 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() { serialNumbers_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } 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. * @return This builder for chaining. */ public Builder setNodeId(long value) { nodeId_ = value; onChanged(); 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() { nodeId_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:proto.TransactionReceipt) } // @@protoc_insertion_point(class_scope:proto.TransactionReceipt) private static final com.hederahashgraph.api.proto.java.TransactionReceipt DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.TransactionReceipt(); } public static com.hederahashgraph.api.proto.java.TransactionReceipt getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TransactionReceipt parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TransactionReceipt(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.hederahashgraph.api.proto.java.TransactionReceipt getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy