Interface LifecyclePolicyOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    LifecyclePolicy, LifecyclePolicy.Builder

    public interface LifecyclePolicyOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getActionValue

        int 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.v1alpha.LifecyclePolicy.Action action = 1;
        Returns:
        The enum numeric value on the wire for action.
      • getAction

        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.v1alpha.LifecyclePolicy.Action action = 1;
        Returns:
        The action.
      • hasActionCondition

        boolean hasActionCondition()
         Conditions that decide why a task failure is dealt with a specific action.
         
        .google.cloud.batch.v1alpha.LifecyclePolicy.ActionCondition action_condition = 2;
        Returns:
        Whether the actionCondition field is set.
      • getActionCondition

        LifecyclePolicy.ActionCondition getActionCondition()
         Conditions that decide why a task failure is dealt with a specific action.
         
        .google.cloud.batch.v1alpha.LifecyclePolicy.ActionCondition action_condition = 2;
        Returns:
        The actionCondition.
      • getActionConditionOrBuilder

        LifecyclePolicy.ActionConditionOrBuilder getActionConditionOrBuilder()
         Conditions that decide why a task failure is dealt with a specific action.
         
        .google.cloud.batch.v1alpha.LifecyclePolicy.ActionCondition action_condition = 2;