Interface Consensus.PrecommitOrBuilder

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

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

    Modifier and Type Method Description
    Types.Hash getBlockHash()
    .exonum.crypto.Hash block_hash = 5;
    Types.HashOrBuilder getBlockHashOrBuilder()
    .exonum.crypto.Hash block_hash = 5;
    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;
    com.google.protobuf.Timestamp getTime()
    .google.protobuf.Timestamp time = 6;
    com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()
    .google.protobuf.Timestamp time = 6;
    int getValidator()
    uint32 validator = 1;
    boolean hasBlockHash()
    .exonum.crypto.Hash block_hash = 5;
    boolean hasProposeHash()
    .exonum.crypto.Hash propose_hash = 4;
    boolean hasTime()
    .google.protobuf.Timestamp time = 6;

    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;
    • hasBlockHash

      boolean hasBlockHash()
      .exonum.crypto.Hash block_hash = 5;
      Returns:
      Whether the blockHash field is set.
    • getBlockHash

      Types.Hash getBlockHash()
      .exonum.crypto.Hash block_hash = 5;
      Returns:
      The blockHash.
    • getBlockHashOrBuilder

      Types.HashOrBuilder getBlockHashOrBuilder()
      .exonum.crypto.Hash block_hash = 5;
    • hasTime

      boolean hasTime()
      .google.protobuf.Timestamp time = 6;
      Returns:
      Whether the time field is set.
    • getTime

      com.google.protobuf.Timestamp getTime()
      .google.protobuf.Timestamp time = 6;
      Returns:
      The time.
    • getTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()
      .google.protobuf.Timestamp time = 6;