- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LinuxNodeConfig.BuilderImplements
LinuxNodeConfigOrBuilderStatic 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 |
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 |
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;
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public LinuxNodeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.Builder |
clearHugepages()
public LinuxNodeConfig.Builder clearHugepages()
Optional. Amounts for 2M and 1G hugepages
optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public LinuxNodeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.Builder |
clearSysctls()
public LinuxNodeConfig.Builder clearSysctls()
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.Builder |
clone()
public LinuxNodeConfig.Builder clone()
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.Builder |
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 |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getHugepages()
public LinuxNodeConfig.HugepagesConfig getHugepages()
Optional. Amounts for 2M and 1G hugepages
optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig |
The hugepages. |
getHugepagesBuilder()
public LinuxNodeConfig.HugepagesConfig.Builder getHugepagesBuilder()
Optional. Amounts for 2M and 1G hugepages
optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfig.Builder |
getHugepagesOrBuilder()
public LinuxNodeConfig.HugepagesConfigOrBuilder getHugepagesOrBuilder()
Optional. Amounts for 2M and 1G hugepages
optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.HugepagesConfigOrBuilder |
getMutableSysctls() (deprecated)
public Map<String,String> getMutableSysctls()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
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 |
hasHugepages()
public boolean hasHugepages()
Optional. Amounts for 2M and 1G hugepages
optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the hugepages field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public LinuxNodeConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.Builder |
mergeHugepages(LinuxNodeConfig.HugepagesConfig value)
public LinuxNodeConfig.Builder mergeHugepages(LinuxNodeConfig.HugepagesConfig value)
Optional. Amounts for 2M and 1G hugepages
optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
LinuxNodeConfig.HugepagesConfig |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LinuxNodeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.Builder |
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 |
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;
Parameter | |
---|---|
Name | Description |
value |
LinuxNodeConfig.CgroupMode The cgroupMode to set. |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.Builder |
This builder for chaining. |
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. |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.Builder |
This builder for chaining. |
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 |
setHugepages(LinuxNodeConfig.HugepagesConfig value)
public LinuxNodeConfig.Builder setHugepages(LinuxNodeConfig.HugepagesConfig value)
Optional. Amounts for 2M and 1G hugepages
optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
LinuxNodeConfig.HugepagesConfig |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.Builder |
setHugepages(LinuxNodeConfig.HugepagesConfig.Builder builderForValue)
public LinuxNodeConfig.Builder setHugepages(LinuxNodeConfig.HugepagesConfig.Builder builderForValue)
Optional. Amounts for 2M and 1G hugepages
optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
LinuxNodeConfig.HugepagesConfig.Builder |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.Builder |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final LinuxNodeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LinuxNodeConfig.Builder |