Package k8s.io.api.core.v1
Class Generated.NodeSpec.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeSpec.Builder>
-
- k8s.io.api.core.v1.Generated.NodeSpec.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.NodeSpecOrBuilder
- Enclosing class:
- Generated.NodeSpec
public static final class Generated.NodeSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeSpec.Builder> implements Generated.NodeSpecOrBuilder
NodeSpec describes the attributes that a node is created with.
Protobuf typek8s.io.api.core.v1.NodeSpec
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.NodeSpec.BuilderaddAllPodCIDRs(Iterable<String> values)podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.Generated.NodeSpec.BuilderaddAllTaints(Iterable<? extends Generated.Taint> values)If specified, the node's taints.Generated.NodeSpec.BuilderaddPodCIDRs(String value)podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.Generated.NodeSpec.BuilderaddPodCIDRsBytes(com.google.protobuf.ByteString value)podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.Generated.NodeSpec.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.NodeSpec.BuilderaddTaints(int index, Generated.Taint value)If specified, the node's taints.Generated.NodeSpec.BuilderaddTaints(int index, Generated.Taint.Builder builderForValue)If specified, the node's taints.Generated.NodeSpec.BuilderaddTaints(Generated.Taint value)If specified, the node's taints.Generated.NodeSpec.BuilderaddTaints(Generated.Taint.Builder builderForValue)If specified, the node's taints.Generated.Taint.BuilderaddTaintsBuilder()If specified, the node's taints.Generated.Taint.BuilderaddTaintsBuilder(int index)If specified, the node's taints.Generated.NodeSpecbuild()Generated.NodeSpecbuildPartial()Generated.NodeSpec.Builderclear()Generated.NodeSpec.BuilderclearConfigSource()Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature.Generated.NodeSpec.BuilderclearExternalID()Deprecated.Generated.NodeSpec.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.NodeSpec.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.NodeSpec.BuilderclearPodCIDR()PodCIDR represents the pod IP range assigned to the node.Generated.NodeSpec.BuilderclearPodCIDRs()podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.Generated.NodeSpec.BuilderclearProviderID()ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optionalGenerated.NodeSpec.BuilderclearTaints()If specified, the node's taints.Generated.NodeSpec.BuilderclearUnschedulable()Unschedulable controls node schedulability of new pods.Generated.NodeSpec.Builderclone()Generated.NodeConfigSourcegetConfigSource()Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature.Generated.NodeConfigSource.BuildergetConfigSourceBuilder()Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature.Generated.NodeConfigSourceOrBuildergetConfigSourceOrBuilder()Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature.Generated.NodeSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetExternalID()Deprecated.com.google.protobuf.ByteStringgetExternalIDBytes()Deprecated.StringgetPodCIDR()PodCIDR represents the pod IP range assigned to the node.com.google.protobuf.ByteStringgetPodCIDRBytes()PodCIDR represents the pod IP range assigned to the node.StringgetPodCIDRs(int index)podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.com.google.protobuf.ByteStringgetPodCIDRsBytes(int index)podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.intgetPodCIDRsCount()podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.com.google.protobuf.ProtocolStringListgetPodCIDRsList()podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.StringgetProviderID()ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optionalcom.google.protobuf.ByteStringgetProviderIDBytes()ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optionalGenerated.TaintgetTaints(int index)If specified, the node's taints.Generated.Taint.BuildergetTaintsBuilder(int index)If specified, the node's taints.List<Generated.Taint.Builder>getTaintsBuilderList()If specified, the node's taints.intgetTaintsCount()If specified, the node's taints.List<Generated.Taint>getTaintsList()If specified, the node's taints.Generated.TaintOrBuildergetTaintsOrBuilder(int index)If specified, the node's taints.List<? extends Generated.TaintOrBuilder>getTaintsOrBuilderList()If specified, the node's taints.booleangetUnschedulable()Unschedulable controls node schedulability of new pods.booleanhasConfigSource()Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature.booleanhasExternalID()Deprecated.booleanhasPodCIDR()PodCIDR represents the pod IP range assigned to the node.booleanhasProviderID()ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optionalbooleanhasUnschedulable()Unschedulable controls node schedulability of new pods.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.NodeSpec.BuildermergeConfigSource(Generated.NodeConfigSource value)Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature.Generated.NodeSpec.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.NodeSpec.BuildermergeFrom(com.google.protobuf.Message other)Generated.NodeSpec.BuildermergeFrom(Generated.NodeSpec other)Generated.NodeSpec.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.NodeSpec.BuilderremoveTaints(int index)If specified, the node's taints.Generated.NodeSpec.BuildersetConfigSource(Generated.NodeConfigSource value)Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature.Generated.NodeSpec.BuildersetConfigSource(Generated.NodeConfigSource.Builder builderForValue)Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature.Generated.NodeSpec.BuildersetExternalID(String value)Deprecated.Generated.NodeSpec.BuildersetExternalIDBytes(com.google.protobuf.ByteString value)Deprecated.Generated.NodeSpec.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.NodeSpec.BuildersetPodCIDR(String value)PodCIDR represents the pod IP range assigned to the node.Generated.NodeSpec.BuildersetPodCIDRBytes(com.google.protobuf.ByteString value)PodCIDR represents the pod IP range assigned to the node.Generated.NodeSpec.BuildersetPodCIDRs(int index, String value)podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.Generated.NodeSpec.BuildersetProviderID(String value)ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optionalGenerated.NodeSpec.BuildersetProviderIDBytes(com.google.protobuf.ByteString value)ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optionalGenerated.NodeSpec.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.NodeSpec.BuildersetTaints(int index, Generated.Taint value)If specified, the node's taints.Generated.NodeSpec.BuildersetTaints(int index, Generated.Taint.Builder builderForValue)If specified, the node's taints.Generated.NodeSpec.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.NodeSpec.BuildersetUnschedulable(boolean value)Unschedulable controls node schedulability of new pods.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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<Generated.NodeSpec.Builder>
-
clear
public Generated.NodeSpec.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<Generated.NodeSpec.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<Generated.NodeSpec.Builder>
-
getDefaultInstanceForType
public Generated.NodeSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.NodeSpec build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.NodeSpec buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.NodeSpec.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<Generated.NodeSpec.Builder>
-
setField
public Generated.NodeSpec.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<Generated.NodeSpec.Builder>
-
clearField
public Generated.NodeSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeSpec.Builder>
-
clearOneof
public Generated.NodeSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeSpec.Builder>
-
setRepeatedField
public Generated.NodeSpec.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<Generated.NodeSpec.Builder>
-
addRepeatedField
public Generated.NodeSpec.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<Generated.NodeSpec.Builder>
-
mergeFrom
public Generated.NodeSpec.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.NodeSpec.Builder>
-
mergeFrom
public Generated.NodeSpec.Builder mergeFrom(Generated.NodeSpec other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeSpec.Builder>
-
mergeFrom
public Generated.NodeSpec.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<Generated.NodeSpec.Builder>- Throws:
IOException
-
hasPodCIDR
public boolean hasPodCIDR()
PodCIDR represents the pod IP range assigned to the node. +optional
optional string podCIDR = 1;- Specified by:
hasPodCIDRin interfaceGenerated.NodeSpecOrBuilder- Returns:
- Whether the podCIDR field is set.
-
getPodCIDR
public String getPodCIDR()
PodCIDR represents the pod IP range assigned to the node. +optional
optional string podCIDR = 1;- Specified by:
getPodCIDRin interfaceGenerated.NodeSpecOrBuilder- Returns:
- The podCIDR.
-
getPodCIDRBytes
public com.google.protobuf.ByteString getPodCIDRBytes()
PodCIDR represents the pod IP range assigned to the node. +optional
optional string podCIDR = 1;- Specified by:
getPodCIDRBytesin interfaceGenerated.NodeSpecOrBuilder- Returns:
- The bytes for podCIDR.
-
setPodCIDR
public Generated.NodeSpec.Builder setPodCIDR(String value)
PodCIDR represents the pod IP range assigned to the node. +optional
optional string podCIDR = 1;- Parameters:
value- The podCIDR to set.- Returns:
- This builder for chaining.
-
clearPodCIDR
public Generated.NodeSpec.Builder clearPodCIDR()
PodCIDR represents the pod IP range assigned to the node. +optional
optional string podCIDR = 1;- Returns:
- This builder for chaining.
-
setPodCIDRBytes
public Generated.NodeSpec.Builder setPodCIDRBytes(com.google.protobuf.ByteString value)
PodCIDR represents the pod IP range assigned to the node. +optional
optional string podCIDR = 1;- Parameters:
value- The bytes for podCIDR to set.- Returns:
- This builder for chaining.
-
getPodCIDRsList
public com.google.protobuf.ProtocolStringList getPodCIDRsList()
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6. +optional +patchStrategy=merge +listType=set
repeated string podCIDRs = 7;- Specified by:
getPodCIDRsListin interfaceGenerated.NodeSpecOrBuilder- Returns:
- A list containing the podCIDRs.
-
getPodCIDRsCount
public int getPodCIDRsCount()
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6. +optional +patchStrategy=merge +listType=set
repeated string podCIDRs = 7;- Specified by:
getPodCIDRsCountin interfaceGenerated.NodeSpecOrBuilder- Returns:
- The count of podCIDRs.
-
getPodCIDRs
public String getPodCIDRs(int index)
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6. +optional +patchStrategy=merge +listType=set
repeated string podCIDRs = 7;- Specified by:
getPodCIDRsin interfaceGenerated.NodeSpecOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The podCIDRs at the given index.
-
getPodCIDRsBytes
public com.google.protobuf.ByteString getPodCIDRsBytes(int index)
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6. +optional +patchStrategy=merge +listType=set
repeated string podCIDRs = 7;- Specified by:
getPodCIDRsBytesin interfaceGenerated.NodeSpecOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the podCIDRs at the given index.
-
setPodCIDRs
public Generated.NodeSpec.Builder setPodCIDRs(int index, String value)
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6. +optional +patchStrategy=merge +listType=set
repeated string podCIDRs = 7;- Parameters:
index- The index to set the value at.value- The podCIDRs to set.- Returns:
- This builder for chaining.
-
addPodCIDRs
public Generated.NodeSpec.Builder addPodCIDRs(String value)
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6. +optional +patchStrategy=merge +listType=set
repeated string podCIDRs = 7;- Parameters:
value- The podCIDRs to add.- Returns:
- This builder for chaining.
-
addAllPodCIDRs
public Generated.NodeSpec.Builder addAllPodCIDRs(Iterable<String> values)
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6. +optional +patchStrategy=merge +listType=set
repeated string podCIDRs = 7;- Parameters:
values- The podCIDRs to add.- Returns:
- This builder for chaining.
-
clearPodCIDRs
public Generated.NodeSpec.Builder clearPodCIDRs()
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6. +optional +patchStrategy=merge +listType=set
repeated string podCIDRs = 7;- Returns:
- This builder for chaining.
-
addPodCIDRsBytes
public Generated.NodeSpec.Builder addPodCIDRsBytes(com.google.protobuf.ByteString value)
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6. +optional +patchStrategy=merge +listType=set
repeated string podCIDRs = 7;- Parameters:
value- The bytes of the podCIDRs to add.- Returns:
- This builder for chaining.
-
hasProviderID
public boolean hasProviderID()
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optional
optional string providerID = 3;- Specified by:
hasProviderIDin interfaceGenerated.NodeSpecOrBuilder- Returns:
- Whether the providerID field is set.
-
getProviderID
public String getProviderID()
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optional
optional string providerID = 3;- Specified by:
getProviderIDin interfaceGenerated.NodeSpecOrBuilder- Returns:
- The providerID.
-
getProviderIDBytes
public com.google.protobuf.ByteString getProviderIDBytes()
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optional
optional string providerID = 3;- Specified by:
getProviderIDBytesin interfaceGenerated.NodeSpecOrBuilder- Returns:
- The bytes for providerID.
-
setProviderID
public Generated.NodeSpec.Builder setProviderID(String value)
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optional
optional string providerID = 3;- Parameters:
value- The providerID to set.- Returns:
- This builder for chaining.
-
clearProviderID
public Generated.NodeSpec.Builder clearProviderID()
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optional
optional string providerID = 3;- Returns:
- This builder for chaining.
-
setProviderIDBytes
public Generated.NodeSpec.Builder setProviderIDBytes(com.google.protobuf.ByteString value)
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optional
optional string providerID = 3;- Parameters:
value- The bytes for providerID to set.- Returns:
- This builder for chaining.
-
hasUnschedulable
public boolean hasUnschedulable()
Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration +optional
optional bool unschedulable = 4;- Specified by:
hasUnschedulablein interfaceGenerated.NodeSpecOrBuilder- Returns:
- Whether the unschedulable field is set.
-
getUnschedulable
public boolean getUnschedulable()
Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration +optional
optional bool unschedulable = 4;- Specified by:
getUnschedulablein interfaceGenerated.NodeSpecOrBuilder- Returns:
- The unschedulable.
-
setUnschedulable
public Generated.NodeSpec.Builder setUnschedulable(boolean value)
Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration +optional
optional bool unschedulable = 4;- Parameters:
value- The unschedulable to set.- Returns:
- This builder for chaining.
-
clearUnschedulable
public Generated.NodeSpec.Builder clearUnschedulable()
Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration +optional
optional bool unschedulable = 4;- Returns:
- This builder for chaining.
-
getTaintsList
public List<Generated.Taint> getTaintsList()
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;- Specified by:
getTaintsListin interfaceGenerated.NodeSpecOrBuilder
-
getTaintsCount
public int getTaintsCount()
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;- Specified by:
getTaintsCountin interfaceGenerated.NodeSpecOrBuilder
-
getTaints
public Generated.Taint getTaints(int index)
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;- Specified by:
getTaintsin interfaceGenerated.NodeSpecOrBuilder
-
setTaints
public Generated.NodeSpec.Builder setTaints(int index, Generated.Taint value)
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;
-
setTaints
public Generated.NodeSpec.Builder setTaints(int index, Generated.Taint.Builder builderForValue)
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;
-
addTaints
public Generated.NodeSpec.Builder addTaints(Generated.Taint value)
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;
-
addTaints
public Generated.NodeSpec.Builder addTaints(int index, Generated.Taint value)
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;
-
addTaints
public Generated.NodeSpec.Builder addTaints(Generated.Taint.Builder builderForValue)
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;
-
addTaints
public Generated.NodeSpec.Builder addTaints(int index, Generated.Taint.Builder builderForValue)
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;
-
addAllTaints
public Generated.NodeSpec.Builder addAllTaints(Iterable<? extends Generated.Taint> values)
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;
-
clearTaints
public Generated.NodeSpec.Builder clearTaints()
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;
-
removeTaints
public Generated.NodeSpec.Builder removeTaints(int index)
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;
-
getTaintsBuilder
public Generated.Taint.Builder getTaintsBuilder(int index)
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;
-
getTaintsOrBuilder
public Generated.TaintOrBuilder getTaintsOrBuilder(int index)
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;- Specified by:
getTaintsOrBuilderin interfaceGenerated.NodeSpecOrBuilder
-
getTaintsOrBuilderList
public List<? extends Generated.TaintOrBuilder> getTaintsOrBuilderList()
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;- Specified by:
getTaintsOrBuilderListin interfaceGenerated.NodeSpecOrBuilder
-
addTaintsBuilder
public Generated.Taint.Builder addTaintsBuilder()
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;
-
addTaintsBuilder
public Generated.Taint.Builder addTaintsBuilder(int index)
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;
-
getTaintsBuilderList
public List<Generated.Taint.Builder> getTaintsBuilderList()
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;
-
hasConfigSource
public boolean hasConfigSource()
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed. +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;- Specified by:
hasConfigSourcein interfaceGenerated.NodeSpecOrBuilder- Returns:
- Whether the configSource field is set.
-
getConfigSource
public Generated.NodeConfigSource getConfigSource()
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed. +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;- Specified by:
getConfigSourcein interfaceGenerated.NodeSpecOrBuilder- Returns:
- The configSource.
-
setConfigSource
public Generated.NodeSpec.Builder setConfigSource(Generated.NodeConfigSource value)
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed. +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;
-
setConfigSource
public Generated.NodeSpec.Builder setConfigSource(Generated.NodeConfigSource.Builder builderForValue)
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed. +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;
-
mergeConfigSource
public Generated.NodeSpec.Builder mergeConfigSource(Generated.NodeConfigSource value)
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed. +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;
-
clearConfigSource
public Generated.NodeSpec.Builder clearConfigSource()
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed. +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;
-
getConfigSourceBuilder
public Generated.NodeConfigSource.Builder getConfigSourceBuilder()
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed. +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;
-
getConfigSourceOrBuilder
public Generated.NodeConfigSourceOrBuilder getConfigSourceOrBuilder()
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed. +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;- Specified by:
getConfigSourceOrBuilderin interfaceGenerated.NodeSpecOrBuilder
-
hasExternalID
public boolean hasExternalID()
Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966 +optional
optional string externalID = 2;- Specified by:
hasExternalIDin interfaceGenerated.NodeSpecOrBuilder- Returns:
- Whether the externalID field is set.
-
getExternalID
public String getExternalID()
Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966 +optional
optional string externalID = 2;- Specified by:
getExternalIDin interfaceGenerated.NodeSpecOrBuilder- Returns:
- The externalID.
-
getExternalIDBytes
public com.google.protobuf.ByteString getExternalIDBytes()
Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966 +optional
optional string externalID = 2;- Specified by:
getExternalIDBytesin interfaceGenerated.NodeSpecOrBuilder- Returns:
- The bytes for externalID.
-
setExternalID
public Generated.NodeSpec.Builder setExternalID(String value)
Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966 +optional
optional string externalID = 2;- Parameters:
value- The externalID to set.- Returns:
- This builder for chaining.
-
clearExternalID
public Generated.NodeSpec.Builder clearExternalID()
Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966 +optional
optional string externalID = 2;- Returns:
- This builder for chaining.
-
setExternalIDBytes
public Generated.NodeSpec.Builder setExternalIDBytes(com.google.protobuf.ByteString value)
Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966 +optional
optional string externalID = 2;- Parameters:
value- The bytes for externalID to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.NodeSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeSpec.Builder>
-
mergeUnknownFields
public final Generated.NodeSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeSpec.Builder>
-
-