Package com.exonum.core.messages
Interface Consensus.BlockRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Consensus.BlockRequest,Consensus.BlockRequest.Builder
- Enclosing class:
- Consensus
public static interface Consensus.BlockRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description longgetHeight()uint64 height = 2;Types.PublicKeygetTo().exonum.crypto.PublicKey to = 1;Types.PublicKeyOrBuildergetToOrBuilder().exonum.crypto.PublicKey to = 1;booleanhasTo().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; -
getHeight
long getHeight()uint64 height = 2;- Returns:
- The height.
-