public static ClientProtos.QueryMetrics toQueryMetrics(QueryMetrics metrics) {
    return ClientProtos.QueryMetrics.newBuilder()
      .setBlockBytesScanned(metrics.getBlockBytesScanned()).build();
  }
Convert {@link ClearSlowLogResponses} to boolean
@param clearSlowLogResponses Clear slowlog response protobuf instance
@return boolean representing clear slowlog response
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java