Package com.google.cloud.bigquery
Class JobStatus.State
- java.lang.Object
-
- com.google.cloud.StringEnumValue
-
- com.google.cloud.bigquery.JobStatus.State
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- JobStatus
public static final class JobStatus.State extends com.google.cloud.StringEnumValue
Possible states that a BigQuery Job can assume.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static JobStatus.State
DONE
The BigQuery Job has completed either succeeding or failing.static JobStatus.State
PENDING
The BigQuery Job is waiting to be executed.static JobStatus.State
RUNNING
The BigQuery Job is being executed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JobStatus.State
valueOf(String constant)
Get the State for the given String constant, and allow unrecognized values.static JobStatus.State
valueOfStrict(String constant)
Get the State for the given String constant, and throw an exception if the constant is not recognized.static JobStatus.State[]
values()
Return the known values for State.
-
-
-
Field Detail
-
PENDING
public static final JobStatus.State PENDING
The BigQuery Job is waiting to be executed.
-
RUNNING
public static final JobStatus.State RUNNING
The BigQuery Job is being executed.
-
DONE
public static final JobStatus.State DONE
The BigQuery Job has completed either succeeding or failing. If failedJobStatus.getError()
will be non-null.
-
-
Method Detail
-
valueOfStrict
public static JobStatus.State valueOfStrict(String constant)
Get the State for the given String constant, and throw an exception if the constant is not recognized.
-
valueOf
public static JobStatus.State valueOf(String constant)
Get the State for the given String constant, and allow unrecognized values.
-
values
public static JobStatus.State[] values()
Return the known values for State.
-
-