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

org.hyperledger.fabric.protos.common.BlockOrBuilder Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: common/common.proto
// Protobuf Java Version: 4.28.2

package org.hyperledger.fabric.protos.common;

public interface BlockOrBuilder extends
    // @@protoc_insertion_point(interface_extends:common.Block)
    com.google.protobuf.MessageOrBuilder {

  /**
   * .common.BlockHeader header = 1 [json_name = "header"];
   * @return Whether the header field is set.
   */
  boolean hasHeader();
  /**
   * .common.BlockHeader header = 1 [json_name = "header"];
   * @return The header.
   */
  org.hyperledger.fabric.protos.common.BlockHeader getHeader();
  /**
   * .common.BlockHeader header = 1 [json_name = "header"];
   */
  org.hyperledger.fabric.protos.common.BlockHeaderOrBuilder getHeaderOrBuilder();

  /**
   * .common.BlockData data = 2 [json_name = "data"];
   * @return Whether the data field is set.
   */
  boolean hasData();
  /**
   * .common.BlockData data = 2 [json_name = "data"];
   * @return The data.
   */
  org.hyperledger.fabric.protos.common.BlockData getData();
  /**
   * .common.BlockData data = 2 [json_name = "data"];
   */
  org.hyperledger.fabric.protos.common.BlockDataOrBuilder getDataOrBuilder();

  /**
   * .common.BlockMetadata metadata = 3 [json_name = "metadata"];
   * @return Whether the metadata field is set.
   */
  boolean hasMetadata();
  /**
   * .common.BlockMetadata metadata = 3 [json_name = "metadata"];
   * @return The metadata.
   */
  org.hyperledger.fabric.protos.common.BlockMetadata getMetadata();
  /**
   * .common.BlockMetadata metadata = 3 [json_name = "metadata"];
   */
  org.hyperledger.fabric.protos.common.BlockMetadataOrBuilder getMetadataOrBuilder();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy