This repository was archived by the owner on Mar 23, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
google-cloud-bigquery/src/main/java/com/google/cloud/bigquery Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818
1919import static com .google .common .base .Preconditions .checkNotNull ;
2020
21- import com .google .api .services .bigquery .model .ErrorProto ;
22- import com .google .api .services .bigquery .model .Job ;
2321import com .google .api .gax .retrying .ResultRetryAlgorithm ;
2422import com .google .api .gax .retrying .ResultRetryAlgorithmWithContext ;
2523import com .google .api .gax .retrying .RetryAlgorithm ;
2624import com .google .api .gax .retrying .RetryingContext ;
2725import com .google .api .gax .retrying .TimedAttemptSettings ;
2826import com .google .api .gax .retrying .TimedRetryAlgorithm ;
2927import com .google .api .gax .retrying .TimedRetryAlgorithmWithContext ;
30- import com .google .gson . JsonObject ;
31- import com .google .gson . JsonParser ;
28+ import com .google .api . services . bigquery . model . ErrorProto ;
29+ import com .google .api . services . bigquery . model . Job ;
3230import java .time .Duration ;
3331import java .util .Iterator ;
3432import java .util .UUID ;
@@ -225,7 +223,7 @@ private String getErrorDescFromResponse(ResponseT previousResponse) {
225223 known case where a response with status code 200 may contain an error message
226224 */
227225 if (previousResponse instanceof Job ) {
228- Job job = (Job )previousResponse ;
226+ Job job = (Job ) previousResponse ;
229227 ErrorProto error = job .getStatus () != null ? job .getStatus ().getErrorResult () : null ;
230228 return error != null ? error .getMessage () : null ;
231229 }
You can’t perform that action at this time.
0 commit comments