org.hyperledger.fabric.protos.common.BlockchainInfoOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: common/ledger.proto
// Protobuf Java Version: 4.28.2
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