Enum Job.State (2.7.0)

publicenumJob.StateextendsEnum<Job.State>implementsProtocolMessageEnum

State of the job.

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

Implements

ProtocolMessageEnum

Static 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 = 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

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()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.