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 Classes
    Modifier and Type
    Class
    Description
    static 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

    Fields
    Modifier and Type
    Field
    Description
    static 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 Type
    Method
    Description
    boolean
     
    Deprecated.
    Deprecated.
     
     
    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> +optional
    com.google.protobuf.ByteString
    ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optional
    int
     
    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.
    If specified, the node's taints.
    final com.google.protobuf.UnknownFieldSet
     
    boolean
    Unschedulable controls node schedulability of new pods.
    boolean
    Deprecated.
    boolean
    Deprecated.
    int
     
    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> +optional
    boolean
    Unschedulable controls node schedulability of new pods.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<V1.NodeSpec>
     
     
    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

  • Method Details

    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.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 class com.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 interface V1.NodeSpecOrBuilder
    • getPodCIDR

      public String getPodCIDR()
       PodCIDR represents the pod IP range assigned to the node.
       +optional
       
      optional string podCIDR = 1;
      Specified by:
      getPodCIDR in interface V1.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 interface V1.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 interface V1.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 interface V1.NodeSpecOrBuilder
    • 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
       
      repeated string podCIDRs = 7;
      Specified by:
      getPodCIDRs in interface V1.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 interface V1.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 interface V1.NodeSpecOrBuilder
    • 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:
      getProviderID in interface V1.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 interface V1.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 interface V1.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 interface V1.NodeSpecOrBuilder
    • getTaintsList

      public List<V1.Taint> getTaintsList()
       If specified, the node's taints.
       +optional
       
      repeated .k8s.io.api.core.v1.Taint taints = 5;
      Specified by:
      getTaintsList in interface V1.NodeSpecOrBuilder
    • getTaintsOrBuilderList

      public List<? extends V1.TaintOrBuilder> getTaintsOrBuilderList()
       If specified, the node's taints.
       +optional
       
      repeated .k8s.io.api.core.v1.Taint taints = 5;
      Specified by:
      getTaintsOrBuilderList in interface V1.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 interface V1.NodeSpecOrBuilder
    • getTaints

      public V1.Taint getTaints(int index)
       If specified, the node's taints.
       +optional
       
      repeated .k8s.io.api.core.v1.Taint taints = 5;
      Specified by:
      getTaints in interface V1.NodeSpecOrBuilder
    • getTaintsOrBuilder

      public V1.TaintOrBuilder getTaintsOrBuilder(int index)
       If specified, the node's taints.
       +optional
       
      repeated .k8s.io.api.core.v1.Taint taints = 5;
      Specified by:
      getTaintsOrBuilder in interface V1.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 interface V1.NodeSpecOrBuilder
    • getConfigSource

      public V1.NodeConfigSource 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 interface V1.NodeSpecOrBuilder
    • getConfigSourceOrBuilder

      public V1.NodeConfigSourceOrBuilder 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 interface V1.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 interface V1.NodeSpecOrBuilder
    • 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:
      getExternalID in interface V1.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 interface V1.NodeSpecOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static V1.NodeSpec parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1.NodeSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V1.NodeSpec parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V1.NodeSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1.NodeSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1.NodeSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public V1.NodeSpec.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static V1.NodeSpec.Builder newBuilder()
    • newBuilder

      public static V1.NodeSpec.Builder newBuilder(V1.NodeSpec prototype)
    • toBuilder

      public V1.NodeSpec.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected V1.NodeSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static V1.NodeSpec getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<V1.NodeSpec> parser()
    • getParserForType

      public com.google.protobuf.Parser<V1.NodeSpec> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public V1.NodeSpec getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder