com.google.api.services.bigquery.model.JobStatus toPb() { com.google.api.services.bigquery.model.JobStatus statusPb = new com.google.api.services.bigquery.model.JobStatus(); if (state != null) { statusPb.setState(state.toString()); } if (error != null) { statusPb.setErrorResult(error.toPb()); } if (executionErrors != null) { statusPb.setErrors(Lists.transform(executionErrors, BigQueryError.TO_PB_FUNCTION)); } return statusPb; }
com.google.api.services.bigquery.model.JobStatus toPb() { com.google.api.services.bigquery.model.JobStatus statusPb = new com.google.api.services.bigquery.model.JobStatus(); if (state != null) { statusPb.setState(state.toString()); } if (error != null) { statusPb.setErrorResult(error.toPb()); } if (executionErrors != null) { statusPb.setErrors(Lists.transform(executionErrors, BigQueryError.TO_PB_FUNCTION)); } return statusPb; }
com.google.api.services.bigquery.model.JobStatus toPb() { com.google.api.services.bigquery.model.JobStatus statusPb = new com.google.api.services.bigquery.model.JobStatus(); if (state != null) { statusPb.setState(state.toString()); } if (error != null) { statusPb.setErrorResult(error.toPb()); } if (executionErrors != null) { statusPb.setErrors(Lists.transform(executionErrors, BigQueryError.TO_PB_FUNCTION)); } return statusPb; }
com.google.api.services.bigquery.model.JobStatus toPb() { com.google.api.services.bigquery.model.JobStatus statusPb = new com.google.api.services.bigquery.model.JobStatus(); if (state != null) { statusPb.setState(state.toString()); } if (error != null) { statusPb.setErrorResult(error.toPb()); } if (executionErrors != null) { statusPb.setErrors(Lists.transform(executionErrors, BigQueryError.TO_PB_FUNCTION)); } return statusPb; }