Class LinuxNodeConfig.HugepagesConfig (2.57.0)

public static final class LinuxNodeConfig.HugepagesConfig extends GeneratedMessageV3 implements LinuxNodeConfig.HugepagesConfigOrBuilder

Hugepages amount in both 2m and 1g size

Protobuf type google.container.v1.LinuxNodeConfig.HugepagesConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > LinuxNodeConfig.HugepagesConfig

Static Fields

HUGEPAGE_SIZE1G_FIELD_NUMBER

public static final int HUGEPAGE_SIZE1G_FIELD_NUMBER
Field Value
Type Description
int

HUGEPAGE_SIZE2M_FIELD_NUMBER

public static final int HUGEPAGE_SIZE2M_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LinuxNodeConfig.HugepagesConfig getDefaultInstance()
Returns
Type Description
LinuxNodeConfig.HugepagesConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static LinuxNodeConfig.HugepagesConfig.Builder newBuilder()
Returns
Type Description
LinuxNodeConfig.HugepagesConfig.Builder

newBuilder(LinuxNodeConfig.HugepagesConfig prototype)

public static LinuxNodeConfig.HugepagesConfig.Builder newBuilder(LinuxNodeConfig.HugepagesConfig prototype)
Parameter
Name Description
prototype LinuxNodeConfig.HugepagesConfig
Returns
Type Description
LinuxNodeConfig.HugepagesConfig.Builder

parseDelimitedFrom(InputStream input)

public static LinuxNodeConfig.HugepagesConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LinuxNodeConfig.HugepagesConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LinuxNodeConfig.HugepagesConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LinuxNodeConfig.HugepagesConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static LinuxNodeConfig.HugepagesConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
LinuxNodeConfig.HugepagesConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LinuxNodeConfig.HugepagesConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LinuxNodeConfig.HugepagesConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LinuxNodeConfig.HugepagesConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
LinuxNodeConfig.HugepagesConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LinuxNodeConfig.HugepagesConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LinuxNodeConfig.HugepagesConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LinuxNodeConfig.HugepagesConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
LinuxNodeConfig.HugepagesConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LinuxNodeConfig.HugepagesConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LinuxNodeConfig.HugepagesConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static LinuxNodeConfig.HugepagesConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LinuxNodeConfig.HugepagesConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LinuxNodeConfig.HugepagesConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LinuxNodeConfig.HugepagesConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static LinuxNodeConfig.HugepagesConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
LinuxNodeConfig.HugepagesConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LinuxNodeConfig.HugepagesConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LinuxNodeConfig.HugepagesConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<LinuxNodeConfig.HugepagesConfig> parser()
Returns
Type Description
Parser<HugepagesConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public LinuxNodeConfig.HugepagesConfig getDefaultInstanceForType()
Returns
Type Description
LinuxNodeConfig.HugepagesConfig

getHugepageSize1G()

public int getHugepageSize1G()

Optional. Amount of 1G hugepages

optional int32 hugepage_size1g = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The hugepageSize1g.

getHugepageSize2M()

public int getHugepageSize2M()

Optional. Amount of 2M hugepages

optional int32 hugepage_size2m = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The hugepageSize2m.

getParserForType()

public Parser<LinuxNodeConfig.HugepagesConfig> getParserForType()
Returns
Type Description
Parser<HugepagesConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasHugepageSize1G()

public boolean hasHugepageSize1G()

Optional. Amount of 1G hugepages

optional int32 hugepage_size1g = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the hugepageSize1g field is set.

hasHugepageSize2M()

public boolean hasHugepageSize2M()

Optional. Amount of 2M hugepages

optional int32 hugepage_size2m = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the hugepageSize2m field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public LinuxNodeConfig.HugepagesConfig.Builder newBuilderForType()
Returns
Type Description
LinuxNodeConfig.HugepagesConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LinuxNodeConfig.HugepagesConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LinuxNodeConfig.HugepagesConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public LinuxNodeConfig.HugepagesConfig.Builder toBuilder()
Returns
Type Description
LinuxNodeConfig.HugepagesConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException