Package com.google.cloud.aiplatform.v1
Enum PipelineTaskDetail.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PipelineTaskDetail.State>
- Enclosing class:
- PipelineTaskDetail
public static enum PipelineTaskDetail.State
extends Enum<PipelineTaskDetail.State>
implements com.google.protobuf.ProtocolMessageEnum
Specifies state of TaskExecutionProtobuf enum
google.cloud.aiplatform.v1.PipelineTaskDetail.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies Task cancel is in pending state.Specifies task was cancelled.Specifies task is being cancelled.Specifies task failed.Specifies that the task was not triggered because the task's trigger policy is not satisfied.Specifies pending state for the task.Specifies task is being executed.Specifies task was skipped due to cache hit.Unspecified.Specifies task completed successfully. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSpecifies Task cancel is in pending state.static final intSpecifies task was cancelled.static final intSpecifies task is being cancelled.static final intSpecifies task failed.static final intSpecifies that the task was not triggered because the task's trigger policy is not satisfied.static final intSpecifies pending state for the task.static final intSpecifies task is being executed.static final intSpecifies task was skipped due to cache hit.static final intUnspecified.static final intSpecifies task completed successfully. -
Method Summary
Modifier and TypeMethodDescriptionstatic PipelineTaskDetail.StateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<PipelineTaskDetail.State>static PipelineTaskDetail.StatevalueOf(int value) Deprecated.static PipelineTaskDetail.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static PipelineTaskDetail.StateReturns the enum constant of this type with the specified name.static PipelineTaskDetail.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
Unspecified.
STATE_UNSPECIFIED = 0; -
PENDING
Specifies pending state for the task.
PENDING = 1; -
RUNNING
Specifies task is being executed.
RUNNING = 2; -
SUCCEEDED
Specifies task completed successfully.
SUCCEEDED = 3; -
CANCEL_PENDING
Specifies Task cancel is in pending state.
CANCEL_PENDING = 4; -
CANCELLING
Specifies task is being cancelled.
CANCELLING = 5; -
CANCELLED
Specifies task was cancelled.
CANCELLED = 6; -
FAILED
Specifies task failed.
FAILED = 7; -
SKIPPED
Specifies task was skipped due to cache hit.
SKIPPED = 8; -
NOT_TRIGGERED
Specifies that the task was not triggered because the task's trigger policy is not satisfied. The trigger policy is specified in the `condition` field of [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec].
NOT_TRIGGERED = 9; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEUnspecified.
STATE_UNSPECIFIED = 0;- See Also:
-
PENDING_VALUE
public static final int PENDING_VALUESpecifies pending state for the task.
PENDING = 1;- See Also:
-
RUNNING_VALUE
public static final int RUNNING_VALUESpecifies task is being executed.
RUNNING = 2;- See Also:
-
SUCCEEDED_VALUE
public static final int SUCCEEDED_VALUESpecifies task completed successfully.
SUCCEEDED = 3;- See Also:
-
CANCEL_PENDING_VALUE
public static final int CANCEL_PENDING_VALUESpecifies Task cancel is in pending state.
CANCEL_PENDING = 4;- See Also:
-
CANCELLING_VALUE
public static final int CANCELLING_VALUESpecifies task is being cancelled.
CANCELLING = 5;- See Also:
-
CANCELLED_VALUE
public static final int CANCELLED_VALUESpecifies task was cancelled.
CANCELLED = 6;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUESpecifies task failed.
FAILED = 7;- See Also:
-
SKIPPED_VALUE
public static final int SKIPPED_VALUESpecifies task was skipped due to cache hit.
SKIPPED = 8;- See Also:
-
NOT_TRIGGERED_VALUE
public static final int NOT_TRIGGERED_VALUESpecifies that the task was not triggered because the task's trigger policy is not satisfied. The trigger policy is specified in the `condition` field of [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec].
NOT_TRIGGERED = 9;- 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
public static com.google.protobuf.Internal.EnumLiteMap<PipelineTaskDetail.State> 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
public static PipelineTaskDetail.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 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
-