Package com.google.container.v1
Enum LinuxNodeConfig.TransparentHugepageEnabled
java.lang.Object
java.lang.Enum<LinuxNodeConfig.TransparentHugepageEnabled>
com.google.container.v1.LinuxNodeConfig.TransparentHugepageEnabled
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<LinuxNodeConfig.TransparentHugepageEnabled>
- Enclosing class:
- LinuxNodeConfig
public static enum LinuxNodeConfig.TransparentHugepageEnabled
extends Enum<LinuxNodeConfig.TransparentHugepageEnabled>
implements com.google.protobuf.ProtocolMessageEnum
Possible values for transparent hugepage enabled support.Protobuf enum
google.container.v1.LinuxNodeConfig.TransparentHugepageEnabled-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTransparent hugepage support for anonymous memory is enabled system wide.Transparent hugepage support for anonymous memory is enabled inside MADV_HUGEPAGE regions.Transparent hugepage support for anonymous memory is disabled.Default value. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intTransparent hugepage support for anonymous memory is enabled system wide.static final intTransparent hugepage support for anonymous memory is enabled inside MADV_HUGEPAGE regions.static final intTransparent hugepage support for anonymous memory is disabled.static final intDefault value. -
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<LinuxNodeConfig.TransparentHugepageEnabled>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
-
TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED
public static final LinuxNodeConfig.TransparentHugepageEnabled TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIEDDefault value. GKE will not modify the kernel configuration.
TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED = 0; -
TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS
Transparent hugepage support for anonymous memory is enabled system wide.
TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS = 1; -
TRANSPARENT_HUGEPAGE_ENABLED_MADVISE
Transparent hugepage support for anonymous memory is enabled inside MADV_HUGEPAGE regions. This is the default kernel configuration.
TRANSPARENT_HUGEPAGE_ENABLED_MADVISE = 2; -
TRANSPARENT_HUGEPAGE_ENABLED_NEVER
Transparent hugepage support for anonymous memory is disabled.
TRANSPARENT_HUGEPAGE_ENABLED_NEVER = 3; -
UNRECOGNIZED
-
-
Field Details
-
TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED_VALUE
public static final int TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED_VALUEDefault value. GKE will not modify the kernel configuration.
TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED = 0;- See Also:
-
TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS_VALUE
public static final int TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS_VALUETransparent hugepage support for anonymous memory is enabled system wide.
TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS = 1;- See Also:
-
TRANSPARENT_HUGEPAGE_ENABLED_MADVISE_VALUE
public static final int TRANSPARENT_HUGEPAGE_ENABLED_MADVISE_VALUETransparent hugepage support for anonymous memory is enabled inside MADV_HUGEPAGE regions. This is the default kernel configuration.
TRANSPARENT_HUGEPAGE_ENABLED_MADVISE = 2;- See Also:
-
TRANSPARENT_HUGEPAGE_ENABLED_NEVER_VALUE
public static final int TRANSPARENT_HUGEPAGE_ENABLED_NEVER_VALUETransparent hugepage support for anonymous memory is disabled.
TRANSPARENT_HUGEPAGE_ENABLED_NEVER = 3;- 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<LinuxNodeConfig.TransparentHugepageEnabled> 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 LinuxNodeConfig.TransparentHugepageEnabled 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
-