Package io.kubernetes.client.proto
Class V1.NodeSpec
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1.NodeSpec
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1.NodeSpecOrBuilder,Serializable
- Enclosing class:
- V1
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classNodeSpec describes the attributes that a node is created with.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final com.google.protobuf.Parser<V1.NodeSpec>Deprecated.static final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Deprecated.static V1.NodeSpecstatic final com.google.protobuf.Descriptors.DescriptorDeprecated.com.google.protobuf.ByteStringDeprecated.com.google.protobuf.Parser<V1.NodeSpec>PodCIDR represents the pod IP range assigned to the node.com.google.protobuf.ByteStringPodCIDR represents the pod IP range assigned to the node.getPodCIDRs(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.intpodCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.com.google.protobuf.ProtocolStringListpodCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optionalcom.google.protobuf.ByteStringID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optionalintgetTaints(int index) If specified, the node's taints.intIf specified, the node's taints.If specified, the node's taints.getTaintsOrBuilder(int index) If specified, the node's taints.List<? extends V1.TaintOrBuilder>If specified, the node's taints.final com.google.protobuf.UnknownFieldSetbooleanUnschedulable controls node schedulability of new pods.booleanDeprecated.booleanDeprecated.inthashCode()booleanPodCIDR represents the pod IP range assigned to the node.booleanID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optionalbooleanUnschedulable controls node schedulability of new pods.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic V1.NodeSpec.Builderstatic V1.NodeSpec.BuildernewBuilder(V1.NodeSpec prototype) protected V1.NodeSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static V1.NodeSpecparseDelimitedFrom(InputStream input) static V1.NodeSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.NodeSpecparseFrom(byte[] data) static V1.NodeSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.NodeSpecparseFrom(com.google.protobuf.ByteString data) static V1.NodeSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.NodeSpecparseFrom(com.google.protobuf.CodedInputStream input) static V1.NodeSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.NodeSpecparseFrom(InputStream input) static V1.NodeSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.NodeSpecparseFrom(ByteBuffer data) static V1.NodeSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1.NodeSpec>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
PODCIDR_FIELD_NUMBER
public static final int PODCIDR_FIELD_NUMBER- See Also:
-
PODCIDRS_FIELD_NUMBER
public static final int PODCIDRS_FIELD_NUMBER- See Also:
-
PROVIDERID_FIELD_NUMBER
public static final int PROVIDERID_FIELD_NUMBER- See Also:
-
UNSCHEDULABLE_FIELD_NUMBER
public static final int UNSCHEDULABLE_FIELD_NUMBER- See Also:
-
TAINTS_FIELD_NUMBER
public static final int TAINTS_FIELD_NUMBER- See Also:
-
CONFIGSOURCE_FIELD_NUMBER
public static final int CONFIGSOURCE_FIELD_NUMBER- See Also:
-
EXTERNALID_FIELD_NUMBER
public static final int EXTERNALID_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasPodCIDR
public boolean hasPodCIDR()PodCIDR represents the pod IP range assigned to the node. +optional
optional string podCIDR = 1;- Specified by:
hasPodCIDRin interfaceV1.NodeSpecOrBuilder
-
getPodCIDR
PodCIDR represents the pod IP range assigned to the node. +optional
optional string podCIDR = 1;- Specified by:
getPodCIDRin interfaceV1.NodeSpecOrBuilder
-
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 interfaceV1.NodeSpecOrBuilder
-
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
repeated string podCIDRs = 7;- Specified by:
getPodCIDRsListin interfaceV1.NodeSpecOrBuilder
-
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
repeated string podCIDRs = 7;- Specified by:
getPodCIDRsCountin interfaceV1.NodeSpecOrBuilder
-
getPodCIDRs
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
repeated string podCIDRs = 7;- Specified by:
getPodCIDRsin interfaceV1.NodeSpecOrBuilder
-
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
repeated string podCIDRs = 7;- Specified by:
getPodCIDRsBytesin interfaceV1.NodeSpecOrBuilder
-
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 interfaceV1.NodeSpecOrBuilder
-
getProviderID
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optional
optional string providerID = 3;- Specified by:
getProviderIDin interfaceV1.NodeSpecOrBuilder
-
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 interfaceV1.NodeSpecOrBuilder
-
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 interfaceV1.NodeSpecOrBuilder
-
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 interfaceV1.NodeSpecOrBuilder
-
getTaintsList
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;- Specified by:
getTaintsListin interfaceV1.NodeSpecOrBuilder
-
getTaintsOrBuilderList
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;- Specified by:
getTaintsOrBuilderListin interfaceV1.NodeSpecOrBuilder
-
getTaintsCount
public int getTaintsCount()If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;- Specified by:
getTaintsCountin interfaceV1.NodeSpecOrBuilder
-
getTaints
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;- Specified by:
getTaintsin interfaceV1.NodeSpecOrBuilder
-
getTaintsOrBuilder
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;- Specified by:
getTaintsOrBuilderin interfaceV1.NodeSpecOrBuilder
-
hasConfigSource
public boolean hasConfigSource()Deprecated. If specified, the source of the node's configuration. The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field. This field is deprecated as of 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;- Specified by:
hasConfigSourcein interfaceV1.NodeSpecOrBuilder
-
getConfigSource
Deprecated. If specified, the source of the node's configuration. The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field. This field is deprecated as of 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;- Specified by:
getConfigSourcein interfaceV1.NodeSpecOrBuilder
-
getConfigSourceOrBuilder
Deprecated. If specified, the source of the node's configuration. The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field. This field is deprecated as of 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;- Specified by:
getConfigSourceOrBuilderin interfaceV1.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 interfaceV1.NodeSpecOrBuilder
-
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 interfaceV1.NodeSpecOrBuilder
-
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 interfaceV1.NodeSpecOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static V1.NodeSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.NodeSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.NodeSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.NodeSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.NodeSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.NodeSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static V1.NodeSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static V1.NodeSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static V1.NodeSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1.NodeSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-