java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<TransferList,TransferList.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<TransferList,TransferList.Builder>
com.hedera.hashgraph.sdk.proto.TransferList.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TransferListOrBuilder,Cloneable
- Enclosing class:
TransferList
public static final class TransferList.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<TransferList,TransferList.Builder>
implements TransferListOrBuilder
* A list of accounts and amounts to transfer. Each `AccountAmount` SHALL specify the account and the amount to send(negative) or receive(positive).<br/> Each `TransferList` SHALL be contained in another message that contains other details required to complete a transfer. This is typically a `CryptoTransferTransactionBody` or `TransactionRecord`.<br/> The `TransferList` SHALL only be used for HBAR transfers. Other token types MUST use the `TokenTransferList` message.Protobuf type
proto.TransferList-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAccountAmounts(int index, AccountAmount value) * A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)addAccountAmounts(int index, AccountAmount.Builder builderForValue) * A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)addAccountAmounts(AccountAmount value) * A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)addAccountAmounts(AccountAmount.Builder builderForValue) * A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)addAllAccountAmounts(Iterable<? extends AccountAmount> values) * A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)* A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)getAccountAmounts(int index) * A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)int* A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)* A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)removeAccountAmounts(int index) * A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)setAccountAmounts(int index, AccountAmount value) * A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)setAccountAmounts(int index, AccountAmount.Builder builderForValue) * A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getAccountAmountsList
* A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)
repeated .proto.AccountAmount accountAmounts = 1;- Specified by:
getAccountAmountsListin interfaceTransferListOrBuilder
-
getAccountAmountsCount
public int getAccountAmountsCount()* A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)
repeated .proto.AccountAmount accountAmounts = 1;- Specified by:
getAccountAmountsCountin interfaceTransferListOrBuilder
-
getAccountAmounts
* A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)
repeated .proto.AccountAmount accountAmounts = 1;- Specified by:
getAccountAmountsin interfaceTransferListOrBuilder
-
setAccountAmounts
* A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)
repeated .proto.AccountAmount accountAmounts = 1; -
setAccountAmounts
* A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)
repeated .proto.AccountAmount accountAmounts = 1; -
addAccountAmounts
* A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)
repeated .proto.AccountAmount accountAmounts = 1; -
addAccountAmounts
* A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)
repeated .proto.AccountAmount accountAmounts = 1; -
addAccountAmounts
* A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)
repeated .proto.AccountAmount accountAmounts = 1; -
addAccountAmounts
* A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)
repeated .proto.AccountAmount accountAmounts = 1; -
addAllAccountAmounts
* A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)
repeated .proto.AccountAmount accountAmounts = 1; -
clearAccountAmounts
* A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)
repeated .proto.AccountAmount accountAmounts = 1; -
removeAccountAmounts
* A list of AccountAmount pairs.<br/> Each entry in this list is an account and an amount to transfer into it (positive) or out of it (negative)
repeated .proto.AccountAmount accountAmounts = 1;
-