public static final class V1.NodeSpec extends com.google.protobuf.GeneratedMessageV3 implements V1.NodeSpecOrBuilder
NodeSpec describes the attributes that a node is created with.Protobuf type
k8s.io.api.core.v1.NodeSpec| Modifier and Type | Class and Description |
|---|---|
static class |
V1.NodeSpec.Builder
NodeSpec describes the attributes that a node is created with.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONFIGSOURCE_FIELD_NUMBER |
static int |
EXTERNALID_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.NodeSpec> |
PARSER
Deprecated.
|
static int |
PODCIDR_FIELD_NUMBER |
static int |
PROVIDERID_FIELD_NUMBER |
static int |
TAINTS_FIELD_NUMBER |
static int |
UNSCHEDULABLE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.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
|
static V1.NodeSpec |
getDefaultInstance() |
V1.NodeSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getExternalID()
Deprecated.
|
com.google.protobuf.ByteString |
getExternalIDBytes()
Deprecated.
|
com.google.protobuf.Parser<V1.NodeSpec> |
getParserForType() |
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
|
int |
getSerializedSize() |
V1.Taint |
getTaints(int index)
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
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() |
static V1.NodeSpec.Builder |
newBuilder() |
static V1.NodeSpec.Builder |
newBuilder(V1.NodeSpec prototype) |
V1.NodeSpec.Builder |
newBuilderForType() |
protected V1.NodeSpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.NodeSpec |
parseDelimitedFrom(InputStream input) |
static V1.NodeSpec |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.NodeSpec |
parseFrom(byte[] data) |
static V1.NodeSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.NodeSpec |
parseFrom(ByteBuffer data) |
static V1.NodeSpec |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.NodeSpec |
parseFrom(com.google.protobuf.ByteString data) |
static V1.NodeSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.NodeSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.NodeSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.NodeSpec |
parseFrom(InputStream input) |
static V1.NodeSpec |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.NodeSpec> |
parser() |
V1.NodeSpec.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PODCIDR_FIELD_NUMBER
public static final int PROVIDERID_FIELD_NUMBER
public static final int UNSCHEDULABLE_FIELD_NUMBER
public static final int TAINTS_FIELD_NUMBER
public static final int CONFIGSOURCE_FIELD_NUMBER
public static final int EXTERNALID_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.NodeSpec> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 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.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 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.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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1.NodeSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.NodeSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.NodeSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.NodeSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.NodeSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.NodeSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.NodeSpec parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.NodeSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.NodeSpec parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.NodeSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.NodeSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.NodeSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.NodeSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.NodeSpec.Builder newBuilder()
public static V1.NodeSpec.Builder newBuilder(V1.NodeSpec prototype)
public V1.NodeSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.NodeSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.NodeSpec getDefaultInstance()
public static com.google.protobuf.Parser<V1.NodeSpec> parser()
public com.google.protobuf.Parser<V1.NodeSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.NodeSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.