code: public static alluxio.grpc.FileBlockInfo toProto(FileBlockInfo fileBlockInfo) {
      List<alluxio.grpc.WorkerNetAddress> ufsLocations = new ArrayList<>();
      for (String ufsLocation : fileBlockInfo.getUfsLocations()) {
        HostAndPort address = HostAndPort.fromString(ufsLocation);
        ufsLocations.add(alluxio.grpc.WorkerNetAddress.newBuilder().setHost(address.getHost())
            .setDataPort(address.getPortOrDefault(-1)).build());
      }
      return alluxio.grpc.FileBlockInfo.newBuilder()
          .setBlockInfo(toProto(fileBlockInfo.getBlockInfo())).setOffset(fileBlockInfo.getOffset())
          .addAllUfsLocations(ufsLocations).addAllUfsStringLocations(fileBlockInfo.getUfsLocations())
          .build();
    }
docs: Converts wire type to proto type.
  
  @param fileBlockInfo the wire representation to convert
  @return converted proto representation