com.hedera.hapi.block.protoc.StateSnapshotRequestOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: block_service.proto
package com.hedera.hapi.block.protoc;
public interface StateSnapshotRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.hedera.hapi.block.StateSnapshotRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* A block number.
* <p>
* This SHALL be the last block number present in the snapshot
* returned.<br/>
* If `retrieve_latest` is set `true` this field SHOULD NOT be set
* and SHALL be ignored.<br/>
* A block node implementation MAY reject any request with a non-default
* value for this field, but MUST clearly document that behavior.
*
*
* uint64 last_block_number = 2;
* @return The lastBlockNumber.
*/
long getLastBlockNumber();
/**
*
**
* A boolean to request the latest available snapshot.
* <p>
* This value MAY be set `true` to request the most recent state snapshot
* available.<br/>
* If this value is set to `true` then `last_block_number` SHOULD NOT be
* set and SHALL be ignored.<br/>
* A block node implementation MAY reject any request with that does _not_
* set this field `true`, but MUST clearly document that behavior.
*
*
* bool retrieve_latest = 3;
* @return The retrieveLatest.
*/
boolean getRetrieveLatest();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy