Enum AllocationAggregateReservation.WorkloadType (1.63.0)

public enum AllocationAggregateReservation.WorkloadType extends Enum<AllocationAggregateReservation.WorkloadType> implements ProtocolMessageEnum

The workload type of the instances that will target this reservation.

Protobuf enum google.cloud.compute.v1.AllocationAggregateReservation.WorkloadType

Implements

ProtocolMessageEnum

Static Fields

Name Description
BATCH

Reserved resources will be optimized for BATCH workloads, such as ML training.

BATCH = 62971674;

BATCH_VALUE

Reserved resources will be optimized for BATCH workloads, such as ML training.

BATCH = 62971674;

SERVING

Reserved resources will be optimized for SERVING workloads, such as ML inference.

SERVING = 17781740;

SERVING_VALUE

Reserved resources will be optimized for SERVING workloads, such as ML inference.

SERVING = 17781740;

UNDEFINED_WORKLOAD_TYPE

A value indicating that the enum field is not set.

UNDEFINED_WORKLOAD_TYPE = 0;

UNDEFINED_WORKLOAD_TYPE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_WORKLOAD_TYPE = 0;

UNRECOGNIZED
UNSPECIFIED

UNSPECIFIED = 526786327;

UNSPECIFIED_VALUE

UNSPECIFIED = 526786327;

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