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
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
BATCH |
Reserved resources will be optimized for BATCH workloads, such as ML training. |
BATCH_VALUE |
Reserved resources will be optimized for BATCH workloads, such as ML training. |
SERVING |
Reserved resources will be optimized for SERVING workloads, such as ML inference. |
SERVING_VALUE |
Reserved resources will be optimized for SERVING workloads, such as ML inference. |
UNDEFINED_WORKLOAD_TYPE |
A value indicating that the enum field is not set. |
UNDEFINED_WORKLOAD_TYPE_VALUE |
A value indicating that the enum field is not set. |
UNRECOGNIZED |
|
UNSPECIFIED |
|
UNSPECIFIED_VALUE |
|
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() |