public static final class Transaction.TransactionListWithProof.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Transaction.TransactionListWithProof.Builder> implements Transaction.TransactionListWithProofOrBuilder
A list of consecutive transactions with proof. This is mainly used for state synchronization when a validator would request a list of transactions from a peer, verify the proof, execute the transactions and persist them. Note that the transactions are supposed to belong to the same epoch E, otherwise verification will fail.Protobuf type
types.TransactionListWithProofgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.TransactionListWithProof.Builder>public Transaction.TransactionListWithProof.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.TransactionListWithProof.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.TransactionListWithProof.Builder>public Transaction.TransactionListWithProof getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Transaction.TransactionListWithProof build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Transaction.TransactionListWithProof buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Transaction.TransactionListWithProof.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.TransactionListWithProof.Builder>public Transaction.TransactionListWithProof.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.TransactionListWithProof.Builder>public Transaction.TransactionListWithProof.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.TransactionListWithProof.Builder>public Transaction.TransactionListWithProof.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.TransactionListWithProof.Builder>public Transaction.TransactionListWithProof.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.TransactionListWithProof.Builder>public Transaction.TransactionListWithProof.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.TransactionListWithProof.Builder>public Transaction.TransactionListWithProof.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Transaction.TransactionListWithProof.Builder>public Transaction.TransactionListWithProof.Builder mergeFrom(Transaction.TransactionListWithProof other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.TransactionListWithProof.Builder>public Transaction.TransactionListWithProof.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Transaction.TransactionListWithProof.Builder>IOExceptionpublic List<Transaction.SignedTransaction> getTransactionsList()
The list of transactions.
repeated .types.SignedTransaction transactions = 1;getTransactionsList in interface Transaction.TransactionListWithProofOrBuilderpublic int getTransactionsCount()
The list of transactions.
repeated .types.SignedTransaction transactions = 1;getTransactionsCount in interface Transaction.TransactionListWithProofOrBuilderpublic Transaction.SignedTransaction getTransactions(int index)
The list of transactions.
repeated .types.SignedTransaction transactions = 1;getTransactions in interface Transaction.TransactionListWithProofOrBuilderpublic Transaction.TransactionListWithProof.Builder setTransactions(int index, Transaction.SignedTransaction value)
The list of transactions.
repeated .types.SignedTransaction transactions = 1;public Transaction.TransactionListWithProof.Builder setTransactions(int index, Transaction.SignedTransaction.Builder builderForValue)
The list of transactions.
repeated .types.SignedTransaction transactions = 1;public Transaction.TransactionListWithProof.Builder addTransactions(Transaction.SignedTransaction value)
The list of transactions.
repeated .types.SignedTransaction transactions = 1;public Transaction.TransactionListWithProof.Builder addTransactions(int index, Transaction.SignedTransaction value)
The list of transactions.
repeated .types.SignedTransaction transactions = 1;public Transaction.TransactionListWithProof.Builder addTransactions(Transaction.SignedTransaction.Builder builderForValue)
The list of transactions.
repeated .types.SignedTransaction transactions = 1;public Transaction.TransactionListWithProof.Builder addTransactions(int index, Transaction.SignedTransaction.Builder builderForValue)
The list of transactions.
repeated .types.SignedTransaction transactions = 1;public Transaction.TransactionListWithProof.Builder addAllTransactions(Iterable<? extends Transaction.SignedTransaction> values)
The list of transactions.
repeated .types.SignedTransaction transactions = 1;public Transaction.TransactionListWithProof.Builder clearTransactions()
The list of transactions.
repeated .types.SignedTransaction transactions = 1;public Transaction.TransactionListWithProof.Builder removeTransactions(int index)
The list of transactions.
repeated .types.SignedTransaction transactions = 1;public Transaction.SignedTransaction.Builder getTransactionsBuilder(int index)
The list of transactions.
repeated .types.SignedTransaction transactions = 1;public Transaction.SignedTransactionOrBuilder getTransactionsOrBuilder(int index)
The list of transactions.
repeated .types.SignedTransaction transactions = 1;getTransactionsOrBuilder in interface Transaction.TransactionListWithProofOrBuilderpublic List<? extends Transaction.SignedTransactionOrBuilder> getTransactionsOrBuilderList()
The list of transactions.
repeated .types.SignedTransaction transactions = 1;getTransactionsOrBuilderList in interface Transaction.TransactionListWithProofOrBuilderpublic Transaction.SignedTransaction.Builder addTransactionsBuilder()
The list of transactions.
repeated .types.SignedTransaction transactions = 1;public Transaction.SignedTransaction.Builder addTransactionsBuilder(int index)
The list of transactions.
repeated .types.SignedTransaction transactions = 1;public List<Transaction.SignedTransaction.Builder> getTransactionsBuilderList()
The list of transactions.
repeated .types.SignedTransaction transactions = 1;public List<TransactionInfoOuterClass.TransactionInfo> getInfosList()
The list of corresponding TransactionInfo objects.
repeated .types.TransactionInfo infos = 2;getInfosList in interface Transaction.TransactionListWithProofOrBuilderpublic int getInfosCount()
The list of corresponding TransactionInfo objects.
repeated .types.TransactionInfo infos = 2;getInfosCount in interface Transaction.TransactionListWithProofOrBuilderpublic TransactionInfoOuterClass.TransactionInfo getInfos(int index)
The list of corresponding TransactionInfo objects.
repeated .types.TransactionInfo infos = 2;getInfos in interface Transaction.TransactionListWithProofOrBuilderpublic Transaction.TransactionListWithProof.Builder setInfos(int index, TransactionInfoOuterClass.TransactionInfo value)
The list of corresponding TransactionInfo objects.
repeated .types.TransactionInfo infos = 2;public Transaction.TransactionListWithProof.Builder setInfos(int index, TransactionInfoOuterClass.TransactionInfo.Builder builderForValue)
The list of corresponding TransactionInfo objects.
repeated .types.TransactionInfo infos = 2;public Transaction.TransactionListWithProof.Builder addInfos(TransactionInfoOuterClass.TransactionInfo value)
The list of corresponding TransactionInfo objects.
repeated .types.TransactionInfo infos = 2;public Transaction.TransactionListWithProof.Builder addInfos(int index, TransactionInfoOuterClass.TransactionInfo value)
The list of corresponding TransactionInfo objects.
repeated .types.TransactionInfo infos = 2;public Transaction.TransactionListWithProof.Builder addInfos(TransactionInfoOuterClass.TransactionInfo.Builder builderForValue)
The list of corresponding TransactionInfo objects.
repeated .types.TransactionInfo infos = 2;public Transaction.TransactionListWithProof.Builder addInfos(int index, TransactionInfoOuterClass.TransactionInfo.Builder builderForValue)
The list of corresponding TransactionInfo objects.
repeated .types.TransactionInfo infos = 2;public Transaction.TransactionListWithProof.Builder addAllInfos(Iterable<? extends TransactionInfoOuterClass.TransactionInfo> values)
The list of corresponding TransactionInfo objects.
repeated .types.TransactionInfo infos = 2;public Transaction.TransactionListWithProof.Builder clearInfos()
The list of corresponding TransactionInfo objects.
repeated .types.TransactionInfo infos = 2;public Transaction.TransactionListWithProof.Builder removeInfos(int index)
The list of corresponding TransactionInfo objects.
repeated .types.TransactionInfo infos = 2;public TransactionInfoOuterClass.TransactionInfo.Builder getInfosBuilder(int index)
The list of corresponding TransactionInfo objects.
repeated .types.TransactionInfo infos = 2;public TransactionInfoOuterClass.TransactionInfoOrBuilder getInfosOrBuilder(int index)
The list of corresponding TransactionInfo objects.
repeated .types.TransactionInfo infos = 2;getInfosOrBuilder in interface Transaction.TransactionListWithProofOrBuilderpublic List<? extends TransactionInfoOuterClass.TransactionInfoOrBuilder> getInfosOrBuilderList()
The list of corresponding TransactionInfo objects.
repeated .types.TransactionInfo infos = 2;getInfosOrBuilderList in interface Transaction.TransactionListWithProofOrBuilderpublic TransactionInfoOuterClass.TransactionInfo.Builder addInfosBuilder()
The list of corresponding TransactionInfo objects.
repeated .types.TransactionInfo infos = 2;public TransactionInfoOuterClass.TransactionInfo.Builder addInfosBuilder(int index)
The list of corresponding TransactionInfo objects.
repeated .types.TransactionInfo infos = 2;public List<TransactionInfoOuterClass.TransactionInfo.Builder> getInfosBuilderList()
The list of corresponding TransactionInfo objects.
repeated .types.TransactionInfo infos = 2;public boolean hasEventsForVersions()
The list of corresponding Event objects (only present if fetch_events was set to true in req)
.types.EventsForVersions events_for_versions = 3;hasEventsForVersions in interface Transaction.TransactionListWithProofOrBuilderpublic Events.EventsForVersions getEventsForVersions()
The list of corresponding Event objects (only present if fetch_events was set to true in req)
.types.EventsForVersions events_for_versions = 3;getEventsForVersions in interface Transaction.TransactionListWithProofOrBuilderpublic Transaction.TransactionListWithProof.Builder setEventsForVersions(Events.EventsForVersions value)
The list of corresponding Event objects (only present if fetch_events was set to true in req)
.types.EventsForVersions events_for_versions = 3;public Transaction.TransactionListWithProof.Builder setEventsForVersions(Events.EventsForVersions.Builder builderForValue)
The list of corresponding Event objects (only present if fetch_events was set to true in req)
.types.EventsForVersions events_for_versions = 3;public Transaction.TransactionListWithProof.Builder mergeEventsForVersions(Events.EventsForVersions value)
The list of corresponding Event objects (only present if fetch_events was set to true in req)
.types.EventsForVersions events_for_versions = 3;public Transaction.TransactionListWithProof.Builder clearEventsForVersions()
The list of corresponding Event objects (only present if fetch_events was set to true in req)
.types.EventsForVersions events_for_versions = 3;public Events.EventsForVersions.Builder getEventsForVersionsBuilder()
The list of corresponding Event objects (only present if fetch_events was set to true in req)
.types.EventsForVersions events_for_versions = 3;public Events.EventsForVersionsOrBuilder getEventsForVersionsOrBuilder()
The list of corresponding Event objects (only present if fetch_events was set to true in req)
.types.EventsForVersions events_for_versions = 3;getEventsForVersionsOrBuilder in interface Transaction.TransactionListWithProofOrBuilderpublic boolean hasFirstTransactionVersion()
If the list is not empty, the version of the first transaction.
.google.protobuf.UInt64Value first_transaction_version = 4;hasFirstTransactionVersion in interface Transaction.TransactionListWithProofOrBuilderpublic com.google.protobuf.UInt64Value getFirstTransactionVersion()
If the list is not empty, the version of the first transaction.
.google.protobuf.UInt64Value first_transaction_version = 4;getFirstTransactionVersion in interface Transaction.TransactionListWithProofOrBuilderpublic Transaction.TransactionListWithProof.Builder setFirstTransactionVersion(com.google.protobuf.UInt64Value value)
If the list is not empty, the version of the first transaction.
.google.protobuf.UInt64Value first_transaction_version = 4;public Transaction.TransactionListWithProof.Builder setFirstTransactionVersion(com.google.protobuf.UInt64Value.Builder builderForValue)
If the list is not empty, the version of the first transaction.
.google.protobuf.UInt64Value first_transaction_version = 4;public Transaction.TransactionListWithProof.Builder mergeFirstTransactionVersion(com.google.protobuf.UInt64Value value)
If the list is not empty, the version of the first transaction.
.google.protobuf.UInt64Value first_transaction_version = 4;public Transaction.TransactionListWithProof.Builder clearFirstTransactionVersion()
If the list is not empty, the version of the first transaction.
.google.protobuf.UInt64Value first_transaction_version = 4;public com.google.protobuf.UInt64Value.Builder getFirstTransactionVersionBuilder()
If the list is not empty, the version of the first transaction.
.google.protobuf.UInt64Value first_transaction_version = 4;public com.google.protobuf.UInt64ValueOrBuilder getFirstTransactionVersionOrBuilder()
If the list is not empty, the version of the first transaction.
.google.protobuf.UInt64Value first_transaction_version = 4;getFirstTransactionVersionOrBuilder in interface Transaction.TransactionListWithProofOrBuilderpublic boolean hasProofOfFirstTransaction()
The proofs of the first and last transaction in this chunk. When this is used for state synchronization, the validator who requests the transactions will provide a version in the request and the proofs will be relative to the given version. When this is returned in GetTransactionsResponse, the proofs will be relative to the ledger info returned in UpdateToLatestLedgerResponse.
.types.AccumulatorProof proof_of_first_transaction = 5;hasProofOfFirstTransaction in interface Transaction.TransactionListWithProofOrBuilderpublic Proof.AccumulatorProof getProofOfFirstTransaction()
The proofs of the first and last transaction in this chunk. When this is used for state synchronization, the validator who requests the transactions will provide a version in the request and the proofs will be relative to the given version. When this is returned in GetTransactionsResponse, the proofs will be relative to the ledger info returned in UpdateToLatestLedgerResponse.
.types.AccumulatorProof proof_of_first_transaction = 5;getProofOfFirstTransaction in interface Transaction.TransactionListWithProofOrBuilderpublic Transaction.TransactionListWithProof.Builder setProofOfFirstTransaction(Proof.AccumulatorProof value)
The proofs of the first and last transaction in this chunk. When this is used for state synchronization, the validator who requests the transactions will provide a version in the request and the proofs will be relative to the given version. When this is returned in GetTransactionsResponse, the proofs will be relative to the ledger info returned in UpdateToLatestLedgerResponse.
.types.AccumulatorProof proof_of_first_transaction = 5;public Transaction.TransactionListWithProof.Builder setProofOfFirstTransaction(Proof.AccumulatorProof.Builder builderForValue)
The proofs of the first and last transaction in this chunk. When this is used for state synchronization, the validator who requests the transactions will provide a version in the request and the proofs will be relative to the given version. When this is returned in GetTransactionsResponse, the proofs will be relative to the ledger info returned in UpdateToLatestLedgerResponse.
.types.AccumulatorProof proof_of_first_transaction = 5;public Transaction.TransactionListWithProof.Builder mergeProofOfFirstTransaction(Proof.AccumulatorProof value)
The proofs of the first and last transaction in this chunk. When this is used for state synchronization, the validator who requests the transactions will provide a version in the request and the proofs will be relative to the given version. When this is returned in GetTransactionsResponse, the proofs will be relative to the ledger info returned in UpdateToLatestLedgerResponse.
.types.AccumulatorProof proof_of_first_transaction = 5;public Transaction.TransactionListWithProof.Builder clearProofOfFirstTransaction()
The proofs of the first and last transaction in this chunk. When this is used for state synchronization, the validator who requests the transactions will provide a version in the request and the proofs will be relative to the given version. When this is returned in GetTransactionsResponse, the proofs will be relative to the ledger info returned in UpdateToLatestLedgerResponse.
.types.AccumulatorProof proof_of_first_transaction = 5;public Proof.AccumulatorProof.Builder getProofOfFirstTransactionBuilder()
The proofs of the first and last transaction in this chunk. When this is used for state synchronization, the validator who requests the transactions will provide a version in the request and the proofs will be relative to the given version. When this is returned in GetTransactionsResponse, the proofs will be relative to the ledger info returned in UpdateToLatestLedgerResponse.
.types.AccumulatorProof proof_of_first_transaction = 5;public Proof.AccumulatorProofOrBuilder getProofOfFirstTransactionOrBuilder()
The proofs of the first and last transaction in this chunk. When this is used for state synchronization, the validator who requests the transactions will provide a version in the request and the proofs will be relative to the given version. When this is returned in GetTransactionsResponse, the proofs will be relative to the ledger info returned in UpdateToLatestLedgerResponse.
.types.AccumulatorProof proof_of_first_transaction = 5;getProofOfFirstTransactionOrBuilder in interface Transaction.TransactionListWithProofOrBuilderpublic boolean hasProofOfLastTransaction()
.types.AccumulatorProof proof_of_last_transaction = 6;hasProofOfLastTransaction in interface Transaction.TransactionListWithProofOrBuilderpublic Proof.AccumulatorProof getProofOfLastTransaction()
.types.AccumulatorProof proof_of_last_transaction = 6;getProofOfLastTransaction in interface Transaction.TransactionListWithProofOrBuilderpublic Transaction.TransactionListWithProof.Builder setProofOfLastTransaction(Proof.AccumulatorProof value)
.types.AccumulatorProof proof_of_last_transaction = 6;public Transaction.TransactionListWithProof.Builder setProofOfLastTransaction(Proof.AccumulatorProof.Builder builderForValue)
.types.AccumulatorProof proof_of_last_transaction = 6;public Transaction.TransactionListWithProof.Builder mergeProofOfLastTransaction(Proof.AccumulatorProof value)
.types.AccumulatorProof proof_of_last_transaction = 6;public Transaction.TransactionListWithProof.Builder clearProofOfLastTransaction()
.types.AccumulatorProof proof_of_last_transaction = 6;public Proof.AccumulatorProof.Builder getProofOfLastTransactionBuilder()
.types.AccumulatorProof proof_of_last_transaction = 6;public Proof.AccumulatorProofOrBuilder getProofOfLastTransactionOrBuilder()
.types.AccumulatorProof proof_of_last_transaction = 6;getProofOfLastTransactionOrBuilder in interface Transaction.TransactionListWithProofOrBuilderpublic final Transaction.TransactionListWithProof.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.TransactionListWithProof.Builder>public final Transaction.TransactionListWithProof.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Transaction.TransactionListWithProof.Builder>Copyright © 2019. All rights reserved.