All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hedera.hapi.block.protoc.StateSnapshotResponseOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.57.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: block_service.proto

package com.hedera.hapi.block.protoc;

public interface StateSnapshotResponseOrBuilder extends
    // @@protoc_insertion_point(interface_extends:com.hedera.hapi.block.StateSnapshotResponse)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   **
   * A status response.
   * <p>
   * This code SHALL indicate a successful call, or the detailed
   * reason for failure.
   * 
* * .com.hedera.hapi.block.StateSnapshotResponseCode status = 1; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** *
   **
   * A status response.
   * <p>
   * This code SHALL indicate a successful call, or the detailed
   * reason for failure.
   * 
* * .com.hedera.hapi.block.StateSnapshotResponseCode status = 1; * @return The status. */ com.hedera.hapi.block.protoc.StateSnapshotResponseCode getStatus(); /** *
   **
   * A block number.
   * <p>
   * This SHALL be the number of the last block included in this
   * state snapshot.
   * 
* * uint64 last_block_number = 2; * @return The lastBlockNumber. */ long getLastBlockNumber(); /** *
   **
   * A reference to where the requested state snapshot may be obtained.
   * <p>
   * <blockquote>REVIEW NOTE<blockquote>
   * This is TEMPORARY.  We have not yet designed how state snapshots may
   * be sent. One idea is to use `Any` and let implementations decide;
   * another is to use a time limited URL (with the same login as the block
   * node server); another is to use a customer-pays cloud storage bucket.
   * </blockquote></blockquote>
   * 
* * string snapshot_reference = 3; * @return The snapshotReference. */ java.lang.String getSnapshotReference(); /** *
   **
   * A reference to where the requested state snapshot may be obtained.
   * <p>
   * <blockquote>REVIEW NOTE<blockquote>
   * This is TEMPORARY.  We have not yet designed how state snapshots may
   * be sent. One idea is to use `Any` and let implementations decide;
   * another is to use a time limited URL (with the same login as the block
   * node server); another is to use a customer-pays cloud storage bucket.
   * </blockquote></blockquote>
   * 
* * string snapshot_reference = 3; * @return The bytes for snapshotReference. */ com.google.protobuf.ByteString getSnapshotReferenceBytes(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy