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

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

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

package org.hyperledger.fabric.protos.common;

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

  /**
   * uint64 height = 1 [json_name = "height"];
   * @return The height.
   */
  long getHeight();

  /**
   * bytes currentBlockHash = 2 [json_name = "currentBlockHash"];
   * @return The currentBlockHash.
   */
  com.google.protobuf.ByteString getCurrentBlockHash();

  /**
   * bytes previousBlockHash = 3 [json_name = "previousBlockHash"];
   * @return The previousBlockHash.
   */
  com.google.protobuf.ByteString getPreviousBlockHash();

  /**
   * 
   * Specifies bootstrapping snapshot info if the channel is bootstrapped from a snapshot.
   * It is nil if the channel is not bootstrapped from a snapshot.
   * 
* * .common.BootstrappingSnapshotInfo bootstrappingSnapshotInfo = 4 [json_name = "bootstrappingSnapshotInfo"]; * @return Whether the bootstrappingSnapshotInfo field is set. */ boolean hasBootstrappingSnapshotInfo(); /** *
   * Specifies bootstrapping snapshot info if the channel is bootstrapped from a snapshot.
   * It is nil if the channel is not bootstrapped from a snapshot.
   * 
* * .common.BootstrappingSnapshotInfo bootstrappingSnapshotInfo = 4 [json_name = "bootstrappingSnapshotInfo"]; * @return The bootstrappingSnapshotInfo. */ org.hyperledger.fabric.protos.common.BootstrappingSnapshotInfo getBootstrappingSnapshotInfo(); /** *
   * Specifies bootstrapping snapshot info if the channel is bootstrapped from a snapshot.
   * It is nil if the channel is not bootstrapped from a snapshot.
   * 
* * .common.BootstrappingSnapshotInfo bootstrappingSnapshotInfo = 4 [json_name = "bootstrappingSnapshotInfo"]; */ org.hyperledger.fabric.protos.common.BootstrappingSnapshotInfoOrBuilder getBootstrappingSnapshotInfoOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy