public static final class LifecyclePolicy.Builder extends GeneratedMessageV3.Builder<LifecyclePolicy.Builder> implements LifecyclePolicyOrBuilder
   
   LifecyclePolicy describes how to deal with task failures
 based on different conditions.
 Protobuf type google.cloud.batch.v1.LifecyclePolicy
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  Methods
  
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value)
  
    public LifecyclePolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  build()
  
    public LifecyclePolicy build()
   
  
  
  buildPartial()
  
    public LifecyclePolicy buildPartial()
   
  
  
  clear()
  
    public LifecyclePolicy.Builder clear()
   
  
  Overrides
  
  
  clearAction()
  
    public LifecyclePolicy.Builder clearAction()
   
   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;
clearActionCondition()
  
    public LifecyclePolicy.Builder clearActionCondition()
   
   Conditions that decide why a task failure is dealt with a specific action.
 .google.cloud.batch.v1.LifecyclePolicy.ActionCondition action_condition = 2;
clearField(Descriptors.FieldDescriptor field)
  
    public LifecyclePolicy.Builder clearField(Descriptors.FieldDescriptor field)
   
  
  
  Overrides
  
  
  clearOneof(Descriptors.OneofDescriptor oneof)
  
    public LifecyclePolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
   
  
  
  Overrides
  
  
  clone()
  
    public LifecyclePolicy.Builder clone()
   
  
  Overrides
  
  
  getAction()
  
    public 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;
getActionCondition()
  
    public 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;
getActionConditionBuilder()
  
    public LifecyclePolicy.ActionCondition.Builder getActionConditionBuilder()
   
   Conditions that decide why a task failure is dealt with a specific action.
 .google.cloud.batch.v1.LifecyclePolicy.ActionCondition action_condition = 2;
getActionConditionOrBuilder()
  
    public 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;
getActionValue()
  
    public 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.v1.LifecyclePolicy.Action action = 1;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int | The enum numeric value on the wire for action. | 
    
  
  
  getDefaultInstanceForType()
  
    public LifecyclePolicy getDefaultInstanceForType()
   
  
  
  getDescriptorForType()
  
    public Descriptors.Descriptor getDescriptorForType()
   
  
  Overrides
  
  
  hasActionCondition()
  
    public boolean hasActionCondition()
   
   Conditions that decide why a task failure is dealt with a specific action.
 .google.cloud.batch.v1.LifecyclePolicy.ActionCondition action_condition = 2;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the actionCondition field is set. | 
    
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  mergeActionCondition(LifecyclePolicy.ActionCondition value)
  
    public LifecyclePolicy.Builder mergeActionCondition(LifecyclePolicy.ActionCondition value)
   
   Conditions that decide why a task failure is dealt with a specific action.
 .google.cloud.batch.v1.LifecyclePolicy.ActionCondition action_condition = 2;
mergeFrom(LifecyclePolicy other)
  
    public LifecyclePolicy.Builder mergeFrom(LifecyclePolicy other)
   
  
  
  
  
  
    public LifecyclePolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  Overrides
  
  
  
  mergeFrom(Message other)
  
    public LifecyclePolicy.Builder mergeFrom(Message other)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | other | Message
 | 
    
  
  
  Overrides
  
  
  mergeUnknownFields(UnknownFieldSet unknownFields)
  
    public final LifecyclePolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides
  
  
  setAction(LifecyclePolicy.Action value)
  
    public LifecyclePolicy.Builder setAction(LifecyclePolicy.Action value)
   
   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;
setActionCondition(LifecyclePolicy.ActionCondition value)
  
    public LifecyclePolicy.Builder setActionCondition(LifecyclePolicy.ActionCondition value)
   
   Conditions that decide why a task failure is dealt with a specific action.
 .google.cloud.batch.v1.LifecyclePolicy.ActionCondition action_condition = 2;
setActionCondition(LifecyclePolicy.ActionCondition.Builder builderForValue)
  
    public LifecyclePolicy.Builder setActionCondition(LifecyclePolicy.ActionCondition.Builder builderForValue)
   
   Conditions that decide why a task failure is dealt with a specific action.
 .google.cloud.batch.v1.LifecyclePolicy.ActionCondition action_condition = 2;
setActionValue(int value)
  
    public LifecyclePolicy.Builder setActionValue(int value)
   
   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;
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | value | int
 The enum numeric value on the wire for action to set. | 
    
  
  
  
  setField(Descriptors.FieldDescriptor field, Object value)
  
    public LifecyclePolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
  
    public LifecyclePolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
   
  
  
  Overrides
  
  
  setUnknownFields(UnknownFieldSet unknownFields)
  
    public final LifecyclePolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides