public interface LifecyclePolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
LifecyclePolicy.Action |
getAction()
Action to execute when ActionCondition is true.
|
LifecyclePolicy.ActionCondition |
getActionCondition()
Conditions that decide why a task failure is dealt with a specific action.
|
LifecyclePolicy.ActionConditionOrBuilder |
getActionConditionOrBuilder()
Conditions that decide why a task failure is dealt with a specific action.
|
int |
getActionValue()
Action to execute when ActionCondition is true.
|
boolean |
hasActionCondition()
Conditions that decide why a task failure is dealt with a specific action.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getActionValue()
Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.
.google.cloud.batch.v1.LifecyclePolicy.Action action = 1;LifecyclePolicy.Action getAction()
Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.
.google.cloud.batch.v1.LifecyclePolicy.Action action = 1;boolean hasActionCondition()
Conditions that decide why a task failure is dealt with a specific action.
.google.cloud.batch.v1.LifecyclePolicy.ActionCondition action_condition = 2;LifecyclePolicy.ActionCondition getActionCondition()
Conditions that decide why a task failure is dealt with a specific action.
.google.cloud.batch.v1.LifecyclePolicy.ActionCondition action_condition = 2;LifecyclePolicy.ActionConditionOrBuilder getActionConditionOrBuilder()
Conditions that decide why a task failure is dealt with a specific action.
.google.cloud.batch.v1.LifecyclePolicy.ActionCondition action_condition = 2;Copyright © 2025 Google LLC. All rights reserved.