Interface QueryProto.GetBlockByHashResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
QueryProto.GetBlockByHashResponse, QueryProto.GetBlockByHashResponse.Builder
Enclosing class:
QueryProto

public static interface QueryProto.GetBlockByHashResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    区块信息
    区块信息
    boolean
    区块信息

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasBlock

      boolean hasBlock()
       区块信息
       
      .bdware.bdledger.api.Block block = 1;
      Returns:
      Whether the block field is set.
    • getBlock

      CommonProto.Block getBlock()
       区块信息
       
      .bdware.bdledger.api.Block block = 1;
      Returns:
      The block.
    • getBlockOrBuilder

      CommonProto.BlockOrBuilder getBlockOrBuilder()
       区块信息
       
      .bdware.bdledger.api.Block block = 1;