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.v1alpha.TaskGroup.SchedulingPolicy
Implements
ProtocolMessageEnumStatic 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_VALUE | Run Tasks as soon as resources are available. Tasks might be executed in parallel depending on parallelism and task_count values. |
IN_ORDER | Run Tasks sequentially with increased task index. Not yet implemented. |
IN_ORDER_VALUE | Run Tasks sequentially with increased task index. Not yet implemented. |
SCHEDULING_POLICY_UNSPECIFIED | Unspecified. |
SCHEDULING_POLICY_UNSPECIFIED_VALUE | Unspecified. |
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() |