Package com.exonum.core.messages
Interface Consensus.PrevotesRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Consensus.PrevotesRequest,Consensus.PrevotesRequest.Builder
- Enclosing class:
- Consensus
public static interface Consensus.PrevotesRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description longgetHeight()uint64 height = 2;Types.HashgetProposeHash().exonum.crypto.Hash propose_hash = 4;Types.HashOrBuildergetProposeHashOrBuilder().exonum.crypto.Hash propose_hash = 4;intgetRound()uint32 round = 3;Types.PublicKeygetTo().exonum.crypto.PublicKey to = 1;Types.PublicKeyOrBuildergetToOrBuilder().exonum.crypto.PublicKey to = 1;Common.BitVecgetValidators().exonum.common.BitVec validators = 5;Common.BitVecOrBuildergetValidatorsOrBuilder().exonum.common.BitVec validators = 5;booleanhasProposeHash().exonum.crypto.Hash propose_hash = 4;booleanhasTo().exonum.crypto.PublicKey to = 1;booleanhasValidators().exonum.common.BitVec validators = 5;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; -
getHeight
long getHeight()uint64 height = 2;- Returns:
- The height.
-
getRound
int getRound()uint32 round = 3;- Returns:
- The round.
-
hasProposeHash
boolean hasProposeHash().exonum.crypto.Hash propose_hash = 4;- Returns:
- Whether the proposeHash field is set.
-
getProposeHash
Types.Hash getProposeHash().exonum.crypto.Hash propose_hash = 4;- Returns:
- The proposeHash.
-
getProposeHashOrBuilder
Types.HashOrBuilder getProposeHashOrBuilder().exonum.crypto.Hash propose_hash = 4; -
hasValidators
boolean hasValidators().exonum.common.BitVec validators = 5;- Returns:
- Whether the validators field is set.
-
getValidators
Common.BitVec getValidators().exonum.common.BitVec validators = 5;- Returns:
- The validators.
-
getValidatorsOrBuilder
Common.BitVecOrBuilder getValidatorsOrBuilder().exonum.common.BitVec validators = 5;
-