Package com.google.container.v1beta1
Class NodeKubeletConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
- com.google.container.v1beta1.NodeKubeletConfig.Builder
-
- All Implemented Interfaces:
NodeKubeletConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NodeKubeletConfig
public static final class NodeKubeletConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder> implements NodeKubeletConfigOrBuilder
Node kubelet configs.
Protobuf typegoogle.container.v1beta1.NodeKubeletConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeKubeletConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NodeKubeletConfigbuild()NodeKubeletConfigbuildPartial()NodeKubeletConfig.Builderclear()NodeKubeletConfig.BuilderclearCpuCfsQuota()Enable CPU CFS quota enforcement for containers that specify CPU limits.NodeKubeletConfig.BuilderclearCpuCfsQuotaPeriod()Set the CPU CFS quota period value 'cpu.cfs_period_us'.NodeKubeletConfig.BuilderclearCpuManagerPolicy()Control the CPU management policy on the node.NodeKubeletConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NodeKubeletConfig.BuilderclearInsecureKubeletReadonlyPortEnabled()Enable or disable Kubelet read only port.NodeKubeletConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NodeKubeletConfig.BuilderclearPodPidsLimit()Set the Pod PID limits.NodeKubeletConfig.Builderclone()com.google.protobuf.BoolValuegetCpuCfsQuota()Enable CPU CFS quota enforcement for containers that specify CPU limits.com.google.protobuf.BoolValue.BuildergetCpuCfsQuotaBuilder()Enable CPU CFS quota enforcement for containers that specify CPU limits.com.google.protobuf.BoolValueOrBuildergetCpuCfsQuotaOrBuilder()Enable CPU CFS quota enforcement for containers that specify CPU limits.StringgetCpuCfsQuotaPeriod()Set the CPU CFS quota period value 'cpu.cfs_period_us'.com.google.protobuf.ByteStringgetCpuCfsQuotaPeriodBytes()Set the CPU CFS quota period value 'cpu.cfs_period_us'.StringgetCpuManagerPolicy()Control the CPU management policy on the node.com.google.protobuf.ByteStringgetCpuManagerPolicyBytes()Control the CPU management policy on the node.NodeKubeletConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetInsecureKubeletReadonlyPortEnabled()Enable or disable Kubelet read only port.longgetPodPidsLimit()Set the Pod PID limits.booleanhasCpuCfsQuota()Enable CPU CFS quota enforcement for containers that specify CPU limits.booleanhasInsecureKubeletReadonlyPortEnabled()Enable or disable Kubelet read only port.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()NodeKubeletConfig.BuildermergeCpuCfsQuota(com.google.protobuf.BoolValue value)Enable CPU CFS quota enforcement for containers that specify CPU limits.NodeKubeletConfig.BuildermergeFrom(NodeKubeletConfig other)NodeKubeletConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NodeKubeletConfig.BuildermergeFrom(com.google.protobuf.Message other)NodeKubeletConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NodeKubeletConfig.BuildersetCpuCfsQuota(com.google.protobuf.BoolValue value)Enable CPU CFS quota enforcement for containers that specify CPU limits.NodeKubeletConfig.BuildersetCpuCfsQuota(com.google.protobuf.BoolValue.Builder builderForValue)Enable CPU CFS quota enforcement for containers that specify CPU limits.NodeKubeletConfig.BuildersetCpuCfsQuotaPeriod(String value)Set the CPU CFS quota period value 'cpu.cfs_period_us'.NodeKubeletConfig.BuildersetCpuCfsQuotaPeriodBytes(com.google.protobuf.ByteString value)Set the CPU CFS quota period value 'cpu.cfs_period_us'.NodeKubeletConfig.BuildersetCpuManagerPolicy(String value)Control the CPU management policy on the node.NodeKubeletConfig.BuildersetCpuManagerPolicyBytes(com.google.protobuf.ByteString value)Control the CPU management policy on the node.NodeKubeletConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NodeKubeletConfig.BuildersetInsecureKubeletReadonlyPortEnabled(boolean value)Enable or disable Kubelet read only port.NodeKubeletConfig.BuildersetPodPidsLimit(long value)Set the Pod PID limits.NodeKubeletConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)NodeKubeletConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
clear
public NodeKubeletConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
getDefaultInstanceForType
public NodeKubeletConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NodeKubeletConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NodeKubeletConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NodeKubeletConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
setField
public NodeKubeletConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
clearField
public NodeKubeletConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
clearOneof
public NodeKubeletConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
setRepeatedField
public NodeKubeletConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
addRepeatedField
public NodeKubeletConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
mergeFrom
public NodeKubeletConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NodeKubeletConfig.Builder>
-
mergeFrom
public NodeKubeletConfig.Builder mergeFrom(NodeKubeletConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
mergeFrom
public NodeKubeletConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NodeKubeletConfig.Builder>- Throws:
IOException
-
getCpuManagerPolicy
public String getCpuManagerPolicy()
Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified.
string cpu_manager_policy = 1;- Specified by:
getCpuManagerPolicyin interfaceNodeKubeletConfigOrBuilder- Returns:
- The cpuManagerPolicy.
-
getCpuManagerPolicyBytes
public com.google.protobuf.ByteString getCpuManagerPolicyBytes()
Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified.
string cpu_manager_policy = 1;- Specified by:
getCpuManagerPolicyBytesin interfaceNodeKubeletConfigOrBuilder- Returns:
- The bytes for cpuManagerPolicy.
-
setCpuManagerPolicy
public NodeKubeletConfig.Builder setCpuManagerPolicy(String value)
Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified.
string cpu_manager_policy = 1;- Parameters:
value- The cpuManagerPolicy to set.- Returns:
- This builder for chaining.
-
clearCpuManagerPolicy
public NodeKubeletConfig.Builder clearCpuManagerPolicy()
Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified.
string cpu_manager_policy = 1;- Returns:
- This builder for chaining.
-
setCpuManagerPolicyBytes
public NodeKubeletConfig.Builder setCpuManagerPolicyBytes(com.google.protobuf.ByteString value)
Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified.
string cpu_manager_policy = 1;- Parameters:
value- The bytes for cpuManagerPolicy to set.- Returns:
- This builder for chaining.
-
hasCpuCfsQuota
public boolean hasCpuCfsQuota()
Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.
.google.protobuf.BoolValue cpu_cfs_quota = 2;- Specified by:
hasCpuCfsQuotain interfaceNodeKubeletConfigOrBuilder- Returns:
- Whether the cpuCfsQuota field is set.
-
getCpuCfsQuota
public com.google.protobuf.BoolValue getCpuCfsQuota()
Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.
.google.protobuf.BoolValue cpu_cfs_quota = 2;- Specified by:
getCpuCfsQuotain interfaceNodeKubeletConfigOrBuilder- Returns:
- The cpuCfsQuota.
-
setCpuCfsQuota
public NodeKubeletConfig.Builder setCpuCfsQuota(com.google.protobuf.BoolValue value)
Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.
.google.protobuf.BoolValue cpu_cfs_quota = 2;
-
setCpuCfsQuota
public NodeKubeletConfig.Builder setCpuCfsQuota(com.google.protobuf.BoolValue.Builder builderForValue)
Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.
.google.protobuf.BoolValue cpu_cfs_quota = 2;
-
mergeCpuCfsQuota
public NodeKubeletConfig.Builder mergeCpuCfsQuota(com.google.protobuf.BoolValue value)
Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.
.google.protobuf.BoolValue cpu_cfs_quota = 2;
-
clearCpuCfsQuota
public NodeKubeletConfig.Builder clearCpuCfsQuota()
Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.
.google.protobuf.BoolValue cpu_cfs_quota = 2;
-
getCpuCfsQuotaBuilder
public com.google.protobuf.BoolValue.Builder getCpuCfsQuotaBuilder()
Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.
.google.protobuf.BoolValue cpu_cfs_quota = 2;
-
getCpuCfsQuotaOrBuilder
public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder()
Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.
.google.protobuf.BoolValue cpu_cfs_quota = 2;- Specified by:
getCpuCfsQuotaOrBuilderin interfaceNodeKubeletConfigOrBuilder
-
getCpuCfsQuotaPeriod
public String getCpuCfsQuotaPeriod()
Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration.
string cpu_cfs_quota_period = 3;- Specified by:
getCpuCfsQuotaPeriodin interfaceNodeKubeletConfigOrBuilder- Returns:
- The cpuCfsQuotaPeriod.
-
getCpuCfsQuotaPeriodBytes
public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes()
Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration.
string cpu_cfs_quota_period = 3;- Specified by:
getCpuCfsQuotaPeriodBytesin interfaceNodeKubeletConfigOrBuilder- Returns:
- The bytes for cpuCfsQuotaPeriod.
-
setCpuCfsQuotaPeriod
public NodeKubeletConfig.Builder setCpuCfsQuotaPeriod(String value)
Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration.
string cpu_cfs_quota_period = 3;- Parameters:
value- The cpuCfsQuotaPeriod to set.- Returns:
- This builder for chaining.
-
clearCpuCfsQuotaPeriod
public NodeKubeletConfig.Builder clearCpuCfsQuotaPeriod()
Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration.
string cpu_cfs_quota_period = 3;- Returns:
- This builder for chaining.
-
setCpuCfsQuotaPeriodBytes
public NodeKubeletConfig.Builder setCpuCfsQuotaPeriodBytes(com.google.protobuf.ByteString value)
Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration.
string cpu_cfs_quota_period = 3;- Parameters:
value- The bytes for cpuCfsQuotaPeriod to set.- Returns:
- This builder for chaining.
-
getPodPidsLimit
public long getPodPidsLimit()
Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.
int64 pod_pids_limit = 4;- Specified by:
getPodPidsLimitin interfaceNodeKubeletConfigOrBuilder- Returns:
- The podPidsLimit.
-
setPodPidsLimit
public NodeKubeletConfig.Builder setPodPidsLimit(long value)
Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.
int64 pod_pids_limit = 4;- Parameters:
value- The podPidsLimit to set.- Returns:
- This builder for chaining.
-
clearPodPidsLimit
public NodeKubeletConfig.Builder clearPodPidsLimit()
Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.
int64 pod_pids_limit = 4;- Returns:
- This builder for chaining.
-
hasInsecureKubeletReadonlyPortEnabled
public boolean hasInsecureKubeletReadonlyPortEnabled()
Enable or disable Kubelet read only port.
optional bool insecure_kubelet_readonly_port_enabled = 7;- Specified by:
hasInsecureKubeletReadonlyPortEnabledin interfaceNodeKubeletConfigOrBuilder- Returns:
- Whether the insecureKubeletReadonlyPortEnabled field is set.
-
getInsecureKubeletReadonlyPortEnabled
public boolean getInsecureKubeletReadonlyPortEnabled()
Enable or disable Kubelet read only port.
optional bool insecure_kubelet_readonly_port_enabled = 7;- Specified by:
getInsecureKubeletReadonlyPortEnabledin interfaceNodeKubeletConfigOrBuilder- Returns:
- The insecureKubeletReadonlyPortEnabled.
-
setInsecureKubeletReadonlyPortEnabled
public NodeKubeletConfig.Builder setInsecureKubeletReadonlyPortEnabled(boolean value)
Enable or disable Kubelet read only port.
optional bool insecure_kubelet_readonly_port_enabled = 7;- Parameters:
value- The insecureKubeletReadonlyPortEnabled to set.- Returns:
- This builder for chaining.
-
clearInsecureKubeletReadonlyPortEnabled
public NodeKubeletConfig.Builder clearInsecureKubeletReadonlyPortEnabled()
Enable or disable Kubelet read only port.
optional bool insecure_kubelet_readonly_port_enabled = 7;- Returns:
- This builder for chaining.
-
setUnknownFields
public final NodeKubeletConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
mergeUnknownFields
public final NodeKubeletConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
-