Enum Job.State (2.32.0)

public enum Job.State extends Enum<Job.State> implements ProtocolMessageEnum

State of the job.

Protobuf enum google.cloud.scheduler.v1.Job.State

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DISABLED

The job is disabled by the system due to error. The user cannot directly set a job to be disabled.

DISABLED = 3;

DISABLED_VALUE

The job is disabled by the system due to error. The user cannot directly set a job to be disabled.

DISABLED = 3;

ENABLED

The job is executing normally.

ENABLED = 1;

ENABLED_VALUE

The job is executing normally.

ENABLED = 1;

PAUSED

The job is paused by the user. It will not execute. A user can intentionally pause the job using PauseJobRequest.

PAUSED = 2;

PAUSED_VALUE

The job is paused by the user. It will not execute. A user can intentionally pause the job using PauseJobRequest.

PAUSED = 2;

STATE_UNSPECIFIED

Unspecified state.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Unspecified state.

STATE_UNSPECIFIED = 0;

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 = 4;

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.

UPDATE_FAILED = 4;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()