Package com.exonum.core.messages
Interface Consensus.BlockResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Consensus.BlockResponse
,Consensus.BlockResponse.Builder
- Enclosing class:
- Consensus
public static interface Consensus.BlockResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description Blockchain.Block
getBlock()
.exonum.Block block = 2;
Blockchain.BlockOrBuilder
getBlockOrBuilder()
.exonum.Block block = 2;
com.google.protobuf.ByteString
getPrecommits(int index)
repeated bytes precommits = 3;
int
getPrecommitsCount()
repeated bytes precommits = 3;
List<com.google.protobuf.ByteString>
getPrecommitsList()
repeated bytes precommits = 3;
Types.PublicKey
getTo()
.exonum.crypto.PublicKey to = 1;
Types.PublicKeyOrBuilder
getToOrBuilder()
.exonum.crypto.PublicKey to = 1;
Types.Hash
getTransactions(int index)
repeated .exonum.crypto.Hash transactions = 4;
int
getTransactionsCount()
repeated .exonum.crypto.Hash transactions = 4;
List<Types.Hash>
getTransactionsList()
repeated .exonum.crypto.Hash transactions = 4;
Types.HashOrBuilder
getTransactionsOrBuilder(int index)
repeated .exonum.crypto.Hash transactions = 4;
List<? extends Types.HashOrBuilder>
getTransactionsOrBuilderList()
repeated .exonum.crypto.Hash transactions = 4;
boolean
hasBlock()
.exonum.Block block = 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;
-
hasBlock
boolean hasBlock().exonum.Block block = 2;
- Returns:
- Whether the block field is set.
-
getBlock
Blockchain.Block getBlock().exonum.Block block = 2;
- Returns:
- The block.
-
getBlockOrBuilder
Blockchain.BlockOrBuilder getBlockOrBuilder().exonum.Block block = 2;
-
getPrecommitsList
List<com.google.protobuf.ByteString> getPrecommitsList()repeated bytes precommits = 3;
- Returns:
- A list containing the precommits.
-
getPrecommitsCount
int getPrecommitsCount()repeated bytes precommits = 3;
- Returns:
- The count of precommits.
-
getPrecommits
com.google.protobuf.ByteString getPrecommits(int index)repeated bytes precommits = 3;
- Parameters:
index
- The index of the element to return.- Returns:
- The precommits at the given index.
-
getTransactionsList
List<Types.Hash> getTransactionsList()repeated .exonum.crypto.Hash transactions = 4;
-
getTransactions
repeated .exonum.crypto.Hash transactions = 4;
-
getTransactionsCount
int getTransactionsCount()repeated .exonum.crypto.Hash transactions = 4;
-
getTransactionsOrBuilderList
List<? extends Types.HashOrBuilder> getTransactionsOrBuilderList()repeated .exonum.crypto.Hash transactions = 4;
-
getTransactionsOrBuilder
repeated .exonum.crypto.Hash transactions = 4;
-