public enum PipelineFailurePolicy extends Enum<PipelineFailurePolicy> implements com.google.protobuf.ProtocolMessageEnum
Represents the failure policy of a pipeline. Currently, the default of a pipeline is that the pipeline will continue to run until no more tasks can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it will stop scheduling any new tasks when a task has failed. Any scheduled tasks will continue to completion.Protobuf enum
google.cloud.aiplatform.v1.PipelineFailurePolicy| Enum Constant and Description |
|---|
PIPELINE_FAILURE_POLICY_FAIL_FAST
Indicates that the pipeline should stop scheduling new tasks after a task
has failed.
|
PIPELINE_FAILURE_POLICY_FAIL_SLOW
Indicates that the pipeline should continue to run until all possible
tasks have been scheduled and completed.
|
PIPELINE_FAILURE_POLICY_UNSPECIFIED
Default value, and follows fail slow behavior.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
PIPELINE_FAILURE_POLICY_FAIL_FAST_VALUE
Indicates that the pipeline should stop scheduling new tasks after a task
has failed.
|
static int |
PIPELINE_FAILURE_POLICY_FAIL_SLOW_VALUE
Indicates that the pipeline should continue to run until all possible
tasks have been scheduled and completed.
|
static int |
PIPELINE_FAILURE_POLICY_UNSPECIFIED_VALUE
Default value, and follows fail slow behavior.
|
| Modifier and Type | Method and Description |
|---|---|
static PipelineFailurePolicy |
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<PipelineFailurePolicy> |
internalGetValueMap() |
static PipelineFailurePolicy |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PipelineFailurePolicy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PipelineFailurePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PipelineFailurePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PipelineFailurePolicy PIPELINE_FAILURE_POLICY_UNSPECIFIED
Default value, and follows fail slow behavior.
PIPELINE_FAILURE_POLICY_UNSPECIFIED = 0;public static final PipelineFailurePolicy PIPELINE_FAILURE_POLICY_FAIL_SLOW
Indicates that the pipeline should continue to run until all possible tasks have been scheduled and completed.
PIPELINE_FAILURE_POLICY_FAIL_SLOW = 1;public static final PipelineFailurePolicy PIPELINE_FAILURE_POLICY_FAIL_FAST
Indicates that the pipeline should stop scheduling new tasks after a task has failed.
PIPELINE_FAILURE_POLICY_FAIL_FAST = 2;public static final PipelineFailurePolicy UNRECOGNIZED
public static final int PIPELINE_FAILURE_POLICY_UNSPECIFIED_VALUE
Default value, and follows fail slow behavior.
PIPELINE_FAILURE_POLICY_UNSPECIFIED = 0;public static final int PIPELINE_FAILURE_POLICY_FAIL_SLOW_VALUE
Indicates that the pipeline should continue to run until all possible tasks have been scheduled and completed.
PIPELINE_FAILURE_POLICY_FAIL_SLOW = 1;public static final int PIPELINE_FAILURE_POLICY_FAIL_FAST_VALUE
Indicates that the pipeline should stop scheduling new tasks after a task has failed.
PIPELINE_FAILURE_POLICY_FAIL_FAST = 2;public static PipelineFailurePolicy[] values()
for (PipelineFailurePolicy c : PipelineFailurePolicy.values()) System.out.println(c);
public static PipelineFailurePolicy 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 PipelineFailurePolicy valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static PipelineFailurePolicy forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PipelineFailurePolicy> 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 PipelineFailurePolicy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.