Enum TaskGroup.SchedulingPolicy (0.23.0)

public enum TaskGroup.SchedulingPolicy extends Enum<TaskGroup.SchedulingPolicy> implements ProtocolMessageEnum

How Tasks in the TaskGroup should be scheduled relative to each other.

Protobuf enum google.cloud.batch.v1.TaskGroup.SchedulingPolicy

Implements

ProtocolMessageEnum

Static Fields

Name Description
AS_SOON_AS_POSSIBLE

Run Tasks as soon as resources are available.

Tasks might be executed in parallel depending on parallelism and task_count values.

AS_SOON_AS_POSSIBLE = 1;

AS_SOON_AS_POSSIBLE_VALUE

Run Tasks as soon as resources are available.

Tasks might be executed in parallel depending on parallelism and task_count values.

AS_SOON_AS_POSSIBLE = 1;

IN_ORDER

Run Tasks sequentially with increased task index.

IN_ORDER = 2;

IN_ORDER_VALUE

Run Tasks sequentially with increased task index.

IN_ORDER = 2;

SCHEDULING_POLICY_UNSPECIFIED

Unspecified.

SCHEDULING_POLICY_UNSPECIFIED = 0;

SCHEDULING_POLICY_UNSPECIFIED_VALUE

Unspecified.

SCHEDULING_POLICY_UNSPECIFIED = 0;

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()