Package k8s.io.api.core.v1
Class Generated.NodeSpec
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.NodeSpec
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.NodeSpecOrBuilder
- Enclosing class:
- Generated
public static final class Generated.NodeSpec extends com.google.protobuf.GeneratedMessageV3 implements Generated.NodeSpecOrBuilder
NodeSpec describes the attributes that a node is created with.
Protobuf typek8s.io.api.core.v1.NodeSpec- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.NodeSpec.BuilderNodeSpec 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<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCONFIGSOURCE_FIELD_NUMBERstatic intEXTERNALID_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.NodeSpec>PARSERDeprecated.static intPODCIDR_FIELD_NUMBERstatic intPODCIDRS_FIELD_NUMBERstatic intPROVIDERID_FIELD_NUMBERstatic intTAINTS_FIELD_NUMBERstatic intUNSCHEDULABLE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Generated.NodeConfigSourcegetConfigSource()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.static Generated.NodeSpecgetDefaultInstance()Generated.NodeSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetExternalID()Deprecated.com.google.protobuf.ByteStringgetExternalIDBytes()Deprecated.com.google.protobuf.Parser<Generated.NodeSpec>getParserForType()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> +optionalintgetSerializedSize()Generated.TaintgetTaints(int index)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.inthashCode()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()static Generated.NodeSpec.BuildernewBuilder()static Generated.NodeSpec.BuildernewBuilder(Generated.NodeSpec prototype)Generated.NodeSpec.BuildernewBuilderForType()protected Generated.NodeSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.NodeSpecparseDelimitedFrom(InputStream input)static Generated.NodeSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.NodeSpecparseFrom(byte[] data)static Generated.NodeSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.NodeSpecparseFrom(com.google.protobuf.ByteString data)static Generated.NodeSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.NodeSpecparseFrom(com.google.protobuf.CodedInputStream input)static Generated.NodeSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.NodeSpecparseFrom(InputStream input)static Generated.NodeSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.NodeSpecparseFrom(ByteBuffer data)static Generated.NodeSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.NodeSpec>parser()Generated.NodeSpec.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, 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
-
-
-
-
Field Detail
-
PODCIDR_FIELD_NUMBER
public static final int PODCIDR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PODCIDRS_FIELD_NUMBER
public static final int PODCIDRS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROVIDERID_FIELD_NUMBER
public static final int PROVIDERID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNSCHEDULABLE_FIELD_NUMBER
public static final int UNSCHEDULABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAINTS_FIELD_NUMBER
public static final int TAINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIGSOURCE_FIELD_NUMBER
public static final int CONFIGSOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTERNALID_FIELD_NUMBER
public static final int EXTERNALID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.NodeSpec> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein 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 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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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 Generated.NodeSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.NodeSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.NodeSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.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 Generated.NodeSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.NodeSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.NodeSpec parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.NodeSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.NodeSpec parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.NodeSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.NodeSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.NodeSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.NodeSpec.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.NodeSpec.Builder newBuilder()
-
newBuilder
public static Generated.NodeSpec.Builder newBuilder(Generated.NodeSpec prototype)
-
toBuilder
public Generated.NodeSpec.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.NodeSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.NodeSpec getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.NodeSpec> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.NodeSpec> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.NodeSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-