Enum AllocationAggregateReservation.WorkloadType (1.51.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

NameDescription
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

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()