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 long
getHeight()
uint64 height = 2;
Types.Hash
getProposeHash()
.exonum.crypto.Hash propose_hash = 4;
Types.HashOrBuilder
getProposeHashOrBuilder()
.exonum.crypto.Hash propose_hash = 4;
int
getRound()
uint32 round = 3;
Types.PublicKey
getTo()
.exonum.crypto.PublicKey to = 1;
Types.PublicKeyOrBuilder
getToOrBuilder()
.exonum.crypto.PublicKey to = 1;
Common.BitVec
getValidators()
.exonum.common.BitVec validators = 5;
Common.BitVecOrBuilder
getValidatorsOrBuilder()
.exonum.common.BitVec validators = 5;
boolean
hasProposeHash()
.exonum.crypto.Hash propose_hash = 4;
boolean
hasTo()
.exonum.crypto.PublicKey to = 1;
boolean
hasValidators()
.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;
-