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 class
NodeSpec 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 int
static final int
static final com.google.protobuf.Parser<V1.NodeSpec>
Deprecated.static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Deprecated.static V1.NodeSpec
static final com.google.protobuf.Descriptors.Descriptor
Deprecated.com.google.protobuf.ByteString
Deprecated.com.google.protobuf.Parser<V1.NodeSpec>
PodCIDR represents the pod IP range assigned to the node.com.google.protobuf.ByteString
PodCIDR 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.ByteString
getPodCIDRsBytes
(int index) podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.int
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.com.google.protobuf.ProtocolStringList
podCIDRs 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.ByteString
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optionalint
getTaints
(int index) If specified, the node's taints.int
If 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.UnknownFieldSet
boolean
Unschedulable controls node schedulability of new pods.boolean
Deprecated.boolean
Deprecated.int
hashCode()
boolean
PodCIDR represents the pod IP range assigned to the node.boolean
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optionalboolean
Unschedulable controls node schedulability of new pods.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
static V1.NodeSpec.Builder
static V1.NodeSpec.Builder
newBuilder
(V1.NodeSpec prototype) 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
(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 V1.NodeSpec
parseFrom
(ByteBuffer data) static V1.NodeSpec
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1.NodeSpec>
parser()
void
writeTo
(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, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in 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:
hasPodCIDR
in interfaceV1.NodeSpecOrBuilder
-
getPodCIDR
PodCIDR represents the pod IP range assigned to the node. +optional
optional string podCIDR = 1;
- Specified by:
getPodCIDR
in 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:
getPodCIDRBytes
in 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:
getPodCIDRsList
in 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:
getPodCIDRsCount
in 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:
getPodCIDRs
in 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:
getPodCIDRsBytes
in 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:
hasProviderID
in interfaceV1.NodeSpecOrBuilder
-
getProviderID
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optional
optional string providerID = 3;
- Specified by:
getProviderID
in 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:
getProviderIDBytes
in 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:
hasUnschedulable
in 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:
getUnschedulable
in interfaceV1.NodeSpecOrBuilder
-
getTaintsList
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;
- Specified by:
getTaintsList
in interfaceV1.NodeSpecOrBuilder
-
getTaintsOrBuilderList
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;
- Specified by:
getTaintsOrBuilderList
in interfaceV1.NodeSpecOrBuilder
-
getTaintsCount
public int getTaintsCount()If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;
- Specified by:
getTaintsCount
in interfaceV1.NodeSpecOrBuilder
-
getTaints
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;
- Specified by:
getTaints
in interfaceV1.NodeSpecOrBuilder
-
getTaintsOrBuilder
If specified, the node's taints. +optional
repeated .k8s.io.api.core.v1.Taint taints = 5;
- Specified by:
getTaintsOrBuilder
in 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:
hasConfigSource
in 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:
getConfigSource
in 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:
getConfigSourceOrBuilder
in 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:
hasExternalID
in 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:
getExternalID
in 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:
getExternalIDBytes
in interfaceV1.NodeSpecOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1.NodeSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-