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