Class LinuxNodeConfig.Builder (2.6.0)

public static final class LinuxNodeConfig.Builder extends GeneratedMessageV3.Builder<LinuxNodeConfig.Builder> implements LinuxNodeConfigOrBuilder

Parameters that can be configured on Linux nodes.

Protobuf type google.container.v1.LinuxNodeConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LinuxNodeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LinuxNodeConfig.Builder
Overrides

build()

public LinuxNodeConfig build()
Returns
Type Description
LinuxNodeConfig

buildPartial()

public LinuxNodeConfig buildPartial()
Returns
Type Description
LinuxNodeConfig

clear()

public LinuxNodeConfig.Builder clear()
Returns
Type Description
LinuxNodeConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LinuxNodeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LinuxNodeConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LinuxNodeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LinuxNodeConfig.Builder
Overrides

clearSysctls()

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

clone()

public LinuxNodeConfig.Builder clone()
Returns
Type Description
LinuxNodeConfig.Builder
Overrides

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

getDefaultInstanceForType()

public LinuxNodeConfig getDefaultInstanceForType()
Returns
Type Description
LinuxNodeConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMutableSysctls()

public Map<String,String> getMutableSysctls()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getSysctls()

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

internalGetFieldAccessorTable()

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

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LinuxNodeConfig other)

public LinuxNodeConfig.Builder mergeFrom(LinuxNodeConfig other)
Parameter
Name Description
other LinuxNodeConfig
Returns
Type Description
LinuxNodeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LinuxNodeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LinuxNodeConfig.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public LinuxNodeConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LinuxNodeConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LinuxNodeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LinuxNodeConfig.Builder
Overrides

putAllSysctls(Map<String,String> values)

public LinuxNodeConfig.Builder putAllSysctls(Map<String,String> values)

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
values Map<String,String>
Returns
Type Description
LinuxNodeConfig.Builder

putSysctls(String key, String value)

public LinuxNodeConfig.Builder putSysctls(String key, String value)

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
value String
Returns
Type Description
LinuxNodeConfig.Builder

removeSysctls(String key)

public LinuxNodeConfig.Builder removeSysctls(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
LinuxNodeConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LinuxNodeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LinuxNodeConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LinuxNodeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LinuxNodeConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LinuxNodeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LinuxNodeConfig.Builder
Overrides