target.apidocs.com.google.api.services.bigquery.model.JobStatus.html Maven / Gradle / Ivy
JobStatus (BigQuery API v2-rev20190423-1.28.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] Final error result of the job.
List<ErrorProto>
getErrors()
[Output-only] The first errors encountered during the running of the job.
String
getState()
[Output-only] Running state of the job.
JobStatus
set(String fieldName,
Object value)
JobStatus
setErrorResult(ErrorProto errorResult)
[Output-only] Final error result of the job.
JobStatus
setErrors(List<ErrorProto> errors)
[Output-only] The first errors encountered during the running of the job.
JobStatus
setState(String state)
[Output-only] Running state of the job.
-
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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, 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 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 completed or was unsuccessful.
- Parameters:
errors
- errors or null
for none
-
getState
public String getState()
[Output-only] Running state of the job.
- Returns:
- value or
null
for none
-
setState
public JobStatus setState(String state)
[Output-only] Running state of the job.
- 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–2019 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy