Enum QueuedResource.Tpu.NodeSpec.MultiNodeParams.WorkloadType (2.58.0)

public enum QueuedResource.Tpu.NodeSpec.MultiNodeParams.WorkloadType extends Enum<QueuedResource.Tpu.NodeSpec.MultiNodeParams.WorkloadType> implements ProtocolMessageEnum

The workload type for the multi-node request.

Protobuf enum google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec.MultiNodeParams.WorkloadType

Implements

ProtocolMessageEnum

Static Fields

Name Description
AVAILABILITY_OPTIMIZED

Most of the nodes are available all of the time. Recommended for serving workloads.

AVAILABILITY_OPTIMIZED = 2;

AVAILABILITY_OPTIMIZED_VALUE

Most of the nodes are available all of the time. Recommended for serving workloads.

AVAILABILITY_OPTIMIZED = 2;

THROUGHPUT_OPTIMIZED

All of the nodes are available most of the time. Recommended for training workloads.

THROUGHPUT_OPTIMIZED = 1;

THROUGHPUT_OPTIMIZED_VALUE

All of the nodes are available most of the time. Recommended for training workloads.

THROUGHPUT_OPTIMIZED = 1;

UNRECOGNIZED
WORKLOAD_TYPE_UNSPECIFIED

Not specified.

WORKLOAD_TYPE_UNSPECIFIED = 0;

WORKLOAD_TYPE_UNSPECIFIED_VALUE

Not specified.

WORKLOAD_TYPE_UNSPECIFIED = 0;

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