Package com.exonum.core.messages
Interface Consensus.TransactionsResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Consensus.TransactionsResponse
,Consensus.TransactionsResponse.Builder
- Enclosing class:
- Consensus
public static interface Consensus.TransactionsResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description Types.PublicKey
getTo()
.exonum.crypto.PublicKey to = 1;
Types.PublicKeyOrBuilder
getToOrBuilder()
.exonum.crypto.PublicKey to = 1;
com.google.protobuf.ByteString
getTransactions(int index)
repeated bytes transactions = 2;
int
getTransactionsCount()
repeated bytes transactions = 2;
List<com.google.protobuf.ByteString>
getTransactionsList()
repeated bytes transactions = 2;
boolean
hasTo()
.exonum.crypto.PublicKey to = 1;
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTo
boolean hasTo().exonum.crypto.PublicKey to = 1;
- Returns:
- Whether the to field is set.
-
getTo
Types.PublicKey getTo().exonum.crypto.PublicKey to = 1;
- Returns:
- The to.
-
getToOrBuilder
Types.PublicKeyOrBuilder getToOrBuilder().exonum.crypto.PublicKey to = 1;
-
getTransactionsList
List<com.google.protobuf.ByteString> getTransactionsList()repeated bytes transactions = 2;
- Returns:
- A list containing the transactions.
-
getTransactionsCount
int getTransactionsCount()repeated bytes transactions = 2;
- Returns:
- The count of transactions.
-
getTransactions
com.google.protobuf.ByteString getTransactions(int index)repeated bytes transactions = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The transactions at the given index.
-