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

com.hedera.hapi.block.protoc.SingleBlockResponseOrBuilder 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 SingleBlockResponseOrBuilder extends
    // @@protoc_insertion_point(interface_extends:com.hedera.hapi.block.SingleBlockResponse)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   **
   * A response status.
   * <p>
   * The reported status SHALL reflect the success of the request, or
   * a detailed reason the request failed.
   * 
* * .com.hedera.hapi.block.SingleBlockResponseCode status = 1; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** *
   **
   * A response status.
   * <p>
   * The reported status SHALL reflect the success of the request, or
   * a detailed reason the request failed.
   * 
* * .com.hedera.hapi.block.SingleBlockResponseCode status = 1; * @return The status. */ com.hedera.hapi.block.protoc.SingleBlockResponseCode getStatus(); /** *
   **
   * The requested block.
   * <p>
   * This container object SHALL hold the entire sequence of block items
   * for the requested block.<br/>
   * The block items in this message SHALL be in the same order
   * as received.<br/>
   * The items in this message SHALL begin with a `BlockHeader` and end with
   * a `BlockStateProof` applicable to this block.
   * 
* * .com.hedera.hapi.block.stream.Block block = 2; * @return Whether the block field is set. */ boolean hasBlock(); /** *
   **
   * The requested block.
   * <p>
   * This container object SHALL hold the entire sequence of block items
   * for the requested block.<br/>
   * The block items in this message SHALL be in the same order
   * as received.<br/>
   * The items in this message SHALL begin with a `BlockHeader` and end with
   * a `BlockStateProof` applicable to this block.
   * 
* * .com.hedera.hapi.block.stream.Block block = 2; * @return The block. */ com.hedera.hapi.block.stream.protoc.Block getBlock(); /** *
   **
   * The requested block.
   * <p>
   * This container object SHALL hold the entire sequence of block items
   * for the requested block.<br/>
   * The block items in this message SHALL be in the same order
   * as received.<br/>
   * The items in this message SHALL begin with a `BlockHeader` and end with
   * a `BlockStateProof` applicable to this block.
   * 
* * .com.hedera.hapi.block.stream.Block block = 2; */ com.hedera.hapi.block.stream.protoc.BlockOrBuilder getBlockOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy