.setCompleted(results.getJobComplete()) .setSchema(schemaPb == null ? null : Schema.fromPb(schemaPb)) .setTotalRows(results.getTotalRows() == null ? 0 : results.getTotalRows().longValue()) .setErrors(errors.build()) .build();
.setCompleted(results.getJobComplete()) .setSchema(schemaPb == null ? null : Schema.fromPb(schemaPb)) .setTotalRows(results.getTotalRows() == null ? 0 : results.getTotalRows().longValue()) .setErrors(errors.build()) .build();
resultBuilder.schema(Schema.fromPb(results.getSchema())); if (results.getTotalRows() != null) { resultBuilder.totalRows(results.getTotalRows().longValue());
resultBuilder.schema(Schema.fromPb(results.getSchema())); if (results.getTotalRows() != null) { resultBuilder.totalRows(results.getTotalRows().longValue());