Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class TransactionList.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<TransactionList,TransactionList.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<TransactionList,TransactionList.Builder>
com.hedera.hashgraph.sdk.proto.TransactionList.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TransactionListOrBuilder,Cloneable
- Enclosing class:
TransactionList
public static final class TransactionList.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<TransactionList,TransactionList.Builder>
implements TransactionListOrBuilder
* A simple protobuf wrapper to store a list of transactions. This is used by `Transaction.[from|to]Bytes()` in the SDKs. The reason the SDK needs a list of transactions is because it holds onto a transaction per node. So if a transaction is to be submitted to nodes 3 and 4 the SDK Transaction type would contain a list of 2 protobuf transactions, one for node 3 and one for node 4.Protobuf type
proto.TransactionList-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllTransactionList(Iterable<? extends Transaction> values) repeated .proto.Transaction transaction_list = 1;addTransactionList(int index, Transaction value) repeated .proto.Transaction transaction_list = 1;addTransactionList(int index, Transaction.Builder builderForValue) repeated .proto.Transaction transaction_list = 1;addTransactionList(Transaction value) repeated .proto.Transaction transaction_list = 1;addTransactionList(Transaction.Builder builderForValue) repeated .proto.Transaction transaction_list = 1;repeated .proto.Transaction transaction_list = 1;getTransactionList(int index) repeated .proto.Transaction transaction_list = 1;intrepeated .proto.Transaction transaction_list = 1;repeated .proto.Transaction transaction_list = 1;removeTransactionList(int index) repeated .proto.Transaction transaction_list = 1;setTransactionList(int index, Transaction value) repeated .proto.Transaction transaction_list = 1;setTransactionList(int index, Transaction.Builder builderForValue) repeated .proto.Transaction transaction_list = 1;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
-
getTransactionListList
repeated .proto.Transaction transaction_list = 1;- Specified by:
getTransactionListListin interfaceTransactionListOrBuilder
-
getTransactionListCount
public int getTransactionListCount()repeated .proto.Transaction transaction_list = 1;- Specified by:
getTransactionListCountin interfaceTransactionListOrBuilder
-
getTransactionList
repeated .proto.Transaction transaction_list = 1;- Specified by:
getTransactionListin interfaceTransactionListOrBuilder
-
setTransactionList
repeated .proto.Transaction transaction_list = 1; -
setTransactionList
repeated .proto.Transaction transaction_list = 1; -
addTransactionList
repeated .proto.Transaction transaction_list = 1; -
addTransactionList
repeated .proto.Transaction transaction_list = 1; -
addTransactionList
repeated .proto.Transaction transaction_list = 1; -
addTransactionList
repeated .proto.Transaction transaction_list = 1; -
addAllTransactionList
repeated .proto.Transaction transaction_list = 1; -
clearTransactionList
repeated .proto.Transaction transaction_list = 1; -
removeTransactionList
repeated .proto.Transaction transaction_list = 1;
-