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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LinuxNodeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public LinuxNodeConfig build()
Returns
buildPartial()
public LinuxNodeConfig buildPartial()
Returns
clear()
public LinuxNodeConfig.Builder clear()
Returns
Overrides
clearCgroupMode()
public LinuxNodeConfig.Builder clearCgroupMode()
cgroup_mode specifies the cgroup mode to be used on the node.
.google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public LinuxNodeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public LinuxNodeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSysctls()
public LinuxNodeConfig.Builder clearSysctls()
Returns
clone()
public LinuxNodeConfig.Builder clone()
Returns
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
Returns
getCgroupMode()
public LinuxNodeConfig.CgroupMode getCgroupMode()
cgroup_mode specifies the cgroup mode to be used on the node.
.google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2;
Returns
getCgroupModeValue()
public int getCgroupModeValue()
cgroup_mode specifies the cgroup mode to be used on the node.
.google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for cgroupMode.
|
getDefaultInstanceForType()
public LinuxNodeConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMutableSysctls()
public Map<String,String> getMutableSysctls()
Use alternate mutation accessors instead.
Returns
getSysctls()
public Map<String,String> getSysctls()
Returns
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
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
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
Returns
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
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(LinuxNodeConfig other)
public LinuxNodeConfig.Builder mergeFrom(LinuxNodeConfig other)
Parameter
Returns
public LinuxNodeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public LinuxNodeConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LinuxNodeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setCgroupMode(LinuxNodeConfig.CgroupMode value)
public LinuxNodeConfig.Builder setCgroupMode(LinuxNodeConfig.CgroupMode value)
cgroup_mode specifies the cgroup mode to be used on the node.
.google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2;
Parameter
Returns
setCgroupModeValue(int value)
public LinuxNodeConfig.Builder setCgroupModeValue(int value)
cgroup_mode specifies the cgroup mode to be used on the node.
.google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for cgroupMode to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public LinuxNodeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LinuxNodeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LinuxNodeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides