Package com.exonum.core.messages
Interface Consensus.ProposeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Consensus.Propose,Consensus.Propose.Builder
- Enclosing class:
- Consensus
public static interface Consensus.ProposeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description longgetHeight()uint64 height = 2;Types.HashgetPrevHash().exonum.crypto.Hash prev_hash = 4;Types.HashOrBuildergetPrevHashOrBuilder().exonum.crypto.Hash prev_hash = 4;intgetRound()uint32 round = 3;Types.HashgetTransactions(int index)repeated .exonum.crypto.Hash transactions = 5;intgetTransactionsCount()repeated .exonum.crypto.Hash transactions = 5;List<Types.Hash>getTransactionsList()repeated .exonum.crypto.Hash transactions = 5;Types.HashOrBuildergetTransactionsOrBuilder(int index)repeated .exonum.crypto.Hash transactions = 5;List<? extends Types.HashOrBuilder>getTransactionsOrBuilderList()repeated .exonum.crypto.Hash transactions = 5;intgetValidator()uint32 validator = 1;booleanhasPrevHash().exonum.crypto.Hash prev_hash = 4;Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getValidator
int getValidator()uint32 validator = 1;- Returns:
- The validator.
-
getHeight
long getHeight()uint64 height = 2;- Returns:
- The height.
-
getRound
int getRound()uint32 round = 3;- Returns:
- The round.
-
hasPrevHash
boolean hasPrevHash().exonum.crypto.Hash prev_hash = 4;- Returns:
- Whether the prevHash field is set.
-
getPrevHash
Types.Hash getPrevHash().exonum.crypto.Hash prev_hash = 4;- Returns:
- The prevHash.
-
getPrevHashOrBuilder
Types.HashOrBuilder getPrevHashOrBuilder().exonum.crypto.Hash prev_hash = 4; -
getTransactionsList
List<Types.Hash> getTransactionsList()repeated .exonum.crypto.Hash transactions = 5; -
getTransactions
repeated .exonum.crypto.Hash transactions = 5; -
getTransactionsCount
int getTransactionsCount()repeated .exonum.crypto.Hash transactions = 5; -
getTransactionsOrBuilderList
List<? extends Types.HashOrBuilder> getTransactionsOrBuilderList()repeated .exonum.crypto.Hash transactions = 5; -
getTransactionsOrBuilder
repeated .exonum.crypto.Hash transactions = 5;
-