Class LinuxNodeConfig (2.46.0)

public final class LinuxNodeConfig extends GeneratedMessageV3 implements LinuxNodeConfigOrBuilder

Parameters that can be configured on Linux nodes.

Protobuf type google.container.v1beta1.LinuxNodeConfig

Static Fields

CGROUP_MODE_FIELD_NUMBER

public static final int CGROUP_MODE_FIELD_NUMBER
Field Value
Type Description
int

SYSCTLS_FIELD_NUMBER

public static final int SYSCTLS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LinuxNodeConfig getDefaultInstance()
Returns
Type Description
LinuxNodeConfig

getDescriptor()

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

newBuilder()

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

newBuilder(LinuxNodeConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsSysctls(String key)

public boolean containsSysctls(String key)

The Linux kernel parameters to be applied to the nodes and all pods running on the nodes.

The following parameters are supported.

net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse

map<string, string> sysctls = 1;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

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

getCgroupMode()

public LinuxNodeConfig.CgroupMode getCgroupMode()

cgroup_mode specifies the cgroup mode to be used on the node.

.google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2;

Returns
Type Description
LinuxNodeConfig.CgroupMode

The cgroupMode.

getCgroupModeValue()

public int getCgroupModeValue()

cgroup_mode specifies the cgroup mode to be used on the node.

.google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2;

Returns
Type Description
int

The enum numeric value on the wire for cgroupMode.

getDefaultInstanceForType()

public LinuxNodeConfig getDefaultInstanceForType()
Returns
Type Description
LinuxNodeConfig

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSysctls() (deprecated)

public Map<String,String> getSysctls()

Use #getSysctlsMap() instead.

Returns
Type Description
Map<String,String>

getSysctlsCount()

public int getSysctlsCount()

The Linux kernel parameters to be applied to the nodes and all pods running on the nodes.

The following parameters are supported.

net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse

map<string, string> sysctls = 1;

Returns
Type Description
int

getSysctlsMap()

public Map<String,String> getSysctlsMap()

The Linux kernel parameters to be applied to the nodes and all pods running on the nodes.

The following parameters are supported.

net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse

map<string, string> sysctls = 1;

Returns
Type Description
Map<String,String>

getSysctlsOrDefault(String key, String defaultValue)

public String getSysctlsOrDefault(String key, String defaultValue)

The Linux kernel parameters to be applied to the nodes and all pods running on the nodes.

The following parameters are supported.

net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse

map<string, string> sysctls = 1;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getSysctlsOrThrow(String key)

public String getSysctlsOrThrow(String key)

The Linux kernel parameters to be applied to the nodes and all pods running on the nodes.

The following parameters are supported.

net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse

map<string, string> sysctls = 1;

Parameter
Name Description
key String
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LinuxNodeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LinuxNodeConfig.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.Builder toBuilder()
Returns
Type Description
LinuxNodeConfig.Builder

writeTo(CodedOutputStream output)

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