Interface Consensus.PrevoteOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Consensus.Prevote, Consensus.Prevote.Builder
Enclosing class:
Consensus

public static interface Consensus.PrevoteOrBuilder
extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type Method Description
    long getHeight()
    uint64 height = 2;
    int getLockedRound()
    uint32 locked_round = 5;
    Types.Hash getProposeHash()
    .exonum.crypto.Hash propose_hash = 4;
    Types.HashOrBuilder getProposeHashOrBuilder()
    .exonum.crypto.Hash propose_hash = 4;
    int getRound()
    uint32 round = 3;
    int getValidator()
    uint32 validator = 1;
    boolean hasProposeHash()
    .exonum.crypto.Hash propose_hash = 4;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    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.
    • 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;
    • getLockedRound

      int getLockedRound()
      uint32 locked_round = 5;
      Returns:
      The lockedRound.