Class LinuxNodeConfig (2.11.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
TypeDescription
int

SYSCTLS_FIELD_NUMBER

public static final int SYSCTLS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LinuxNodeConfig getDefaultInstance()
Returns
TypeDescription
LinuxNodeConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static LinuxNodeConfig.Builder newBuilder()
Returns
TypeDescription
LinuxNodeConfig.Builder

newBuilder(LinuxNodeConfig prototype)

public static LinuxNodeConfig.Builder newBuilder(LinuxNodeConfig prototype)
Parameter
NameDescription
prototypeLinuxNodeConfig
Returns
TypeDescription
LinuxNodeConfig.Builder

parseDelimitedFrom(InputStream input)

public static LinuxNodeConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LinuxNodeConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LinuxNodeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LinuxNodeConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LinuxNodeConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LinuxNodeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LinuxNodeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LinuxNodeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LinuxNodeConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LinuxNodeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LinuxNodeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LinuxNodeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LinuxNodeConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LinuxNodeConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LinuxNodeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LinuxNodeConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LinuxNodeConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LinuxNodeConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LinuxNodeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LinuxNodeConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LinuxNodeConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LinuxNodeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LinuxNodeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LinuxNodeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LinuxNodeConfig> parser()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for cgroupMode.

getDefaultInstanceForType()

public LinuxNodeConfig getDefaultInstanceForType()
Returns
TypeDescription
LinuxNodeConfig

getParserForType()

public Parser<LinuxNodeConfig> getParserForType()
Returns
TypeDescription
Parser<LinuxNodeConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSysctls()

public Map<String,String> getSysctls()

Use #getSysctlsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public LinuxNodeConfig.Builder newBuilderForType()
Returns
TypeDescription
LinuxNodeConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LinuxNodeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LinuxNodeConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public LinuxNodeConfig.Builder toBuilder()
Returns
TypeDescription
LinuxNodeConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException