Enum LifecyclePolicy.Action (0.2.2)

public enum LifecyclePolicy.Action extends Enum<LifecyclePolicy.Action> implements ProtocolMessageEnum

Action on task failures based on different conditions.

Protobuf enum google.cloud.batch.v1.LifecyclePolicy.Action

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTION_UNSPECIFIED

Action unspecified.

ACTION_UNSPECIFIED = 0;

ACTION_UNSPECIFIED_VALUE

Action unspecified.

ACTION_UNSPECIFIED = 0;

FAIL_TASK

Action that tasks in the group will be stopped immediately.

FAIL_TASK = 2;

FAIL_TASK_VALUE

Action that tasks in the group will be stopped immediately.

FAIL_TASK = 2;

RETRY_TASK

Action that tasks in the group will be scheduled to re-execute.

RETRY_TASK = 1;

RETRY_TASK_VALUE

Action that tasks in the group will be scheduled to re-execute.

RETRY_TASK = 1;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()