code: public static BlockInfo fromProto(alluxio.grpc.BlockInfo blockPInfo) {
      BlockInfo blockInfo = new BlockInfo();
      blockInfo.setBlockId(blockPInfo.getBlockId());
      blockInfo.setLength(blockPInfo.getLength());
      blockInfo.setLocations(map(GrpcUtils::fromProto, blockPInfo.getLocationsList()));
      return blockInfo;
    }
docs: Converts a proto type to a wire type.
  
  @param blockPInfo the proto type to convert
  @return the converted wire type