Package com.google.cloud.aiplatform.v1
Enum JobState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<JobState>
@Generated
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 Summary
Enum ConstantsEnum ConstantDescriptionThe job has been cancelled.The job is being cancelled.The job has expired.The job failed.The job is partially succeeded, some results may be missing due to errors.The job has been stopped, and can be resumed.The service is preparing to run the job.The job has been just created or resumed and processing has not yet begun.The job is in progress.The job completed successfully.The job state is unspecified.The job is being updated. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe job has been cancelled.static final intThe job is being cancelled.static final intThe job has expired.static final intThe job failed.static final intThe job is partially succeeded, some results may be missing due to errors.static final intThe job has been stopped, and can be resumed.static final intThe service is preparing to run the job.static final intThe job has been just created or resumed and processing has not yet begun.static final intThe job is in progress.static final intThe job completed successfully.static final intThe job state is unspecified.static final intThe job is being updated. -
Method Summary
Modifier and TypeMethodDescriptionstatic JobStateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<JobState>static JobStatevalueOf(int value) Deprecated.static JobStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static JobStateReturns 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.
-
Enum Constant Details
-
JOB_STATE_UNSPECIFIED
The job state is unspecified.
JOB_STATE_UNSPECIFIED = 0; -
JOB_STATE_QUEUED
The job has been just created or resumed and processing has not yet begun.
JOB_STATE_QUEUED = 1; -
JOB_STATE_PENDING
The service is preparing to run the job.
JOB_STATE_PENDING = 2; -
JOB_STATE_RUNNING
The job is in progress.
JOB_STATE_RUNNING = 3; -
JOB_STATE_SUCCEEDED
The job completed successfully.
JOB_STATE_SUCCEEDED = 4; -
JOB_STATE_FAILED
The job failed.
JOB_STATE_FAILED = 5; -
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; -
JOB_STATE_CANCELLED
The job has been cancelled.
JOB_STATE_CANCELLED = 7; -
JOB_STATE_PAUSED
The job has been stopped, and can be resumed.
JOB_STATE_PAUSED = 8; -
JOB_STATE_EXPIRED
The job has expired.
JOB_STATE_EXPIRED = 9; -
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; -
JOB_STATE_PARTIALLY_SUCCEEDED
The job is partially succeeded, some results may be missing due to errors.
JOB_STATE_PARTIALLY_SUCCEEDED = 11; -
UNRECOGNIZED
-
-
Field Details
-
JOB_STATE_UNSPECIFIED_VALUE
public static final int JOB_STATE_UNSPECIFIED_VALUEThe job state is unspecified.
JOB_STATE_UNSPECIFIED = 0;- See Also:
-
JOB_STATE_QUEUED_VALUE
public static final int JOB_STATE_QUEUED_VALUEThe job has been just created or resumed and processing has not yet begun.
JOB_STATE_QUEUED = 1;- See Also:
-
JOB_STATE_PENDING_VALUE
public static final int JOB_STATE_PENDING_VALUEThe service is preparing to run the job.
JOB_STATE_PENDING = 2;- See Also:
-
JOB_STATE_RUNNING_VALUE
public static final int JOB_STATE_RUNNING_VALUEThe job is in progress.
JOB_STATE_RUNNING = 3;- See Also:
-
JOB_STATE_SUCCEEDED_VALUE
public static final int JOB_STATE_SUCCEEDED_VALUEThe job completed successfully.
JOB_STATE_SUCCEEDED = 4;- See Also:
-
JOB_STATE_FAILED_VALUE
public static final int JOB_STATE_FAILED_VALUEThe job failed.
JOB_STATE_FAILED = 5;- See Also:
-
JOB_STATE_CANCELLING_VALUE
public static final int JOB_STATE_CANCELLING_VALUEThe 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;- See Also:
-
JOB_STATE_CANCELLED_VALUE
public static final int JOB_STATE_CANCELLED_VALUEThe job has been cancelled.
JOB_STATE_CANCELLED = 7;- See Also:
-
JOB_STATE_PAUSED_VALUE
public static final int JOB_STATE_PAUSED_VALUEThe job has been stopped, and can be resumed.
JOB_STATE_PAUSED = 8;- See Also:
-
JOB_STATE_EXPIRED_VALUE
public static final int JOB_STATE_EXPIRED_VALUEThe job has expired.
JOB_STATE_EXPIRED = 9;- See Also:
-
JOB_STATE_UPDATING_VALUE
public static final int JOB_STATE_UPDATING_VALUEThe 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;- See Also:
-
JOB_STATE_PARTIALLY_SUCCEEDED_VALUE
public static final int JOB_STATE_PARTIALLY_SUCCEEDED_VALUEThe job is partially succeeded, some results may be missing due to errors.
JOB_STATE_PARTIALLY_SUCCEEDED = 11;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-