Interface Consensus.StatusOrBuilder

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

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

    Modifier and Type Method Description
    long getHeight()
    uint64 height = 1;
    Types.Hash getLastHash()
    .exonum.crypto.Hash last_hash = 2;
    Types.HashOrBuilder getLastHashOrBuilder()
    .exonum.crypto.Hash last_hash = 2;
    long getPoolSize()
    uint64 pool_size = 3;
    boolean hasLastHash()
    .exonum.crypto.Hash last_hash = 2;

    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

    • getHeight

      long getHeight()
      uint64 height = 1;
      Returns:
      The height.
    • hasLastHash

      boolean hasLastHash()
      .exonum.crypto.Hash last_hash = 2;
      Returns:
      Whether the lastHash field is set.
    • getLastHash

      Types.Hash getLastHash()
      .exonum.crypto.Hash last_hash = 2;
      Returns:
      The lastHash.
    • getLastHashOrBuilder

      Types.HashOrBuilder getLastHashOrBuilder()
      .exonum.crypto.Hash last_hash = 2;
    • getPoolSize

      long getPoolSize()
      uint64 pool_size = 3;
      Returns:
      The poolSize.