org.hyperledger.fabric.protos.common.BlockchainInfoOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fabric-protos Show documentation
Show all versions of fabric-protos Show documentation
PROTO library for fabric-protos
// 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();
}