for (String kind : exporterConfig.getEntityKindsToExport()) {
String gsUrl = convertHandleToUrl(gsHandleOfBackup, kind);
log.warning("gsUrl: " + gsUrl);
Job job = new Job();
JobConfiguration config = new JobConfiguration();
JobConfigurationLoad loadConfig = new JobConfigurationLoad();
loadConfig.setSourceUris(Arrays.asList(gsUrl));
loadConfig.set("sourceFormat", "DATASTORE_BACKUP");
loadConfig.set("allowQuotedNewlines", true);
TableReference table = new TableReference();
table.setProjectId(exporterConfig.getBigqueryProjectId());
table.setDatasetId(exporterConfig.getBigqueryDatasetId());
table.setTableId(kind + datatableSuffix);
loadConfig.setDestinationTable(table);
config.setLoad(loadConfig);
job.setConfiguration(config);
Insert insert = bigquery.jobs().insert(exporterConfig.getBigqueryProjectId(), job);
JobReference jr = insert.execute().getJobReference();
log.warning("Uri: " + gsUrl + ", JobId: " + jr.getJobId());