com.hedera.hapi.block.protoc.SubscribeStreamResponseOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: block_service.proto
package com.hedera.hapi.block.protoc;
public interface SubscribeStreamResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.hedera.hapi.block.SubscribeStreamResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* A final response item describing the terminal status of this stream.
* <p>
* The block node server SHALL end the stream following this message.
*
*
* .com.hedera.hapi.block.SubscribeStreamResponseCode status = 1;
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
*
**
* A final response item describing the terminal status of this stream.
* <p>
* The block node server SHALL end the stream following this message.
*
*
* .com.hedera.hapi.block.SubscribeStreamResponseCode status = 1;
* @return The enum numeric value on the wire for status.
*/
int getStatusValue();
/**
*
**
* A final response item describing the terminal status of this stream.
* <p>
* The block node server SHALL end the stream following this message.
*
*
* .com.hedera.hapi.block.SubscribeStreamResponseCode status = 1;
* @return The status.
*/
com.hedera.hapi.block.protoc.SubscribeStreamResponseCode getStatus();
/**
*
**
* A stream response item containing one or more `BlockItem`s.
* <p>
* The full stream SHALL consist of many `block_items` messages
* followed by a single `status` message.
*
*
* .com.hedera.hapi.block.BlockItemSet block_items = 2;
* @return Whether the blockItems field is set.
*/
boolean hasBlockItems();
/**
*
**
* A stream response item containing one or more `BlockItem`s.
* <p>
* The full stream SHALL consist of many `block_items` messages
* followed by a single `status` message.
*
*
* .com.hedera.hapi.block.BlockItemSet block_items = 2;
* @return The blockItems.
*/
com.hedera.hapi.block.protoc.BlockItemSet getBlockItems();
/**
*
**
* A stream response item containing one or more `BlockItem`s.
* <p>
* The full stream SHALL consist of many `block_items` messages
* followed by a single `status` message.
*
*
* .com.hedera.hapi.block.BlockItemSet block_items = 2;
*/
com.hedera.hapi.block.protoc.BlockItemSetOrBuilder getBlockItemsOrBuilder();
public com.hedera.hapi.block.protoc.SubscribeStreamResponse.ResponseCase getResponseCase();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy