public static final class V1.NodeSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeSpec.Builder> implements V1.NodeSpecOrBuilder
NodeSpec describes the attributes that a node is created with.Protobuf type
k8s.io.api.core.v1.NodeSpec| Modifier and Type | Method and Description |
|---|---|
V1.NodeSpec.Builder |
addAllTaints(Iterable<? extends V1.Taint> values)
If specified, the node's taints.
|
V1.NodeSpec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.NodeSpec.Builder |
addTaints(int index,
V1.Taint.Builder builderForValue)
If specified, the node's taints.
|
V1.NodeSpec.Builder |
addTaints(int index,
V1.Taint value)
If specified, the node's taints.
|
V1.NodeSpec.Builder |
addTaints(V1.Taint.Builder builderForValue)
If specified, the node's taints.
|
V1.NodeSpec.Builder |
addTaints(V1.Taint value)
If specified, the node's taints.
|
V1.Taint.Builder |
addTaintsBuilder()
If specified, the node's taints.
|
V1.Taint.Builder |
addTaintsBuilder(int index)
If specified, the node's taints.
|
V1.NodeSpec |
build() |
V1.NodeSpec |
buildPartial() |
V1.NodeSpec.Builder |
clear() |
V1.NodeSpec.Builder |
clearConfigSource()
If specified, the source to get node configuration from
The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field
+optional
|
V1.NodeSpec.Builder |
clearExternalID()
Deprecated.
|
V1.NodeSpec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.NodeSpec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.NodeSpec.Builder |
clearPodCIDR()
PodCIDR represents the pod IP range assigned to the node.
|
V1.NodeSpec.Builder |
clearProviderID()
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
+optional
|
V1.NodeSpec.Builder |
clearTaints()
If specified, the node's taints.
|
V1.NodeSpec.Builder |
clearUnschedulable()
Unschedulable controls node schedulability of new pods.
|
V1.NodeSpec.Builder |
clone() |
V1.NodeConfigSource |
getConfigSource()
If specified, the source to get node configuration from
The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field
+optional
|
V1.NodeConfigSource.Builder |
getConfigSourceBuilder()
If specified, the source to get node configuration from
The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field
+optional
|
V1.NodeConfigSourceOrBuilder |
getConfigSourceOrBuilder()
If specified, the source to get node configuration from
The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field
+optional
|
V1.NodeSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getExternalID()
Deprecated.
|
com.google.protobuf.ByteString |
getExternalIDBytes()
Deprecated.
|
String |
getPodCIDR()
PodCIDR represents the pod IP range assigned to the node.
|
com.google.protobuf.ByteString |
getPodCIDRBytes()
PodCIDR represents the pod IP range assigned to the node.
|
String |
getProviderID()
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
+optional
|
com.google.protobuf.ByteString |
getProviderIDBytes()
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
+optional
|
V1.Taint |
getTaints(int index)
If specified, the node's taints.
|
V1.Taint.Builder |
getTaintsBuilder(int index)
If specified, the node's taints.
|
List<V1.Taint.Builder> |
getTaintsBuilderList()
If specified, the node's taints.
|
int |
getTaintsCount()
If specified, the node's taints.
|
List<V1.Taint> |
getTaintsList()
If specified, the node's taints.
|
V1.TaintOrBuilder |
getTaintsOrBuilder(int index)
If specified, the node's taints.
|
List<? extends V1.TaintOrBuilder> |
getTaintsOrBuilderList()
If specified, the node's taints.
|
boolean |
getUnschedulable()
Unschedulable controls node schedulability of new pods.
|
boolean |
hasConfigSource()
If specified, the source to get node configuration from
The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field
+optional
|
boolean |
hasExternalID()
Deprecated.
|
boolean |
hasPodCIDR()
PodCIDR represents the pod IP range assigned to the node.
|
boolean |
hasProviderID()
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
+optional
|
boolean |
hasUnschedulable()
Unschedulable controls node schedulability of new pods.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.NodeSpec.Builder |
mergeConfigSource(V1.NodeConfigSource value)
If specified, the source to get node configuration from
The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field
+optional
|
V1.NodeSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.NodeSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.NodeSpec.Builder |
mergeFrom(V1.NodeSpec other) |
V1.NodeSpec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.NodeSpec.Builder |
removeTaints(int index)
If specified, the node's taints.
|
V1.NodeSpec.Builder |
setConfigSource(V1.NodeConfigSource.Builder builderForValue)
If specified, the source to get node configuration from
The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field
+optional
|
V1.NodeSpec.Builder |
setConfigSource(V1.NodeConfigSource value)
If specified, the source to get node configuration from
The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field
+optional
|
V1.NodeSpec.Builder |
setExternalID(String value)
Deprecated.
|
V1.NodeSpec.Builder |
setExternalIDBytes(com.google.protobuf.ByteString value)
Deprecated.
|
V1.NodeSpec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.NodeSpec.Builder |
setPodCIDR(String value)
PodCIDR represents the pod IP range assigned to the node.
|
V1.NodeSpec.Builder |
setPodCIDRBytes(com.google.protobuf.ByteString value)
PodCIDR represents the pod IP range assigned to the node.
|
V1.NodeSpec.Builder |
setProviderID(String value)
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
+optional
|
V1.NodeSpec.Builder |
setProviderIDBytes(com.google.protobuf.ByteString value)
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
+optional
|
V1.NodeSpec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.NodeSpec.Builder |
setTaints(int index,
V1.Taint.Builder builderForValue)
If specified, the node's taints.
|
V1.NodeSpec.Builder |
setTaints(int index,
V1.Taint value)
If specified, the node's taints.
|
V1.NodeSpec.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.NodeSpec.Builder |
setUnschedulable(boolean value)
Unschedulable controls node schedulability of new pods.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeSpec.Builder>public V1.NodeSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeSpec.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeSpec.Builder>public V1.NodeSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.NodeSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.NodeSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.NodeSpec.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeSpec.Builder>public V1.NodeSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeSpec.Builder>public V1.NodeSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeSpec.Builder>public V1.NodeSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeSpec.Builder>public V1.NodeSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeSpec.Builder>public V1.NodeSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeSpec.Builder>public V1.NodeSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.NodeSpec.Builder>public V1.NodeSpec.Builder mergeFrom(V1.NodeSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeSpec.Builder>public V1.NodeSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.NodeSpec.Builder>IOExceptionpublic boolean hasPodCIDR()
PodCIDR represents the pod IP range assigned to the node. +optional
optional string podCIDR = 1;hasPodCIDR in interface V1.NodeSpecOrBuilderpublic String getPodCIDR()
PodCIDR represents the pod IP range assigned to the node. +optional
optional string podCIDR = 1;getPodCIDR in interface V1.NodeSpecOrBuilderpublic com.google.protobuf.ByteString getPodCIDRBytes()
PodCIDR represents the pod IP range assigned to the node. +optional
optional string podCIDR = 1;getPodCIDRBytes in interface V1.NodeSpecOrBuilderpublic V1.NodeSpec.Builder setPodCIDR(String value)
PodCIDR represents the pod IP range assigned to the node. +optional
optional string podCIDR = 1;public V1.NodeSpec.Builder clearPodCIDR()
PodCIDR represents the pod IP range assigned to the node. +optional
optional string podCIDR = 1;public V1.NodeSpec.Builder setPodCIDRBytes(com.google.protobuf.ByteString value)
PodCIDR represents the pod IP range assigned to the node. +optional
optional string podCIDR = 1;public boolean hasProviderID()
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optional
optional string providerID = 3;hasProviderID in interface V1.NodeSpecOrBuilderpublic String getProviderID()
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optional
optional string providerID = 3;getProviderID in interface V1.NodeSpecOrBuilderpublic com.google.protobuf.ByteString getProviderIDBytes()
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optional
optional string providerID = 3;getProviderIDBytes in interface V1.NodeSpecOrBuilderpublic V1.NodeSpec.Builder setProviderID(String value)
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optional
optional string providerID = 3;public V1.NodeSpec.Builder clearProviderID()
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optional
optional string providerID = 3;public V1.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;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;hasUnschedulable in interface V1.NodeSpecOrBuilderpublic 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;getUnschedulable in interface V1.NodeSpecOrBuilderpublic V1.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;public V1.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;public List<V1.Taint> getTaintsList()
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;getTaintsList in interface V1.NodeSpecOrBuilderpublic int getTaintsCount()
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;getTaintsCount in interface V1.NodeSpecOrBuilderpublic V1.Taint getTaints(int index)
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;getTaints in interface V1.NodeSpecOrBuilderpublic V1.NodeSpec.Builder setTaints(int index, V1.Taint value)
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;public V1.NodeSpec.Builder setTaints(int index, V1.Taint.Builder builderForValue)
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;public V1.NodeSpec.Builder addTaints(V1.Taint value)
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;public V1.NodeSpec.Builder addTaints(int index, V1.Taint value)
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;public V1.NodeSpec.Builder addTaints(V1.Taint.Builder builderForValue)
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;public V1.NodeSpec.Builder addTaints(int index, V1.Taint.Builder builderForValue)
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;public V1.NodeSpec.Builder addAllTaints(Iterable<? extends V1.Taint> values)
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;public V1.NodeSpec.Builder clearTaints()
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;public V1.NodeSpec.Builder removeTaints(int index)
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;public V1.Taint.Builder getTaintsBuilder(int index)
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;public V1.TaintOrBuilder getTaintsOrBuilder(int index)
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;getTaintsOrBuilder in interface V1.NodeSpecOrBuilderpublic List<? extends V1.TaintOrBuilder> getTaintsOrBuilderList()
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;getTaintsOrBuilderList in interface V1.NodeSpecOrBuilderpublic V1.Taint.Builder addTaintsBuilder()
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;public V1.Taint.Builder addTaintsBuilder(int index)
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;public List<V1.Taint.Builder> getTaintsBuilderList()
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;public boolean hasConfigSource()
If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;hasConfigSource in interface V1.NodeSpecOrBuilderpublic V1.NodeConfigSource getConfigSource()
If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;getConfigSource in interface V1.NodeSpecOrBuilderpublic V1.NodeSpec.Builder setConfigSource(V1.NodeConfigSource value)
If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;public V1.NodeSpec.Builder setConfigSource(V1.NodeConfigSource.Builder builderForValue)
If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;public V1.NodeSpec.Builder mergeConfigSource(V1.NodeConfigSource value)
If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;public V1.NodeSpec.Builder clearConfigSource()
If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;public V1.NodeConfigSource.Builder getConfigSourceBuilder()
If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;public V1.NodeConfigSourceOrBuilder getConfigSourceOrBuilder()
If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;getConfigSourceOrBuilder in interface V1.NodeSpecOrBuilderpublic 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;hasExternalID in interface V1.NodeSpecOrBuilderpublic 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;getExternalID in interface V1.NodeSpecOrBuilderpublic 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;getExternalIDBytes in interface V1.NodeSpecOrBuilderpublic V1.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;public V1.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;public V1.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;public final V1.NodeSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeSpec.Builder>public final V1.NodeSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeSpec.Builder>Copyright © 2019. All rights reserved.