public static enum NodeTemplate.CpuOvercommitType extends Enum<NodeTemplate.CpuOvercommitType> implements com.google.protobuf.ProtocolMessageEnum
CPU overcommit.Protobuf enum
google.cloud.compute.v1.NodeTemplate.CpuOvercommitType| Enum Constant and Description |
|---|
CPU_OVERCOMMIT_TYPE_UNSPECIFIED
CPU_OVERCOMMIT_TYPE_UNSPECIFIED = 520665615; |
ENABLED
ENABLED = 182130465; |
NONE
NONE = 2402104; |
UNDEFINED_CPU_OVERCOMMIT_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CPU_OVERCOMMIT_TYPE_UNSPECIFIED_VALUE
CPU_OVERCOMMIT_TYPE_UNSPECIFIED = 520665615; |
static int |
ENABLED_VALUE
ENABLED = 182130465; |
static int |
NONE_VALUE
NONE = 2402104; |
static int |
UNDEFINED_CPU_OVERCOMMIT_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static NodeTemplate.CpuOvercommitType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<NodeTemplate.CpuOvercommitType> |
internalGetValueMap() |
static NodeTemplate.CpuOvercommitType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NodeTemplate.CpuOvercommitType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NodeTemplate.CpuOvercommitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeTemplate.CpuOvercommitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeTemplate.CpuOvercommitType UNDEFINED_CPU_OVERCOMMIT_TYPE
A value indicating that the enum field is not set.
UNDEFINED_CPU_OVERCOMMIT_TYPE = 0;public static final NodeTemplate.CpuOvercommitType CPU_OVERCOMMIT_TYPE_UNSPECIFIED
CPU_OVERCOMMIT_TYPE_UNSPECIFIED = 520665615;public static final NodeTemplate.CpuOvercommitType ENABLED
ENABLED = 182130465;public static final NodeTemplate.CpuOvercommitType NONE
NONE = 2402104;public static final NodeTemplate.CpuOvercommitType UNRECOGNIZED
public static final int UNDEFINED_CPU_OVERCOMMIT_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_CPU_OVERCOMMIT_TYPE = 0;public static final int CPU_OVERCOMMIT_TYPE_UNSPECIFIED_VALUE
CPU_OVERCOMMIT_TYPE_UNSPECIFIED = 520665615;public static final int ENABLED_VALUE
ENABLED = 182130465;public static final int NONE_VALUE
NONE = 2402104;public static NodeTemplate.CpuOvercommitType[] values()
for (NodeTemplate.CpuOvercommitType c : NodeTemplate.CpuOvercommitType.values()) System.out.println(c);
public static NodeTemplate.CpuOvercommitType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static NodeTemplate.CpuOvercommitType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NodeTemplate.CpuOvercommitType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NodeTemplate.CpuOvercommitType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static NodeTemplate.CpuOvercommitType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.