Package com.google.cloud.compute.v1
Enum FutureResourcesSpecAggregateResources.VmFamily
java.lang.Object
java.lang.Enum<FutureResourcesSpecAggregateResources.VmFamily>
com.google.cloud.compute.v1.FutureResourcesSpecAggregateResources.VmFamily
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<FutureResourcesSpecAggregateResources.VmFamily>
- Enclosing class:
- FutureResourcesSpecAggregateResources
public static enum FutureResourcesSpecAggregateResources.VmFamily
extends Enum<FutureResourcesSpecAggregateResources.VmFamily>
implements com.google.protobuf.ProtocolMessageEnum
The VM family that all instances scheduled against this reservation must belong to. Use for TPU reservations.Protobuf enum
google.cloud.compute.v1.FutureResourcesSpecAggregateResources.VmFamily-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA value indicating that the enum field is not set.VM_FAMILY_CLOUD_TPU_DEVICE_CT3 = 42845948;VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L = 108020067;VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP = 18705267;VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E = 398926997;VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P = 517384376;VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P = 517384407;VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P = 517384438;VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X = 485271888; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intA value indicating that the enum field is not set.static final intVM_FAMILY_CLOUD_TPU_DEVICE_CT3 = 42845948;static final intVM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L = 108020067;static final intVM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP = 18705267;static final intVM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E = 398926997;static final intVM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P = 517384376;static final intVM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P = 517384407;static final intVM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P = 517384438;static final intVM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X = 485271888; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<FutureResourcesSpecAggregateResources.VmFamily>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED_VM_FAMILY
A value indicating that the enum field is not set.
UNDEFINED_VM_FAMILY = 0; -
VM_FAMILY_CLOUD_TPU_DEVICE_CT3
VM_FAMILY_CLOUD_TPU_DEVICE_CT3 = 42845948; -
VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L
public static final FutureResourcesSpecAggregateResources.VmFamily VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5LVM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L = 108020067; -
VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP
public static final FutureResourcesSpecAggregateResources.VmFamily VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LPVM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP = 18705267; -
VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E
public static final FutureResourcesSpecAggregateResources.VmFamily VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6EVM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E = 398926997; -
VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P
public static final FutureResourcesSpecAggregateResources.VmFamily VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3PVM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P = 517384376; -
VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P
public static final FutureResourcesSpecAggregateResources.VmFamily VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4PVM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P = 517384407; -
VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P
public static final FutureResourcesSpecAggregateResources.VmFamily VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5PVM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P = 517384438; -
VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X
public static final FutureResourcesSpecAggregateResources.VmFamily VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7XVM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X = 485271888; -
UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_VM_FAMILY_VALUE
public static final int UNDEFINED_VM_FAMILY_VALUEA value indicating that the enum field is not set.
UNDEFINED_VM_FAMILY = 0;- See Also:
-
VM_FAMILY_CLOUD_TPU_DEVICE_CT3_VALUE
public static final int VM_FAMILY_CLOUD_TPU_DEVICE_CT3_VALUEVM_FAMILY_CLOUD_TPU_DEVICE_CT3 = 42845948;- See Also:
-
VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L_VALUE
public static final int VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L_VALUEVM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L = 108020067;- See Also:
-
VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP_VALUE
public static final int VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP_VALUEVM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP = 18705267;- See Also:
-
VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E_VALUE
public static final int VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E_VALUEVM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E = 398926997;- See Also:
-
VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P_VALUE
public static final int VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P_VALUEVM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P = 517384376;- See Also:
-
VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P_VALUE
public static final int VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P_VALUEVM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P = 517384407;- See Also:
-
VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P_VALUE
public static final int VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P_VALUEVM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P = 517384438;- See Also:
-
VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X_VALUE
public static final int VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X_VALUEVM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X = 485271888;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<FutureResourcesSpecAggregateResources.VmFamily> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static FutureResourcesSpecAggregateResources.VmFamily valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-