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

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

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: transaction_record.proto

package com.hederahashgraph.api.proto.java;

/**
 * 
 **
 * Response when the client sends the node TransactionGetRecordResponse
 * 
* * Protobuf type {@code proto.TransactionRecord} */ public final class TransactionRecord extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:proto.TransactionRecord) TransactionRecordOrBuilder { private static final long serialVersionUID = 0L; // Use TransactionRecord.newBuilder() to construct. private TransactionRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TransactionRecord() { transactionHash_ = com.google.protobuf.ByteString.EMPTY; memo_ = ""; tokenTransferLists_ = java.util.Collections.emptyList(); assessedCustomFees_ = java.util.Collections.emptyList(); automaticTokenAssociations_ = java.util.Collections.emptyList(); alias_ = com.google.protobuf.ByteString.EMPTY; ethereumHash_ = com.google.protobuf.ByteString.EMPTY; paidStakingRewards_ = java.util.Collections.emptyList(); evmAddress_ = com.google.protobuf.ByteString.EMPTY; newPendingAirdrops_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TransactionRecord(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TransactionRecord( 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 10: { com.hederahashgraph.api.proto.java.TransactionReceipt.Builder subBuilder = null; if (receipt_ != null) { subBuilder = receipt_.toBuilder(); } receipt_ = input.readMessage(com.hederahashgraph.api.proto.java.TransactionReceipt.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(receipt_); receipt_ = subBuilder.buildPartial(); } break; } case 18: { transactionHash_ = input.readBytes(); break; } case 26: { com.hederahashgraph.api.proto.java.Timestamp.Builder subBuilder = null; if (consensusTimestamp_ != null) { subBuilder = consensusTimestamp_.toBuilder(); } consensusTimestamp_ = input.readMessage(com.hederahashgraph.api.proto.java.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(consensusTimestamp_); consensusTimestamp_ = subBuilder.buildPartial(); } break; } case 34: { com.hederahashgraph.api.proto.java.TransactionID.Builder subBuilder = null; if (transactionID_ != null) { subBuilder = transactionID_.toBuilder(); } transactionID_ = input.readMessage(com.hederahashgraph.api.proto.java.TransactionID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(transactionID_); transactionID_ = subBuilder.buildPartial(); } break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); memo_ = s; break; } case 48: { transactionFee_ = input.readUInt64(); break; } case 58: { com.hederahashgraph.api.proto.java.ContractFunctionResult.Builder subBuilder = null; if (bodyCase_ == 7) { subBuilder = ((com.hederahashgraph.api.proto.java.ContractFunctionResult) body_).toBuilder(); } body_ = input.readMessage(com.hederahashgraph.api.proto.java.ContractFunctionResult.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ContractFunctionResult) body_); body_ = subBuilder.buildPartial(); } bodyCase_ = 7; break; } case 66: { com.hederahashgraph.api.proto.java.ContractFunctionResult.Builder subBuilder = null; if (bodyCase_ == 8) { subBuilder = ((com.hederahashgraph.api.proto.java.ContractFunctionResult) body_).toBuilder(); } body_ = input.readMessage(com.hederahashgraph.api.proto.java.ContractFunctionResult.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ContractFunctionResult) body_); body_ = subBuilder.buildPartial(); } bodyCase_ = 8; break; } case 82: { com.hederahashgraph.api.proto.java.TransferList.Builder subBuilder = null; if (transferList_ != null) { subBuilder = transferList_.toBuilder(); } transferList_ = input.readMessage(com.hederahashgraph.api.proto.java.TransferList.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(transferList_); transferList_ = subBuilder.buildPartial(); } break; } case 90: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { tokenTransferLists_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } tokenTransferLists_.add( input.readMessage(com.hederahashgraph.api.proto.java.TokenTransferList.parser(), extensionRegistry)); break; } case 98: { com.hederahashgraph.api.proto.java.ScheduleID.Builder subBuilder = null; if (scheduleRef_ != null) { subBuilder = scheduleRef_.toBuilder(); } scheduleRef_ = input.readMessage(com.hederahashgraph.api.proto.java.ScheduleID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(scheduleRef_); scheduleRef_ = subBuilder.buildPartial(); } break; } case 106: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { assessedCustomFees_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } assessedCustomFees_.add( input.readMessage(com.hederahashgraph.api.proto.java.AssessedCustomFee.parser(), extensionRegistry)); break; } case 114: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { automaticTokenAssociations_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } automaticTokenAssociations_.add( input.readMessage(com.hederahashgraph.api.proto.java.TokenAssociation.parser(), extensionRegistry)); break; } case 122: { com.hederahashgraph.api.proto.java.Timestamp.Builder subBuilder = null; if (parentConsensusTimestamp_ != null) { subBuilder = parentConsensusTimestamp_.toBuilder(); } parentConsensusTimestamp_ = input.readMessage(com.hederahashgraph.api.proto.java.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(parentConsensusTimestamp_); parentConsensusTimestamp_ = subBuilder.buildPartial(); } break; } case 130: { alias_ = input.readBytes(); break; } case 138: { ethereumHash_ = input.readBytes(); break; } case 146: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { paidStakingRewards_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } paidStakingRewards_.add( input.readMessage(com.hederahashgraph.api.proto.java.AccountAmount.parser(), extensionRegistry)); break; } case 154: { entropyCase_ = 19; entropy_ = input.readBytes(); break; } case 160: { entropyCase_ = 20; entropy_ = input.readInt32(); break; } case 170: { evmAddress_ = input.readBytes(); break; } case 178: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { newPendingAirdrops_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } newPendingAirdrops_.add( input.readMessage(com.hederahashgraph.api.proto.java.PendingAirdropRecord.parser(), extensionRegistry)); 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)) { tokenTransferLists_ = java.util.Collections.unmodifiableList(tokenTransferLists_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { assessedCustomFees_ = java.util.Collections.unmodifiableList(assessedCustomFees_); } if (((mutable_bitField0_ & 0x00000004) != 0)) { automaticTokenAssociations_ = java.util.Collections.unmodifiableList(automaticTokenAssociations_); } if (((mutable_bitField0_ & 0x00000008) != 0)) { paidStakingRewards_ = java.util.Collections.unmodifiableList(paidStakingRewards_); } if (((mutable_bitField0_ & 0x00000010) != 0)) { newPendingAirdrops_ = java.util.Collections.unmodifiableList(newPendingAirdrops_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hederahashgraph.api.proto.java.TransactionRecordOuterClass.internal_static_proto_TransactionRecord_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hederahashgraph.api.proto.java.TransactionRecordOuterClass.internal_static_proto_TransactionRecord_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hederahashgraph.api.proto.java.TransactionRecord.class, com.hederahashgraph.api.proto.java.TransactionRecord.Builder.class); } private int bodyCase_ = 0; private java.lang.Object body_; public enum BodyCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CONTRACTCALLRESULT(7), CONTRACTCREATERESULT(8), BODY_NOT_SET(0); private final int value; private BodyCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static BodyCase valueOf(int value) { return forNumber(value); } public static BodyCase forNumber(int value) { switch (value) { case 7: return CONTRACTCALLRESULT; case 8: return CONTRACTCREATERESULT; case 0: return BODY_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public BodyCase getBodyCase() { return BodyCase.forNumber( bodyCase_); } private int entropyCase_ = 0; private java.lang.Object entropy_; public enum EntropyCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PRNG_BYTES(19), PRNG_NUMBER(20), ENTROPY_NOT_SET(0); private final int value; private EntropyCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static EntropyCase valueOf(int value) { return forNumber(value); } public static EntropyCase forNumber(int value) { switch (value) { case 19: return PRNG_BYTES; case 20: return PRNG_NUMBER; case 0: return ENTROPY_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public EntropyCase getEntropyCase() { return EntropyCase.forNumber( entropyCase_); } public static final int RECEIPT_FIELD_NUMBER = 1; private com.hederahashgraph.api.proto.java.TransactionReceipt receipt_; /** *
   **
   * The status (reach consensus, or failed, or is unknown) and the ID of any new
   * account/file/instance created.
   * 
* * .proto.TransactionReceipt receipt = 1; * @return Whether the receipt field is set. */ @java.lang.Override public boolean hasReceipt() { return receipt_ != null; } /** *
   **
   * The status (reach consensus, or failed, or is unknown) and the ID of any new
   * account/file/instance created.
   * 
* * .proto.TransactionReceipt receipt = 1; * @return The receipt. */ @java.lang.Override public com.hederahashgraph.api.proto.java.TransactionReceipt getReceipt() { return receipt_ == null ? com.hederahashgraph.api.proto.java.TransactionReceipt.getDefaultInstance() : receipt_; } /** *
   **
   * The status (reach consensus, or failed, or is unknown) and the ID of any new
   * account/file/instance created.
   * 
* * .proto.TransactionReceipt receipt = 1; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TransactionReceiptOrBuilder getReceiptOrBuilder() { return getReceipt(); } public static final int TRANSACTIONHASH_FIELD_NUMBER = 2; private com.google.protobuf.ByteString transactionHash_; /** *
   **
   * The hash of the Transaction that executed (not the hash of any Transaction that failed for
   * having a duplicate TransactionID)
   * 
* * bytes transactionHash = 2; * @return The transactionHash. */ @java.lang.Override public com.google.protobuf.ByteString getTransactionHash() { return transactionHash_; } public static final int CONSENSUSTIMESTAMP_FIELD_NUMBER = 3; private com.hederahashgraph.api.proto.java.Timestamp consensusTimestamp_; /** *
   **
   * The consensus timestamp (or null if didn't reach consensus yet)
   * 
* * .proto.Timestamp consensusTimestamp = 3; * @return Whether the consensusTimestamp field is set. */ @java.lang.Override public boolean hasConsensusTimestamp() { return consensusTimestamp_ != null; } /** *
   **
   * The consensus timestamp (or null if didn't reach consensus yet)
   * 
* * .proto.Timestamp consensusTimestamp = 3; * @return The consensusTimestamp. */ @java.lang.Override public com.hederahashgraph.api.proto.java.Timestamp getConsensusTimestamp() { return consensusTimestamp_ == null ? com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance() : consensusTimestamp_; } /** *
   **
   * The consensus timestamp (or null if didn't reach consensus yet)
   * 
* * .proto.Timestamp consensusTimestamp = 3; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TimestampOrBuilder getConsensusTimestampOrBuilder() { return getConsensusTimestamp(); } public static final int TRANSACTIONID_FIELD_NUMBER = 4; private com.hederahashgraph.api.proto.java.TransactionID transactionID_; /** *
   **
   * The ID of the transaction this record represents
   * 
* * .proto.TransactionID transactionID = 4; * @return Whether the transactionID field is set. */ @java.lang.Override public boolean hasTransactionID() { return transactionID_ != null; } /** *
   **
   * The ID of the transaction this record represents
   * 
* * .proto.TransactionID transactionID = 4; * @return The transactionID. */ @java.lang.Override public com.hederahashgraph.api.proto.java.TransactionID getTransactionID() { return transactionID_ == null ? com.hederahashgraph.api.proto.java.TransactionID.getDefaultInstance() : transactionID_; } /** *
   **
   * The ID of the transaction this record represents
   * 
* * .proto.TransactionID transactionID = 4; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TransactionIDOrBuilder getTransactionIDOrBuilder() { return getTransactionID(); } public static final int MEMO_FIELD_NUMBER = 5; private volatile java.lang.Object memo_; /** *
   **
   * The memo that was submitted as part of the transaction (max 100 bytes)
   * 
* * string memo = 5; * @return The memo. */ @java.lang.Override public java.lang.String getMemo() { java.lang.Object ref = memo_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); memo_ = s; return s; } } /** *
   **
   * The memo that was submitted as part of the transaction (max 100 bytes)
   * 
* * string memo = 5; * @return The bytes for memo. */ @java.lang.Override public com.google.protobuf.ByteString getMemoBytes() { java.lang.Object ref = memo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); memo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TRANSACTIONFEE_FIELD_NUMBER = 6; private long transactionFee_; /** *
   **
   * The actual transaction fee charged, not the original transactionFee value from
   * TransactionBody
   * 
* * uint64 transactionFee = 6; * @return The transactionFee. */ @java.lang.Override public long getTransactionFee() { return transactionFee_; } public static final int CONTRACTCALLRESULT_FIELD_NUMBER = 7; /** *
   **
   * Record of the value returned by the smart contract function (if it completed and didn't
   * fail) from ContractCallTransaction
   * 
* * .proto.ContractFunctionResult contractCallResult = 7; * @return Whether the contractCallResult field is set. */ @java.lang.Override public boolean hasContractCallResult() { return bodyCase_ == 7; } /** *
   **
   * Record of the value returned by the smart contract function (if it completed and didn't
   * fail) from ContractCallTransaction
   * 
* * .proto.ContractFunctionResult contractCallResult = 7; * @return The contractCallResult. */ @java.lang.Override public com.hederahashgraph.api.proto.java.ContractFunctionResult getContractCallResult() { if (bodyCase_ == 7) { return (com.hederahashgraph.api.proto.java.ContractFunctionResult) body_; } return com.hederahashgraph.api.proto.java.ContractFunctionResult.getDefaultInstance(); } /** *
   **
   * Record of the value returned by the smart contract function (if it completed and didn't
   * fail) from ContractCallTransaction
   * 
* * .proto.ContractFunctionResult contractCallResult = 7; */ @java.lang.Override public com.hederahashgraph.api.proto.java.ContractFunctionResultOrBuilder getContractCallResultOrBuilder() { if (bodyCase_ == 7) { return (com.hederahashgraph.api.proto.java.ContractFunctionResult) body_; } return com.hederahashgraph.api.proto.java.ContractFunctionResult.getDefaultInstance(); } public static final int CONTRACTCREATERESULT_FIELD_NUMBER = 8; /** *
   **
   * Record of the value returned by the smart contract constructor (if it completed and
   * didn't fail) from ContractCreateTransaction
   * 
* * .proto.ContractFunctionResult contractCreateResult = 8; * @return Whether the contractCreateResult field is set. */ @java.lang.Override public boolean hasContractCreateResult() { return bodyCase_ == 8; } /** *
   **
   * Record of the value returned by the smart contract constructor (if it completed and
   * didn't fail) from ContractCreateTransaction
   * 
* * .proto.ContractFunctionResult contractCreateResult = 8; * @return The contractCreateResult. */ @java.lang.Override public com.hederahashgraph.api.proto.java.ContractFunctionResult getContractCreateResult() { if (bodyCase_ == 8) { return (com.hederahashgraph.api.proto.java.ContractFunctionResult) body_; } return com.hederahashgraph.api.proto.java.ContractFunctionResult.getDefaultInstance(); } /** *
   **
   * Record of the value returned by the smart contract constructor (if it completed and
   * didn't fail) from ContractCreateTransaction
   * 
* * .proto.ContractFunctionResult contractCreateResult = 8; */ @java.lang.Override public com.hederahashgraph.api.proto.java.ContractFunctionResultOrBuilder getContractCreateResultOrBuilder() { if (bodyCase_ == 8) { return (com.hederahashgraph.api.proto.java.ContractFunctionResult) body_; } return com.hederahashgraph.api.proto.java.ContractFunctionResult.getDefaultInstance(); } public static final int TRANSFERLIST_FIELD_NUMBER = 10; private com.hederahashgraph.api.proto.java.TransferList transferList_; /** *
   **
   * All hbar transfers as a result of this transaction, such as fees, or transfers performed by
   * the transaction, or by a smart contract it calls, or by the creation of threshold records
   * that it triggers.
   * 
* * .proto.TransferList transferList = 10; * @return Whether the transferList field is set. */ @java.lang.Override public boolean hasTransferList() { return transferList_ != null; } /** *
   **
   * All hbar transfers as a result of this transaction, such as fees, or transfers performed by
   * the transaction, or by a smart contract it calls, or by the creation of threshold records
   * that it triggers.
   * 
* * .proto.TransferList transferList = 10; * @return The transferList. */ @java.lang.Override public com.hederahashgraph.api.proto.java.TransferList getTransferList() { return transferList_ == null ? com.hederahashgraph.api.proto.java.TransferList.getDefaultInstance() : transferList_; } /** *
   **
   * All hbar transfers as a result of this transaction, such as fees, or transfers performed by
   * the transaction, or by a smart contract it calls, or by the creation of threshold records
   * that it triggers.
   * 
* * .proto.TransferList transferList = 10; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TransferListOrBuilder getTransferListOrBuilder() { return getTransferList(); } public static final int TOKENTRANSFERLISTS_FIELD_NUMBER = 11; private java.util.List tokenTransferLists_; /** *
   **
   * All Token transfers as a result of this transaction
   * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ @java.lang.Override public java.util.List getTokenTransferListsList() { return tokenTransferLists_; } /** *
   **
   * All Token transfers as a result of this transaction
   * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ @java.lang.Override public java.util.List getTokenTransferListsOrBuilderList() { return tokenTransferLists_; } /** *
   **
   * All Token transfers as a result of this transaction
   * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ @java.lang.Override public int getTokenTransferListsCount() { return tokenTransferLists_.size(); } /** *
   **
   * All Token transfers as a result of this transaction
   * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenTransferList getTokenTransferLists(int index) { return tokenTransferLists_.get(index); } /** *
   **
   * All Token transfers as a result of this transaction
   * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenTransferListOrBuilder getTokenTransferListsOrBuilder( int index) { return tokenTransferLists_.get(index); } public static final int SCHEDULEREF_FIELD_NUMBER = 12; private com.hederahashgraph.api.proto.java.ScheduleID scheduleRef_; /** *
   **
   * Reference to the scheduled transaction ID that this transaction record represent
   * 
* * .proto.ScheduleID scheduleRef = 12; * @return Whether the scheduleRef field is set. */ @java.lang.Override public boolean hasScheduleRef() { return scheduleRef_ != null; } /** *
   **
   * Reference to the scheduled transaction ID that this transaction record represent
   * 
* * .proto.ScheduleID scheduleRef = 12; * @return The scheduleRef. */ @java.lang.Override public com.hederahashgraph.api.proto.java.ScheduleID getScheduleRef() { return scheduleRef_ == null ? com.hederahashgraph.api.proto.java.ScheduleID.getDefaultInstance() : scheduleRef_; } /** *
   **
   * Reference to the scheduled transaction ID that this transaction record represent
   * 
* * .proto.ScheduleID scheduleRef = 12; */ @java.lang.Override public com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder getScheduleRefOrBuilder() { return getScheduleRef(); } public static final int ASSESSED_CUSTOM_FEES_FIELD_NUMBER = 13; private java.util.List assessedCustomFees_; /** *
   **
   * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
   * transaction status resolved to SUCCESS
   * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ @java.lang.Override public java.util.List getAssessedCustomFeesList() { return assessedCustomFees_; } /** *
   **
   * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
   * transaction status resolved to SUCCESS
   * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ @java.lang.Override public java.util.List getAssessedCustomFeesOrBuilderList() { return assessedCustomFees_; } /** *
   **
   * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
   * transaction status resolved to SUCCESS
   * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ @java.lang.Override public int getAssessedCustomFeesCount() { return assessedCustomFees_.size(); } /** *
   **
   * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
   * transaction status resolved to SUCCESS
   * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ @java.lang.Override public com.hederahashgraph.api.proto.java.AssessedCustomFee getAssessedCustomFees(int index) { return assessedCustomFees_.get(index); } /** *
   **
   * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
   * transaction status resolved to SUCCESS
   * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ @java.lang.Override public com.hederahashgraph.api.proto.java.AssessedCustomFeeOrBuilder getAssessedCustomFeesOrBuilder( int index) { return assessedCustomFees_.get(index); } public static final int AUTOMATIC_TOKEN_ASSOCIATIONS_FIELD_NUMBER = 14; private java.util.List automaticTokenAssociations_; /** *
   **
   * All token associations implicitly created while handling this transaction
   * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ @java.lang.Override public java.util.List getAutomaticTokenAssociationsList() { return automaticTokenAssociations_; } /** *
   **
   * All token associations implicitly created while handling this transaction
   * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ @java.lang.Override public java.util.List getAutomaticTokenAssociationsOrBuilderList() { return automaticTokenAssociations_; } /** *
   **
   * All token associations implicitly created while handling this transaction
   * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ @java.lang.Override public int getAutomaticTokenAssociationsCount() { return automaticTokenAssociations_.size(); } /** *
   **
   * All token associations implicitly created while handling this transaction
   * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenAssociation getAutomaticTokenAssociations(int index) { return automaticTokenAssociations_.get(index); } /** *
   **
   * All token associations implicitly created while handling this transaction
   * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenAssociationOrBuilder getAutomaticTokenAssociationsOrBuilder( int index) { return automaticTokenAssociations_.get(index); } public static final int PARENT_CONSENSUS_TIMESTAMP_FIELD_NUMBER = 15; private com.hederahashgraph.api.proto.java.Timestamp parentConsensusTimestamp_; /** *
   **
   * In the record of an internal transaction, the consensus timestamp of the user
   * transaction that spawned it.
   * 
* * .proto.Timestamp parent_consensus_timestamp = 15; * @return Whether the parentConsensusTimestamp field is set. */ @java.lang.Override public boolean hasParentConsensusTimestamp() { return parentConsensusTimestamp_ != null; } /** *
   **
   * In the record of an internal transaction, the consensus timestamp of the user
   * transaction that spawned it.
   * 
* * .proto.Timestamp parent_consensus_timestamp = 15; * @return The parentConsensusTimestamp. */ @java.lang.Override public com.hederahashgraph.api.proto.java.Timestamp getParentConsensusTimestamp() { return parentConsensusTimestamp_ == null ? com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance() : parentConsensusTimestamp_; } /** *
   **
   * In the record of an internal transaction, the consensus timestamp of the user
   * transaction that spawned it.
   * 
* * .proto.Timestamp parent_consensus_timestamp = 15; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TimestampOrBuilder getParentConsensusTimestampOrBuilder() { return getParentConsensusTimestamp(); } public static final int ALIAS_FIELD_NUMBER = 16; private com.google.protobuf.ByteString alias_; /** *
   **
   * In the record of a CryptoCreate transaction triggered by a user transaction with a
   * (previously unused) alias, the new account's alias. 
   * 
* * bytes alias = 16; * @return The alias. */ @java.lang.Override public com.google.protobuf.ByteString getAlias() { return alias_; } public static final int ETHEREUM_HASH_FIELD_NUMBER = 17; private com.google.protobuf.ByteString ethereumHash_; /** *
   **
   * The keccak256 hash of the ethereumData. This field will only be populated for 
   * EthereumTransaction.
   * 
* * bytes ethereum_hash = 17; * @return The ethereumHash. */ @java.lang.Override public com.google.protobuf.ByteString getEthereumHash() { return ethereumHash_; } public static final int PAID_STAKING_REWARDS_FIELD_NUMBER = 18; private java.util.List paidStakingRewards_; /** *
   **
   * List of accounts with the corresponding staking rewards paid as a result of a transaction.
   * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ @java.lang.Override public java.util.List getPaidStakingRewardsList() { return paidStakingRewards_; } /** *
   **
   * List of accounts with the corresponding staking rewards paid as a result of a transaction.
   * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ @java.lang.Override public java.util.List getPaidStakingRewardsOrBuilderList() { return paidStakingRewards_; } /** *
   **
   * List of accounts with the corresponding staking rewards paid as a result of a transaction.
   * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ @java.lang.Override public int getPaidStakingRewardsCount() { return paidStakingRewards_.size(); } /** *
   **
   * List of accounts with the corresponding staking rewards paid as a result of a transaction.
   * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ @java.lang.Override public com.hederahashgraph.api.proto.java.AccountAmount getPaidStakingRewards(int index) { return paidStakingRewards_.get(index); } /** *
   **
   * List of accounts with the corresponding staking rewards paid as a result of a transaction.
   * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ @java.lang.Override public com.hederahashgraph.api.proto.java.AccountAmountOrBuilder getPaidStakingRewardsOrBuilder( int index) { return paidStakingRewards_.get(index); } public static final int PRNG_BYTES_FIELD_NUMBER = 19; /** *
   **
   * In the record of a UtilPrng transaction with no output range, a pseudorandom 384-bit string.
   * 
* * bytes prng_bytes = 19; * @return Whether the prngBytes field is set. */ @java.lang.Override public boolean hasPrngBytes() { return entropyCase_ == 19; } /** *
   **
   * In the record of a UtilPrng transaction with no output range, a pseudorandom 384-bit string.
   * 
* * bytes prng_bytes = 19; * @return The prngBytes. */ @java.lang.Override public com.google.protobuf.ByteString getPrngBytes() { if (entropyCase_ == 19) { return (com.google.protobuf.ByteString) entropy_; } return com.google.protobuf.ByteString.EMPTY; } public static final int PRNG_NUMBER_FIELD_NUMBER = 20; /** *
   **
   * In the record of a PRNG transaction with an output range, the output of a PRNG whose input was a 384-bit string.
   * 
* * int32 prng_number = 20; * @return Whether the prngNumber field is set. */ @java.lang.Override public boolean hasPrngNumber() { return entropyCase_ == 20; } /** *
   **
   * In the record of a PRNG transaction with an output range, the output of a PRNG whose input was a 384-bit string.
   * 
* * int32 prng_number = 20; * @return The prngNumber. */ @java.lang.Override public int getPrngNumber() { if (entropyCase_ == 20) { return (java.lang.Integer) entropy_; } return 0; } public static final int EVM_ADDRESS_FIELD_NUMBER = 21; private com.google.protobuf.ByteString evmAddress_; /** *
   **
   * The new default EVM address of the account created by this transaction.
   * This field is populated only when the EVM address is not specified in the related transaction body.
   * 
* * bytes evm_address = 21; * @return The evmAddress. */ @java.lang.Override public com.google.protobuf.ByteString getEvmAddress() { return evmAddress_; } public static final int NEW_PENDING_AIRDROPS_FIELD_NUMBER = 22; private java.util.List newPendingAirdrops_; /** *
   **
   * A list of pending token airdrops.
   * Each pending airdrop represents a single requested transfer from a
   * sending account to a recipient account. These pending transfers are
   * issued unilaterally by the sending account, and MUST be claimed by the
   * recipient account before the transfer MAY complete.
   * A sender MAY cancel a pending airdrop before it is claimed.
   * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
   * available automatic association slots available or when the recipient
   * has set `receiver_sig_required`.
   * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ @java.lang.Override public java.util.List getNewPendingAirdropsList() { return newPendingAirdrops_; } /** *
   **
   * A list of pending token airdrops.
   * Each pending airdrop represents a single requested transfer from a
   * sending account to a recipient account. These pending transfers are
   * issued unilaterally by the sending account, and MUST be claimed by the
   * recipient account before the transfer MAY complete.
   * A sender MAY cancel a pending airdrop before it is claimed.
   * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
   * available automatic association slots available or when the recipient
   * has set `receiver_sig_required`.
   * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ @java.lang.Override public java.util.List getNewPendingAirdropsOrBuilderList() { return newPendingAirdrops_; } /** *
   **
   * A list of pending token airdrops.
   * Each pending airdrop represents a single requested transfer from a
   * sending account to a recipient account. These pending transfers are
   * issued unilaterally by the sending account, and MUST be claimed by the
   * recipient account before the transfer MAY complete.
   * A sender MAY cancel a pending airdrop before it is claimed.
   * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
   * available automatic association slots available or when the recipient
   * has set `receiver_sig_required`.
   * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ @java.lang.Override public int getNewPendingAirdropsCount() { return newPendingAirdrops_.size(); } /** *
   **
   * A list of pending token airdrops.
   * Each pending airdrop represents a single requested transfer from a
   * sending account to a recipient account. These pending transfers are
   * issued unilaterally by the sending account, and MUST be claimed by the
   * recipient account before the transfer MAY complete.
   * A sender MAY cancel a pending airdrop before it is claimed.
   * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
   * available automatic association slots available or when the recipient
   * has set `receiver_sig_required`.
   * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ @java.lang.Override public com.hederahashgraph.api.proto.java.PendingAirdropRecord getNewPendingAirdrops(int index) { return newPendingAirdrops_.get(index); } /** *
   **
   * A list of pending token airdrops.
   * Each pending airdrop represents a single requested transfer from a
   * sending account to a recipient account. These pending transfers are
   * issued unilaterally by the sending account, and MUST be claimed by the
   * recipient account before the transfer MAY complete.
   * A sender MAY cancel a pending airdrop before it is claimed.
   * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
   * available automatic association slots available or when the recipient
   * has set `receiver_sig_required`.
   * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ @java.lang.Override public com.hederahashgraph.api.proto.java.PendingAirdropRecordOrBuilder getNewPendingAirdropsOrBuilder( int index) { return newPendingAirdrops_.get(index); } 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 { if (receipt_ != null) { output.writeMessage(1, getReceipt()); } if (!transactionHash_.isEmpty()) { output.writeBytes(2, transactionHash_); } if (consensusTimestamp_ != null) { output.writeMessage(3, getConsensusTimestamp()); } if (transactionID_ != null) { output.writeMessage(4, getTransactionID()); } if (!getMemoBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, memo_); } if (transactionFee_ != 0L) { output.writeUInt64(6, transactionFee_); } if (bodyCase_ == 7) { output.writeMessage(7, (com.hederahashgraph.api.proto.java.ContractFunctionResult) body_); } if (bodyCase_ == 8) { output.writeMessage(8, (com.hederahashgraph.api.proto.java.ContractFunctionResult) body_); } if (transferList_ != null) { output.writeMessage(10, getTransferList()); } for (int i = 0; i < tokenTransferLists_.size(); i++) { output.writeMessage(11, tokenTransferLists_.get(i)); } if (scheduleRef_ != null) { output.writeMessage(12, getScheduleRef()); } for (int i = 0; i < assessedCustomFees_.size(); i++) { output.writeMessage(13, assessedCustomFees_.get(i)); } for (int i = 0; i < automaticTokenAssociations_.size(); i++) { output.writeMessage(14, automaticTokenAssociations_.get(i)); } if (parentConsensusTimestamp_ != null) { output.writeMessage(15, getParentConsensusTimestamp()); } if (!alias_.isEmpty()) { output.writeBytes(16, alias_); } if (!ethereumHash_.isEmpty()) { output.writeBytes(17, ethereumHash_); } for (int i = 0; i < paidStakingRewards_.size(); i++) { output.writeMessage(18, paidStakingRewards_.get(i)); } if (entropyCase_ == 19) { output.writeBytes( 19, (com.google.protobuf.ByteString) entropy_); } if (entropyCase_ == 20) { output.writeInt32( 20, (int)((java.lang.Integer) entropy_)); } if (!evmAddress_.isEmpty()) { output.writeBytes(21, evmAddress_); } for (int i = 0; i < newPendingAirdrops_.size(); i++) { output.writeMessage(22, newPendingAirdrops_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (receipt_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getReceipt()); } if (!transactionHash_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, transactionHash_); } if (consensusTimestamp_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getConsensusTimestamp()); } if (transactionID_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getTransactionID()); } if (!getMemoBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, memo_); } if (transactionFee_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(6, transactionFee_); } if (bodyCase_ == 7) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, (com.hederahashgraph.api.proto.java.ContractFunctionResult) body_); } if (bodyCase_ == 8) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, (com.hederahashgraph.api.proto.java.ContractFunctionResult) body_); } if (transferList_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getTransferList()); } for (int i = 0; i < tokenTransferLists_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, tokenTransferLists_.get(i)); } if (scheduleRef_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getScheduleRef()); } for (int i = 0; i < assessedCustomFees_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, assessedCustomFees_.get(i)); } for (int i = 0; i < automaticTokenAssociations_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, automaticTokenAssociations_.get(i)); } if (parentConsensusTimestamp_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getParentConsensusTimestamp()); } if (!alias_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(16, alias_); } if (!ethereumHash_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(17, ethereumHash_); } for (int i = 0; i < paidStakingRewards_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, paidStakingRewards_.get(i)); } if (entropyCase_ == 19) { size += com.google.protobuf.CodedOutputStream .computeBytesSize( 19, (com.google.protobuf.ByteString) entropy_); } if (entropyCase_ == 20) { size += com.google.protobuf.CodedOutputStream .computeInt32Size( 20, (int)((java.lang.Integer) entropy_)); } if (!evmAddress_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(21, evmAddress_); } for (int i = 0; i < newPendingAirdrops_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, newPendingAirdrops_.get(i)); } 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.TransactionRecord)) { return super.equals(obj); } com.hederahashgraph.api.proto.java.TransactionRecord other = (com.hederahashgraph.api.proto.java.TransactionRecord) obj; if (hasReceipt() != other.hasReceipt()) return false; if (hasReceipt()) { if (!getReceipt() .equals(other.getReceipt())) return false; } if (!getTransactionHash() .equals(other.getTransactionHash())) return false; if (hasConsensusTimestamp() != other.hasConsensusTimestamp()) return false; if (hasConsensusTimestamp()) { if (!getConsensusTimestamp() .equals(other.getConsensusTimestamp())) return false; } if (hasTransactionID() != other.hasTransactionID()) return false; if (hasTransactionID()) { if (!getTransactionID() .equals(other.getTransactionID())) return false; } if (!getMemo() .equals(other.getMemo())) return false; if (getTransactionFee() != other.getTransactionFee()) return false; if (hasTransferList() != other.hasTransferList()) return false; if (hasTransferList()) { if (!getTransferList() .equals(other.getTransferList())) return false; } if (!getTokenTransferListsList() .equals(other.getTokenTransferListsList())) return false; if (hasScheduleRef() != other.hasScheduleRef()) return false; if (hasScheduleRef()) { if (!getScheduleRef() .equals(other.getScheduleRef())) return false; } if (!getAssessedCustomFeesList() .equals(other.getAssessedCustomFeesList())) return false; if (!getAutomaticTokenAssociationsList() .equals(other.getAutomaticTokenAssociationsList())) return false; if (hasParentConsensusTimestamp() != other.hasParentConsensusTimestamp()) return false; if (hasParentConsensusTimestamp()) { if (!getParentConsensusTimestamp() .equals(other.getParentConsensusTimestamp())) return false; } if (!getAlias() .equals(other.getAlias())) return false; if (!getEthereumHash() .equals(other.getEthereumHash())) return false; if (!getPaidStakingRewardsList() .equals(other.getPaidStakingRewardsList())) return false; if (!getEvmAddress() .equals(other.getEvmAddress())) return false; if (!getNewPendingAirdropsList() .equals(other.getNewPendingAirdropsList())) return false; if (!getBodyCase().equals(other.getBodyCase())) return false; switch (bodyCase_) { case 7: if (!getContractCallResult() .equals(other.getContractCallResult())) return false; break; case 8: if (!getContractCreateResult() .equals(other.getContractCreateResult())) return false; break; case 0: default: } if (!getEntropyCase().equals(other.getEntropyCase())) return false; switch (entropyCase_) { case 19: if (!getPrngBytes() .equals(other.getPrngBytes())) return false; break; case 20: if (getPrngNumber() != other.getPrngNumber()) return false; break; case 0: default: } 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(); if (hasReceipt()) { hash = (37 * hash) + RECEIPT_FIELD_NUMBER; hash = (53 * hash) + getReceipt().hashCode(); } hash = (37 * hash) + TRANSACTIONHASH_FIELD_NUMBER; hash = (53 * hash) + getTransactionHash().hashCode(); if (hasConsensusTimestamp()) { hash = (37 * hash) + CONSENSUSTIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getConsensusTimestamp().hashCode(); } if (hasTransactionID()) { hash = (37 * hash) + TRANSACTIONID_FIELD_NUMBER; hash = (53 * hash) + getTransactionID().hashCode(); } hash = (37 * hash) + MEMO_FIELD_NUMBER; hash = (53 * hash) + getMemo().hashCode(); hash = (37 * hash) + TRANSACTIONFEE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTransactionFee()); if (hasTransferList()) { hash = (37 * hash) + TRANSFERLIST_FIELD_NUMBER; hash = (53 * hash) + getTransferList().hashCode(); } if (getTokenTransferListsCount() > 0) { hash = (37 * hash) + TOKENTRANSFERLISTS_FIELD_NUMBER; hash = (53 * hash) + getTokenTransferListsList().hashCode(); } if (hasScheduleRef()) { hash = (37 * hash) + SCHEDULEREF_FIELD_NUMBER; hash = (53 * hash) + getScheduleRef().hashCode(); } if (getAssessedCustomFeesCount() > 0) { hash = (37 * hash) + ASSESSED_CUSTOM_FEES_FIELD_NUMBER; hash = (53 * hash) + getAssessedCustomFeesList().hashCode(); } if (getAutomaticTokenAssociationsCount() > 0) { hash = (37 * hash) + AUTOMATIC_TOKEN_ASSOCIATIONS_FIELD_NUMBER; hash = (53 * hash) + getAutomaticTokenAssociationsList().hashCode(); } if (hasParentConsensusTimestamp()) { hash = (37 * hash) + PARENT_CONSENSUS_TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getParentConsensusTimestamp().hashCode(); } hash = (37 * hash) + ALIAS_FIELD_NUMBER; hash = (53 * hash) + getAlias().hashCode(); hash = (37 * hash) + ETHEREUM_HASH_FIELD_NUMBER; hash = (53 * hash) + getEthereumHash().hashCode(); if (getPaidStakingRewardsCount() > 0) { hash = (37 * hash) + PAID_STAKING_REWARDS_FIELD_NUMBER; hash = (53 * hash) + getPaidStakingRewardsList().hashCode(); } hash = (37 * hash) + EVM_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getEvmAddress().hashCode(); if (getNewPendingAirdropsCount() > 0) { hash = (37 * hash) + NEW_PENDING_AIRDROPS_FIELD_NUMBER; hash = (53 * hash) + getNewPendingAirdropsList().hashCode(); } switch (bodyCase_) { case 7: hash = (37 * hash) + CONTRACTCALLRESULT_FIELD_NUMBER; hash = (53 * hash) + getContractCallResult().hashCode(); break; case 8: hash = (37 * hash) + CONTRACTCREATERESULT_FIELD_NUMBER; hash = (53 * hash) + getContractCreateResult().hashCode(); break; case 0: default: } switch (entropyCase_) { case 19: hash = (37 * hash) + PRNG_BYTES_FIELD_NUMBER; hash = (53 * hash) + getPrngBytes().hashCode(); break; case 20: hash = (37 * hash) + PRNG_NUMBER_FIELD_NUMBER; hash = (53 * hash) + getPrngNumber(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.hederahashgraph.api.proto.java.TransactionRecord parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.TransactionRecord 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.TransactionRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.TransactionRecord 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.TransactionRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.TransactionRecord 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.TransactionRecord parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.TransactionRecord 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.TransactionRecord parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.TransactionRecord 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.TransactionRecord 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.TransactionRecord 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.TransactionRecord 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; } /** *
   **
   * Response when the client sends the node TransactionGetRecordResponse
   * 
* * Protobuf type {@code proto.TransactionRecord} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:proto.TransactionRecord) com.hederahashgraph.api.proto.java.TransactionRecordOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hederahashgraph.api.proto.java.TransactionRecordOuterClass.internal_static_proto_TransactionRecord_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hederahashgraph.api.proto.java.TransactionRecordOuterClass.internal_static_proto_TransactionRecord_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hederahashgraph.api.proto.java.TransactionRecord.class, com.hederahashgraph.api.proto.java.TransactionRecord.Builder.class); } // Construct using com.hederahashgraph.api.proto.java.TransactionRecord.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTokenTransferListsFieldBuilder(); getAssessedCustomFeesFieldBuilder(); getAutomaticTokenAssociationsFieldBuilder(); getPaidStakingRewardsFieldBuilder(); getNewPendingAirdropsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (receiptBuilder_ == null) { receipt_ = null; } else { receipt_ = null; receiptBuilder_ = null; } transactionHash_ = com.google.protobuf.ByteString.EMPTY; if (consensusTimestampBuilder_ == null) { consensusTimestamp_ = null; } else { consensusTimestamp_ = null; consensusTimestampBuilder_ = null; } if (transactionIDBuilder_ == null) { transactionID_ = null; } else { transactionID_ = null; transactionIDBuilder_ = null; } memo_ = ""; transactionFee_ = 0L; if (transferListBuilder_ == null) { transferList_ = null; } else { transferList_ = null; transferListBuilder_ = null; } if (tokenTransferListsBuilder_ == null) { tokenTransferLists_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { tokenTransferListsBuilder_.clear(); } if (scheduleRefBuilder_ == null) { scheduleRef_ = null; } else { scheduleRef_ = null; scheduleRefBuilder_ = null; } if (assessedCustomFeesBuilder_ == null) { assessedCustomFees_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { assessedCustomFeesBuilder_.clear(); } if (automaticTokenAssociationsBuilder_ == null) { automaticTokenAssociations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { automaticTokenAssociationsBuilder_.clear(); } if (parentConsensusTimestampBuilder_ == null) { parentConsensusTimestamp_ = null; } else { parentConsensusTimestamp_ = null; parentConsensusTimestampBuilder_ = null; } alias_ = com.google.protobuf.ByteString.EMPTY; ethereumHash_ = com.google.protobuf.ByteString.EMPTY; if (paidStakingRewardsBuilder_ == null) { paidStakingRewards_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { paidStakingRewardsBuilder_.clear(); } evmAddress_ = com.google.protobuf.ByteString.EMPTY; if (newPendingAirdropsBuilder_ == null) { newPendingAirdrops_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { newPendingAirdropsBuilder_.clear(); } bodyCase_ = 0; body_ = null; entropyCase_ = 0; entropy_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.hederahashgraph.api.proto.java.TransactionRecordOuterClass.internal_static_proto_TransactionRecord_descriptor; } @java.lang.Override public com.hederahashgraph.api.proto.java.TransactionRecord getDefaultInstanceForType() { return com.hederahashgraph.api.proto.java.TransactionRecord.getDefaultInstance(); } @java.lang.Override public com.hederahashgraph.api.proto.java.TransactionRecord build() { com.hederahashgraph.api.proto.java.TransactionRecord result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.hederahashgraph.api.proto.java.TransactionRecord buildPartial() { com.hederahashgraph.api.proto.java.TransactionRecord result = new com.hederahashgraph.api.proto.java.TransactionRecord(this); int from_bitField0_ = bitField0_; if (receiptBuilder_ == null) { result.receipt_ = receipt_; } else { result.receipt_ = receiptBuilder_.build(); } result.transactionHash_ = transactionHash_; if (consensusTimestampBuilder_ == null) { result.consensusTimestamp_ = consensusTimestamp_; } else { result.consensusTimestamp_ = consensusTimestampBuilder_.build(); } if (transactionIDBuilder_ == null) { result.transactionID_ = transactionID_; } else { result.transactionID_ = transactionIDBuilder_.build(); } result.memo_ = memo_; result.transactionFee_ = transactionFee_; if (bodyCase_ == 7) { if (contractCallResultBuilder_ == null) { result.body_ = body_; } else { result.body_ = contractCallResultBuilder_.build(); } } if (bodyCase_ == 8) { if (contractCreateResultBuilder_ == null) { result.body_ = body_; } else { result.body_ = contractCreateResultBuilder_.build(); } } if (transferListBuilder_ == null) { result.transferList_ = transferList_; } else { result.transferList_ = transferListBuilder_.build(); } if (tokenTransferListsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { tokenTransferLists_ = java.util.Collections.unmodifiableList(tokenTransferLists_); bitField0_ = (bitField0_ & ~0x00000001); } result.tokenTransferLists_ = tokenTransferLists_; } else { result.tokenTransferLists_ = tokenTransferListsBuilder_.build(); } if (scheduleRefBuilder_ == null) { result.scheduleRef_ = scheduleRef_; } else { result.scheduleRef_ = scheduleRefBuilder_.build(); } if (assessedCustomFeesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { assessedCustomFees_ = java.util.Collections.unmodifiableList(assessedCustomFees_); bitField0_ = (bitField0_ & ~0x00000002); } result.assessedCustomFees_ = assessedCustomFees_; } else { result.assessedCustomFees_ = assessedCustomFeesBuilder_.build(); } if (automaticTokenAssociationsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { automaticTokenAssociations_ = java.util.Collections.unmodifiableList(automaticTokenAssociations_); bitField0_ = (bitField0_ & ~0x00000004); } result.automaticTokenAssociations_ = automaticTokenAssociations_; } else { result.automaticTokenAssociations_ = automaticTokenAssociationsBuilder_.build(); } if (parentConsensusTimestampBuilder_ == null) { result.parentConsensusTimestamp_ = parentConsensusTimestamp_; } else { result.parentConsensusTimestamp_ = parentConsensusTimestampBuilder_.build(); } result.alias_ = alias_; result.ethereumHash_ = ethereumHash_; if (paidStakingRewardsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { paidStakingRewards_ = java.util.Collections.unmodifiableList(paidStakingRewards_); bitField0_ = (bitField0_ & ~0x00000008); } result.paidStakingRewards_ = paidStakingRewards_; } else { result.paidStakingRewards_ = paidStakingRewardsBuilder_.build(); } if (entropyCase_ == 19) { result.entropy_ = entropy_; } if (entropyCase_ == 20) { result.entropy_ = entropy_; } result.evmAddress_ = evmAddress_; if (newPendingAirdropsBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { newPendingAirdrops_ = java.util.Collections.unmodifiableList(newPendingAirdrops_); bitField0_ = (bitField0_ & ~0x00000010); } result.newPendingAirdrops_ = newPendingAirdrops_; } else { result.newPendingAirdrops_ = newPendingAirdropsBuilder_.build(); } result.bodyCase_ = bodyCase_; result.entropyCase_ = entropyCase_; 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.TransactionRecord) { return mergeFrom((com.hederahashgraph.api.proto.java.TransactionRecord)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.hederahashgraph.api.proto.java.TransactionRecord other) { if (other == com.hederahashgraph.api.proto.java.TransactionRecord.getDefaultInstance()) return this; if (other.hasReceipt()) { mergeReceipt(other.getReceipt()); } if (other.getTransactionHash() != com.google.protobuf.ByteString.EMPTY) { setTransactionHash(other.getTransactionHash()); } if (other.hasConsensusTimestamp()) { mergeConsensusTimestamp(other.getConsensusTimestamp()); } if (other.hasTransactionID()) { mergeTransactionID(other.getTransactionID()); } if (!other.getMemo().isEmpty()) { memo_ = other.memo_; onChanged(); } if (other.getTransactionFee() != 0L) { setTransactionFee(other.getTransactionFee()); } if (other.hasTransferList()) { mergeTransferList(other.getTransferList()); } if (tokenTransferListsBuilder_ == null) { if (!other.tokenTransferLists_.isEmpty()) { if (tokenTransferLists_.isEmpty()) { tokenTransferLists_ = other.tokenTransferLists_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTokenTransferListsIsMutable(); tokenTransferLists_.addAll(other.tokenTransferLists_); } onChanged(); } } else { if (!other.tokenTransferLists_.isEmpty()) { if (tokenTransferListsBuilder_.isEmpty()) { tokenTransferListsBuilder_.dispose(); tokenTransferListsBuilder_ = null; tokenTransferLists_ = other.tokenTransferLists_; bitField0_ = (bitField0_ & ~0x00000001); tokenTransferListsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTokenTransferListsFieldBuilder() : null; } else { tokenTransferListsBuilder_.addAllMessages(other.tokenTransferLists_); } } } if (other.hasScheduleRef()) { mergeScheduleRef(other.getScheduleRef()); } if (assessedCustomFeesBuilder_ == null) { if (!other.assessedCustomFees_.isEmpty()) { if (assessedCustomFees_.isEmpty()) { assessedCustomFees_ = other.assessedCustomFees_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureAssessedCustomFeesIsMutable(); assessedCustomFees_.addAll(other.assessedCustomFees_); } onChanged(); } } else { if (!other.assessedCustomFees_.isEmpty()) { if (assessedCustomFeesBuilder_.isEmpty()) { assessedCustomFeesBuilder_.dispose(); assessedCustomFeesBuilder_ = null; assessedCustomFees_ = other.assessedCustomFees_; bitField0_ = (bitField0_ & ~0x00000002); assessedCustomFeesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAssessedCustomFeesFieldBuilder() : null; } else { assessedCustomFeesBuilder_.addAllMessages(other.assessedCustomFees_); } } } if (automaticTokenAssociationsBuilder_ == null) { if (!other.automaticTokenAssociations_.isEmpty()) { if (automaticTokenAssociations_.isEmpty()) { automaticTokenAssociations_ = other.automaticTokenAssociations_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureAutomaticTokenAssociationsIsMutable(); automaticTokenAssociations_.addAll(other.automaticTokenAssociations_); } onChanged(); } } else { if (!other.automaticTokenAssociations_.isEmpty()) { if (automaticTokenAssociationsBuilder_.isEmpty()) { automaticTokenAssociationsBuilder_.dispose(); automaticTokenAssociationsBuilder_ = null; automaticTokenAssociations_ = other.automaticTokenAssociations_; bitField0_ = (bitField0_ & ~0x00000004); automaticTokenAssociationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAutomaticTokenAssociationsFieldBuilder() : null; } else { automaticTokenAssociationsBuilder_.addAllMessages(other.automaticTokenAssociations_); } } } if (other.hasParentConsensusTimestamp()) { mergeParentConsensusTimestamp(other.getParentConsensusTimestamp()); } if (other.getAlias() != com.google.protobuf.ByteString.EMPTY) { setAlias(other.getAlias()); } if (other.getEthereumHash() != com.google.protobuf.ByteString.EMPTY) { setEthereumHash(other.getEthereumHash()); } if (paidStakingRewardsBuilder_ == null) { if (!other.paidStakingRewards_.isEmpty()) { if (paidStakingRewards_.isEmpty()) { paidStakingRewards_ = other.paidStakingRewards_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensurePaidStakingRewardsIsMutable(); paidStakingRewards_.addAll(other.paidStakingRewards_); } onChanged(); } } else { if (!other.paidStakingRewards_.isEmpty()) { if (paidStakingRewardsBuilder_.isEmpty()) { paidStakingRewardsBuilder_.dispose(); paidStakingRewardsBuilder_ = null; paidStakingRewards_ = other.paidStakingRewards_; bitField0_ = (bitField0_ & ~0x00000008); paidStakingRewardsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPaidStakingRewardsFieldBuilder() : null; } else { paidStakingRewardsBuilder_.addAllMessages(other.paidStakingRewards_); } } } if (other.getEvmAddress() != com.google.protobuf.ByteString.EMPTY) { setEvmAddress(other.getEvmAddress()); } if (newPendingAirdropsBuilder_ == null) { if (!other.newPendingAirdrops_.isEmpty()) { if (newPendingAirdrops_.isEmpty()) { newPendingAirdrops_ = other.newPendingAirdrops_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureNewPendingAirdropsIsMutable(); newPendingAirdrops_.addAll(other.newPendingAirdrops_); } onChanged(); } } else { if (!other.newPendingAirdrops_.isEmpty()) { if (newPendingAirdropsBuilder_.isEmpty()) { newPendingAirdropsBuilder_.dispose(); newPendingAirdropsBuilder_ = null; newPendingAirdrops_ = other.newPendingAirdrops_; bitField0_ = (bitField0_ & ~0x00000010); newPendingAirdropsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getNewPendingAirdropsFieldBuilder() : null; } else { newPendingAirdropsBuilder_.addAllMessages(other.newPendingAirdrops_); } } } switch (other.getBodyCase()) { case CONTRACTCALLRESULT: { mergeContractCallResult(other.getContractCallResult()); break; } case CONTRACTCREATERESULT: { mergeContractCreateResult(other.getContractCreateResult()); break; } case BODY_NOT_SET: { break; } } switch (other.getEntropyCase()) { case PRNG_BYTES: { setPrngBytes(other.getPrngBytes()); break; } case PRNG_NUMBER: { setPrngNumber(other.getPrngNumber()); break; } case ENTROPY_NOT_SET: { break; } } 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.TransactionRecord parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.hederahashgraph.api.proto.java.TransactionRecord) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bodyCase_ = 0; private java.lang.Object body_; public BodyCase getBodyCase() { return BodyCase.forNumber( bodyCase_); } public Builder clearBody() { bodyCase_ = 0; body_ = null; onChanged(); return this; } private int entropyCase_ = 0; private java.lang.Object entropy_; public EntropyCase getEntropyCase() { return EntropyCase.forNumber( entropyCase_); } public Builder clearEntropy() { entropyCase_ = 0; entropy_ = null; onChanged(); return this; } private int bitField0_; private com.hederahashgraph.api.proto.java.TransactionReceipt receipt_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TransactionReceipt, com.hederahashgraph.api.proto.java.TransactionReceipt.Builder, com.hederahashgraph.api.proto.java.TransactionReceiptOrBuilder> receiptBuilder_; /** *
     **
     * The status (reach consensus, or failed, or is unknown) and the ID of any new
     * account/file/instance created.
     * 
* * .proto.TransactionReceipt receipt = 1; * @return Whether the receipt field is set. */ public boolean hasReceipt() { return receiptBuilder_ != null || receipt_ != null; } /** *
     **
     * The status (reach consensus, or failed, or is unknown) and the ID of any new
     * account/file/instance created.
     * 
* * .proto.TransactionReceipt receipt = 1; * @return The receipt. */ public com.hederahashgraph.api.proto.java.TransactionReceipt getReceipt() { if (receiptBuilder_ == null) { return receipt_ == null ? com.hederahashgraph.api.proto.java.TransactionReceipt.getDefaultInstance() : receipt_; } else { return receiptBuilder_.getMessage(); } } /** *
     **
     * The status (reach consensus, or failed, or is unknown) and the ID of any new
     * account/file/instance created.
     * 
* * .proto.TransactionReceipt receipt = 1; */ public Builder setReceipt(com.hederahashgraph.api.proto.java.TransactionReceipt value) { if (receiptBuilder_ == null) { if (value == null) { throw new NullPointerException(); } receipt_ = value; onChanged(); } else { receiptBuilder_.setMessage(value); } return this; } /** *
     **
     * The status (reach consensus, or failed, or is unknown) and the ID of any new
     * account/file/instance created.
     * 
* * .proto.TransactionReceipt receipt = 1; */ public Builder setReceipt( com.hederahashgraph.api.proto.java.TransactionReceipt.Builder builderForValue) { if (receiptBuilder_ == null) { receipt_ = builderForValue.build(); onChanged(); } else { receiptBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     **
     * The status (reach consensus, or failed, or is unknown) and the ID of any new
     * account/file/instance created.
     * 
* * .proto.TransactionReceipt receipt = 1; */ public Builder mergeReceipt(com.hederahashgraph.api.proto.java.TransactionReceipt value) { if (receiptBuilder_ == null) { if (receipt_ != null) { receipt_ = com.hederahashgraph.api.proto.java.TransactionReceipt.newBuilder(receipt_).mergeFrom(value).buildPartial(); } else { receipt_ = value; } onChanged(); } else { receiptBuilder_.mergeFrom(value); } return this; } /** *
     **
     * The status (reach consensus, or failed, or is unknown) and the ID of any new
     * account/file/instance created.
     * 
* * .proto.TransactionReceipt receipt = 1; */ public Builder clearReceipt() { if (receiptBuilder_ == null) { receipt_ = null; onChanged(); } else { receipt_ = null; receiptBuilder_ = null; } return this; } /** *
     **
     * The status (reach consensus, or failed, or is unknown) and the ID of any new
     * account/file/instance created.
     * 
* * .proto.TransactionReceipt receipt = 1; */ public com.hederahashgraph.api.proto.java.TransactionReceipt.Builder getReceiptBuilder() { onChanged(); return getReceiptFieldBuilder().getBuilder(); } /** *
     **
     * The status (reach consensus, or failed, or is unknown) and the ID of any new
     * account/file/instance created.
     * 
* * .proto.TransactionReceipt receipt = 1; */ public com.hederahashgraph.api.proto.java.TransactionReceiptOrBuilder getReceiptOrBuilder() { if (receiptBuilder_ != null) { return receiptBuilder_.getMessageOrBuilder(); } else { return receipt_ == null ? com.hederahashgraph.api.proto.java.TransactionReceipt.getDefaultInstance() : receipt_; } } /** *
     **
     * The status (reach consensus, or failed, or is unknown) and the ID of any new
     * account/file/instance created.
     * 
* * .proto.TransactionReceipt receipt = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TransactionReceipt, com.hederahashgraph.api.proto.java.TransactionReceipt.Builder, com.hederahashgraph.api.proto.java.TransactionReceiptOrBuilder> getReceiptFieldBuilder() { if (receiptBuilder_ == null) { receiptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TransactionReceipt, com.hederahashgraph.api.proto.java.TransactionReceipt.Builder, com.hederahashgraph.api.proto.java.TransactionReceiptOrBuilder>( getReceipt(), getParentForChildren(), isClean()); receipt_ = null; } return receiptBuilder_; } private com.google.protobuf.ByteString transactionHash_ = com.google.protobuf.ByteString.EMPTY; /** *
     **
     * The hash of the Transaction that executed (not the hash of any Transaction that failed for
     * having a duplicate TransactionID)
     * 
* * bytes transactionHash = 2; * @return The transactionHash. */ @java.lang.Override public com.google.protobuf.ByteString getTransactionHash() { return transactionHash_; } /** *
     **
     * The hash of the Transaction that executed (not the hash of any Transaction that failed for
     * having a duplicate TransactionID)
     * 
* * bytes transactionHash = 2; * @param value The transactionHash to set. * @return This builder for chaining. */ public Builder setTransactionHash(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } transactionHash_ = value; onChanged(); return this; } /** *
     **
     * The hash of the Transaction that executed (not the hash of any Transaction that failed for
     * having a duplicate TransactionID)
     * 
* * bytes transactionHash = 2; * @return This builder for chaining. */ public Builder clearTransactionHash() { transactionHash_ = getDefaultInstance().getTransactionHash(); onChanged(); return this; } private com.hederahashgraph.api.proto.java.Timestamp consensusTimestamp_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder> consensusTimestampBuilder_; /** *
     **
     * The consensus timestamp (or null if didn't reach consensus yet)
     * 
* * .proto.Timestamp consensusTimestamp = 3; * @return Whether the consensusTimestamp field is set. */ public boolean hasConsensusTimestamp() { return consensusTimestampBuilder_ != null || consensusTimestamp_ != null; } /** *
     **
     * The consensus timestamp (or null if didn't reach consensus yet)
     * 
* * .proto.Timestamp consensusTimestamp = 3; * @return The consensusTimestamp. */ public com.hederahashgraph.api.proto.java.Timestamp getConsensusTimestamp() { if (consensusTimestampBuilder_ == null) { return consensusTimestamp_ == null ? com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance() : consensusTimestamp_; } else { return consensusTimestampBuilder_.getMessage(); } } /** *
     **
     * The consensus timestamp (or null if didn't reach consensus yet)
     * 
* * .proto.Timestamp consensusTimestamp = 3; */ public Builder setConsensusTimestamp(com.hederahashgraph.api.proto.java.Timestamp value) { if (consensusTimestampBuilder_ == null) { if (value == null) { throw new NullPointerException(); } consensusTimestamp_ = value; onChanged(); } else { consensusTimestampBuilder_.setMessage(value); } return this; } /** *
     **
     * The consensus timestamp (or null if didn't reach consensus yet)
     * 
* * .proto.Timestamp consensusTimestamp = 3; */ public Builder setConsensusTimestamp( com.hederahashgraph.api.proto.java.Timestamp.Builder builderForValue) { if (consensusTimestampBuilder_ == null) { consensusTimestamp_ = builderForValue.build(); onChanged(); } else { consensusTimestampBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     **
     * The consensus timestamp (or null if didn't reach consensus yet)
     * 
* * .proto.Timestamp consensusTimestamp = 3; */ public Builder mergeConsensusTimestamp(com.hederahashgraph.api.proto.java.Timestamp value) { if (consensusTimestampBuilder_ == null) { if (consensusTimestamp_ != null) { consensusTimestamp_ = com.hederahashgraph.api.proto.java.Timestamp.newBuilder(consensusTimestamp_).mergeFrom(value).buildPartial(); } else { consensusTimestamp_ = value; } onChanged(); } else { consensusTimestampBuilder_.mergeFrom(value); } return this; } /** *
     **
     * The consensus timestamp (or null if didn't reach consensus yet)
     * 
* * .proto.Timestamp consensusTimestamp = 3; */ public Builder clearConsensusTimestamp() { if (consensusTimestampBuilder_ == null) { consensusTimestamp_ = null; onChanged(); } else { consensusTimestamp_ = null; consensusTimestampBuilder_ = null; } return this; } /** *
     **
     * The consensus timestamp (or null if didn't reach consensus yet)
     * 
* * .proto.Timestamp consensusTimestamp = 3; */ public com.hederahashgraph.api.proto.java.Timestamp.Builder getConsensusTimestampBuilder() { onChanged(); return getConsensusTimestampFieldBuilder().getBuilder(); } /** *
     **
     * The consensus timestamp (or null if didn't reach consensus yet)
     * 
* * .proto.Timestamp consensusTimestamp = 3; */ public com.hederahashgraph.api.proto.java.TimestampOrBuilder getConsensusTimestampOrBuilder() { if (consensusTimestampBuilder_ != null) { return consensusTimestampBuilder_.getMessageOrBuilder(); } else { return consensusTimestamp_ == null ? com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance() : consensusTimestamp_; } } /** *
     **
     * The consensus timestamp (or null if didn't reach consensus yet)
     * 
* * .proto.Timestamp consensusTimestamp = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder> getConsensusTimestampFieldBuilder() { if (consensusTimestampBuilder_ == null) { consensusTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder>( getConsensusTimestamp(), getParentForChildren(), isClean()); consensusTimestamp_ = null; } return consensusTimestampBuilder_; } private com.hederahashgraph.api.proto.java.TransactionID transactionID_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TransactionID, com.hederahashgraph.api.proto.java.TransactionID.Builder, com.hederahashgraph.api.proto.java.TransactionIDOrBuilder> transactionIDBuilder_; /** *
     **
     * The ID of the transaction this record represents
     * 
* * .proto.TransactionID transactionID = 4; * @return Whether the transactionID field is set. */ public boolean hasTransactionID() { return transactionIDBuilder_ != null || transactionID_ != null; } /** *
     **
     * The ID of the transaction this record represents
     * 
* * .proto.TransactionID transactionID = 4; * @return The transactionID. */ public com.hederahashgraph.api.proto.java.TransactionID getTransactionID() { if (transactionIDBuilder_ == null) { return transactionID_ == null ? com.hederahashgraph.api.proto.java.TransactionID.getDefaultInstance() : transactionID_; } else { return transactionIDBuilder_.getMessage(); } } /** *
     **
     * The ID of the transaction this record represents
     * 
* * .proto.TransactionID transactionID = 4; */ public Builder setTransactionID(com.hederahashgraph.api.proto.java.TransactionID value) { if (transactionIDBuilder_ == null) { if (value == null) { throw new NullPointerException(); } transactionID_ = value; onChanged(); } else { transactionIDBuilder_.setMessage(value); } return this; } /** *
     **
     * The ID of the transaction this record represents
     * 
* * .proto.TransactionID transactionID = 4; */ public Builder setTransactionID( com.hederahashgraph.api.proto.java.TransactionID.Builder builderForValue) { if (transactionIDBuilder_ == null) { transactionID_ = builderForValue.build(); onChanged(); } else { transactionIDBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     **
     * The ID of the transaction this record represents
     * 
* * .proto.TransactionID transactionID = 4; */ public Builder mergeTransactionID(com.hederahashgraph.api.proto.java.TransactionID value) { if (transactionIDBuilder_ == null) { if (transactionID_ != null) { transactionID_ = com.hederahashgraph.api.proto.java.TransactionID.newBuilder(transactionID_).mergeFrom(value).buildPartial(); } else { transactionID_ = value; } onChanged(); } else { transactionIDBuilder_.mergeFrom(value); } return this; } /** *
     **
     * The ID of the transaction this record represents
     * 
* * .proto.TransactionID transactionID = 4; */ public Builder clearTransactionID() { if (transactionIDBuilder_ == null) { transactionID_ = null; onChanged(); } else { transactionID_ = null; transactionIDBuilder_ = null; } return this; } /** *
     **
     * The ID of the transaction this record represents
     * 
* * .proto.TransactionID transactionID = 4; */ public com.hederahashgraph.api.proto.java.TransactionID.Builder getTransactionIDBuilder() { onChanged(); return getTransactionIDFieldBuilder().getBuilder(); } /** *
     **
     * The ID of the transaction this record represents
     * 
* * .proto.TransactionID transactionID = 4; */ public com.hederahashgraph.api.proto.java.TransactionIDOrBuilder getTransactionIDOrBuilder() { if (transactionIDBuilder_ != null) { return transactionIDBuilder_.getMessageOrBuilder(); } else { return transactionID_ == null ? com.hederahashgraph.api.proto.java.TransactionID.getDefaultInstance() : transactionID_; } } /** *
     **
     * The ID of the transaction this record represents
     * 
* * .proto.TransactionID transactionID = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TransactionID, com.hederahashgraph.api.proto.java.TransactionID.Builder, com.hederahashgraph.api.proto.java.TransactionIDOrBuilder> getTransactionIDFieldBuilder() { if (transactionIDBuilder_ == null) { transactionIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TransactionID, com.hederahashgraph.api.proto.java.TransactionID.Builder, com.hederahashgraph.api.proto.java.TransactionIDOrBuilder>( getTransactionID(), getParentForChildren(), isClean()); transactionID_ = null; } return transactionIDBuilder_; } private java.lang.Object memo_ = ""; /** *
     **
     * The memo that was submitted as part of the transaction (max 100 bytes)
     * 
* * string memo = 5; * @return The memo. */ public java.lang.String getMemo() { java.lang.Object ref = memo_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); memo_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     **
     * The memo that was submitted as part of the transaction (max 100 bytes)
     * 
* * string memo = 5; * @return The bytes for memo. */ public com.google.protobuf.ByteString getMemoBytes() { java.lang.Object ref = memo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); memo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     **
     * The memo that was submitted as part of the transaction (max 100 bytes)
     * 
* * string memo = 5; * @param value The memo to set. * @return This builder for chaining. */ public Builder setMemo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } memo_ = value; onChanged(); return this; } /** *
     **
     * The memo that was submitted as part of the transaction (max 100 bytes)
     * 
* * string memo = 5; * @return This builder for chaining. */ public Builder clearMemo() { memo_ = getDefaultInstance().getMemo(); onChanged(); return this; } /** *
     **
     * The memo that was submitted as part of the transaction (max 100 bytes)
     * 
* * string memo = 5; * @param value The bytes for memo to set. * @return This builder for chaining. */ public Builder setMemoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); memo_ = value; onChanged(); return this; } private long transactionFee_ ; /** *
     **
     * The actual transaction fee charged, not the original transactionFee value from
     * TransactionBody
     * 
* * uint64 transactionFee = 6; * @return The transactionFee. */ @java.lang.Override public long getTransactionFee() { return transactionFee_; } /** *
     **
     * The actual transaction fee charged, not the original transactionFee value from
     * TransactionBody
     * 
* * uint64 transactionFee = 6; * @param value The transactionFee to set. * @return This builder for chaining. */ public Builder setTransactionFee(long value) { transactionFee_ = value; onChanged(); return this; } /** *
     **
     * The actual transaction fee charged, not the original transactionFee value from
     * TransactionBody
     * 
* * uint64 transactionFee = 6; * @return This builder for chaining. */ public Builder clearTransactionFee() { transactionFee_ = 0L; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ContractFunctionResult, com.hederahashgraph.api.proto.java.ContractFunctionResult.Builder, com.hederahashgraph.api.proto.java.ContractFunctionResultOrBuilder> contractCallResultBuilder_; /** *
     **
     * Record of the value returned by the smart contract function (if it completed and didn't
     * fail) from ContractCallTransaction
     * 
* * .proto.ContractFunctionResult contractCallResult = 7; * @return Whether the contractCallResult field is set. */ @java.lang.Override public boolean hasContractCallResult() { return bodyCase_ == 7; } /** *
     **
     * Record of the value returned by the smart contract function (if it completed and didn't
     * fail) from ContractCallTransaction
     * 
* * .proto.ContractFunctionResult contractCallResult = 7; * @return The contractCallResult. */ @java.lang.Override public com.hederahashgraph.api.proto.java.ContractFunctionResult getContractCallResult() { if (contractCallResultBuilder_ == null) { if (bodyCase_ == 7) { return (com.hederahashgraph.api.proto.java.ContractFunctionResult) body_; } return com.hederahashgraph.api.proto.java.ContractFunctionResult.getDefaultInstance(); } else { if (bodyCase_ == 7) { return contractCallResultBuilder_.getMessage(); } return com.hederahashgraph.api.proto.java.ContractFunctionResult.getDefaultInstance(); } } /** *
     **
     * Record of the value returned by the smart contract function (if it completed and didn't
     * fail) from ContractCallTransaction
     * 
* * .proto.ContractFunctionResult contractCallResult = 7; */ public Builder setContractCallResult(com.hederahashgraph.api.proto.java.ContractFunctionResult value) { if (contractCallResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } body_ = value; onChanged(); } else { contractCallResultBuilder_.setMessage(value); } bodyCase_ = 7; return this; } /** *
     **
     * Record of the value returned by the smart contract function (if it completed and didn't
     * fail) from ContractCallTransaction
     * 
* * .proto.ContractFunctionResult contractCallResult = 7; */ public Builder setContractCallResult( com.hederahashgraph.api.proto.java.ContractFunctionResult.Builder builderForValue) { if (contractCallResultBuilder_ == null) { body_ = builderForValue.build(); onChanged(); } else { contractCallResultBuilder_.setMessage(builderForValue.build()); } bodyCase_ = 7; return this; } /** *
     **
     * Record of the value returned by the smart contract function (if it completed and didn't
     * fail) from ContractCallTransaction
     * 
* * .proto.ContractFunctionResult contractCallResult = 7; */ public Builder mergeContractCallResult(com.hederahashgraph.api.proto.java.ContractFunctionResult value) { if (contractCallResultBuilder_ == null) { if (bodyCase_ == 7 && body_ != com.hederahashgraph.api.proto.java.ContractFunctionResult.getDefaultInstance()) { body_ = com.hederahashgraph.api.proto.java.ContractFunctionResult.newBuilder((com.hederahashgraph.api.proto.java.ContractFunctionResult) body_) .mergeFrom(value).buildPartial(); } else { body_ = value; } onChanged(); } else { if (bodyCase_ == 7) { contractCallResultBuilder_.mergeFrom(value); } contractCallResultBuilder_.setMessage(value); } bodyCase_ = 7; return this; } /** *
     **
     * Record of the value returned by the smart contract function (if it completed and didn't
     * fail) from ContractCallTransaction
     * 
* * .proto.ContractFunctionResult contractCallResult = 7; */ public Builder clearContractCallResult() { if (contractCallResultBuilder_ == null) { if (bodyCase_ == 7) { bodyCase_ = 0; body_ = null; onChanged(); } } else { if (bodyCase_ == 7) { bodyCase_ = 0; body_ = null; } contractCallResultBuilder_.clear(); } return this; } /** *
     **
     * Record of the value returned by the smart contract function (if it completed and didn't
     * fail) from ContractCallTransaction
     * 
* * .proto.ContractFunctionResult contractCallResult = 7; */ public com.hederahashgraph.api.proto.java.ContractFunctionResult.Builder getContractCallResultBuilder() { return getContractCallResultFieldBuilder().getBuilder(); } /** *
     **
     * Record of the value returned by the smart contract function (if it completed and didn't
     * fail) from ContractCallTransaction
     * 
* * .proto.ContractFunctionResult contractCallResult = 7; */ @java.lang.Override public com.hederahashgraph.api.proto.java.ContractFunctionResultOrBuilder getContractCallResultOrBuilder() { if ((bodyCase_ == 7) && (contractCallResultBuilder_ != null)) { return contractCallResultBuilder_.getMessageOrBuilder(); } else { if (bodyCase_ == 7) { return (com.hederahashgraph.api.proto.java.ContractFunctionResult) body_; } return com.hederahashgraph.api.proto.java.ContractFunctionResult.getDefaultInstance(); } } /** *
     **
     * Record of the value returned by the smart contract function (if it completed and didn't
     * fail) from ContractCallTransaction
     * 
* * .proto.ContractFunctionResult contractCallResult = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ContractFunctionResult, com.hederahashgraph.api.proto.java.ContractFunctionResult.Builder, com.hederahashgraph.api.proto.java.ContractFunctionResultOrBuilder> getContractCallResultFieldBuilder() { if (contractCallResultBuilder_ == null) { if (!(bodyCase_ == 7)) { body_ = com.hederahashgraph.api.proto.java.ContractFunctionResult.getDefaultInstance(); } contractCallResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ContractFunctionResult, com.hederahashgraph.api.proto.java.ContractFunctionResult.Builder, com.hederahashgraph.api.proto.java.ContractFunctionResultOrBuilder>( (com.hederahashgraph.api.proto.java.ContractFunctionResult) body_, getParentForChildren(), isClean()); body_ = null; } bodyCase_ = 7; onChanged();; return contractCallResultBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ContractFunctionResult, com.hederahashgraph.api.proto.java.ContractFunctionResult.Builder, com.hederahashgraph.api.proto.java.ContractFunctionResultOrBuilder> contractCreateResultBuilder_; /** *
     **
     * Record of the value returned by the smart contract constructor (if it completed and
     * didn't fail) from ContractCreateTransaction
     * 
* * .proto.ContractFunctionResult contractCreateResult = 8; * @return Whether the contractCreateResult field is set. */ @java.lang.Override public boolean hasContractCreateResult() { return bodyCase_ == 8; } /** *
     **
     * Record of the value returned by the smart contract constructor (if it completed and
     * didn't fail) from ContractCreateTransaction
     * 
* * .proto.ContractFunctionResult contractCreateResult = 8; * @return The contractCreateResult. */ @java.lang.Override public com.hederahashgraph.api.proto.java.ContractFunctionResult getContractCreateResult() { if (contractCreateResultBuilder_ == null) { if (bodyCase_ == 8) { return (com.hederahashgraph.api.proto.java.ContractFunctionResult) body_; } return com.hederahashgraph.api.proto.java.ContractFunctionResult.getDefaultInstance(); } else { if (bodyCase_ == 8) { return contractCreateResultBuilder_.getMessage(); } return com.hederahashgraph.api.proto.java.ContractFunctionResult.getDefaultInstance(); } } /** *
     **
     * Record of the value returned by the smart contract constructor (if it completed and
     * didn't fail) from ContractCreateTransaction
     * 
* * .proto.ContractFunctionResult contractCreateResult = 8; */ public Builder setContractCreateResult(com.hederahashgraph.api.proto.java.ContractFunctionResult value) { if (contractCreateResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } body_ = value; onChanged(); } else { contractCreateResultBuilder_.setMessage(value); } bodyCase_ = 8; return this; } /** *
     **
     * Record of the value returned by the smart contract constructor (if it completed and
     * didn't fail) from ContractCreateTransaction
     * 
* * .proto.ContractFunctionResult contractCreateResult = 8; */ public Builder setContractCreateResult( com.hederahashgraph.api.proto.java.ContractFunctionResult.Builder builderForValue) { if (contractCreateResultBuilder_ == null) { body_ = builderForValue.build(); onChanged(); } else { contractCreateResultBuilder_.setMessage(builderForValue.build()); } bodyCase_ = 8; return this; } /** *
     **
     * Record of the value returned by the smart contract constructor (if it completed and
     * didn't fail) from ContractCreateTransaction
     * 
* * .proto.ContractFunctionResult contractCreateResult = 8; */ public Builder mergeContractCreateResult(com.hederahashgraph.api.proto.java.ContractFunctionResult value) { if (contractCreateResultBuilder_ == null) { if (bodyCase_ == 8 && body_ != com.hederahashgraph.api.proto.java.ContractFunctionResult.getDefaultInstance()) { body_ = com.hederahashgraph.api.proto.java.ContractFunctionResult.newBuilder((com.hederahashgraph.api.proto.java.ContractFunctionResult) body_) .mergeFrom(value).buildPartial(); } else { body_ = value; } onChanged(); } else { if (bodyCase_ == 8) { contractCreateResultBuilder_.mergeFrom(value); } contractCreateResultBuilder_.setMessage(value); } bodyCase_ = 8; return this; } /** *
     **
     * Record of the value returned by the smart contract constructor (if it completed and
     * didn't fail) from ContractCreateTransaction
     * 
* * .proto.ContractFunctionResult contractCreateResult = 8; */ public Builder clearContractCreateResult() { if (contractCreateResultBuilder_ == null) { if (bodyCase_ == 8) { bodyCase_ = 0; body_ = null; onChanged(); } } else { if (bodyCase_ == 8) { bodyCase_ = 0; body_ = null; } contractCreateResultBuilder_.clear(); } return this; } /** *
     **
     * Record of the value returned by the smart contract constructor (if it completed and
     * didn't fail) from ContractCreateTransaction
     * 
* * .proto.ContractFunctionResult contractCreateResult = 8; */ public com.hederahashgraph.api.proto.java.ContractFunctionResult.Builder getContractCreateResultBuilder() { return getContractCreateResultFieldBuilder().getBuilder(); } /** *
     **
     * Record of the value returned by the smart contract constructor (if it completed and
     * didn't fail) from ContractCreateTransaction
     * 
* * .proto.ContractFunctionResult contractCreateResult = 8; */ @java.lang.Override public com.hederahashgraph.api.proto.java.ContractFunctionResultOrBuilder getContractCreateResultOrBuilder() { if ((bodyCase_ == 8) && (contractCreateResultBuilder_ != null)) { return contractCreateResultBuilder_.getMessageOrBuilder(); } else { if (bodyCase_ == 8) { return (com.hederahashgraph.api.proto.java.ContractFunctionResult) body_; } return com.hederahashgraph.api.proto.java.ContractFunctionResult.getDefaultInstance(); } } /** *
     **
     * Record of the value returned by the smart contract constructor (if it completed and
     * didn't fail) from ContractCreateTransaction
     * 
* * .proto.ContractFunctionResult contractCreateResult = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ContractFunctionResult, com.hederahashgraph.api.proto.java.ContractFunctionResult.Builder, com.hederahashgraph.api.proto.java.ContractFunctionResultOrBuilder> getContractCreateResultFieldBuilder() { if (contractCreateResultBuilder_ == null) { if (!(bodyCase_ == 8)) { body_ = com.hederahashgraph.api.proto.java.ContractFunctionResult.getDefaultInstance(); } contractCreateResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ContractFunctionResult, com.hederahashgraph.api.proto.java.ContractFunctionResult.Builder, com.hederahashgraph.api.proto.java.ContractFunctionResultOrBuilder>( (com.hederahashgraph.api.proto.java.ContractFunctionResult) body_, getParentForChildren(), isClean()); body_ = null; } bodyCase_ = 8; onChanged();; return contractCreateResultBuilder_; } private com.hederahashgraph.api.proto.java.TransferList transferList_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TransferList, com.hederahashgraph.api.proto.java.TransferList.Builder, com.hederahashgraph.api.proto.java.TransferListOrBuilder> transferListBuilder_; /** *
     **
     * All hbar transfers as a result of this transaction, such as fees, or transfers performed by
     * the transaction, or by a smart contract it calls, or by the creation of threshold records
     * that it triggers.
     * 
* * .proto.TransferList transferList = 10; * @return Whether the transferList field is set. */ public boolean hasTransferList() { return transferListBuilder_ != null || transferList_ != null; } /** *
     **
     * All hbar transfers as a result of this transaction, such as fees, or transfers performed by
     * the transaction, or by a smart contract it calls, or by the creation of threshold records
     * that it triggers.
     * 
* * .proto.TransferList transferList = 10; * @return The transferList. */ public com.hederahashgraph.api.proto.java.TransferList getTransferList() { if (transferListBuilder_ == null) { return transferList_ == null ? com.hederahashgraph.api.proto.java.TransferList.getDefaultInstance() : transferList_; } else { return transferListBuilder_.getMessage(); } } /** *
     **
     * All hbar transfers as a result of this transaction, such as fees, or transfers performed by
     * the transaction, or by a smart contract it calls, or by the creation of threshold records
     * that it triggers.
     * 
* * .proto.TransferList transferList = 10; */ public Builder setTransferList(com.hederahashgraph.api.proto.java.TransferList value) { if (transferListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } transferList_ = value; onChanged(); } else { transferListBuilder_.setMessage(value); } return this; } /** *
     **
     * All hbar transfers as a result of this transaction, such as fees, or transfers performed by
     * the transaction, or by a smart contract it calls, or by the creation of threshold records
     * that it triggers.
     * 
* * .proto.TransferList transferList = 10; */ public Builder setTransferList( com.hederahashgraph.api.proto.java.TransferList.Builder builderForValue) { if (transferListBuilder_ == null) { transferList_ = builderForValue.build(); onChanged(); } else { transferListBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     **
     * All hbar transfers as a result of this transaction, such as fees, or transfers performed by
     * the transaction, or by a smart contract it calls, or by the creation of threshold records
     * that it triggers.
     * 
* * .proto.TransferList transferList = 10; */ public Builder mergeTransferList(com.hederahashgraph.api.proto.java.TransferList value) { if (transferListBuilder_ == null) { if (transferList_ != null) { transferList_ = com.hederahashgraph.api.proto.java.TransferList.newBuilder(transferList_).mergeFrom(value).buildPartial(); } else { transferList_ = value; } onChanged(); } else { transferListBuilder_.mergeFrom(value); } return this; } /** *
     **
     * All hbar transfers as a result of this transaction, such as fees, or transfers performed by
     * the transaction, or by a smart contract it calls, or by the creation of threshold records
     * that it triggers.
     * 
* * .proto.TransferList transferList = 10; */ public Builder clearTransferList() { if (transferListBuilder_ == null) { transferList_ = null; onChanged(); } else { transferList_ = null; transferListBuilder_ = null; } return this; } /** *
     **
     * All hbar transfers as a result of this transaction, such as fees, or transfers performed by
     * the transaction, or by a smart contract it calls, or by the creation of threshold records
     * that it triggers.
     * 
* * .proto.TransferList transferList = 10; */ public com.hederahashgraph.api.proto.java.TransferList.Builder getTransferListBuilder() { onChanged(); return getTransferListFieldBuilder().getBuilder(); } /** *
     **
     * All hbar transfers as a result of this transaction, such as fees, or transfers performed by
     * the transaction, or by a smart contract it calls, or by the creation of threshold records
     * that it triggers.
     * 
* * .proto.TransferList transferList = 10; */ public com.hederahashgraph.api.proto.java.TransferListOrBuilder getTransferListOrBuilder() { if (transferListBuilder_ != null) { return transferListBuilder_.getMessageOrBuilder(); } else { return transferList_ == null ? com.hederahashgraph.api.proto.java.TransferList.getDefaultInstance() : transferList_; } } /** *
     **
     * All hbar transfers as a result of this transaction, such as fees, or transfers performed by
     * the transaction, or by a smart contract it calls, or by the creation of threshold records
     * that it triggers.
     * 
* * .proto.TransferList transferList = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TransferList, com.hederahashgraph.api.proto.java.TransferList.Builder, com.hederahashgraph.api.proto.java.TransferListOrBuilder> getTransferListFieldBuilder() { if (transferListBuilder_ == null) { transferListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TransferList, com.hederahashgraph.api.proto.java.TransferList.Builder, com.hederahashgraph.api.proto.java.TransferListOrBuilder>( getTransferList(), getParentForChildren(), isClean()); transferList_ = null; } return transferListBuilder_; } private java.util.List tokenTransferLists_ = java.util.Collections.emptyList(); private void ensureTokenTransferListsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tokenTransferLists_ = new java.util.ArrayList(tokenTransferLists_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.TokenTransferList, com.hederahashgraph.api.proto.java.TokenTransferList.Builder, com.hederahashgraph.api.proto.java.TokenTransferListOrBuilder> tokenTransferListsBuilder_; /** *
     **
     * All Token transfers as a result of this transaction
     * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ public java.util.List getTokenTransferListsList() { if (tokenTransferListsBuilder_ == null) { return java.util.Collections.unmodifiableList(tokenTransferLists_); } else { return tokenTransferListsBuilder_.getMessageList(); } } /** *
     **
     * All Token transfers as a result of this transaction
     * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ public int getTokenTransferListsCount() { if (tokenTransferListsBuilder_ == null) { return tokenTransferLists_.size(); } else { return tokenTransferListsBuilder_.getCount(); } } /** *
     **
     * All Token transfers as a result of this transaction
     * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ public com.hederahashgraph.api.proto.java.TokenTransferList getTokenTransferLists(int index) { if (tokenTransferListsBuilder_ == null) { return tokenTransferLists_.get(index); } else { return tokenTransferListsBuilder_.getMessage(index); } } /** *
     **
     * All Token transfers as a result of this transaction
     * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ public Builder setTokenTransferLists( int index, com.hederahashgraph.api.proto.java.TokenTransferList value) { if (tokenTransferListsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTokenTransferListsIsMutable(); tokenTransferLists_.set(index, value); onChanged(); } else { tokenTransferListsBuilder_.setMessage(index, value); } return this; } /** *
     **
     * All Token transfers as a result of this transaction
     * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ public Builder setTokenTransferLists( int index, com.hederahashgraph.api.proto.java.TokenTransferList.Builder builderForValue) { if (tokenTransferListsBuilder_ == null) { ensureTokenTransferListsIsMutable(); tokenTransferLists_.set(index, builderForValue.build()); onChanged(); } else { tokenTransferListsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     **
     * All Token transfers as a result of this transaction
     * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ public Builder addTokenTransferLists(com.hederahashgraph.api.proto.java.TokenTransferList value) { if (tokenTransferListsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTokenTransferListsIsMutable(); tokenTransferLists_.add(value); onChanged(); } else { tokenTransferListsBuilder_.addMessage(value); } return this; } /** *
     **
     * All Token transfers as a result of this transaction
     * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ public Builder addTokenTransferLists( int index, com.hederahashgraph.api.proto.java.TokenTransferList value) { if (tokenTransferListsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTokenTransferListsIsMutable(); tokenTransferLists_.add(index, value); onChanged(); } else { tokenTransferListsBuilder_.addMessage(index, value); } return this; } /** *
     **
     * All Token transfers as a result of this transaction
     * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ public Builder addTokenTransferLists( com.hederahashgraph.api.proto.java.TokenTransferList.Builder builderForValue) { if (tokenTransferListsBuilder_ == null) { ensureTokenTransferListsIsMutable(); tokenTransferLists_.add(builderForValue.build()); onChanged(); } else { tokenTransferListsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     **
     * All Token transfers as a result of this transaction
     * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ public Builder addTokenTransferLists( int index, com.hederahashgraph.api.proto.java.TokenTransferList.Builder builderForValue) { if (tokenTransferListsBuilder_ == null) { ensureTokenTransferListsIsMutable(); tokenTransferLists_.add(index, builderForValue.build()); onChanged(); } else { tokenTransferListsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     **
     * All Token transfers as a result of this transaction
     * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ public Builder addAllTokenTransferLists( java.lang.Iterable values) { if (tokenTransferListsBuilder_ == null) { ensureTokenTransferListsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tokenTransferLists_); onChanged(); } else { tokenTransferListsBuilder_.addAllMessages(values); } return this; } /** *
     **
     * All Token transfers as a result of this transaction
     * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ public Builder clearTokenTransferLists() { if (tokenTransferListsBuilder_ == null) { tokenTransferLists_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { tokenTransferListsBuilder_.clear(); } return this; } /** *
     **
     * All Token transfers as a result of this transaction
     * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ public Builder removeTokenTransferLists(int index) { if (tokenTransferListsBuilder_ == null) { ensureTokenTransferListsIsMutable(); tokenTransferLists_.remove(index); onChanged(); } else { tokenTransferListsBuilder_.remove(index); } return this; } /** *
     **
     * All Token transfers as a result of this transaction
     * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ public com.hederahashgraph.api.proto.java.TokenTransferList.Builder getTokenTransferListsBuilder( int index) { return getTokenTransferListsFieldBuilder().getBuilder(index); } /** *
     **
     * All Token transfers as a result of this transaction
     * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ public com.hederahashgraph.api.proto.java.TokenTransferListOrBuilder getTokenTransferListsOrBuilder( int index) { if (tokenTransferListsBuilder_ == null) { return tokenTransferLists_.get(index); } else { return tokenTransferListsBuilder_.getMessageOrBuilder(index); } } /** *
     **
     * All Token transfers as a result of this transaction
     * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ public java.util.List getTokenTransferListsOrBuilderList() { if (tokenTransferListsBuilder_ != null) { return tokenTransferListsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tokenTransferLists_); } } /** *
     **
     * All Token transfers as a result of this transaction
     * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ public com.hederahashgraph.api.proto.java.TokenTransferList.Builder addTokenTransferListsBuilder() { return getTokenTransferListsFieldBuilder().addBuilder( com.hederahashgraph.api.proto.java.TokenTransferList.getDefaultInstance()); } /** *
     **
     * All Token transfers as a result of this transaction
     * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ public com.hederahashgraph.api.proto.java.TokenTransferList.Builder addTokenTransferListsBuilder( int index) { return getTokenTransferListsFieldBuilder().addBuilder( index, com.hederahashgraph.api.proto.java.TokenTransferList.getDefaultInstance()); } /** *
     **
     * All Token transfers as a result of this transaction
     * 
* * repeated .proto.TokenTransferList tokenTransferLists = 11; */ public java.util.List getTokenTransferListsBuilderList() { return getTokenTransferListsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.TokenTransferList, com.hederahashgraph.api.proto.java.TokenTransferList.Builder, com.hederahashgraph.api.proto.java.TokenTransferListOrBuilder> getTokenTransferListsFieldBuilder() { if (tokenTransferListsBuilder_ == null) { tokenTransferListsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.TokenTransferList, com.hederahashgraph.api.proto.java.TokenTransferList.Builder, com.hederahashgraph.api.proto.java.TokenTransferListOrBuilder>( tokenTransferLists_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tokenTransferLists_ = null; } return tokenTransferListsBuilder_; } private com.hederahashgraph.api.proto.java.ScheduleID scheduleRef_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ScheduleID, com.hederahashgraph.api.proto.java.ScheduleID.Builder, com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder> scheduleRefBuilder_; /** *
     **
     * Reference to the scheduled transaction ID that this transaction record represent
     * 
* * .proto.ScheduleID scheduleRef = 12; * @return Whether the scheduleRef field is set. */ public boolean hasScheduleRef() { return scheduleRefBuilder_ != null || scheduleRef_ != null; } /** *
     **
     * Reference to the scheduled transaction ID that this transaction record represent
     * 
* * .proto.ScheduleID scheduleRef = 12; * @return The scheduleRef. */ public com.hederahashgraph.api.proto.java.ScheduleID getScheduleRef() { if (scheduleRefBuilder_ == null) { return scheduleRef_ == null ? com.hederahashgraph.api.proto.java.ScheduleID.getDefaultInstance() : scheduleRef_; } else { return scheduleRefBuilder_.getMessage(); } } /** *
     **
     * Reference to the scheduled transaction ID that this transaction record represent
     * 
* * .proto.ScheduleID scheduleRef = 12; */ public Builder setScheduleRef(com.hederahashgraph.api.proto.java.ScheduleID value) { if (scheduleRefBuilder_ == null) { if (value == null) { throw new NullPointerException(); } scheduleRef_ = value; onChanged(); } else { scheduleRefBuilder_.setMessage(value); } return this; } /** *
     **
     * Reference to the scheduled transaction ID that this transaction record represent
     * 
* * .proto.ScheduleID scheduleRef = 12; */ public Builder setScheduleRef( com.hederahashgraph.api.proto.java.ScheduleID.Builder builderForValue) { if (scheduleRefBuilder_ == null) { scheduleRef_ = builderForValue.build(); onChanged(); } else { scheduleRefBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     **
     * Reference to the scheduled transaction ID that this transaction record represent
     * 
* * .proto.ScheduleID scheduleRef = 12; */ public Builder mergeScheduleRef(com.hederahashgraph.api.proto.java.ScheduleID value) { if (scheduleRefBuilder_ == null) { if (scheduleRef_ != null) { scheduleRef_ = com.hederahashgraph.api.proto.java.ScheduleID.newBuilder(scheduleRef_).mergeFrom(value).buildPartial(); } else { scheduleRef_ = value; } onChanged(); } else { scheduleRefBuilder_.mergeFrom(value); } return this; } /** *
     **
     * Reference to the scheduled transaction ID that this transaction record represent
     * 
* * .proto.ScheduleID scheduleRef = 12; */ public Builder clearScheduleRef() { if (scheduleRefBuilder_ == null) { scheduleRef_ = null; onChanged(); } else { scheduleRef_ = null; scheduleRefBuilder_ = null; } return this; } /** *
     **
     * Reference to the scheduled transaction ID that this transaction record represent
     * 
* * .proto.ScheduleID scheduleRef = 12; */ public com.hederahashgraph.api.proto.java.ScheduleID.Builder getScheduleRefBuilder() { onChanged(); return getScheduleRefFieldBuilder().getBuilder(); } /** *
     **
     * Reference to the scheduled transaction ID that this transaction record represent
     * 
* * .proto.ScheduleID scheduleRef = 12; */ public com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder getScheduleRefOrBuilder() { if (scheduleRefBuilder_ != null) { return scheduleRefBuilder_.getMessageOrBuilder(); } else { return scheduleRef_ == null ? com.hederahashgraph.api.proto.java.ScheduleID.getDefaultInstance() : scheduleRef_; } } /** *
     **
     * Reference to the scheduled transaction ID that this transaction record represent
     * 
* * .proto.ScheduleID scheduleRef = 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> getScheduleRefFieldBuilder() { if (scheduleRefBuilder_ == null) { scheduleRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ScheduleID, com.hederahashgraph.api.proto.java.ScheduleID.Builder, com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder>( getScheduleRef(), getParentForChildren(), isClean()); scheduleRef_ = null; } return scheduleRefBuilder_; } private java.util.List assessedCustomFees_ = java.util.Collections.emptyList(); private void ensureAssessedCustomFeesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { assessedCustomFees_ = new java.util.ArrayList(assessedCustomFees_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.AssessedCustomFee, com.hederahashgraph.api.proto.java.AssessedCustomFee.Builder, com.hederahashgraph.api.proto.java.AssessedCustomFeeOrBuilder> assessedCustomFeesBuilder_; /** *
     **
     * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
     * transaction status resolved to SUCCESS
     * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ public java.util.List getAssessedCustomFeesList() { if (assessedCustomFeesBuilder_ == null) { return java.util.Collections.unmodifiableList(assessedCustomFees_); } else { return assessedCustomFeesBuilder_.getMessageList(); } } /** *
     **
     * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
     * transaction status resolved to SUCCESS
     * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ public int getAssessedCustomFeesCount() { if (assessedCustomFeesBuilder_ == null) { return assessedCustomFees_.size(); } else { return assessedCustomFeesBuilder_.getCount(); } } /** *
     **
     * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
     * transaction status resolved to SUCCESS
     * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ public com.hederahashgraph.api.proto.java.AssessedCustomFee getAssessedCustomFees(int index) { if (assessedCustomFeesBuilder_ == null) { return assessedCustomFees_.get(index); } else { return assessedCustomFeesBuilder_.getMessage(index); } } /** *
     **
     * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
     * transaction status resolved to SUCCESS
     * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ public Builder setAssessedCustomFees( int index, com.hederahashgraph.api.proto.java.AssessedCustomFee value) { if (assessedCustomFeesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAssessedCustomFeesIsMutable(); assessedCustomFees_.set(index, value); onChanged(); } else { assessedCustomFeesBuilder_.setMessage(index, value); } return this; } /** *
     **
     * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
     * transaction status resolved to SUCCESS
     * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ public Builder setAssessedCustomFees( int index, com.hederahashgraph.api.proto.java.AssessedCustomFee.Builder builderForValue) { if (assessedCustomFeesBuilder_ == null) { ensureAssessedCustomFeesIsMutable(); assessedCustomFees_.set(index, builderForValue.build()); onChanged(); } else { assessedCustomFeesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     **
     * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
     * transaction status resolved to SUCCESS
     * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ public Builder addAssessedCustomFees(com.hederahashgraph.api.proto.java.AssessedCustomFee value) { if (assessedCustomFeesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAssessedCustomFeesIsMutable(); assessedCustomFees_.add(value); onChanged(); } else { assessedCustomFeesBuilder_.addMessage(value); } return this; } /** *
     **
     * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
     * transaction status resolved to SUCCESS
     * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ public Builder addAssessedCustomFees( int index, com.hederahashgraph.api.proto.java.AssessedCustomFee value) { if (assessedCustomFeesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAssessedCustomFeesIsMutable(); assessedCustomFees_.add(index, value); onChanged(); } else { assessedCustomFeesBuilder_.addMessage(index, value); } return this; } /** *
     **
     * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
     * transaction status resolved to SUCCESS
     * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ public Builder addAssessedCustomFees( com.hederahashgraph.api.proto.java.AssessedCustomFee.Builder builderForValue) { if (assessedCustomFeesBuilder_ == null) { ensureAssessedCustomFeesIsMutable(); assessedCustomFees_.add(builderForValue.build()); onChanged(); } else { assessedCustomFeesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     **
     * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
     * transaction status resolved to SUCCESS
     * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ public Builder addAssessedCustomFees( int index, com.hederahashgraph.api.proto.java.AssessedCustomFee.Builder builderForValue) { if (assessedCustomFeesBuilder_ == null) { ensureAssessedCustomFeesIsMutable(); assessedCustomFees_.add(index, builderForValue.build()); onChanged(); } else { assessedCustomFeesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     **
     * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
     * transaction status resolved to SUCCESS
     * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ public Builder addAllAssessedCustomFees( java.lang.Iterable values) { if (assessedCustomFeesBuilder_ == null) { ensureAssessedCustomFeesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, assessedCustomFees_); onChanged(); } else { assessedCustomFeesBuilder_.addAllMessages(values); } return this; } /** *
     **
     * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
     * transaction status resolved to SUCCESS
     * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ public Builder clearAssessedCustomFees() { if (assessedCustomFeesBuilder_ == null) { assessedCustomFees_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { assessedCustomFeesBuilder_.clear(); } return this; } /** *
     **
     * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
     * transaction status resolved to SUCCESS
     * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ public Builder removeAssessedCustomFees(int index) { if (assessedCustomFeesBuilder_ == null) { ensureAssessedCustomFeesIsMutable(); assessedCustomFees_.remove(index); onChanged(); } else { assessedCustomFeesBuilder_.remove(index); } return this; } /** *
     **
     * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
     * transaction status resolved to SUCCESS
     * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ public com.hederahashgraph.api.proto.java.AssessedCustomFee.Builder getAssessedCustomFeesBuilder( int index) { return getAssessedCustomFeesFieldBuilder().getBuilder(index); } /** *
     **
     * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
     * transaction status resolved to SUCCESS
     * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ public com.hederahashgraph.api.proto.java.AssessedCustomFeeOrBuilder getAssessedCustomFeesOrBuilder( int index) { if (assessedCustomFeesBuilder_ == null) { return assessedCustomFees_.get(index); } else { return assessedCustomFeesBuilder_.getMessageOrBuilder(index); } } /** *
     **
     * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
     * transaction status resolved to SUCCESS
     * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ public java.util.List getAssessedCustomFeesOrBuilderList() { if (assessedCustomFeesBuilder_ != null) { return assessedCustomFeesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(assessedCustomFees_); } } /** *
     **
     * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
     * transaction status resolved to SUCCESS
     * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ public com.hederahashgraph.api.proto.java.AssessedCustomFee.Builder addAssessedCustomFeesBuilder() { return getAssessedCustomFeesFieldBuilder().addBuilder( com.hederahashgraph.api.proto.java.AssessedCustomFee.getDefaultInstance()); } /** *
     **
     * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
     * transaction status resolved to SUCCESS
     * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ public com.hederahashgraph.api.proto.java.AssessedCustomFee.Builder addAssessedCustomFeesBuilder( int index) { return getAssessedCustomFeesFieldBuilder().addBuilder( index, com.hederahashgraph.api.proto.java.AssessedCustomFee.getDefaultInstance()); } /** *
     **
     * All custom fees that were assessed during a CryptoTransfer, and must be paid if the
     * transaction status resolved to SUCCESS
     * 
* * repeated .proto.AssessedCustomFee assessed_custom_fees = 13; */ public java.util.List getAssessedCustomFeesBuilderList() { return getAssessedCustomFeesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.AssessedCustomFee, com.hederahashgraph.api.proto.java.AssessedCustomFee.Builder, com.hederahashgraph.api.proto.java.AssessedCustomFeeOrBuilder> getAssessedCustomFeesFieldBuilder() { if (assessedCustomFeesBuilder_ == null) { assessedCustomFeesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.AssessedCustomFee, com.hederahashgraph.api.proto.java.AssessedCustomFee.Builder, com.hederahashgraph.api.proto.java.AssessedCustomFeeOrBuilder>( assessedCustomFees_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); assessedCustomFees_ = null; } return assessedCustomFeesBuilder_; } private java.util.List automaticTokenAssociations_ = java.util.Collections.emptyList(); private void ensureAutomaticTokenAssociationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { automaticTokenAssociations_ = new java.util.ArrayList(automaticTokenAssociations_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.TokenAssociation, com.hederahashgraph.api.proto.java.TokenAssociation.Builder, com.hederahashgraph.api.proto.java.TokenAssociationOrBuilder> automaticTokenAssociationsBuilder_; /** *
     **
     * All token associations implicitly created while handling this transaction
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ public java.util.List getAutomaticTokenAssociationsList() { if (automaticTokenAssociationsBuilder_ == null) { return java.util.Collections.unmodifiableList(automaticTokenAssociations_); } else { return automaticTokenAssociationsBuilder_.getMessageList(); } } /** *
     **
     * All token associations implicitly created while handling this transaction
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ public int getAutomaticTokenAssociationsCount() { if (automaticTokenAssociationsBuilder_ == null) { return automaticTokenAssociations_.size(); } else { return automaticTokenAssociationsBuilder_.getCount(); } } /** *
     **
     * All token associations implicitly created while handling this transaction
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ public com.hederahashgraph.api.proto.java.TokenAssociation getAutomaticTokenAssociations(int index) { if (automaticTokenAssociationsBuilder_ == null) { return automaticTokenAssociations_.get(index); } else { return automaticTokenAssociationsBuilder_.getMessage(index); } } /** *
     **
     * All token associations implicitly created while handling this transaction
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ public Builder setAutomaticTokenAssociations( int index, com.hederahashgraph.api.proto.java.TokenAssociation value) { if (automaticTokenAssociationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAutomaticTokenAssociationsIsMutable(); automaticTokenAssociations_.set(index, value); onChanged(); } else { automaticTokenAssociationsBuilder_.setMessage(index, value); } return this; } /** *
     **
     * All token associations implicitly created while handling this transaction
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ public Builder setAutomaticTokenAssociations( int index, com.hederahashgraph.api.proto.java.TokenAssociation.Builder builderForValue) { if (automaticTokenAssociationsBuilder_ == null) { ensureAutomaticTokenAssociationsIsMutable(); automaticTokenAssociations_.set(index, builderForValue.build()); onChanged(); } else { automaticTokenAssociationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     **
     * All token associations implicitly created while handling this transaction
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ public Builder addAutomaticTokenAssociations(com.hederahashgraph.api.proto.java.TokenAssociation value) { if (automaticTokenAssociationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAutomaticTokenAssociationsIsMutable(); automaticTokenAssociations_.add(value); onChanged(); } else { automaticTokenAssociationsBuilder_.addMessage(value); } return this; } /** *
     **
     * All token associations implicitly created while handling this transaction
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ public Builder addAutomaticTokenAssociations( int index, com.hederahashgraph.api.proto.java.TokenAssociation value) { if (automaticTokenAssociationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAutomaticTokenAssociationsIsMutable(); automaticTokenAssociations_.add(index, value); onChanged(); } else { automaticTokenAssociationsBuilder_.addMessage(index, value); } return this; } /** *
     **
     * All token associations implicitly created while handling this transaction
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ public Builder addAutomaticTokenAssociations( com.hederahashgraph.api.proto.java.TokenAssociation.Builder builderForValue) { if (automaticTokenAssociationsBuilder_ == null) { ensureAutomaticTokenAssociationsIsMutable(); automaticTokenAssociations_.add(builderForValue.build()); onChanged(); } else { automaticTokenAssociationsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     **
     * All token associations implicitly created while handling this transaction
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ public Builder addAutomaticTokenAssociations( int index, com.hederahashgraph.api.proto.java.TokenAssociation.Builder builderForValue) { if (automaticTokenAssociationsBuilder_ == null) { ensureAutomaticTokenAssociationsIsMutable(); automaticTokenAssociations_.add(index, builderForValue.build()); onChanged(); } else { automaticTokenAssociationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     **
     * All token associations implicitly created while handling this transaction
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ public Builder addAllAutomaticTokenAssociations( java.lang.Iterable values) { if (automaticTokenAssociationsBuilder_ == null) { ensureAutomaticTokenAssociationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, automaticTokenAssociations_); onChanged(); } else { automaticTokenAssociationsBuilder_.addAllMessages(values); } return this; } /** *
     **
     * All token associations implicitly created while handling this transaction
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ public Builder clearAutomaticTokenAssociations() { if (automaticTokenAssociationsBuilder_ == null) { automaticTokenAssociations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { automaticTokenAssociationsBuilder_.clear(); } return this; } /** *
     **
     * All token associations implicitly created while handling this transaction
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ public Builder removeAutomaticTokenAssociations(int index) { if (automaticTokenAssociationsBuilder_ == null) { ensureAutomaticTokenAssociationsIsMutable(); automaticTokenAssociations_.remove(index); onChanged(); } else { automaticTokenAssociationsBuilder_.remove(index); } return this; } /** *
     **
     * All token associations implicitly created while handling this transaction
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ public com.hederahashgraph.api.proto.java.TokenAssociation.Builder getAutomaticTokenAssociationsBuilder( int index) { return getAutomaticTokenAssociationsFieldBuilder().getBuilder(index); } /** *
     **
     * All token associations implicitly created while handling this transaction
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ public com.hederahashgraph.api.proto.java.TokenAssociationOrBuilder getAutomaticTokenAssociationsOrBuilder( int index) { if (automaticTokenAssociationsBuilder_ == null) { return automaticTokenAssociations_.get(index); } else { return automaticTokenAssociationsBuilder_.getMessageOrBuilder(index); } } /** *
     **
     * All token associations implicitly created while handling this transaction
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ public java.util.List getAutomaticTokenAssociationsOrBuilderList() { if (automaticTokenAssociationsBuilder_ != null) { return automaticTokenAssociationsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(automaticTokenAssociations_); } } /** *
     **
     * All token associations implicitly created while handling this transaction
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ public com.hederahashgraph.api.proto.java.TokenAssociation.Builder addAutomaticTokenAssociationsBuilder() { return getAutomaticTokenAssociationsFieldBuilder().addBuilder( com.hederahashgraph.api.proto.java.TokenAssociation.getDefaultInstance()); } /** *
     **
     * All token associations implicitly created while handling this transaction
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ public com.hederahashgraph.api.proto.java.TokenAssociation.Builder addAutomaticTokenAssociationsBuilder( int index) { return getAutomaticTokenAssociationsFieldBuilder().addBuilder( index, com.hederahashgraph.api.proto.java.TokenAssociation.getDefaultInstance()); } /** *
     **
     * All token associations implicitly created while handling this transaction
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 14; */ public java.util.List getAutomaticTokenAssociationsBuilderList() { return getAutomaticTokenAssociationsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.TokenAssociation, com.hederahashgraph.api.proto.java.TokenAssociation.Builder, com.hederahashgraph.api.proto.java.TokenAssociationOrBuilder> getAutomaticTokenAssociationsFieldBuilder() { if (automaticTokenAssociationsBuilder_ == null) { automaticTokenAssociationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.TokenAssociation, com.hederahashgraph.api.proto.java.TokenAssociation.Builder, com.hederahashgraph.api.proto.java.TokenAssociationOrBuilder>( automaticTokenAssociations_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); automaticTokenAssociations_ = null; } return automaticTokenAssociationsBuilder_; } private com.hederahashgraph.api.proto.java.Timestamp parentConsensusTimestamp_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder> parentConsensusTimestampBuilder_; /** *
     **
     * In the record of an internal transaction, the consensus timestamp of the user
     * transaction that spawned it.
     * 
* * .proto.Timestamp parent_consensus_timestamp = 15; * @return Whether the parentConsensusTimestamp field is set. */ public boolean hasParentConsensusTimestamp() { return parentConsensusTimestampBuilder_ != null || parentConsensusTimestamp_ != null; } /** *
     **
     * In the record of an internal transaction, the consensus timestamp of the user
     * transaction that spawned it.
     * 
* * .proto.Timestamp parent_consensus_timestamp = 15; * @return The parentConsensusTimestamp. */ public com.hederahashgraph.api.proto.java.Timestamp getParentConsensusTimestamp() { if (parentConsensusTimestampBuilder_ == null) { return parentConsensusTimestamp_ == null ? com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance() : parentConsensusTimestamp_; } else { return parentConsensusTimestampBuilder_.getMessage(); } } /** *
     **
     * In the record of an internal transaction, the consensus timestamp of the user
     * transaction that spawned it.
     * 
* * .proto.Timestamp parent_consensus_timestamp = 15; */ public Builder setParentConsensusTimestamp(com.hederahashgraph.api.proto.java.Timestamp value) { if (parentConsensusTimestampBuilder_ == null) { if (value == null) { throw new NullPointerException(); } parentConsensusTimestamp_ = value; onChanged(); } else { parentConsensusTimestampBuilder_.setMessage(value); } return this; } /** *
     **
     * In the record of an internal transaction, the consensus timestamp of the user
     * transaction that spawned it.
     * 
* * .proto.Timestamp parent_consensus_timestamp = 15; */ public Builder setParentConsensusTimestamp( com.hederahashgraph.api.proto.java.Timestamp.Builder builderForValue) { if (parentConsensusTimestampBuilder_ == null) { parentConsensusTimestamp_ = builderForValue.build(); onChanged(); } else { parentConsensusTimestampBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     **
     * In the record of an internal transaction, the consensus timestamp of the user
     * transaction that spawned it.
     * 
* * .proto.Timestamp parent_consensus_timestamp = 15; */ public Builder mergeParentConsensusTimestamp(com.hederahashgraph.api.proto.java.Timestamp value) { if (parentConsensusTimestampBuilder_ == null) { if (parentConsensusTimestamp_ != null) { parentConsensusTimestamp_ = com.hederahashgraph.api.proto.java.Timestamp.newBuilder(parentConsensusTimestamp_).mergeFrom(value).buildPartial(); } else { parentConsensusTimestamp_ = value; } onChanged(); } else { parentConsensusTimestampBuilder_.mergeFrom(value); } return this; } /** *
     **
     * In the record of an internal transaction, the consensus timestamp of the user
     * transaction that spawned it.
     * 
* * .proto.Timestamp parent_consensus_timestamp = 15; */ public Builder clearParentConsensusTimestamp() { if (parentConsensusTimestampBuilder_ == null) { parentConsensusTimestamp_ = null; onChanged(); } else { parentConsensusTimestamp_ = null; parentConsensusTimestampBuilder_ = null; } return this; } /** *
     **
     * In the record of an internal transaction, the consensus timestamp of the user
     * transaction that spawned it.
     * 
* * .proto.Timestamp parent_consensus_timestamp = 15; */ public com.hederahashgraph.api.proto.java.Timestamp.Builder getParentConsensusTimestampBuilder() { onChanged(); return getParentConsensusTimestampFieldBuilder().getBuilder(); } /** *
     **
     * In the record of an internal transaction, the consensus timestamp of the user
     * transaction that spawned it.
     * 
* * .proto.Timestamp parent_consensus_timestamp = 15; */ public com.hederahashgraph.api.proto.java.TimestampOrBuilder getParentConsensusTimestampOrBuilder() { if (parentConsensusTimestampBuilder_ != null) { return parentConsensusTimestampBuilder_.getMessageOrBuilder(); } else { return parentConsensusTimestamp_ == null ? com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance() : parentConsensusTimestamp_; } } /** *
     **
     * In the record of an internal transaction, the consensus timestamp of the user
     * transaction that spawned it.
     * 
* * .proto.Timestamp parent_consensus_timestamp = 15; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder> getParentConsensusTimestampFieldBuilder() { if (parentConsensusTimestampBuilder_ == null) { parentConsensusTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder>( getParentConsensusTimestamp(), getParentForChildren(), isClean()); parentConsensusTimestamp_ = null; } return parentConsensusTimestampBuilder_; } private com.google.protobuf.ByteString alias_ = com.google.protobuf.ByteString.EMPTY; /** *
     **
     * In the record of a CryptoCreate transaction triggered by a user transaction with a
     * (previously unused) alias, the new account's alias. 
     * 
* * bytes alias = 16; * @return The alias. */ @java.lang.Override public com.google.protobuf.ByteString getAlias() { return alias_; } /** *
     **
     * In the record of a CryptoCreate transaction triggered by a user transaction with a
     * (previously unused) alias, the new account's alias. 
     * 
* * bytes alias = 16; * @param value The alias to set. * @return This builder for chaining. */ public Builder setAlias(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } alias_ = value; onChanged(); return this; } /** *
     **
     * In the record of a CryptoCreate transaction triggered by a user transaction with a
     * (previously unused) alias, the new account's alias. 
     * 
* * bytes alias = 16; * @return This builder for chaining. */ public Builder clearAlias() { alias_ = getDefaultInstance().getAlias(); onChanged(); return this; } private com.google.protobuf.ByteString ethereumHash_ = com.google.protobuf.ByteString.EMPTY; /** *
     **
     * The keccak256 hash of the ethereumData. This field will only be populated for 
     * EthereumTransaction.
     * 
* * bytes ethereum_hash = 17; * @return The ethereumHash. */ @java.lang.Override public com.google.protobuf.ByteString getEthereumHash() { return ethereumHash_; } /** *
     **
     * The keccak256 hash of the ethereumData. This field will only be populated for 
     * EthereumTransaction.
     * 
* * bytes ethereum_hash = 17; * @param value The ethereumHash to set. * @return This builder for chaining. */ public Builder setEthereumHash(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ethereumHash_ = value; onChanged(); return this; } /** *
     **
     * The keccak256 hash of the ethereumData. This field will only be populated for 
     * EthereumTransaction.
     * 
* * bytes ethereum_hash = 17; * @return This builder for chaining. */ public Builder clearEthereumHash() { ethereumHash_ = getDefaultInstance().getEthereumHash(); onChanged(); return this; } private java.util.List paidStakingRewards_ = java.util.Collections.emptyList(); private void ensurePaidStakingRewardsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { paidStakingRewards_ = new java.util.ArrayList(paidStakingRewards_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.AccountAmount, com.hederahashgraph.api.proto.java.AccountAmount.Builder, com.hederahashgraph.api.proto.java.AccountAmountOrBuilder> paidStakingRewardsBuilder_; /** *
     **
     * List of accounts with the corresponding staking rewards paid as a result of a transaction.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ public java.util.List getPaidStakingRewardsList() { if (paidStakingRewardsBuilder_ == null) { return java.util.Collections.unmodifiableList(paidStakingRewards_); } else { return paidStakingRewardsBuilder_.getMessageList(); } } /** *
     **
     * List of accounts with the corresponding staking rewards paid as a result of a transaction.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ public int getPaidStakingRewardsCount() { if (paidStakingRewardsBuilder_ == null) { return paidStakingRewards_.size(); } else { return paidStakingRewardsBuilder_.getCount(); } } /** *
     **
     * List of accounts with the corresponding staking rewards paid as a result of a transaction.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ public com.hederahashgraph.api.proto.java.AccountAmount getPaidStakingRewards(int index) { if (paidStakingRewardsBuilder_ == null) { return paidStakingRewards_.get(index); } else { return paidStakingRewardsBuilder_.getMessage(index); } } /** *
     **
     * List of accounts with the corresponding staking rewards paid as a result of a transaction.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ public Builder setPaidStakingRewards( int index, com.hederahashgraph.api.proto.java.AccountAmount value) { if (paidStakingRewardsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePaidStakingRewardsIsMutable(); paidStakingRewards_.set(index, value); onChanged(); } else { paidStakingRewardsBuilder_.setMessage(index, value); } return this; } /** *
     **
     * List of accounts with the corresponding staking rewards paid as a result of a transaction.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ public Builder setPaidStakingRewards( int index, com.hederahashgraph.api.proto.java.AccountAmount.Builder builderForValue) { if (paidStakingRewardsBuilder_ == null) { ensurePaidStakingRewardsIsMutable(); paidStakingRewards_.set(index, builderForValue.build()); onChanged(); } else { paidStakingRewardsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     **
     * List of accounts with the corresponding staking rewards paid as a result of a transaction.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ public Builder addPaidStakingRewards(com.hederahashgraph.api.proto.java.AccountAmount value) { if (paidStakingRewardsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePaidStakingRewardsIsMutable(); paidStakingRewards_.add(value); onChanged(); } else { paidStakingRewardsBuilder_.addMessage(value); } return this; } /** *
     **
     * List of accounts with the corresponding staking rewards paid as a result of a transaction.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ public Builder addPaidStakingRewards( int index, com.hederahashgraph.api.proto.java.AccountAmount value) { if (paidStakingRewardsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePaidStakingRewardsIsMutable(); paidStakingRewards_.add(index, value); onChanged(); } else { paidStakingRewardsBuilder_.addMessage(index, value); } return this; } /** *
     **
     * List of accounts with the corresponding staking rewards paid as a result of a transaction.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ public Builder addPaidStakingRewards( com.hederahashgraph.api.proto.java.AccountAmount.Builder builderForValue) { if (paidStakingRewardsBuilder_ == null) { ensurePaidStakingRewardsIsMutable(); paidStakingRewards_.add(builderForValue.build()); onChanged(); } else { paidStakingRewardsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     **
     * List of accounts with the corresponding staking rewards paid as a result of a transaction.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ public Builder addPaidStakingRewards( int index, com.hederahashgraph.api.proto.java.AccountAmount.Builder builderForValue) { if (paidStakingRewardsBuilder_ == null) { ensurePaidStakingRewardsIsMutable(); paidStakingRewards_.add(index, builderForValue.build()); onChanged(); } else { paidStakingRewardsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     **
     * List of accounts with the corresponding staking rewards paid as a result of a transaction.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ public Builder addAllPaidStakingRewards( java.lang.Iterable values) { if (paidStakingRewardsBuilder_ == null) { ensurePaidStakingRewardsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, paidStakingRewards_); onChanged(); } else { paidStakingRewardsBuilder_.addAllMessages(values); } return this; } /** *
     **
     * List of accounts with the corresponding staking rewards paid as a result of a transaction.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ public Builder clearPaidStakingRewards() { if (paidStakingRewardsBuilder_ == null) { paidStakingRewards_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { paidStakingRewardsBuilder_.clear(); } return this; } /** *
     **
     * List of accounts with the corresponding staking rewards paid as a result of a transaction.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ public Builder removePaidStakingRewards(int index) { if (paidStakingRewardsBuilder_ == null) { ensurePaidStakingRewardsIsMutable(); paidStakingRewards_.remove(index); onChanged(); } else { paidStakingRewardsBuilder_.remove(index); } return this; } /** *
     **
     * List of accounts with the corresponding staking rewards paid as a result of a transaction.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ public com.hederahashgraph.api.proto.java.AccountAmount.Builder getPaidStakingRewardsBuilder( int index) { return getPaidStakingRewardsFieldBuilder().getBuilder(index); } /** *
     **
     * List of accounts with the corresponding staking rewards paid as a result of a transaction.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ public com.hederahashgraph.api.proto.java.AccountAmountOrBuilder getPaidStakingRewardsOrBuilder( int index) { if (paidStakingRewardsBuilder_ == null) { return paidStakingRewards_.get(index); } else { return paidStakingRewardsBuilder_.getMessageOrBuilder(index); } } /** *
     **
     * List of accounts with the corresponding staking rewards paid as a result of a transaction.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ public java.util.List getPaidStakingRewardsOrBuilderList() { if (paidStakingRewardsBuilder_ != null) { return paidStakingRewardsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(paidStakingRewards_); } } /** *
     **
     * List of accounts with the corresponding staking rewards paid as a result of a transaction.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ public com.hederahashgraph.api.proto.java.AccountAmount.Builder addPaidStakingRewardsBuilder() { return getPaidStakingRewardsFieldBuilder().addBuilder( com.hederahashgraph.api.proto.java.AccountAmount.getDefaultInstance()); } /** *
     **
     * List of accounts with the corresponding staking rewards paid as a result of a transaction.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ public com.hederahashgraph.api.proto.java.AccountAmount.Builder addPaidStakingRewardsBuilder( int index) { return getPaidStakingRewardsFieldBuilder().addBuilder( index, com.hederahashgraph.api.proto.java.AccountAmount.getDefaultInstance()); } /** *
     **
     * List of accounts with the corresponding staking rewards paid as a result of a transaction.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 18; */ public java.util.List getPaidStakingRewardsBuilderList() { return getPaidStakingRewardsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.AccountAmount, com.hederahashgraph.api.proto.java.AccountAmount.Builder, com.hederahashgraph.api.proto.java.AccountAmountOrBuilder> getPaidStakingRewardsFieldBuilder() { if (paidStakingRewardsBuilder_ == null) { paidStakingRewardsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.AccountAmount, com.hederahashgraph.api.proto.java.AccountAmount.Builder, com.hederahashgraph.api.proto.java.AccountAmountOrBuilder>( paidStakingRewards_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); paidStakingRewards_ = null; } return paidStakingRewardsBuilder_; } /** *
     **
     * In the record of a UtilPrng transaction with no output range, a pseudorandom 384-bit string.
     * 
* * bytes prng_bytes = 19; * @return Whether the prngBytes field is set. */ public boolean hasPrngBytes() { return entropyCase_ == 19; } /** *
     **
     * In the record of a UtilPrng transaction with no output range, a pseudorandom 384-bit string.
     * 
* * bytes prng_bytes = 19; * @return The prngBytes. */ public com.google.protobuf.ByteString getPrngBytes() { if (entropyCase_ == 19) { return (com.google.protobuf.ByteString) entropy_; } return com.google.protobuf.ByteString.EMPTY; } /** *
     **
     * In the record of a UtilPrng transaction with no output range, a pseudorandom 384-bit string.
     * 
* * bytes prng_bytes = 19; * @param value The prngBytes to set. * @return This builder for chaining. */ public Builder setPrngBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } entropyCase_ = 19; entropy_ = value; onChanged(); return this; } /** *
     **
     * In the record of a UtilPrng transaction with no output range, a pseudorandom 384-bit string.
     * 
* * bytes prng_bytes = 19; * @return This builder for chaining. */ public Builder clearPrngBytes() { if (entropyCase_ == 19) { entropyCase_ = 0; entropy_ = null; onChanged(); } return this; } /** *
     **
     * In the record of a PRNG transaction with an output range, the output of a PRNG whose input was a 384-bit string.
     * 
* * int32 prng_number = 20; * @return Whether the prngNumber field is set. */ public boolean hasPrngNumber() { return entropyCase_ == 20; } /** *
     **
     * In the record of a PRNG transaction with an output range, the output of a PRNG whose input was a 384-bit string.
     * 
* * int32 prng_number = 20; * @return The prngNumber. */ public int getPrngNumber() { if (entropyCase_ == 20) { return (java.lang.Integer) entropy_; } return 0; } /** *
     **
     * In the record of a PRNG transaction with an output range, the output of a PRNG whose input was a 384-bit string.
     * 
* * int32 prng_number = 20; * @param value The prngNumber to set. * @return This builder for chaining. */ public Builder setPrngNumber(int value) { entropyCase_ = 20; entropy_ = value; onChanged(); return this; } /** *
     **
     * In the record of a PRNG transaction with an output range, the output of a PRNG whose input was a 384-bit string.
     * 
* * int32 prng_number = 20; * @return This builder for chaining. */ public Builder clearPrngNumber() { if (entropyCase_ == 20) { entropyCase_ = 0; entropy_ = null; onChanged(); } return this; } private com.google.protobuf.ByteString evmAddress_ = com.google.protobuf.ByteString.EMPTY; /** *
     **
     * The new default EVM address of the account created by this transaction.
     * This field is populated only when the EVM address is not specified in the related transaction body.
     * 
* * bytes evm_address = 21; * @return The evmAddress. */ @java.lang.Override public com.google.protobuf.ByteString getEvmAddress() { return evmAddress_; } /** *
     **
     * The new default EVM address of the account created by this transaction.
     * This field is populated only when the EVM address is not specified in the related transaction body.
     * 
* * bytes evm_address = 21; * @param value The evmAddress to set. * @return This builder for chaining. */ public Builder setEvmAddress(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } evmAddress_ = value; onChanged(); return this; } /** *
     **
     * The new default EVM address of the account created by this transaction.
     * This field is populated only when the EVM address is not specified in the related transaction body.
     * 
* * bytes evm_address = 21; * @return This builder for chaining. */ public Builder clearEvmAddress() { evmAddress_ = getDefaultInstance().getEvmAddress(); onChanged(); return this; } private java.util.List newPendingAirdrops_ = java.util.Collections.emptyList(); private void ensureNewPendingAirdropsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { newPendingAirdrops_ = new java.util.ArrayList(newPendingAirdrops_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.PendingAirdropRecord, com.hederahashgraph.api.proto.java.PendingAirdropRecord.Builder, com.hederahashgraph.api.proto.java.PendingAirdropRecordOrBuilder> newPendingAirdropsBuilder_; /** *
     **
     * A list of pending token airdrops.
     * Each pending airdrop represents a single requested transfer from a
     * sending account to a recipient account. These pending transfers are
     * issued unilaterally by the sending account, and MUST be claimed by the
     * recipient account before the transfer MAY complete.
     * A sender MAY cancel a pending airdrop before it is claimed.
     * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
     * available automatic association slots available or when the recipient
     * has set `receiver_sig_required`.
     * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ public java.util.List getNewPendingAirdropsList() { if (newPendingAirdropsBuilder_ == null) { return java.util.Collections.unmodifiableList(newPendingAirdrops_); } else { return newPendingAirdropsBuilder_.getMessageList(); } } /** *
     **
     * A list of pending token airdrops.
     * Each pending airdrop represents a single requested transfer from a
     * sending account to a recipient account. These pending transfers are
     * issued unilaterally by the sending account, and MUST be claimed by the
     * recipient account before the transfer MAY complete.
     * A sender MAY cancel a pending airdrop before it is claimed.
     * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
     * available automatic association slots available or when the recipient
     * has set `receiver_sig_required`.
     * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ public int getNewPendingAirdropsCount() { if (newPendingAirdropsBuilder_ == null) { return newPendingAirdrops_.size(); } else { return newPendingAirdropsBuilder_.getCount(); } } /** *
     **
     * A list of pending token airdrops.
     * Each pending airdrop represents a single requested transfer from a
     * sending account to a recipient account. These pending transfers are
     * issued unilaterally by the sending account, and MUST be claimed by the
     * recipient account before the transfer MAY complete.
     * A sender MAY cancel a pending airdrop before it is claimed.
     * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
     * available automatic association slots available or when the recipient
     * has set `receiver_sig_required`.
     * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ public com.hederahashgraph.api.proto.java.PendingAirdropRecord getNewPendingAirdrops(int index) { if (newPendingAirdropsBuilder_ == null) { return newPendingAirdrops_.get(index); } else { return newPendingAirdropsBuilder_.getMessage(index); } } /** *
     **
     * A list of pending token airdrops.
     * Each pending airdrop represents a single requested transfer from a
     * sending account to a recipient account. These pending transfers are
     * issued unilaterally by the sending account, and MUST be claimed by the
     * recipient account before the transfer MAY complete.
     * A sender MAY cancel a pending airdrop before it is claimed.
     * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
     * available automatic association slots available or when the recipient
     * has set `receiver_sig_required`.
     * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ public Builder setNewPendingAirdrops( int index, com.hederahashgraph.api.proto.java.PendingAirdropRecord value) { if (newPendingAirdropsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNewPendingAirdropsIsMutable(); newPendingAirdrops_.set(index, value); onChanged(); } else { newPendingAirdropsBuilder_.setMessage(index, value); } return this; } /** *
     **
     * A list of pending token airdrops.
     * Each pending airdrop represents a single requested transfer from a
     * sending account to a recipient account. These pending transfers are
     * issued unilaterally by the sending account, and MUST be claimed by the
     * recipient account before the transfer MAY complete.
     * A sender MAY cancel a pending airdrop before it is claimed.
     * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
     * available automatic association slots available or when the recipient
     * has set `receiver_sig_required`.
     * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ public Builder setNewPendingAirdrops( int index, com.hederahashgraph.api.proto.java.PendingAirdropRecord.Builder builderForValue) { if (newPendingAirdropsBuilder_ == null) { ensureNewPendingAirdropsIsMutable(); newPendingAirdrops_.set(index, builderForValue.build()); onChanged(); } else { newPendingAirdropsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     **
     * A list of pending token airdrops.
     * Each pending airdrop represents a single requested transfer from a
     * sending account to a recipient account. These pending transfers are
     * issued unilaterally by the sending account, and MUST be claimed by the
     * recipient account before the transfer MAY complete.
     * A sender MAY cancel a pending airdrop before it is claimed.
     * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
     * available automatic association slots available or when the recipient
     * has set `receiver_sig_required`.
     * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ public Builder addNewPendingAirdrops(com.hederahashgraph.api.proto.java.PendingAirdropRecord value) { if (newPendingAirdropsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNewPendingAirdropsIsMutable(); newPendingAirdrops_.add(value); onChanged(); } else { newPendingAirdropsBuilder_.addMessage(value); } return this; } /** *
     **
     * A list of pending token airdrops.
     * Each pending airdrop represents a single requested transfer from a
     * sending account to a recipient account. These pending transfers are
     * issued unilaterally by the sending account, and MUST be claimed by the
     * recipient account before the transfer MAY complete.
     * A sender MAY cancel a pending airdrop before it is claimed.
     * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
     * available automatic association slots available or when the recipient
     * has set `receiver_sig_required`.
     * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ public Builder addNewPendingAirdrops( int index, com.hederahashgraph.api.proto.java.PendingAirdropRecord value) { if (newPendingAirdropsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNewPendingAirdropsIsMutable(); newPendingAirdrops_.add(index, value); onChanged(); } else { newPendingAirdropsBuilder_.addMessage(index, value); } return this; } /** *
     **
     * A list of pending token airdrops.
     * Each pending airdrop represents a single requested transfer from a
     * sending account to a recipient account. These pending transfers are
     * issued unilaterally by the sending account, and MUST be claimed by the
     * recipient account before the transfer MAY complete.
     * A sender MAY cancel a pending airdrop before it is claimed.
     * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
     * available automatic association slots available or when the recipient
     * has set `receiver_sig_required`.
     * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ public Builder addNewPendingAirdrops( com.hederahashgraph.api.proto.java.PendingAirdropRecord.Builder builderForValue) { if (newPendingAirdropsBuilder_ == null) { ensureNewPendingAirdropsIsMutable(); newPendingAirdrops_.add(builderForValue.build()); onChanged(); } else { newPendingAirdropsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     **
     * A list of pending token airdrops.
     * Each pending airdrop represents a single requested transfer from a
     * sending account to a recipient account. These pending transfers are
     * issued unilaterally by the sending account, and MUST be claimed by the
     * recipient account before the transfer MAY complete.
     * A sender MAY cancel a pending airdrop before it is claimed.
     * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
     * available automatic association slots available or when the recipient
     * has set `receiver_sig_required`.
     * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ public Builder addNewPendingAirdrops( int index, com.hederahashgraph.api.proto.java.PendingAirdropRecord.Builder builderForValue) { if (newPendingAirdropsBuilder_ == null) { ensureNewPendingAirdropsIsMutable(); newPendingAirdrops_.add(index, builderForValue.build()); onChanged(); } else { newPendingAirdropsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     **
     * A list of pending token airdrops.
     * Each pending airdrop represents a single requested transfer from a
     * sending account to a recipient account. These pending transfers are
     * issued unilaterally by the sending account, and MUST be claimed by the
     * recipient account before the transfer MAY complete.
     * A sender MAY cancel a pending airdrop before it is claimed.
     * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
     * available automatic association slots available or when the recipient
     * has set `receiver_sig_required`.
     * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ public Builder addAllNewPendingAirdrops( java.lang.Iterable values) { if (newPendingAirdropsBuilder_ == null) { ensureNewPendingAirdropsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, newPendingAirdrops_); onChanged(); } else { newPendingAirdropsBuilder_.addAllMessages(values); } return this; } /** *
     **
     * A list of pending token airdrops.
     * Each pending airdrop represents a single requested transfer from a
     * sending account to a recipient account. These pending transfers are
     * issued unilaterally by the sending account, and MUST be claimed by the
     * recipient account before the transfer MAY complete.
     * A sender MAY cancel a pending airdrop before it is claimed.
     * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
     * available automatic association slots available or when the recipient
     * has set `receiver_sig_required`.
     * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ public Builder clearNewPendingAirdrops() { if (newPendingAirdropsBuilder_ == null) { newPendingAirdrops_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { newPendingAirdropsBuilder_.clear(); } return this; } /** *
     **
     * A list of pending token airdrops.
     * Each pending airdrop represents a single requested transfer from a
     * sending account to a recipient account. These pending transfers are
     * issued unilaterally by the sending account, and MUST be claimed by the
     * recipient account before the transfer MAY complete.
     * A sender MAY cancel a pending airdrop before it is claimed.
     * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
     * available automatic association slots available or when the recipient
     * has set `receiver_sig_required`.
     * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ public Builder removeNewPendingAirdrops(int index) { if (newPendingAirdropsBuilder_ == null) { ensureNewPendingAirdropsIsMutable(); newPendingAirdrops_.remove(index); onChanged(); } else { newPendingAirdropsBuilder_.remove(index); } return this; } /** *
     **
     * A list of pending token airdrops.
     * Each pending airdrop represents a single requested transfer from a
     * sending account to a recipient account. These pending transfers are
     * issued unilaterally by the sending account, and MUST be claimed by the
     * recipient account before the transfer MAY complete.
     * A sender MAY cancel a pending airdrop before it is claimed.
     * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
     * available automatic association slots available or when the recipient
     * has set `receiver_sig_required`.
     * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ public com.hederahashgraph.api.proto.java.PendingAirdropRecord.Builder getNewPendingAirdropsBuilder( int index) { return getNewPendingAirdropsFieldBuilder().getBuilder(index); } /** *
     **
     * A list of pending token airdrops.
     * Each pending airdrop represents a single requested transfer from a
     * sending account to a recipient account. These pending transfers are
     * issued unilaterally by the sending account, and MUST be claimed by the
     * recipient account before the transfer MAY complete.
     * A sender MAY cancel a pending airdrop before it is claimed.
     * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
     * available automatic association slots available or when the recipient
     * has set `receiver_sig_required`.
     * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ public com.hederahashgraph.api.proto.java.PendingAirdropRecordOrBuilder getNewPendingAirdropsOrBuilder( int index) { if (newPendingAirdropsBuilder_ == null) { return newPendingAirdrops_.get(index); } else { return newPendingAirdropsBuilder_.getMessageOrBuilder(index); } } /** *
     **
     * A list of pending token airdrops.
     * Each pending airdrop represents a single requested transfer from a
     * sending account to a recipient account. These pending transfers are
     * issued unilaterally by the sending account, and MUST be claimed by the
     * recipient account before the transfer MAY complete.
     * A sender MAY cancel a pending airdrop before it is claimed.
     * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
     * available automatic association slots available or when the recipient
     * has set `receiver_sig_required`.
     * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ public java.util.List getNewPendingAirdropsOrBuilderList() { if (newPendingAirdropsBuilder_ != null) { return newPendingAirdropsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(newPendingAirdrops_); } } /** *
     **
     * A list of pending token airdrops.
     * Each pending airdrop represents a single requested transfer from a
     * sending account to a recipient account. These pending transfers are
     * issued unilaterally by the sending account, and MUST be claimed by the
     * recipient account before the transfer MAY complete.
     * A sender MAY cancel a pending airdrop before it is claimed.
     * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
     * available automatic association slots available or when the recipient
     * has set `receiver_sig_required`.
     * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ public com.hederahashgraph.api.proto.java.PendingAirdropRecord.Builder addNewPendingAirdropsBuilder() { return getNewPendingAirdropsFieldBuilder().addBuilder( com.hederahashgraph.api.proto.java.PendingAirdropRecord.getDefaultInstance()); } /** *
     **
     * A list of pending token airdrops.
     * Each pending airdrop represents a single requested transfer from a
     * sending account to a recipient account. These pending transfers are
     * issued unilaterally by the sending account, and MUST be claimed by the
     * recipient account before the transfer MAY complete.
     * A sender MAY cancel a pending airdrop before it is claimed.
     * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
     * available automatic association slots available or when the recipient
     * has set `receiver_sig_required`.
     * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ public com.hederahashgraph.api.proto.java.PendingAirdropRecord.Builder addNewPendingAirdropsBuilder( int index) { return getNewPendingAirdropsFieldBuilder().addBuilder( index, com.hederahashgraph.api.proto.java.PendingAirdropRecord.getDefaultInstance()); } /** *
     **
     * A list of pending token airdrops.
     * Each pending airdrop represents a single requested transfer from a
     * sending account to a recipient account. These pending transfers are
     * issued unilaterally by the sending account, and MUST be claimed by the
     * recipient account before the transfer MAY complete.
     * A sender MAY cancel a pending airdrop before it is claimed.
     * An airdrop transaction SHALL emit a pending airdrop when the recipient has no
     * available automatic association slots available or when the recipient
     * has set `receiver_sig_required`.
     * 
* * repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; */ public java.util.List getNewPendingAirdropsBuilderList() { return getNewPendingAirdropsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.PendingAirdropRecord, com.hederahashgraph.api.proto.java.PendingAirdropRecord.Builder, com.hederahashgraph.api.proto.java.PendingAirdropRecordOrBuilder> getNewPendingAirdropsFieldBuilder() { if (newPendingAirdropsBuilder_ == null) { newPendingAirdropsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.hederahashgraph.api.proto.java.PendingAirdropRecord, com.hederahashgraph.api.proto.java.PendingAirdropRecord.Builder, com.hederahashgraph.api.proto.java.PendingAirdropRecordOrBuilder>( newPendingAirdrops_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); newPendingAirdrops_ = null; } return newPendingAirdropsBuilder_; } @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.TransactionRecord) } // @@protoc_insertion_point(class_scope:proto.TransactionRecord) private static final com.hederahashgraph.api.proto.java.TransactionRecord DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.TransactionRecord(); } public static com.hederahashgraph.api.proto.java.TransactionRecord getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TransactionRecord parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TransactionRecord(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.TransactionRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy