Interface LifecyclePolicyOrBuilder

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

@Generated public interface LifecyclePolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Action to execute when ActionCondition is true.
    Conditions that decide why a task failure is dealt with a specific action.
    Conditions that decide why a task failure is dealt with a specific action.
    int
    Action to execute when ActionCondition is true.
    boolean
    Conditions that decide why a task failure is dealt with a specific action.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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

       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;