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

com.hedera.hapi.block.stream.protoc.BlockItemOrBuilder Maven / Gradle / Ivy

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

package com.hedera.hapi.block.stream.protoc;

public interface BlockItemOrBuilder extends
    // @@protoc_insertion_point(interface_extends:com.hedera.hapi.block.stream.BlockItem)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   **
   * An header for the block, marking the start of a new block.
   * 
* * .com.hedera.hapi.block.stream.output.BlockHeader block_header = 1; * @return Whether the blockHeader field is set. */ boolean hasBlockHeader(); /** *
   **
   * An header for the block, marking the start of a new block.
   * 
* * .com.hedera.hapi.block.stream.output.BlockHeader block_header = 1; * @return The blockHeader. */ com.hedera.hapi.block.stream.output.protoc.BlockHeader getBlockHeader(); /** *
   **
   * An header for the block, marking the start of a new block.
   * 
* * .com.hedera.hapi.block.stream.output.BlockHeader block_header = 1; */ com.hedera.hapi.block.stream.output.protoc.BlockHeaderOrBuilder getBlockHeaderOrBuilder(); /** *
   **
   * An header emitted at the start of a new network "event".
   * <p>
   * This item SHALL contain the properties relevant to a single
   * gossip event.
   * 
* * .com.hedera.hapi.block.stream.input.EventHeader event_header = 2; * @return Whether the eventHeader field is set. */ boolean hasEventHeader(); /** *
   **
   * An header emitted at the start of a new network "event".
   * <p>
   * This item SHALL contain the properties relevant to a single
   * gossip event.
   * 
* * .com.hedera.hapi.block.stream.input.EventHeader event_header = 2; * @return The eventHeader. */ com.hedera.hapi.block.stream.input.protoc.EventHeader getEventHeader(); /** *
   **
   * An header emitted at the start of a new network "event".
   * <p>
   * This item SHALL contain the properties relevant to a single
   * gossip event.
   * 
* * .com.hedera.hapi.block.stream.input.EventHeader event_header = 2; */ com.hedera.hapi.block.stream.input.protoc.EventHeaderOrBuilder getEventHeaderOrBuilder(); /** *
   **
   * An header emitted at the start of a new consensus "round".
   * <p>
   * This item SHALL contain the properties relevant to a single
   * consensus round.
   * 
* * .com.hedera.hapi.block.stream.input.RoundHeader round_header = 3; * @return Whether the roundHeader field is set. */ boolean hasRoundHeader(); /** *
   **
   * An header emitted at the start of a new consensus "round".
   * <p>
   * This item SHALL contain the properties relevant to a single
   * consensus round.
   * 
* * .com.hedera.hapi.block.stream.input.RoundHeader round_header = 3; * @return The roundHeader. */ com.hedera.hapi.block.stream.input.protoc.RoundHeader getRoundHeader(); /** *
   **
   * An header emitted at the start of a new consensus "round".
   * <p>
   * This item SHALL contain the properties relevant to a single
   * consensus round.
   * 
* * .com.hedera.hapi.block.stream.input.RoundHeader round_header = 3; */ com.hedera.hapi.block.stream.input.protoc.RoundHeaderOrBuilder getRoundHeaderOrBuilder(); /** *
   **
   * A single transaction.
   * <p>
   * This item SHALL contain the serialized bytes of a
   * single transaction.<br/>
   * Each event transaction SHALL be either a `SignedTransaction` or
   * an internal system-generated transaction.<br/>
   * This item MUST NOT contain data for more than one
   * `SignedTransaction` or system-generated transaction.
   * 
* * .com.hedera.hapi.platform.event.EventTransaction event_transaction = 4; * @return Whether the eventTransaction field is set. */ boolean hasEventTransaction(); /** *
   **
   * A single transaction.
   * <p>
   * This item SHALL contain the serialized bytes of a
   * single transaction.<br/>
   * Each event transaction SHALL be either a `SignedTransaction` or
   * an internal system-generated transaction.<br/>
   * This item MUST NOT contain data for more than one
   * `SignedTransaction` or system-generated transaction.
   * 
* * .com.hedera.hapi.platform.event.EventTransaction event_transaction = 4; * @return The eventTransaction. */ com.hedera.hapi.platform.event.legacy.EventTransaction getEventTransaction(); /** *
   **
   * A single transaction.
   * <p>
   * This item SHALL contain the serialized bytes of a
   * single transaction.<br/>
   * Each event transaction SHALL be either a `SignedTransaction` or
   * an internal system-generated transaction.<br/>
   * This item MUST NOT contain data for more than one
   * `SignedTransaction` or system-generated transaction.
   * 
* * .com.hedera.hapi.platform.event.EventTransaction event_transaction = 4; */ com.hedera.hapi.platform.event.legacy.EventTransactionOrBuilder getEventTransactionOrBuilder(); /** *
   **
   * The result of running a transaction.
   * <p>
   * This item SHALL be present immediately after an
   * `event_transaction` item.<br/>
   * This item MAY be redacted in some circumstances, and SHALL be
   * replaced with a `filtered_item` if removed.
   * 
* * .com.hedera.hapi.block.stream.output.TransactionResult transaction_result = 5; * @return Whether the transactionResult field is set. */ boolean hasTransactionResult(); /** *
   **
   * The result of running a transaction.
   * <p>
   * This item SHALL be present immediately after an
   * `event_transaction` item.<br/>
   * This item MAY be redacted in some circumstances, and SHALL be
   * replaced with a `filtered_item` if removed.
   * 
* * .com.hedera.hapi.block.stream.output.TransactionResult transaction_result = 5; * @return The transactionResult. */ com.hedera.hapi.block.stream.output.protoc.TransactionResult getTransactionResult(); /** *
   **
   * The result of running a transaction.
   * <p>
   * This item SHALL be present immediately after an
   * `event_transaction` item.<br/>
   * This item MAY be redacted in some circumstances, and SHALL be
   * replaced with a `filtered_item` if removed.
   * 
* * .com.hedera.hapi.block.stream.output.TransactionResult transaction_result = 5; */ com.hedera.hapi.block.stream.output.protoc.TransactionResultOrBuilder getTransactionResultOrBuilder(); /** *
   **
   * A transaction output.
   * <p>
   * This item MAY not be present if a transaction does not produce
   * an output.<br/>
   * If a transaction does produce an output that is not reflected
   * in state changes, then this item MUST be present after the
   * `transaction_result` for that transaction.
   * 
* * .com.hedera.hapi.block.stream.output.TransactionOutput transaction_output = 6; * @return Whether the transactionOutput field is set. */ boolean hasTransactionOutput(); /** *
   **
   * A transaction output.
   * <p>
   * This item MAY not be present if a transaction does not produce
   * an output.<br/>
   * If a transaction does produce an output that is not reflected
   * in state changes, then this item MUST be present after the
   * `transaction_result` for that transaction.
   * 
* * .com.hedera.hapi.block.stream.output.TransactionOutput transaction_output = 6; * @return The transactionOutput. */ com.hedera.hapi.block.stream.output.protoc.TransactionOutput getTransactionOutput(); /** *
   **
   * A transaction output.
   * <p>
   * This item MAY not be present if a transaction does not produce
   * an output.<br/>
   * If a transaction does produce an output that is not reflected
   * in state changes, then this item MUST be present after the
   * `transaction_result` for that transaction.
   * 
* * .com.hedera.hapi.block.stream.output.TransactionOutput transaction_output = 6; */ com.hedera.hapi.block.stream.output.protoc.TransactionOutputOrBuilder getTransactionOutputOrBuilder(); /** *
   **
   * A set of state changes.
   * <p>
   * All changes to values in network state SHALL be described by
   * stream items of this type.<br/>
   * The source of these state changes SHALL be described by the
   * `reason` enumeration.
   * 
* * .com.hedera.hapi.block.stream.output.StateChanges state_changes = 7; * @return Whether the stateChanges field is set. */ boolean hasStateChanges(); /** *
   **
   * A set of state changes.
   * <p>
   * All changes to values in network state SHALL be described by
   * stream items of this type.<br/>
   * The source of these state changes SHALL be described by the
   * `reason` enumeration.
   * 
* * .com.hedera.hapi.block.stream.output.StateChanges state_changes = 7; * @return The stateChanges. */ com.hedera.hapi.block.stream.output.protoc.StateChanges getStateChanges(); /** *
   **
   * A set of state changes.
   * <p>
   * All changes to values in network state SHALL be described by
   * stream items of this type.<br/>
   * The source of these state changes SHALL be described by the
   * `reason` enumeration.
   * 
* * .com.hedera.hapi.block.stream.output.StateChanges state_changes = 7; */ com.hedera.hapi.block.stream.output.protoc.StateChangesOrBuilder getStateChangesOrBuilder(); /** *
   **
   * Verification data for an item filtered from the stream.<br/>
   * This is a hash for a merkle tree node where the contents of that
   * part of the merkle tree have been removed from this stream.
   * <p>
   * Items of this type SHALL NOT be present in the full (unfiltered)
   * block stream.<br/>
   * Items of this type SHALL replace any item removed from a partial
   * (filtered) block stream.<br/>
   * Presence of `filtered_item` entries SHALL NOT prevent verification
   * of a block, but MAY preclude verification or reconstruction of
   * consensus state.<br/>
   * 
* * .com.hedera.hapi.block.stream.FilteredItemHash filtered_item_hash = 8; * @return Whether the filteredItemHash field is set. */ boolean hasFilteredItemHash(); /** *
   **
   * Verification data for an item filtered from the stream.<br/>
   * This is a hash for a merkle tree node where the contents of that
   * part of the merkle tree have been removed from this stream.
   * <p>
   * Items of this type SHALL NOT be present in the full (unfiltered)
   * block stream.<br/>
   * Items of this type SHALL replace any item removed from a partial
   * (filtered) block stream.<br/>
   * Presence of `filtered_item` entries SHALL NOT prevent verification
   * of a block, but MAY preclude verification or reconstruction of
   * consensus state.<br/>
   * 
* * .com.hedera.hapi.block.stream.FilteredItemHash filtered_item_hash = 8; * @return The filteredItemHash. */ com.hedera.hapi.block.stream.protoc.FilteredItemHash getFilteredItemHash(); /** *
   **
   * Verification data for an item filtered from the stream.<br/>
   * This is a hash for a merkle tree node where the contents of that
   * part of the merkle tree have been removed from this stream.
   * <p>
   * Items of this type SHALL NOT be present in the full (unfiltered)
   * block stream.<br/>
   * Items of this type SHALL replace any item removed from a partial
   * (filtered) block stream.<br/>
   * Presence of `filtered_item` entries SHALL NOT prevent verification
   * of a block, but MAY preclude verification or reconstruction of
   * consensus state.<br/>
   * 
* * .com.hedera.hapi.block.stream.FilteredItemHash filtered_item_hash = 8; */ com.hedera.hapi.block.stream.protoc.FilteredItemHashOrBuilder getFilteredItemHashOrBuilder(); /** *
   **
   * A signed block proof.<br/>
   * The signed merkle proof for this block. This will validate
   * a "virtual" merkle tree containing the previous block "virtual"
   * root, an "input" subtree, an "output" subtree, and
   * a "state changes" subtree.
   * <p>
   * This item is not part of the block stream hash chain/tree, and
   * MUST follow after the end of a block.
   * 
* * .com.hedera.hapi.block.stream.BlockProof block_proof = 9; * @return Whether the blockProof field is set. */ boolean hasBlockProof(); /** *
   **
   * A signed block proof.<br/>
   * The signed merkle proof for this block. This will validate
   * a "virtual" merkle tree containing the previous block "virtual"
   * root, an "input" subtree, an "output" subtree, and
   * a "state changes" subtree.
   * <p>
   * This item is not part of the block stream hash chain/tree, and
   * MUST follow after the end of a block.
   * 
* * .com.hedera.hapi.block.stream.BlockProof block_proof = 9; * @return The blockProof. */ com.hedera.hapi.block.stream.protoc.BlockProof getBlockProof(); /** *
   **
   * A signed block proof.<br/>
   * The signed merkle proof for this block. This will validate
   * a "virtual" merkle tree containing the previous block "virtual"
   * root, an "input" subtree, an "output" subtree, and
   * a "state changes" subtree.
   * <p>
   * This item is not part of the block stream hash chain/tree, and
   * MUST follow after the end of a block.
   * 
* * .com.hedera.hapi.block.stream.BlockProof block_proof = 9; */ com.hedera.hapi.block.stream.protoc.BlockProofOrBuilder getBlockProofOrBuilder(); /** *
   **
   * A record file and associated data.
   * <p>
   * This MUST contain a single Record file, associated Sidecar files,
   * and data from related Signature files.
   * If this item is present, special treatment is
   * REQUIRED for this block.
   * <ul>
   *   <li>The block SHALL NOT have a `BlockHeader`.</li>
   *   <li>The block SHALL NOT have a `BlockProof`.</li>
   *   <li>The block SHALL contain _exactly one_ `RecordFileItem`.</li>
   *   <li>The block SHALL NOT contain any item other than a
   *       `RecordFileItem`.</li>
   *   <li>The content of the `RecordFileItem` MUST be validated using
   *       the signature data and content provided within according to
   *       the process used for Record Files prior to the creation
   *       of Block Stream.</li>
   * </ul>
   * 
* * .com.hedera.hapi.block.stream.RecordFileItem record_file = 10; * @return Whether the recordFile field is set. */ boolean hasRecordFile(); /** *
   **
   * A record file and associated data.
   * <p>
   * This MUST contain a single Record file, associated Sidecar files,
   * and data from related Signature files.
   * If this item is present, special treatment is
   * REQUIRED for this block.
   * <ul>
   *   <li>The block SHALL NOT have a `BlockHeader`.</li>
   *   <li>The block SHALL NOT have a `BlockProof`.</li>
   *   <li>The block SHALL contain _exactly one_ `RecordFileItem`.</li>
   *   <li>The block SHALL NOT contain any item other than a
   *       `RecordFileItem`.</li>
   *   <li>The content of the `RecordFileItem` MUST be validated using
   *       the signature data and content provided within according to
   *       the process used for Record Files prior to the creation
   *       of Block Stream.</li>
   * </ul>
   * 
* * .com.hedera.hapi.block.stream.RecordFileItem record_file = 10; * @return The recordFile. */ com.hedera.hapi.block.stream.protoc.RecordFileItem getRecordFile(); /** *
   **
   * A record file and associated data.
   * <p>
   * This MUST contain a single Record file, associated Sidecar files,
   * and data from related Signature files.
   * If this item is present, special treatment is
   * REQUIRED for this block.
   * <ul>
   *   <li>The block SHALL NOT have a `BlockHeader`.</li>
   *   <li>The block SHALL NOT have a `BlockProof`.</li>
   *   <li>The block SHALL contain _exactly one_ `RecordFileItem`.</li>
   *   <li>The block SHALL NOT contain any item other than a
   *       `RecordFileItem`.</li>
   *   <li>The content of the `RecordFileItem` MUST be validated using
   *       the signature data and content provided within according to
   *       the process used for Record Files prior to the creation
   *       of Block Stream.</li>
   * </ul>
   * 
* * .com.hedera.hapi.block.stream.RecordFileItem record_file = 10; */ com.hedera.hapi.block.stream.protoc.RecordFileItemOrBuilder getRecordFileOrBuilder(); public com.hedera.hapi.block.stream.protoc.BlockItem.ItemCase getItemCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy