com.hedera.hapi.block.protoc.ServerStatusResponseOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: block_service.proto
package com.hedera.hapi.block.protoc;
public interface ServerStatusResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.hedera.hapi.block.ServerStatusResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* The lowest numbered block available on this block node server.
* <p>
* Any request for a block with lower number than this value SHALL fail
* with a status value indicating and invalid start block number.
*
*
* uint64 first_available_block = 1;
* @return The firstAvailableBlock.
*/
long getFirstAvailableBlock();
/**
*
**
* The greatest block number available from this block node server.
* <p>
* Any request for a block with a block number higher than this
* value MAY fail.
*
*
* uint64 last_available_block = 2;
* @return The lastAvailableBlock.
*/
long getLastAvailableBlock();
/**
*
**
* A flag indicating this block node only offers the latest state snapshot.
* <p>
* If this value is `true` the client MUST set `retrieve_latest` `true`
* in any `StateSnapshotRequest` sent to this block node.
*
*
* bool only_latest_state = 3;
* @return The onlyLatestState.
*/
boolean getOnlyLatestState();
/**
*
**
* Version information.<br/>
* Versions for the block network address book, block stream protocol
* buffer schema, and block node software.
*
*
* .com.hedera.hapi.block.BlockNodeVersions version_information = 4;
* @return Whether the versionInformation field is set.
*/
boolean hasVersionInformation();
/**
*
**
* Version information.<br/>
* Versions for the block network address book, block stream protocol
* buffer schema, and block node software.
*
*
* .com.hedera.hapi.block.BlockNodeVersions version_information = 4;
* @return The versionInformation.
*/
com.hedera.hapi.block.protoc.BlockNodeVersions getVersionInformation();
/**
*
**
* Version information.<br/>
* Versions for the block network address book, block stream protocol
* buffer schema, and block node software.
*
*
* .com.hedera.hapi.block.BlockNodeVersions version_information = 4;
*/
com.hedera.hapi.block.protoc.BlockNodeVersionsOrBuilder getVersionInformationOrBuilder();
}