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 long
getHeight()
uint64 height = 2;
Types.Hash
getPrevHash()
.exonum.crypto.Hash prev_hash = 4;
Types.HashOrBuilder
getPrevHashOrBuilder()
.exonum.crypto.Hash prev_hash = 4;
int
getRound()
uint32 round = 3;
Types.Hash
getTransactions(int index)
repeated .exonum.crypto.Hash transactions = 5;
int
getTransactionsCount()
repeated .exonum.crypto.Hash transactions = 5;
List<Types.Hash>
getTransactionsList()
repeated .exonum.crypto.Hash transactions = 5;
Types.HashOrBuilder
getTransactionsOrBuilder(int index)
repeated .exonum.crypto.Hash transactions = 5;
List<? extends Types.HashOrBuilder>
getTransactionsOrBuilderList()
repeated .exonum.crypto.Hash transactions = 5;
int
getValidator()
uint32 validator = 1;
boolean
hasPrevHash()
.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;
-