Class JobStatus.State (2.27.0)

public static final class JobStatus.State extends StringEnumValue

Possible states that a BigQuery Job can assume.

Inheritance

java.lang.Object > com.google.cloud.StringEnumValue > JobStatus.State

Static Fields

DONE

public static final JobStatus.State DONE

The BigQuery Job has completed either succeeding or failing. If failed #getError() will be non-null.

Field Value
TypeDescription
JobStatus.State

PENDING

public static final JobStatus.State PENDING

The BigQuery Job is waiting to be executed.

Field Value
TypeDescription
JobStatus.State

RUNNING

public static final JobStatus.State RUNNING

The BigQuery Job is being executed.

Field Value
TypeDescription
JobStatus.State

Static Methods

valueOf(String constant)

public static JobStatus.State valueOf(String constant)

Get the State for the given String constant, and allow unrecognized values.

Parameter
NameDescription
constantString
Returns
TypeDescription
JobStatus.State

valueOfStrict(String constant)

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.

Parameter
NameDescription
constantString
Returns
TypeDescription
JobStatus.State

values()

public static JobStatus.State[] values()

Return the known values for State.

Returns
TypeDescription
State[]