public enum Job.State extends Enum<Job.State> implements ProtocolMessageEnum
State of the job.
Protobuf enum google.events.cloud.scheduler.v1.Job.State
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
DISABLED |
The job is disabled by the system due to error. The user cannot directly set a job to be disabled. |
DISABLED_VALUE |
The job is disabled by the system due to error. The user cannot directly set a job to be disabled. |
ENABLED |
The job is executing normally. |
ENABLED_VALUE |
The job is executing normally. |
PAUSED |
The job is paused by the user. It will not execute. A user can intentionally pause the job using PauseJobRequest. |
PAUSED_VALUE |
The job is paused by the user. It will not execute. A user can intentionally pause the job using PauseJobRequest. |
STATE_UNSPECIFIED |
Unspecified state. |
STATE_UNSPECIFIED_VALUE |
Unspecified state. |
UNRECOGNIZED |
|
UPDATE_FAILED |
The job state resulting from a failed CloudScheduler.UpdateJob operation. To recover a job from this state, retry CloudScheduler.UpdateJob until a successful response is received. |
UPDATE_FAILED_VALUE |
The job state resulting from a failed CloudScheduler.UpdateJob operation. To recover a job from this state, retry CloudScheduler.UpdateJob until a successful response is received. |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |