public enum JobState extends Enum<JobState> implements com.google.protobuf.ProtocolMessageEnum
Describes the state of a job.Protobuf enum
google.cloud.aiplatform.v1.JobState| Enum Constant and Description |
|---|
JOB_STATE_CANCELLED
The job has been cancelled.
|
JOB_STATE_CANCELLING
The job is being cancelled.
|
JOB_STATE_EXPIRED
The job has expired.
|
JOB_STATE_FAILED
The job failed.
|
JOB_STATE_PARTIALLY_SUCCEEDED
The job is partially succeeded, some results may be missing due to errors.
|
JOB_STATE_PAUSED
The job has been stopped, and can be resumed.
|
JOB_STATE_PENDING
The service is preparing to run the job.
|
JOB_STATE_QUEUED
The job has been just created or resumed and processing has not yet begun.
|
JOB_STATE_RUNNING
The job is in progress.
|
JOB_STATE_SUCCEEDED
The job completed successfully.
|
JOB_STATE_UNSPECIFIED
The job state is unspecified.
|
JOB_STATE_UPDATING
The job is being updated.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
JOB_STATE_CANCELLED_VALUE
The job has been cancelled.
|
static int |
JOB_STATE_CANCELLING_VALUE
The job is being cancelled.
|
static int |
JOB_STATE_EXPIRED_VALUE
The job has expired.
|
static int |
JOB_STATE_FAILED_VALUE
The job failed.
|
static int |
JOB_STATE_PARTIALLY_SUCCEEDED_VALUE
The job is partially succeeded, some results may be missing due to errors.
|
static int |
JOB_STATE_PAUSED_VALUE
The job has been stopped, and can be resumed.
|
static int |
JOB_STATE_PENDING_VALUE
The service is preparing to run the job.
|
static int |
JOB_STATE_QUEUED_VALUE
The job has been just created or resumed and processing has not yet begun.
|
static int |
JOB_STATE_RUNNING_VALUE
The job is in progress.
|
static int |
JOB_STATE_SUCCEEDED_VALUE
The job completed successfully.
|
static int |
JOB_STATE_UNSPECIFIED_VALUE
The job state is unspecified.
|
static int |
JOB_STATE_UPDATING_VALUE
The job is being updated.
|
| Modifier and Type | Method and Description |
|---|---|
static JobState |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<JobState> |
internalGetValueMap() |
static JobState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static JobState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static JobState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobState JOB_STATE_UNSPECIFIED
The job state is unspecified.
JOB_STATE_UNSPECIFIED = 0;public static final JobState JOB_STATE_QUEUED
The job has been just created or resumed and processing has not yet begun.
JOB_STATE_QUEUED = 1;public static final JobState JOB_STATE_PENDING
The service is preparing to run the job.
JOB_STATE_PENDING = 2;public static final JobState JOB_STATE_RUNNING
The job is in progress.
JOB_STATE_RUNNING = 3;public static final JobState JOB_STATE_SUCCEEDED
The job completed successfully.
JOB_STATE_SUCCEEDED = 4;public static final JobState JOB_STATE_FAILED
The job failed.
JOB_STATE_FAILED = 5;public static final JobState JOB_STATE_CANCELLING
The job is being cancelled. From this state the job may only go to either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.
JOB_STATE_CANCELLING = 6;public static final JobState JOB_STATE_CANCELLED
The job has been cancelled.
JOB_STATE_CANCELLED = 7;public static final JobState JOB_STATE_PAUSED
The job has been stopped, and can be resumed.
JOB_STATE_PAUSED = 8;public static final JobState JOB_STATE_EXPIRED
The job has expired.
JOB_STATE_EXPIRED = 9;public static final JobState JOB_STATE_UPDATING
The job is being updated. Only jobs in the `RUNNING` state can be updated. After updating, the job goes back to the `RUNNING` state.
JOB_STATE_UPDATING = 10;public static final JobState JOB_STATE_PARTIALLY_SUCCEEDED
The job is partially succeeded, some results may be missing due to errors.
JOB_STATE_PARTIALLY_SUCCEEDED = 11;public static final JobState UNRECOGNIZED
public static final int JOB_STATE_UNSPECIFIED_VALUE
The job state is unspecified.
JOB_STATE_UNSPECIFIED = 0;public static final int JOB_STATE_QUEUED_VALUE
The job has been just created or resumed and processing has not yet begun.
JOB_STATE_QUEUED = 1;public static final int JOB_STATE_PENDING_VALUE
The service is preparing to run the job.
JOB_STATE_PENDING = 2;public static final int JOB_STATE_RUNNING_VALUE
The job is in progress.
JOB_STATE_RUNNING = 3;public static final int JOB_STATE_SUCCEEDED_VALUE
The job completed successfully.
JOB_STATE_SUCCEEDED = 4;public static final int JOB_STATE_FAILED_VALUE
The job failed.
JOB_STATE_FAILED = 5;public static final int JOB_STATE_CANCELLING_VALUE
The job is being cancelled. From this state the job may only go to either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.
JOB_STATE_CANCELLING = 6;public static final int JOB_STATE_CANCELLED_VALUE
The job has been cancelled.
JOB_STATE_CANCELLED = 7;public static final int JOB_STATE_PAUSED_VALUE
The job has been stopped, and can be resumed.
JOB_STATE_PAUSED = 8;public static final int JOB_STATE_EXPIRED_VALUE
The job has expired.
JOB_STATE_EXPIRED = 9;public static final int JOB_STATE_UPDATING_VALUE
The job is being updated. Only jobs in the `RUNNING` state can be updated. After updating, the job goes back to the `RUNNING` state.
JOB_STATE_UPDATING = 10;public static final int JOB_STATE_PARTIALLY_SUCCEEDED_VALUE
The job is partially succeeded, some results may be missing due to errors.
JOB_STATE_PARTIALLY_SUCCEEDED = 11;public static JobState[] values()
for (JobState c : JobState.values()) System.out.println(c);
public static JobState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static JobState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static JobState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<JobState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static JobState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.