target.apidocs.com.google.api.services.bigquery.model.JobStatus.html Maven / Gradle / Ivy
JobStatus (BigQuery API v2-rev20240616-2.0.0)
com.google.api.services.bigquery.model
Class JobStatus
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.bigquery.model.JobStatus
-
public final class JobStatus
extends com.google.api.client.json.GenericJson
Model definition for JobStatus.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the BigQuery API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
JobStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
JobStatus
clone()
ErrorProto
getErrorResult()
Output only.
List<ErrorProto>
getErrors()
Output only.
String
getState()
Output only.
JobStatus
set(String fieldName,
Object value)
JobStatus
setErrorResult(ErrorProto errorResult)
Output only.
JobStatus
setErrors(List<ErrorProto> errors)
Output only.
JobStatus
setState(String state)
Output only.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getErrorResult
public ErrorProto getErrorResult()
Output only. Final error result of the job. If present, indicates that the job has completed
and was unsuccessful.
- Returns:
- value or
null
for none
-
setErrorResult
public JobStatus setErrorResult(ErrorProto errorResult)
Output only. Final error result of the job. If present, indicates that the job has completed
and was unsuccessful.
- Parameters:
errorResult
- errorResult or null
for none
-
getErrors
public List<ErrorProto> getErrors()
Output only. The first errors encountered during the running of the job. The final message
includes the number of errors that caused the process to stop. Errors here do not necessarily
mean that the job has not completed or was unsuccessful.
- Returns:
- value or
null
for none
-
setErrors
public JobStatus setErrors(List<ErrorProto> errors)
Output only. The first errors encountered during the running of the job. The final message
includes the number of errors that caused the process to stop. Errors here do not necessarily
mean that the job has not completed or was unsuccessful.
- Parameters:
errors
- errors or null
for none
-
getState
public String getState()
Output only. Running state of the job. Valid states include 'PENDING', 'RUNNING', and 'DONE'.
- Returns:
- value or
null
for none
-
setState
public JobStatus setState(String state)
Output only. Running state of the job. Valid states include 'PENDING', 'RUNNING', and 'DONE'.
- Parameters:
state
- state or null
for none
-
set
public JobStatus set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public JobStatus clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.