Interface LifecyclePolicyOrBuilder (0.12.0)

public interface LifecyclePolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAction()

public abstract LifecyclePolicy.Action getAction()

Action to execute when ActionCondition is true.

.google.cloud.batch.v1alpha.LifecyclePolicy.Action action = 1;

Returns
Type Description
LifecyclePolicy.Action

The action.

getActionCondition()

public abstract 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
Type Description
LifecyclePolicy.ActionCondition

The actionCondition.

getActionConditionOrBuilder()

public abstract 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;

Returns
Type Description
LifecyclePolicy.ActionConditionOrBuilder

getActionValue()

public abstract int getActionValue()

Action to execute when ActionCondition is true.

.google.cloud.batch.v1alpha.LifecyclePolicy.Action action = 1;

Returns
Type Description
int

The enum numeric value on the wire for action.

hasActionCondition()

public abstract 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
Type Description
boolean

Whether the actionCondition field is set.