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

com.hedera.hapi.block.stream.output.protoc.TransactionResult Maven / Gradle / Ivy

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

package com.hedera.hapi.block.stream.output.protoc;

/**
 * 
 **
 * While we have the state changes as part of the block stream,
 * we may not have the full data set needed. To surface information
 * such as staking rewards, fees, etc. we need to include some of the
 * data from the original TransactionRecord.
 * > REVIEW NOTE
 * >> Should we have custom fees here, and remove that from the
 * >> CryptoTransfer output message? That would make more sense, as I believe
 * >> TokenTransfer output would also need custom fees, and we may wish
 * >> to add custom fees to other transactions in the future.
 * 
* * Protobuf type {@code com.hedera.hapi.block.stream.output.TransactionResult} */ public final class TransactionResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.hedera.hapi.block.stream.output.TransactionResult) TransactionResultOrBuilder { private static final long serialVersionUID = 0L; // Use TransactionResult.newBuilder() to construct. private TransactionResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TransactionResult() { status_ = 0; tokenTransferLists_ = java.util.Collections.emptyList(); automaticTokenAssociations_ = java.util.Collections.emptyList(); paidStakingRewards_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TransactionResult(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TransactionResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); status_ = rawValue; break; } case 18: { com.hederahashgraph.api.proto.java.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 26: { 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 42: { 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 48: { transactionFeeCharged_ = input.readUInt64(); break; } case 58: { 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 66: { 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 74: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { automaticTokenAssociations_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } automaticTokenAssociations_.add( input.readMessage(com.hederahashgraph.api.proto.java.TokenAssociation.parser(), extensionRegistry)); break; } case 82: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { paidStakingRewards_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } paidStakingRewards_.add( input.readMessage(com.hederahashgraph.api.proto.java.AccountAmount.parser(), extensionRegistry)); break; } case 88: { congestionPricingMultiplier_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tokenTransferLists_ = java.util.Collections.unmodifiableList(tokenTransferLists_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { automaticTokenAssociations_ = java.util.Collections.unmodifiableList(automaticTokenAssociations_); } if (((mutable_bitField0_ & 0x00000004) != 0)) { paidStakingRewards_ = java.util.Collections.unmodifiableList(paidStakingRewards_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hedera.hapi.block.stream.output.protoc.TransactionResultOuterClass.internal_static_com_hedera_hapi_block_stream_output_TransactionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hedera.hapi.block.stream.output.protoc.TransactionResultOuterClass.internal_static_com_hedera_hapi_block_stream_output_TransactionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hedera.hapi.block.stream.output.protoc.TransactionResult.class, com.hedera.hapi.block.stream.output.protoc.TransactionResult.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private int status_; /** *
   **
   * A response code.
   * <p>
   * This value SHALL indicate the status of this transaction.<br/>
   * This code SHALL indicate success or a specific failure.
   * 
* * .proto.ResponseCodeEnum status = 1; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
   **
   * A response code.
   * <p>
   * This value SHALL indicate the status of this transaction.<br/>
   * This code SHALL indicate success or a specific failure.
   * 
* * .proto.ResponseCodeEnum status = 1; * @return The status. */ @java.lang.Override public com.hederahashgraph.api.proto.java.ResponseCodeEnum getStatus() { @SuppressWarnings("deprecation") com.hederahashgraph.api.proto.java.ResponseCodeEnum result = com.hederahashgraph.api.proto.java.ResponseCodeEnum.valueOf(status_); return result == null ? com.hederahashgraph.api.proto.java.ResponseCodeEnum.UNRECOGNIZED : result; } public static final int CONSENSUS_TIMESTAMP_FIELD_NUMBER = 2; private com.hederahashgraph.api.proto.java.Timestamp consensusTimestamp_; /** *
   **
   * A consensus timestamp.
   * <p>
   * The time index, agreed by all network nodes, when this transaction
   * reached consensus.<br/>
   * This field SHALL be set for all transactions.
   * 
* * .proto.Timestamp consensus_timestamp = 2; * @return Whether the consensusTimestamp field is set. */ @java.lang.Override public boolean hasConsensusTimestamp() { return consensusTimestamp_ != null; } /** *
   **
   * A consensus timestamp.
   * <p>
   * The time index, agreed by all network nodes, when this transaction
   * reached consensus.<br/>
   * This field SHALL be set for all transactions.
   * 
* * .proto.Timestamp consensus_timestamp = 2; * @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_; } /** *
   **
   * A consensus timestamp.
   * <p>
   * The time index, agreed by all network nodes, when this transaction
   * reached consensus.<br/>
   * This field SHALL be set for all transactions.
   * 
* * .proto.Timestamp consensus_timestamp = 2; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TimestampOrBuilder getConsensusTimestampOrBuilder() { return getConsensusTimestamp(); } public static final int PARENT_CONSENSUS_TIMESTAMP_FIELD_NUMBER = 3; private com.hederahashgraph.api.proto.java.Timestamp parentConsensusTimestamp_; /** *
   **
   * A consensus timestamp.
   * <p>
   * The time index, agreed by all network nodes, when the "parent"
   * transaction, if any, for this transaction reached consensus.<br/>
   * This SHALL NOT be set on a user-submitted transaction.<br/>
   * This SHALL be set on an internal "child" transaction initiated as
   * part of completing a user-submitted transaction.
   * 
* * .proto.Timestamp parent_consensus_timestamp = 3; * @return Whether the parentConsensusTimestamp field is set. */ @java.lang.Override public boolean hasParentConsensusTimestamp() { return parentConsensusTimestamp_ != null; } /** *
   **
   * A consensus timestamp.
   * <p>
   * The time index, agreed by all network nodes, when the "parent"
   * transaction, if any, for this transaction reached consensus.<br/>
   * This SHALL NOT be set on a user-submitted transaction.<br/>
   * This SHALL be set on an internal "child" transaction initiated as
   * part of completing a user-submitted transaction.
   * 
* * .proto.Timestamp parent_consensus_timestamp = 3; * @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_; } /** *
   **
   * A consensus timestamp.
   * <p>
   * The time index, agreed by all network nodes, when the "parent"
   * transaction, if any, for this transaction reached consensus.<br/>
   * This SHALL NOT be set on a user-submitted transaction.<br/>
   * This SHALL be set on an internal "child" transaction initiated as
   * part of completing a user-submitted transaction.
   * 
* * .proto.Timestamp parent_consensus_timestamp = 3; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TimestampOrBuilder getParentConsensusTimestampOrBuilder() { return getParentConsensusTimestamp(); } public static final int SCHEDULE_REF_FIELD_NUMBER = 5; private com.hederahashgraph.api.proto.java.ScheduleID scheduleRef_; /** *
   **
   * A schedule that executed this transaction, if this transaction
   * was scheduled.
   * <p>
   * This value SHALL NOT be set unless this transaction result represents
   * the result of a _scheduled_ child transaction.
   * 
* * .proto.ScheduleID schedule_ref = 5; * @return Whether the scheduleRef field is set. */ @java.lang.Override public boolean hasScheduleRef() { return scheduleRef_ != null; } /** *
   **
   * A schedule that executed this transaction, if this transaction
   * was scheduled.
   * <p>
   * This value SHALL NOT be set unless this transaction result represents
   * the result of a _scheduled_ child transaction.
   * 
* * .proto.ScheduleID schedule_ref = 5; * @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_; } /** *
   **
   * A schedule that executed this transaction, if this transaction
   * was scheduled.
   * <p>
   * This value SHALL NOT be set unless this transaction result represents
   * the result of a _scheduled_ child transaction.
   * 
* * .proto.ScheduleID schedule_ref = 5; */ @java.lang.Override public com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder getScheduleRefOrBuilder() { return getScheduleRef(); } public static final int TRANSACTION_FEE_CHARGED_FIELD_NUMBER = 6; private long transactionFeeCharged_; /** *
   **
   * An amount, in tinybar, charged for this transaction.
   * <p>
   * This SHALL be the actual transaction fee charged, and SHALL NOT be the
   * transactionFee value from TransactionBody.
   * 
* * uint64 transaction_fee_charged = 6; * @return The transactionFeeCharged. */ @java.lang.Override public long getTransactionFeeCharged() { return transactionFeeCharged_; } public static final int TRANSFER_LIST_FIELD_NUMBER = 7; private com.hederahashgraph.api.proto.java.TransferList transferList_; /** *
   **
   * A list of HBAR transfers, in double-entry form.
   * <p>
   * This SHALL include all HBAR transfers completed as a result
   * of this transaction.<br/>
   * This MUST include, at least,
   * <ul>
   *   <li>Each source and recipient of transaction fees</li>
   *   <li>All transfers directly performed by this transaction</li>
   *   <li>All transfers due to staking rewards paid as a result of
   *       this transaction</li>
   *   <li>Any transfers performed by a smart contract call associated
   *       with this transaction</li>
   *   <li>Any transfers caused by the creation of threshold records</li>
   * </ul>
   * <p>
   * This transfer list is exposed in the Mirror Node API (MAPI) and in use
   * by clients of the MAPI. Additionally, there are some transfers that
   * are mingled with transactions and only split out here.
   * 
* * .proto.TransferList transfer_list = 7; * @return Whether the transferList field is set. */ @java.lang.Override public boolean hasTransferList() { return transferList_ != null; } /** *
   **
   * A list of HBAR transfers, in double-entry form.
   * <p>
   * This SHALL include all HBAR transfers completed as a result
   * of this transaction.<br/>
   * This MUST include, at least,
   * <ul>
   *   <li>Each source and recipient of transaction fees</li>
   *   <li>All transfers directly performed by this transaction</li>
   *   <li>All transfers due to staking rewards paid as a result of
   *       this transaction</li>
   *   <li>Any transfers performed by a smart contract call associated
   *       with this transaction</li>
   *   <li>Any transfers caused by the creation of threshold records</li>
   * </ul>
   * <p>
   * This transfer list is exposed in the Mirror Node API (MAPI) and in use
   * by clients of the MAPI. Additionally, there are some transfers that
   * are mingled with transactions and only split out here.
   * 
* * .proto.TransferList transfer_list = 7; * @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_; } /** *
   **
   * A list of HBAR transfers, in double-entry form.
   * <p>
   * This SHALL include all HBAR transfers completed as a result
   * of this transaction.<br/>
   * This MUST include, at least,
   * <ul>
   *   <li>Each source and recipient of transaction fees</li>
   *   <li>All transfers directly performed by this transaction</li>
   *   <li>All transfers due to staking rewards paid as a result of
   *       this transaction</li>
   *   <li>Any transfers performed by a smart contract call associated
   *       with this transaction</li>
   *   <li>Any transfers caused by the creation of threshold records</li>
   * </ul>
   * <p>
   * This transfer list is exposed in the Mirror Node API (MAPI) and in use
   * by clients of the MAPI. Additionally, there are some transfers that
   * are mingled with transactions and only split out here.
   * 
* * .proto.TransferList transfer_list = 7; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TransferListOrBuilder getTransferListOrBuilder() { return getTransferList(); } public static final int TOKEN_TRANSFER_LISTS_FIELD_NUMBER = 8; private java.util.List tokenTransferLists_; /** *
   **
   * A list of _non-HBAR_ token transfers, in single-entry form.
   * <p>
   * This SHALL include all _non-HBAR_ token transfers completed as a
   * result of this transaction.<br/>
   * This MUST include, at least,
   * <ul>
   *   <li>Each source and recipient of custom fees</li>
   *   <li>All transfers directly performed by this transaction</li>
   *   <li>Any transfers performed by a smart contract call associated
   *       with this transaction</li>
   * </ul>
   * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ @java.lang.Override public java.util.List getTokenTransferListsList() { return tokenTransferLists_; } /** *
   **
   * A list of _non-HBAR_ token transfers, in single-entry form.
   * <p>
   * This SHALL include all _non-HBAR_ token transfers completed as a
   * result of this transaction.<br/>
   * This MUST include, at least,
   * <ul>
   *   <li>Each source and recipient of custom fees</li>
   *   <li>All transfers directly performed by this transaction</li>
   *   <li>Any transfers performed by a smart contract call associated
   *       with this transaction</li>
   * </ul>
   * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ @java.lang.Override public java.util.List getTokenTransferListsOrBuilderList() { return tokenTransferLists_; } /** *
   **
   * A list of _non-HBAR_ token transfers, in single-entry form.
   * <p>
   * This SHALL include all _non-HBAR_ token transfers completed as a
   * result of this transaction.<br/>
   * This MUST include, at least,
   * <ul>
   *   <li>Each source and recipient of custom fees</li>
   *   <li>All transfers directly performed by this transaction</li>
   *   <li>Any transfers performed by a smart contract call associated
   *       with this transaction</li>
   * </ul>
   * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ @java.lang.Override public int getTokenTransferListsCount() { return tokenTransferLists_.size(); } /** *
   **
   * A list of _non-HBAR_ token transfers, in single-entry form.
   * <p>
   * This SHALL include all _non-HBAR_ token transfers completed as a
   * result of this transaction.<br/>
   * This MUST include, at least,
   * <ul>
   *   <li>Each source and recipient of custom fees</li>
   *   <li>All transfers directly performed by this transaction</li>
   *   <li>Any transfers performed by a smart contract call associated
   *       with this transaction</li>
   * </ul>
   * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenTransferList getTokenTransferLists(int index) { return tokenTransferLists_.get(index); } /** *
   **
   * A list of _non-HBAR_ token transfers, in single-entry form.
   * <p>
   * This SHALL include all _non-HBAR_ token transfers completed as a
   * result of this transaction.<br/>
   * This MUST include, at least,
   * <ul>
   *   <li>Each source and recipient of custom fees</li>
   *   <li>All transfers directly performed by this transaction</li>
   *   <li>Any transfers performed by a smart contract call associated
   *       with this transaction</li>
   * </ul>
   * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenTransferListOrBuilder getTokenTransferListsOrBuilder( int index) { return tokenTransferLists_.get(index); } public static final int AUTOMATIC_TOKEN_ASSOCIATIONS_FIELD_NUMBER = 9; private java.util.List automaticTokenAssociations_; /** *
   **
   * A list of token associations.
   * <p>
   * This field SHALL list all token associations created automatically
   * while handling this transaction.
   * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ @java.lang.Override public java.util.List getAutomaticTokenAssociationsList() { return automaticTokenAssociations_; } /** *
   **
   * A list of token associations.
   * <p>
   * This field SHALL list all token associations created automatically
   * while handling this transaction.
   * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ @java.lang.Override public java.util.List getAutomaticTokenAssociationsOrBuilderList() { return automaticTokenAssociations_; } /** *
   **
   * A list of token associations.
   * <p>
   * This field SHALL list all token associations created automatically
   * while handling this transaction.
   * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ @java.lang.Override public int getAutomaticTokenAssociationsCount() { return automaticTokenAssociations_.size(); } /** *
   **
   * A list of token associations.
   * <p>
   * This field SHALL list all token associations created automatically
   * while handling this transaction.
   * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenAssociation getAutomaticTokenAssociations(int index) { return automaticTokenAssociations_.get(index); } /** *
   **
   * A list of token associations.
   * <p>
   * This field SHALL list all token associations created automatically
   * while handling this transaction.
   * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenAssociationOrBuilder getAutomaticTokenAssociationsOrBuilder( int index) { return automaticTokenAssociations_.get(index); } public static final int PAID_STAKING_REWARDS_FIELD_NUMBER = 10; private java.util.List paidStakingRewards_; /** *
   **
   * A list of accounts and amounts.
   * <p>
   * This SHALL list all accounts paid staking rewards as a result
   * of this transaction.<br/>
   * Each entry SHALL contain both the account and the amount paid.
   * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ @java.lang.Override public java.util.List getPaidStakingRewardsList() { return paidStakingRewards_; } /** *
   **
   * A list of accounts and amounts.
   * <p>
   * This SHALL list all accounts paid staking rewards as a result
   * of this transaction.<br/>
   * Each entry SHALL contain both the account and the amount paid.
   * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ @java.lang.Override public java.util.List getPaidStakingRewardsOrBuilderList() { return paidStakingRewards_; } /** *
   **
   * A list of accounts and amounts.
   * <p>
   * This SHALL list all accounts paid staking rewards as a result
   * of this transaction.<br/>
   * Each entry SHALL contain both the account and the amount paid.
   * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ @java.lang.Override public int getPaidStakingRewardsCount() { return paidStakingRewards_.size(); } /** *
   **
   * A list of accounts and amounts.
   * <p>
   * This SHALL list all accounts paid staking rewards as a result
   * of this transaction.<br/>
   * Each entry SHALL contain both the account and the amount paid.
   * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ @java.lang.Override public com.hederahashgraph.api.proto.java.AccountAmount getPaidStakingRewards(int index) { return paidStakingRewards_.get(index); } /** *
   **
   * A list of accounts and amounts.
   * <p>
   * This SHALL list all accounts paid staking rewards as a result
   * of this transaction.<br/>
   * Each entry SHALL contain both the account and the amount paid.
   * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ @java.lang.Override public com.hederahashgraph.api.proto.java.AccountAmountOrBuilder getPaidStakingRewardsOrBuilder( int index) { return paidStakingRewards_.get(index); } public static final int CONGESTION_PRICING_MULTIPLIER_FIELD_NUMBER = 11; private long congestionPricingMultiplier_; /** *
   **
   * A congestion pricing multiplier.
   * <p>
   * This SHALL be the multiplier that is applied to the transaction
   * fees charged for this transaction.
   * 
* * uint64 congestion_pricing_multiplier = 11; * @return The congestionPricingMultiplier. */ @java.lang.Override public long getCongestionPricingMultiplier() { return congestionPricingMultiplier_; } 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 (status_ != com.hederahashgraph.api.proto.java.ResponseCodeEnum.OK.getNumber()) { output.writeEnum(1, status_); } if (consensusTimestamp_ != null) { output.writeMessage(2, getConsensusTimestamp()); } if (parentConsensusTimestamp_ != null) { output.writeMessage(3, getParentConsensusTimestamp()); } if (scheduleRef_ != null) { output.writeMessage(5, getScheduleRef()); } if (transactionFeeCharged_ != 0L) { output.writeUInt64(6, transactionFeeCharged_); } if (transferList_ != null) { output.writeMessage(7, getTransferList()); } for (int i = 0; i < tokenTransferLists_.size(); i++) { output.writeMessage(8, tokenTransferLists_.get(i)); } for (int i = 0; i < automaticTokenAssociations_.size(); i++) { output.writeMessage(9, automaticTokenAssociations_.get(i)); } for (int i = 0; i < paidStakingRewards_.size(); i++) { output.writeMessage(10, paidStakingRewards_.get(i)); } if (congestionPricingMultiplier_ != 0L) { output.writeUInt64(11, congestionPricingMultiplier_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != com.hederahashgraph.api.proto.java.ResponseCodeEnum.OK.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, status_); } if (consensusTimestamp_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getConsensusTimestamp()); } if (parentConsensusTimestamp_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getParentConsensusTimestamp()); } if (scheduleRef_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getScheduleRef()); } if (transactionFeeCharged_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(6, transactionFeeCharged_); } if (transferList_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getTransferList()); } for (int i = 0; i < tokenTransferLists_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, tokenTransferLists_.get(i)); } for (int i = 0; i < automaticTokenAssociations_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, automaticTokenAssociations_.get(i)); } for (int i = 0; i < paidStakingRewards_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, paidStakingRewards_.get(i)); } if (congestionPricingMultiplier_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(11, congestionPricingMultiplier_); } 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.hedera.hapi.block.stream.output.protoc.TransactionResult)) { return super.equals(obj); } com.hedera.hapi.block.stream.output.protoc.TransactionResult other = (com.hedera.hapi.block.stream.output.protoc.TransactionResult) obj; if (status_ != other.status_) return false; if (hasConsensusTimestamp() != other.hasConsensusTimestamp()) return false; if (hasConsensusTimestamp()) { if (!getConsensusTimestamp() .equals(other.getConsensusTimestamp())) return false; } if (hasParentConsensusTimestamp() != other.hasParentConsensusTimestamp()) return false; if (hasParentConsensusTimestamp()) { if (!getParentConsensusTimestamp() .equals(other.getParentConsensusTimestamp())) return false; } if (hasScheduleRef() != other.hasScheduleRef()) return false; if (hasScheduleRef()) { if (!getScheduleRef() .equals(other.getScheduleRef())) return false; } if (getTransactionFeeCharged() != other.getTransactionFeeCharged()) 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 (!getAutomaticTokenAssociationsList() .equals(other.getAutomaticTokenAssociationsList())) return false; if (!getPaidStakingRewardsList() .equals(other.getPaidStakingRewardsList())) return false; if (getCongestionPricingMultiplier() != other.getCongestionPricingMultiplier()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; if (hasConsensusTimestamp()) { hash = (37 * hash) + CONSENSUS_TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getConsensusTimestamp().hashCode(); } if (hasParentConsensusTimestamp()) { hash = (37 * hash) + PARENT_CONSENSUS_TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getParentConsensusTimestamp().hashCode(); } if (hasScheduleRef()) { hash = (37 * hash) + SCHEDULE_REF_FIELD_NUMBER; hash = (53 * hash) + getScheduleRef().hashCode(); } hash = (37 * hash) + TRANSACTION_FEE_CHARGED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTransactionFeeCharged()); if (hasTransferList()) { hash = (37 * hash) + TRANSFER_LIST_FIELD_NUMBER; hash = (53 * hash) + getTransferList().hashCode(); } if (getTokenTransferListsCount() > 0) { hash = (37 * hash) + TOKEN_TRANSFER_LISTS_FIELD_NUMBER; hash = (53 * hash) + getTokenTransferListsList().hashCode(); } if (getAutomaticTokenAssociationsCount() > 0) { hash = (37 * hash) + AUTOMATIC_TOKEN_ASSOCIATIONS_FIELD_NUMBER; hash = (53 * hash) + getAutomaticTokenAssociationsList().hashCode(); } if (getPaidStakingRewardsCount() > 0) { hash = (37 * hash) + PAID_STAKING_REWARDS_FIELD_NUMBER; hash = (53 * hash) + getPaidStakingRewardsList().hashCode(); } hash = (37 * hash) + CONGESTION_PRICING_MULTIPLIER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCongestionPricingMultiplier()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.hedera.hapi.block.stream.output.protoc.TransactionResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hedera.hapi.block.stream.output.protoc.TransactionResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hedera.hapi.block.stream.output.protoc.TransactionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hedera.hapi.block.stream.output.protoc.TransactionResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hedera.hapi.block.stream.output.protoc.TransactionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hedera.hapi.block.stream.output.protoc.TransactionResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hedera.hapi.block.stream.output.protoc.TransactionResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hedera.hapi.block.stream.output.protoc.TransactionResult 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.hedera.hapi.block.stream.output.protoc.TransactionResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.hedera.hapi.block.stream.output.protoc.TransactionResult 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.hedera.hapi.block.stream.output.protoc.TransactionResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hedera.hapi.block.stream.output.protoc.TransactionResult 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.hedera.hapi.block.stream.output.protoc.TransactionResult 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; } /** *
   **
   * While we have the state changes as part of the block stream,
   * we may not have the full data set needed. To surface information
   * such as staking rewards, fees, etc. we need to include some of the
   * data from the original TransactionRecord.
   * > REVIEW NOTE
   * >> Should we have custom fees here, and remove that from the
   * >> CryptoTransfer output message? That would make more sense, as I believe
   * >> TokenTransfer output would also need custom fees, and we may wish
   * >> to add custom fees to other transactions in the future.
   * 
* * Protobuf type {@code com.hedera.hapi.block.stream.output.TransactionResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.hedera.hapi.block.stream.output.TransactionResult) com.hedera.hapi.block.stream.output.protoc.TransactionResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hedera.hapi.block.stream.output.protoc.TransactionResultOuterClass.internal_static_com_hedera_hapi_block_stream_output_TransactionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hedera.hapi.block.stream.output.protoc.TransactionResultOuterClass.internal_static_com_hedera_hapi_block_stream_output_TransactionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hedera.hapi.block.stream.output.protoc.TransactionResult.class, com.hedera.hapi.block.stream.output.protoc.TransactionResult.Builder.class); } // Construct using com.hedera.hapi.block.stream.output.protoc.TransactionResult.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(); getAutomaticTokenAssociationsFieldBuilder(); getPaidStakingRewardsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); status_ = 0; if (consensusTimestampBuilder_ == null) { consensusTimestamp_ = null; } else { consensusTimestamp_ = null; consensusTimestampBuilder_ = null; } if (parentConsensusTimestampBuilder_ == null) { parentConsensusTimestamp_ = null; } else { parentConsensusTimestamp_ = null; parentConsensusTimestampBuilder_ = null; } if (scheduleRefBuilder_ == null) { scheduleRef_ = null; } else { scheduleRef_ = null; scheduleRefBuilder_ = null; } transactionFeeCharged_ = 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 (automaticTokenAssociationsBuilder_ == null) { automaticTokenAssociations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { automaticTokenAssociationsBuilder_.clear(); } if (paidStakingRewardsBuilder_ == null) { paidStakingRewards_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { paidStakingRewardsBuilder_.clear(); } congestionPricingMultiplier_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.hedera.hapi.block.stream.output.protoc.TransactionResultOuterClass.internal_static_com_hedera_hapi_block_stream_output_TransactionResult_descriptor; } @java.lang.Override public com.hedera.hapi.block.stream.output.protoc.TransactionResult getDefaultInstanceForType() { return com.hedera.hapi.block.stream.output.protoc.TransactionResult.getDefaultInstance(); } @java.lang.Override public com.hedera.hapi.block.stream.output.protoc.TransactionResult build() { com.hedera.hapi.block.stream.output.protoc.TransactionResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.hedera.hapi.block.stream.output.protoc.TransactionResult buildPartial() { com.hedera.hapi.block.stream.output.protoc.TransactionResult result = new com.hedera.hapi.block.stream.output.protoc.TransactionResult(this); int from_bitField0_ = bitField0_; result.status_ = status_; if (consensusTimestampBuilder_ == null) { result.consensusTimestamp_ = consensusTimestamp_; } else { result.consensusTimestamp_ = consensusTimestampBuilder_.build(); } if (parentConsensusTimestampBuilder_ == null) { result.parentConsensusTimestamp_ = parentConsensusTimestamp_; } else { result.parentConsensusTimestamp_ = parentConsensusTimestampBuilder_.build(); } if (scheduleRefBuilder_ == null) { result.scheduleRef_ = scheduleRef_; } else { result.scheduleRef_ = scheduleRefBuilder_.build(); } result.transactionFeeCharged_ = transactionFeeCharged_; 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 (automaticTokenAssociationsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { automaticTokenAssociations_ = java.util.Collections.unmodifiableList(automaticTokenAssociations_); bitField0_ = (bitField0_ & ~0x00000002); } result.automaticTokenAssociations_ = automaticTokenAssociations_; } else { result.automaticTokenAssociations_ = automaticTokenAssociationsBuilder_.build(); } if (paidStakingRewardsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { paidStakingRewards_ = java.util.Collections.unmodifiableList(paidStakingRewards_); bitField0_ = (bitField0_ & ~0x00000004); } result.paidStakingRewards_ = paidStakingRewards_; } else { result.paidStakingRewards_ = paidStakingRewardsBuilder_.build(); } result.congestionPricingMultiplier_ = congestionPricingMultiplier_; 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.hedera.hapi.block.stream.output.protoc.TransactionResult) { return mergeFrom((com.hedera.hapi.block.stream.output.protoc.TransactionResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.hedera.hapi.block.stream.output.protoc.TransactionResult other) { if (other == com.hedera.hapi.block.stream.output.protoc.TransactionResult.getDefaultInstance()) return this; if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (other.hasConsensusTimestamp()) { mergeConsensusTimestamp(other.getConsensusTimestamp()); } if (other.hasParentConsensusTimestamp()) { mergeParentConsensusTimestamp(other.getParentConsensusTimestamp()); } if (other.hasScheduleRef()) { mergeScheduleRef(other.getScheduleRef()); } if (other.getTransactionFeeCharged() != 0L) { setTransactionFeeCharged(other.getTransactionFeeCharged()); } 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 (automaticTokenAssociationsBuilder_ == null) { if (!other.automaticTokenAssociations_.isEmpty()) { if (automaticTokenAssociations_.isEmpty()) { automaticTokenAssociations_ = other.automaticTokenAssociations_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureAutomaticTokenAssociationsIsMutable(); automaticTokenAssociations_.addAll(other.automaticTokenAssociations_); } onChanged(); } } else { if (!other.automaticTokenAssociations_.isEmpty()) { if (automaticTokenAssociationsBuilder_.isEmpty()) { automaticTokenAssociationsBuilder_.dispose(); automaticTokenAssociationsBuilder_ = null; automaticTokenAssociations_ = other.automaticTokenAssociations_; bitField0_ = (bitField0_ & ~0x00000002); automaticTokenAssociationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAutomaticTokenAssociationsFieldBuilder() : null; } else { automaticTokenAssociationsBuilder_.addAllMessages(other.automaticTokenAssociations_); } } } if (paidStakingRewardsBuilder_ == null) { if (!other.paidStakingRewards_.isEmpty()) { if (paidStakingRewards_.isEmpty()) { paidStakingRewards_ = other.paidStakingRewards_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensurePaidStakingRewardsIsMutable(); paidStakingRewards_.addAll(other.paidStakingRewards_); } onChanged(); } } else { if (!other.paidStakingRewards_.isEmpty()) { if (paidStakingRewardsBuilder_.isEmpty()) { paidStakingRewardsBuilder_.dispose(); paidStakingRewardsBuilder_ = null; paidStakingRewards_ = other.paidStakingRewards_; bitField0_ = (bitField0_ & ~0x00000004); paidStakingRewardsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPaidStakingRewardsFieldBuilder() : null; } else { paidStakingRewardsBuilder_.addAllMessages(other.paidStakingRewards_); } } } if (other.getCongestionPricingMultiplier() != 0L) { setCongestionPricingMultiplier(other.getCongestionPricingMultiplier()); } 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.hedera.hapi.block.stream.output.protoc.TransactionResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.hedera.hapi.block.stream.output.protoc.TransactionResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int status_ = 0; /** *
     **
     * A response code.
     * <p>
     * This value SHALL indicate the status of this transaction.<br/>
     * This code SHALL indicate success or a specific failure.
     * 
* * .proto.ResponseCodeEnum status = 1; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
     **
     * A response code.
     * <p>
     * This value SHALL indicate the status of this transaction.<br/>
     * This code SHALL indicate success or a specific failure.
     * 
* * .proto.ResponseCodeEnum status = 1; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; } /** *
     **
     * A response code.
     * <p>
     * This value SHALL indicate the status of this transaction.<br/>
     * This code SHALL indicate success or a specific failure.
     * 
* * .proto.ResponseCodeEnum status = 1; * @return The status. */ @java.lang.Override public com.hederahashgraph.api.proto.java.ResponseCodeEnum getStatus() { @SuppressWarnings("deprecation") com.hederahashgraph.api.proto.java.ResponseCodeEnum result = com.hederahashgraph.api.proto.java.ResponseCodeEnum.valueOf(status_); return result == null ? com.hederahashgraph.api.proto.java.ResponseCodeEnum.UNRECOGNIZED : result; } /** *
     **
     * A response code.
     * <p>
     * This value SHALL indicate the status of this transaction.<br/>
     * This code SHALL indicate success or a specific failure.
     * 
* * .proto.ResponseCodeEnum status = 1; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(com.hederahashgraph.api.proto.java.ResponseCodeEnum value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /** *
     **
     * A response code.
     * <p>
     * This value SHALL indicate the status of this transaction.<br/>
     * This code SHALL indicate success or a specific failure.
     * 
* * .proto.ResponseCodeEnum status = 1; * @return This builder for chaining. */ public Builder clearStatus() { status_ = 0; 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_; /** *
     **
     * A consensus timestamp.
     * <p>
     * The time index, agreed by all network nodes, when this transaction
     * reached consensus.<br/>
     * This field SHALL be set for all transactions.
     * 
* * .proto.Timestamp consensus_timestamp = 2; * @return Whether the consensusTimestamp field is set. */ public boolean hasConsensusTimestamp() { return consensusTimestampBuilder_ != null || consensusTimestamp_ != null; } /** *
     **
     * A consensus timestamp.
     * <p>
     * The time index, agreed by all network nodes, when this transaction
     * reached consensus.<br/>
     * This field SHALL be set for all transactions.
     * 
* * .proto.Timestamp consensus_timestamp = 2; * @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(); } } /** *
     **
     * A consensus timestamp.
     * <p>
     * The time index, agreed by all network nodes, when this transaction
     * reached consensus.<br/>
     * This field SHALL be set for all transactions.
     * 
* * .proto.Timestamp consensus_timestamp = 2; */ 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; } /** *
     **
     * A consensus timestamp.
     * <p>
     * The time index, agreed by all network nodes, when this transaction
     * reached consensus.<br/>
     * This field SHALL be set for all transactions.
     * 
* * .proto.Timestamp consensus_timestamp = 2; */ 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; } /** *
     **
     * A consensus timestamp.
     * <p>
     * The time index, agreed by all network nodes, when this transaction
     * reached consensus.<br/>
     * This field SHALL be set for all transactions.
     * 
* * .proto.Timestamp consensus_timestamp = 2; */ 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; } /** *
     **
     * A consensus timestamp.
     * <p>
     * The time index, agreed by all network nodes, when this transaction
     * reached consensus.<br/>
     * This field SHALL be set for all transactions.
     * 
* * .proto.Timestamp consensus_timestamp = 2; */ public Builder clearConsensusTimestamp() { if (consensusTimestampBuilder_ == null) { consensusTimestamp_ = null; onChanged(); } else { consensusTimestamp_ = null; consensusTimestampBuilder_ = null; } return this; } /** *
     **
     * A consensus timestamp.
     * <p>
     * The time index, agreed by all network nodes, when this transaction
     * reached consensus.<br/>
     * This field SHALL be set for all transactions.
     * 
* * .proto.Timestamp consensus_timestamp = 2; */ public com.hederahashgraph.api.proto.java.Timestamp.Builder getConsensusTimestampBuilder() { onChanged(); return getConsensusTimestampFieldBuilder().getBuilder(); } /** *
     **
     * A consensus timestamp.
     * <p>
     * The time index, agreed by all network nodes, when this transaction
     * reached consensus.<br/>
     * This field SHALL be set for all transactions.
     * 
* * .proto.Timestamp consensus_timestamp = 2; */ 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_; } } /** *
     **
     * A consensus timestamp.
     * <p>
     * The time index, agreed by all network nodes, when this transaction
     * reached consensus.<br/>
     * This field SHALL be set for all transactions.
     * 
* * .proto.Timestamp consensus_timestamp = 2; */ 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.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_; /** *
     **
     * A consensus timestamp.
     * <p>
     * The time index, agreed by all network nodes, when the "parent"
     * transaction, if any, for this transaction reached consensus.<br/>
     * This SHALL NOT be set on a user-submitted transaction.<br/>
     * This SHALL be set on an internal "child" transaction initiated as
     * part of completing a user-submitted transaction.
     * 
* * .proto.Timestamp parent_consensus_timestamp = 3; * @return Whether the parentConsensusTimestamp field is set. */ public boolean hasParentConsensusTimestamp() { return parentConsensusTimestampBuilder_ != null || parentConsensusTimestamp_ != null; } /** *
     **
     * A consensus timestamp.
     * <p>
     * The time index, agreed by all network nodes, when the "parent"
     * transaction, if any, for this transaction reached consensus.<br/>
     * This SHALL NOT be set on a user-submitted transaction.<br/>
     * This SHALL be set on an internal "child" transaction initiated as
     * part of completing a user-submitted transaction.
     * 
* * .proto.Timestamp parent_consensus_timestamp = 3; * @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(); } } /** *
     **
     * A consensus timestamp.
     * <p>
     * The time index, agreed by all network nodes, when the "parent"
     * transaction, if any, for this transaction reached consensus.<br/>
     * This SHALL NOT be set on a user-submitted transaction.<br/>
     * This SHALL be set on an internal "child" transaction initiated as
     * part of completing a user-submitted transaction.
     * 
* * .proto.Timestamp parent_consensus_timestamp = 3; */ 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; } /** *
     **
     * A consensus timestamp.
     * <p>
     * The time index, agreed by all network nodes, when the "parent"
     * transaction, if any, for this transaction reached consensus.<br/>
     * This SHALL NOT be set on a user-submitted transaction.<br/>
     * This SHALL be set on an internal "child" transaction initiated as
     * part of completing a user-submitted transaction.
     * 
* * .proto.Timestamp parent_consensus_timestamp = 3; */ 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; } /** *
     **
     * A consensus timestamp.
     * <p>
     * The time index, agreed by all network nodes, when the "parent"
     * transaction, if any, for this transaction reached consensus.<br/>
     * This SHALL NOT be set on a user-submitted transaction.<br/>
     * This SHALL be set on an internal "child" transaction initiated as
     * part of completing a user-submitted transaction.
     * 
* * .proto.Timestamp parent_consensus_timestamp = 3; */ 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; } /** *
     **
     * A consensus timestamp.
     * <p>
     * The time index, agreed by all network nodes, when the "parent"
     * transaction, if any, for this transaction reached consensus.<br/>
     * This SHALL NOT be set on a user-submitted transaction.<br/>
     * This SHALL be set on an internal "child" transaction initiated as
     * part of completing a user-submitted transaction.
     * 
* * .proto.Timestamp parent_consensus_timestamp = 3; */ public Builder clearParentConsensusTimestamp() { if (parentConsensusTimestampBuilder_ == null) { parentConsensusTimestamp_ = null; onChanged(); } else { parentConsensusTimestamp_ = null; parentConsensusTimestampBuilder_ = null; } return this; } /** *
     **
     * A consensus timestamp.
     * <p>
     * The time index, agreed by all network nodes, when the "parent"
     * transaction, if any, for this transaction reached consensus.<br/>
     * This SHALL NOT be set on a user-submitted transaction.<br/>
     * This SHALL be set on an internal "child" transaction initiated as
     * part of completing a user-submitted transaction.
     * 
* * .proto.Timestamp parent_consensus_timestamp = 3; */ public com.hederahashgraph.api.proto.java.Timestamp.Builder getParentConsensusTimestampBuilder() { onChanged(); return getParentConsensusTimestampFieldBuilder().getBuilder(); } /** *
     **
     * A consensus timestamp.
     * <p>
     * The time index, agreed by all network nodes, when the "parent"
     * transaction, if any, for this transaction reached consensus.<br/>
     * This SHALL NOT be set on a user-submitted transaction.<br/>
     * This SHALL be set on an internal "child" transaction initiated as
     * part of completing a user-submitted transaction.
     * 
* * .proto.Timestamp parent_consensus_timestamp = 3; */ 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_; } } /** *
     **
     * A consensus timestamp.
     * <p>
     * The time index, agreed by all network nodes, when the "parent"
     * transaction, if any, for this transaction reached consensus.<br/>
     * This SHALL NOT be set on a user-submitted transaction.<br/>
     * This SHALL be set on an internal "child" transaction initiated as
     * part of completing a user-submitted transaction.
     * 
* * .proto.Timestamp parent_consensus_timestamp = 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> 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.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_; /** *
     **
     * A schedule that executed this transaction, if this transaction
     * was scheduled.
     * <p>
     * This value SHALL NOT be set unless this transaction result represents
     * the result of a _scheduled_ child transaction.
     * 
* * .proto.ScheduleID schedule_ref = 5; * @return Whether the scheduleRef field is set. */ public boolean hasScheduleRef() { return scheduleRefBuilder_ != null || scheduleRef_ != null; } /** *
     **
     * A schedule that executed this transaction, if this transaction
     * was scheduled.
     * <p>
     * This value SHALL NOT be set unless this transaction result represents
     * the result of a _scheduled_ child transaction.
     * 
* * .proto.ScheduleID schedule_ref = 5; * @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(); } } /** *
     **
     * A schedule that executed this transaction, if this transaction
     * was scheduled.
     * <p>
     * This value SHALL NOT be set unless this transaction result represents
     * the result of a _scheduled_ child transaction.
     * 
* * .proto.ScheduleID schedule_ref = 5; */ 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; } /** *
     **
     * A schedule that executed this transaction, if this transaction
     * was scheduled.
     * <p>
     * This value SHALL NOT be set unless this transaction result represents
     * the result of a _scheduled_ child transaction.
     * 
* * .proto.ScheduleID schedule_ref = 5; */ 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; } /** *
     **
     * A schedule that executed this transaction, if this transaction
     * was scheduled.
     * <p>
     * This value SHALL NOT be set unless this transaction result represents
     * the result of a _scheduled_ child transaction.
     * 
* * .proto.ScheduleID schedule_ref = 5; */ 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; } /** *
     **
     * A schedule that executed this transaction, if this transaction
     * was scheduled.
     * <p>
     * This value SHALL NOT be set unless this transaction result represents
     * the result of a _scheduled_ child transaction.
     * 
* * .proto.ScheduleID schedule_ref = 5; */ public Builder clearScheduleRef() { if (scheduleRefBuilder_ == null) { scheduleRef_ = null; onChanged(); } else { scheduleRef_ = null; scheduleRefBuilder_ = null; } return this; } /** *
     **
     * A schedule that executed this transaction, if this transaction
     * was scheduled.
     * <p>
     * This value SHALL NOT be set unless this transaction result represents
     * the result of a _scheduled_ child transaction.
     * 
* * .proto.ScheduleID schedule_ref = 5; */ public com.hederahashgraph.api.proto.java.ScheduleID.Builder getScheduleRefBuilder() { onChanged(); return getScheduleRefFieldBuilder().getBuilder(); } /** *
     **
     * A schedule that executed this transaction, if this transaction
     * was scheduled.
     * <p>
     * This value SHALL NOT be set unless this transaction result represents
     * the result of a _scheduled_ child transaction.
     * 
* * .proto.ScheduleID schedule_ref = 5; */ 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_; } } /** *
     **
     * A schedule that executed this transaction, if this transaction
     * was scheduled.
     * <p>
     * This value SHALL NOT be set unless this transaction result represents
     * the result of a _scheduled_ child transaction.
     * 
* * .proto.ScheduleID schedule_ref = 5; */ 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 long transactionFeeCharged_ ; /** *
     **
     * An amount, in tinybar, charged for this transaction.
     * <p>
     * This SHALL be the actual transaction fee charged, and SHALL NOT be the
     * transactionFee value from TransactionBody.
     * 
* * uint64 transaction_fee_charged = 6; * @return The transactionFeeCharged. */ @java.lang.Override public long getTransactionFeeCharged() { return transactionFeeCharged_; } /** *
     **
     * An amount, in tinybar, charged for this transaction.
     * <p>
     * This SHALL be the actual transaction fee charged, and SHALL NOT be the
     * transactionFee value from TransactionBody.
     * 
* * uint64 transaction_fee_charged = 6; * @param value The transactionFeeCharged to set. * @return This builder for chaining. */ public Builder setTransactionFeeCharged(long value) { transactionFeeCharged_ = value; onChanged(); return this; } /** *
     **
     * An amount, in tinybar, charged for this transaction.
     * <p>
     * This SHALL be the actual transaction fee charged, and SHALL NOT be the
     * transactionFee value from TransactionBody.
     * 
* * uint64 transaction_fee_charged = 6; * @return This builder for chaining. */ public Builder clearTransactionFeeCharged() { transactionFeeCharged_ = 0L; onChanged(); return this; } 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_; /** *
     **
     * A list of HBAR transfers, in double-entry form.
     * <p>
     * This SHALL include all HBAR transfers completed as a result
     * of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of transaction fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>All transfers due to staking rewards paid as a result of
     *       this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     *   <li>Any transfers caused by the creation of threshold records</li>
     * </ul>
     * <p>
     * This transfer list is exposed in the Mirror Node API (MAPI) and in use
     * by clients of the MAPI. Additionally, there are some transfers that
     * are mingled with transactions and only split out here.
     * 
* * .proto.TransferList transfer_list = 7; * @return Whether the transferList field is set. */ public boolean hasTransferList() { return transferListBuilder_ != null || transferList_ != null; } /** *
     **
     * A list of HBAR transfers, in double-entry form.
     * <p>
     * This SHALL include all HBAR transfers completed as a result
     * of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of transaction fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>All transfers due to staking rewards paid as a result of
     *       this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     *   <li>Any transfers caused by the creation of threshold records</li>
     * </ul>
     * <p>
     * This transfer list is exposed in the Mirror Node API (MAPI) and in use
     * by clients of the MAPI. Additionally, there are some transfers that
     * are mingled with transactions and only split out here.
     * 
* * .proto.TransferList transfer_list = 7; * @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(); } } /** *
     **
     * A list of HBAR transfers, in double-entry form.
     * <p>
     * This SHALL include all HBAR transfers completed as a result
     * of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of transaction fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>All transfers due to staking rewards paid as a result of
     *       this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     *   <li>Any transfers caused by the creation of threshold records</li>
     * </ul>
     * <p>
     * This transfer list is exposed in the Mirror Node API (MAPI) and in use
     * by clients of the MAPI. Additionally, there are some transfers that
     * are mingled with transactions and only split out here.
     * 
* * .proto.TransferList transfer_list = 7; */ 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; } /** *
     **
     * A list of HBAR transfers, in double-entry form.
     * <p>
     * This SHALL include all HBAR transfers completed as a result
     * of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of transaction fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>All transfers due to staking rewards paid as a result of
     *       this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     *   <li>Any transfers caused by the creation of threshold records</li>
     * </ul>
     * <p>
     * This transfer list is exposed in the Mirror Node API (MAPI) and in use
     * by clients of the MAPI. Additionally, there are some transfers that
     * are mingled with transactions and only split out here.
     * 
* * .proto.TransferList transfer_list = 7; */ 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; } /** *
     **
     * A list of HBAR transfers, in double-entry form.
     * <p>
     * This SHALL include all HBAR transfers completed as a result
     * of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of transaction fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>All transfers due to staking rewards paid as a result of
     *       this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     *   <li>Any transfers caused by the creation of threshold records</li>
     * </ul>
     * <p>
     * This transfer list is exposed in the Mirror Node API (MAPI) and in use
     * by clients of the MAPI. Additionally, there are some transfers that
     * are mingled with transactions and only split out here.
     * 
* * .proto.TransferList transfer_list = 7; */ 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; } /** *
     **
     * A list of HBAR transfers, in double-entry form.
     * <p>
     * This SHALL include all HBAR transfers completed as a result
     * of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of transaction fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>All transfers due to staking rewards paid as a result of
     *       this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     *   <li>Any transfers caused by the creation of threshold records</li>
     * </ul>
     * <p>
     * This transfer list is exposed in the Mirror Node API (MAPI) and in use
     * by clients of the MAPI. Additionally, there are some transfers that
     * are mingled with transactions and only split out here.
     * 
* * .proto.TransferList transfer_list = 7; */ public Builder clearTransferList() { if (transferListBuilder_ == null) { transferList_ = null; onChanged(); } else { transferList_ = null; transferListBuilder_ = null; } return this; } /** *
     **
     * A list of HBAR transfers, in double-entry form.
     * <p>
     * This SHALL include all HBAR transfers completed as a result
     * of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of transaction fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>All transfers due to staking rewards paid as a result of
     *       this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     *   <li>Any transfers caused by the creation of threshold records</li>
     * </ul>
     * <p>
     * This transfer list is exposed in the Mirror Node API (MAPI) and in use
     * by clients of the MAPI. Additionally, there are some transfers that
     * are mingled with transactions and only split out here.
     * 
* * .proto.TransferList transfer_list = 7; */ public com.hederahashgraph.api.proto.java.TransferList.Builder getTransferListBuilder() { onChanged(); return getTransferListFieldBuilder().getBuilder(); } /** *
     **
     * A list of HBAR transfers, in double-entry form.
     * <p>
     * This SHALL include all HBAR transfers completed as a result
     * of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of transaction fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>All transfers due to staking rewards paid as a result of
     *       this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     *   <li>Any transfers caused by the creation of threshold records</li>
     * </ul>
     * <p>
     * This transfer list is exposed in the Mirror Node API (MAPI) and in use
     * by clients of the MAPI. Additionally, there are some transfers that
     * are mingled with transactions and only split out here.
     * 
* * .proto.TransferList transfer_list = 7; */ 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_; } } /** *
     **
     * A list of HBAR transfers, in double-entry form.
     * <p>
     * This SHALL include all HBAR transfers completed as a result
     * of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of transaction fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>All transfers due to staking rewards paid as a result of
     *       this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     *   <li>Any transfers caused by the creation of threshold records</li>
     * </ul>
     * <p>
     * This transfer list is exposed in the Mirror Node API (MAPI) and in use
     * by clients of the MAPI. Additionally, there are some transfers that
     * are mingled with transactions and only split out here.
     * 
* * .proto.TransferList transfer_list = 7; */ 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_; /** *
     **
     * A list of _non-HBAR_ token transfers, in single-entry form.
     * <p>
     * This SHALL include all _non-HBAR_ token transfers completed as a
     * result of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of custom fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     * </ul>
     * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ public java.util.List getTokenTransferListsList() { if (tokenTransferListsBuilder_ == null) { return java.util.Collections.unmodifiableList(tokenTransferLists_); } else { return tokenTransferListsBuilder_.getMessageList(); } } /** *
     **
     * A list of _non-HBAR_ token transfers, in single-entry form.
     * <p>
     * This SHALL include all _non-HBAR_ token transfers completed as a
     * result of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of custom fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     * </ul>
     * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ public int getTokenTransferListsCount() { if (tokenTransferListsBuilder_ == null) { return tokenTransferLists_.size(); } else { return tokenTransferListsBuilder_.getCount(); } } /** *
     **
     * A list of _non-HBAR_ token transfers, in single-entry form.
     * <p>
     * This SHALL include all _non-HBAR_ token transfers completed as a
     * result of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of custom fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     * </ul>
     * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ public com.hederahashgraph.api.proto.java.TokenTransferList getTokenTransferLists(int index) { if (tokenTransferListsBuilder_ == null) { return tokenTransferLists_.get(index); } else { return tokenTransferListsBuilder_.getMessage(index); } } /** *
     **
     * A list of _non-HBAR_ token transfers, in single-entry form.
     * <p>
     * This SHALL include all _non-HBAR_ token transfers completed as a
     * result of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of custom fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     * </ul>
     * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ 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; } /** *
     **
     * A list of _non-HBAR_ token transfers, in single-entry form.
     * <p>
     * This SHALL include all _non-HBAR_ token transfers completed as a
     * result of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of custom fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     * </ul>
     * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ 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; } /** *
     **
     * A list of _non-HBAR_ token transfers, in single-entry form.
     * <p>
     * This SHALL include all _non-HBAR_ token transfers completed as a
     * result of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of custom fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     * </ul>
     * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ 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; } /** *
     **
     * A list of _non-HBAR_ token transfers, in single-entry form.
     * <p>
     * This SHALL include all _non-HBAR_ token transfers completed as a
     * result of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of custom fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     * </ul>
     * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ 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; } /** *
     **
     * A list of _non-HBAR_ token transfers, in single-entry form.
     * <p>
     * This SHALL include all _non-HBAR_ token transfers completed as a
     * result of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of custom fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     * </ul>
     * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ 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; } /** *
     **
     * A list of _non-HBAR_ token transfers, in single-entry form.
     * <p>
     * This SHALL include all _non-HBAR_ token transfers completed as a
     * result of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of custom fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     * </ul>
     * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ 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; } /** *
     **
     * A list of _non-HBAR_ token transfers, in single-entry form.
     * <p>
     * This SHALL include all _non-HBAR_ token transfers completed as a
     * result of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of custom fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     * </ul>
     * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ 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; } /** *
     **
     * A list of _non-HBAR_ token transfers, in single-entry form.
     * <p>
     * This SHALL include all _non-HBAR_ token transfers completed as a
     * result of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of custom fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     * </ul>
     * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ public Builder clearTokenTransferLists() { if (tokenTransferListsBuilder_ == null) { tokenTransferLists_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { tokenTransferListsBuilder_.clear(); } return this; } /** *
     **
     * A list of _non-HBAR_ token transfers, in single-entry form.
     * <p>
     * This SHALL include all _non-HBAR_ token transfers completed as a
     * result of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of custom fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     * </ul>
     * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ public Builder removeTokenTransferLists(int index) { if (tokenTransferListsBuilder_ == null) { ensureTokenTransferListsIsMutable(); tokenTransferLists_.remove(index); onChanged(); } else { tokenTransferListsBuilder_.remove(index); } return this; } /** *
     **
     * A list of _non-HBAR_ token transfers, in single-entry form.
     * <p>
     * This SHALL include all _non-HBAR_ token transfers completed as a
     * result of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of custom fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     * </ul>
     * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ public com.hederahashgraph.api.proto.java.TokenTransferList.Builder getTokenTransferListsBuilder( int index) { return getTokenTransferListsFieldBuilder().getBuilder(index); } /** *
     **
     * A list of _non-HBAR_ token transfers, in single-entry form.
     * <p>
     * This SHALL include all _non-HBAR_ token transfers completed as a
     * result of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of custom fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     * </ul>
     * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ public com.hederahashgraph.api.proto.java.TokenTransferListOrBuilder getTokenTransferListsOrBuilder( int index) { if (tokenTransferListsBuilder_ == null) { return tokenTransferLists_.get(index); } else { return tokenTransferListsBuilder_.getMessageOrBuilder(index); } } /** *
     **
     * A list of _non-HBAR_ token transfers, in single-entry form.
     * <p>
     * This SHALL include all _non-HBAR_ token transfers completed as a
     * result of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of custom fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     * </ul>
     * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ public java.util.List getTokenTransferListsOrBuilderList() { if (tokenTransferListsBuilder_ != null) { return tokenTransferListsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tokenTransferLists_); } } /** *
     **
     * A list of _non-HBAR_ token transfers, in single-entry form.
     * <p>
     * This SHALL include all _non-HBAR_ token transfers completed as a
     * result of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of custom fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     * </ul>
     * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ public com.hederahashgraph.api.proto.java.TokenTransferList.Builder addTokenTransferListsBuilder() { return getTokenTransferListsFieldBuilder().addBuilder( com.hederahashgraph.api.proto.java.TokenTransferList.getDefaultInstance()); } /** *
     **
     * A list of _non-HBAR_ token transfers, in single-entry form.
     * <p>
     * This SHALL include all _non-HBAR_ token transfers completed as a
     * result of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of custom fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     * </ul>
     * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ public com.hederahashgraph.api.proto.java.TokenTransferList.Builder addTokenTransferListsBuilder( int index) { return getTokenTransferListsFieldBuilder().addBuilder( index, com.hederahashgraph.api.proto.java.TokenTransferList.getDefaultInstance()); } /** *
     **
     * A list of _non-HBAR_ token transfers, in single-entry form.
     * <p>
     * This SHALL include all _non-HBAR_ token transfers completed as a
     * result of this transaction.<br/>
     * This MUST include, at least,
     * <ul>
     *   <li>Each source and recipient of custom fees</li>
     *   <li>All transfers directly performed by this transaction</li>
     *   <li>Any transfers performed by a smart contract call associated
     *       with this transaction</li>
     * </ul>
     * 
* * repeated .proto.TokenTransferList token_transfer_lists = 8; */ 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 java.util.List automaticTokenAssociations_ = java.util.Collections.emptyList(); private void ensureAutomaticTokenAssociationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { automaticTokenAssociations_ = new java.util.ArrayList(automaticTokenAssociations_); bitField0_ |= 0x00000002; } } 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_; /** *
     **
     * A list of token associations.
     * <p>
     * This field SHALL list all token associations created automatically
     * while handling this transaction.
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ public java.util.List getAutomaticTokenAssociationsList() { if (automaticTokenAssociationsBuilder_ == null) { return java.util.Collections.unmodifiableList(automaticTokenAssociations_); } else { return automaticTokenAssociationsBuilder_.getMessageList(); } } /** *
     **
     * A list of token associations.
     * <p>
     * This field SHALL list all token associations created automatically
     * while handling this transaction.
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ public int getAutomaticTokenAssociationsCount() { if (automaticTokenAssociationsBuilder_ == null) { return automaticTokenAssociations_.size(); } else { return automaticTokenAssociationsBuilder_.getCount(); } } /** *
     **
     * A list of token associations.
     * <p>
     * This field SHALL list all token associations created automatically
     * while handling this transaction.
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ public com.hederahashgraph.api.proto.java.TokenAssociation getAutomaticTokenAssociations(int index) { if (automaticTokenAssociationsBuilder_ == null) { return automaticTokenAssociations_.get(index); } else { return automaticTokenAssociationsBuilder_.getMessage(index); } } /** *
     **
     * A list of token associations.
     * <p>
     * This field SHALL list all token associations created automatically
     * while handling this transaction.
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ 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; } /** *
     **
     * A list of token associations.
     * <p>
     * This field SHALL list all token associations created automatically
     * while handling this transaction.
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ 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; } /** *
     **
     * A list of token associations.
     * <p>
     * This field SHALL list all token associations created automatically
     * while handling this transaction.
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ 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; } /** *
     **
     * A list of token associations.
     * <p>
     * This field SHALL list all token associations created automatically
     * while handling this transaction.
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ 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; } /** *
     **
     * A list of token associations.
     * <p>
     * This field SHALL list all token associations created automatically
     * while handling this transaction.
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ 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; } /** *
     **
     * A list of token associations.
     * <p>
     * This field SHALL list all token associations created automatically
     * while handling this transaction.
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ 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; } /** *
     **
     * A list of token associations.
     * <p>
     * This field SHALL list all token associations created automatically
     * while handling this transaction.
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ 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; } /** *
     **
     * A list of token associations.
     * <p>
     * This field SHALL list all token associations created automatically
     * while handling this transaction.
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ public Builder clearAutomaticTokenAssociations() { if (automaticTokenAssociationsBuilder_ == null) { automaticTokenAssociations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { automaticTokenAssociationsBuilder_.clear(); } return this; } /** *
     **
     * A list of token associations.
     * <p>
     * This field SHALL list all token associations created automatically
     * while handling this transaction.
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ public Builder removeAutomaticTokenAssociations(int index) { if (automaticTokenAssociationsBuilder_ == null) { ensureAutomaticTokenAssociationsIsMutable(); automaticTokenAssociations_.remove(index); onChanged(); } else { automaticTokenAssociationsBuilder_.remove(index); } return this; } /** *
     **
     * A list of token associations.
     * <p>
     * This field SHALL list all token associations created automatically
     * while handling this transaction.
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ public com.hederahashgraph.api.proto.java.TokenAssociation.Builder getAutomaticTokenAssociationsBuilder( int index) { return getAutomaticTokenAssociationsFieldBuilder().getBuilder(index); } /** *
     **
     * A list of token associations.
     * <p>
     * This field SHALL list all token associations created automatically
     * while handling this transaction.
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ public com.hederahashgraph.api.proto.java.TokenAssociationOrBuilder getAutomaticTokenAssociationsOrBuilder( int index) { if (automaticTokenAssociationsBuilder_ == null) { return automaticTokenAssociations_.get(index); } else { return automaticTokenAssociationsBuilder_.getMessageOrBuilder(index); } } /** *
     **
     * A list of token associations.
     * <p>
     * This field SHALL list all token associations created automatically
     * while handling this transaction.
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ public java.util.List getAutomaticTokenAssociationsOrBuilderList() { if (automaticTokenAssociationsBuilder_ != null) { return automaticTokenAssociationsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(automaticTokenAssociations_); } } /** *
     **
     * A list of token associations.
     * <p>
     * This field SHALL list all token associations created automatically
     * while handling this transaction.
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ public com.hederahashgraph.api.proto.java.TokenAssociation.Builder addAutomaticTokenAssociationsBuilder() { return getAutomaticTokenAssociationsFieldBuilder().addBuilder( com.hederahashgraph.api.proto.java.TokenAssociation.getDefaultInstance()); } /** *
     **
     * A list of token associations.
     * <p>
     * This field SHALL list all token associations created automatically
     * while handling this transaction.
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ public com.hederahashgraph.api.proto.java.TokenAssociation.Builder addAutomaticTokenAssociationsBuilder( int index) { return getAutomaticTokenAssociationsFieldBuilder().addBuilder( index, com.hederahashgraph.api.proto.java.TokenAssociation.getDefaultInstance()); } /** *
     **
     * A list of token associations.
     * <p>
     * This field SHALL list all token associations created automatically
     * while handling this transaction.
     * 
* * repeated .proto.TokenAssociation automatic_token_associations = 9; */ 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_ & 0x00000002) != 0), getParentForChildren(), isClean()); automaticTokenAssociations_ = null; } return automaticTokenAssociationsBuilder_; } private java.util.List paidStakingRewards_ = java.util.Collections.emptyList(); private void ensurePaidStakingRewardsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { paidStakingRewards_ = new java.util.ArrayList(paidStakingRewards_); bitField0_ |= 0x00000004; } } 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_; /** *
     **
     * A list of accounts and amounts.
     * <p>
     * This SHALL list all accounts paid staking rewards as a result
     * of this transaction.<br/>
     * Each entry SHALL contain both the account and the amount paid.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ public java.util.List getPaidStakingRewardsList() { if (paidStakingRewardsBuilder_ == null) { return java.util.Collections.unmodifiableList(paidStakingRewards_); } else { return paidStakingRewardsBuilder_.getMessageList(); } } /** *
     **
     * A list of accounts and amounts.
     * <p>
     * This SHALL list all accounts paid staking rewards as a result
     * of this transaction.<br/>
     * Each entry SHALL contain both the account and the amount paid.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ public int getPaidStakingRewardsCount() { if (paidStakingRewardsBuilder_ == null) { return paidStakingRewards_.size(); } else { return paidStakingRewardsBuilder_.getCount(); } } /** *
     **
     * A list of accounts and amounts.
     * <p>
     * This SHALL list all accounts paid staking rewards as a result
     * of this transaction.<br/>
     * Each entry SHALL contain both the account and the amount paid.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ public com.hederahashgraph.api.proto.java.AccountAmount getPaidStakingRewards(int index) { if (paidStakingRewardsBuilder_ == null) { return paidStakingRewards_.get(index); } else { return paidStakingRewardsBuilder_.getMessage(index); } } /** *
     **
     * A list of accounts and amounts.
     * <p>
     * This SHALL list all accounts paid staking rewards as a result
     * of this transaction.<br/>
     * Each entry SHALL contain both the account and the amount paid.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ 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; } /** *
     **
     * A list of accounts and amounts.
     * <p>
     * This SHALL list all accounts paid staking rewards as a result
     * of this transaction.<br/>
     * Each entry SHALL contain both the account and the amount paid.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ 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; } /** *
     **
     * A list of accounts and amounts.
     * <p>
     * This SHALL list all accounts paid staking rewards as a result
     * of this transaction.<br/>
     * Each entry SHALL contain both the account and the amount paid.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ 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; } /** *
     **
     * A list of accounts and amounts.
     * <p>
     * This SHALL list all accounts paid staking rewards as a result
     * of this transaction.<br/>
     * Each entry SHALL contain both the account and the amount paid.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ 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; } /** *
     **
     * A list of accounts and amounts.
     * <p>
     * This SHALL list all accounts paid staking rewards as a result
     * of this transaction.<br/>
     * Each entry SHALL contain both the account and the amount paid.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ 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; } /** *
     **
     * A list of accounts and amounts.
     * <p>
     * This SHALL list all accounts paid staking rewards as a result
     * of this transaction.<br/>
     * Each entry SHALL contain both the account and the amount paid.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ 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; } /** *
     **
     * A list of accounts and amounts.
     * <p>
     * This SHALL list all accounts paid staking rewards as a result
     * of this transaction.<br/>
     * Each entry SHALL contain both the account and the amount paid.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ 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; } /** *
     **
     * A list of accounts and amounts.
     * <p>
     * This SHALL list all accounts paid staking rewards as a result
     * of this transaction.<br/>
     * Each entry SHALL contain both the account and the amount paid.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ public Builder clearPaidStakingRewards() { if (paidStakingRewardsBuilder_ == null) { paidStakingRewards_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { paidStakingRewardsBuilder_.clear(); } return this; } /** *
     **
     * A list of accounts and amounts.
     * <p>
     * This SHALL list all accounts paid staking rewards as a result
     * of this transaction.<br/>
     * Each entry SHALL contain both the account and the amount paid.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ public Builder removePaidStakingRewards(int index) { if (paidStakingRewardsBuilder_ == null) { ensurePaidStakingRewardsIsMutable(); paidStakingRewards_.remove(index); onChanged(); } else { paidStakingRewardsBuilder_.remove(index); } return this; } /** *
     **
     * A list of accounts and amounts.
     * <p>
     * This SHALL list all accounts paid staking rewards as a result
     * of this transaction.<br/>
     * Each entry SHALL contain both the account and the amount paid.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ public com.hederahashgraph.api.proto.java.AccountAmount.Builder getPaidStakingRewardsBuilder( int index) { return getPaidStakingRewardsFieldBuilder().getBuilder(index); } /** *
     **
     * A list of accounts and amounts.
     * <p>
     * This SHALL list all accounts paid staking rewards as a result
     * of this transaction.<br/>
     * Each entry SHALL contain both the account and the amount paid.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ public com.hederahashgraph.api.proto.java.AccountAmountOrBuilder getPaidStakingRewardsOrBuilder( int index) { if (paidStakingRewardsBuilder_ == null) { return paidStakingRewards_.get(index); } else { return paidStakingRewardsBuilder_.getMessageOrBuilder(index); } } /** *
     **
     * A list of accounts and amounts.
     * <p>
     * This SHALL list all accounts paid staking rewards as a result
     * of this transaction.<br/>
     * Each entry SHALL contain both the account and the amount paid.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ public java.util.List getPaidStakingRewardsOrBuilderList() { if (paidStakingRewardsBuilder_ != null) { return paidStakingRewardsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(paidStakingRewards_); } } /** *
     **
     * A list of accounts and amounts.
     * <p>
     * This SHALL list all accounts paid staking rewards as a result
     * of this transaction.<br/>
     * Each entry SHALL contain both the account and the amount paid.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ public com.hederahashgraph.api.proto.java.AccountAmount.Builder addPaidStakingRewardsBuilder() { return getPaidStakingRewardsFieldBuilder().addBuilder( com.hederahashgraph.api.proto.java.AccountAmount.getDefaultInstance()); } /** *
     **
     * A list of accounts and amounts.
     * <p>
     * This SHALL list all accounts paid staking rewards as a result
     * of this transaction.<br/>
     * Each entry SHALL contain both the account and the amount paid.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ public com.hederahashgraph.api.proto.java.AccountAmount.Builder addPaidStakingRewardsBuilder( int index) { return getPaidStakingRewardsFieldBuilder().addBuilder( index, com.hederahashgraph.api.proto.java.AccountAmount.getDefaultInstance()); } /** *
     **
     * A list of accounts and amounts.
     * <p>
     * This SHALL list all accounts paid staking rewards as a result
     * of this transaction.<br/>
     * Each entry SHALL contain both the account and the amount paid.
     * 
* * repeated .proto.AccountAmount paid_staking_rewards = 10; */ 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_ & 0x00000004) != 0), getParentForChildren(), isClean()); paidStakingRewards_ = null; } return paidStakingRewardsBuilder_; } private long congestionPricingMultiplier_ ; /** *
     **
     * A congestion pricing multiplier.
     * <p>
     * This SHALL be the multiplier that is applied to the transaction
     * fees charged for this transaction.
     * 
* * uint64 congestion_pricing_multiplier = 11; * @return The congestionPricingMultiplier. */ @java.lang.Override public long getCongestionPricingMultiplier() { return congestionPricingMultiplier_; } /** *
     **
     * A congestion pricing multiplier.
     * <p>
     * This SHALL be the multiplier that is applied to the transaction
     * fees charged for this transaction.
     * 
* * uint64 congestion_pricing_multiplier = 11; * @param value The congestionPricingMultiplier to set. * @return This builder for chaining. */ public Builder setCongestionPricingMultiplier(long value) { congestionPricingMultiplier_ = value; onChanged(); return this; } /** *
     **
     * A congestion pricing multiplier.
     * <p>
     * This SHALL be the multiplier that is applied to the transaction
     * fees charged for this transaction.
     * 
* * uint64 congestion_pricing_multiplier = 11; * @return This builder for chaining. */ public Builder clearCongestionPricingMultiplier() { congestionPricingMultiplier_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.hedera.hapi.block.stream.output.TransactionResult) } // @@protoc_insertion_point(class_scope:com.hedera.hapi.block.stream.output.TransactionResult) private static final com.hedera.hapi.block.stream.output.protoc.TransactionResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.hedera.hapi.block.stream.output.protoc.TransactionResult(); } public static com.hedera.hapi.block.stream.output.protoc.TransactionResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TransactionResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TransactionResult(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.hedera.hapi.block.stream.output.protoc.TransactionResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy