Class Generated.NodeStatus

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Generated.NodeStatusOrBuilder
    Enclosing class:
    Generated

    public static final class Generated.NodeStatus
    extends com.google.protobuf.GeneratedMessageV3
    implements Generated.NodeStatusOrBuilder
     NodeStatus is information about the current status of a node.
     
    Protobuf type k8s.io.api.core.v1.NodeStatus
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)
        Overrides:
        internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getCapacityCount

        public int getCapacityCount()
        Description copied from interface: Generated.NodeStatusOrBuilder
         Capacity represents the total resources of a node.
         More info: https://kubernetes.io/docs/reference/node/node-status/#capacity
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
        Specified by:
        getCapacityCount in interface Generated.NodeStatusOrBuilder
      • containsCapacity

        public boolean containsCapacity​(String key)
         Capacity represents the total resources of a node.
         More info: https://kubernetes.io/docs/reference/node/node-status/#capacity
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
        Specified by:
        containsCapacity in interface Generated.NodeStatusOrBuilder
      • getCapacityMap

        public Map<String,​Generated.Quantity> getCapacityMap()
         Capacity represents the total resources of a node.
         More info: https://kubernetes.io/docs/reference/node/node-status/#capacity
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
        Specified by:
        getCapacityMap in interface Generated.NodeStatusOrBuilder
      • getCapacityOrThrow

        public Generated.Quantity getCapacityOrThrow​(String key)
         Capacity represents the total resources of a node.
         More info: https://kubernetes.io/docs/reference/node/node-status/#capacity
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
        Specified by:
        getCapacityOrThrow in interface Generated.NodeStatusOrBuilder
      • getAllocatableCount

        public int getAllocatableCount()
        Description copied from interface: Generated.NodeStatusOrBuilder
         Allocatable represents the resources of a node that are available for scheduling.
         Defaults to Capacity.
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatable = 2;
        Specified by:
        getAllocatableCount in interface Generated.NodeStatusOrBuilder
      • containsAllocatable

        public boolean containsAllocatable​(String key)
         Allocatable represents the resources of a node that are available for scheduling.
         Defaults to Capacity.
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatable = 2;
        Specified by:
        containsAllocatable in interface Generated.NodeStatusOrBuilder
      • hasPhase

        public boolean hasPhase()
         NodePhase is the recently observed lifecycle phase of the node.
         More info: https://kubernetes.io/docs/concepts/nodes/node/#phase
         The field is never populated, and now is deprecated.
         +optional
         
        optional string phase = 3;
        Specified by:
        hasPhase in interface Generated.NodeStatusOrBuilder
        Returns:
        Whether the phase field is set.
      • getPhase

        public String getPhase()
         NodePhase is the recently observed lifecycle phase of the node.
         More info: https://kubernetes.io/docs/concepts/nodes/node/#phase
         The field is never populated, and now is deprecated.
         +optional
         
        optional string phase = 3;
        Specified by:
        getPhase in interface Generated.NodeStatusOrBuilder
        Returns:
        The phase.
      • getPhaseBytes

        public com.google.protobuf.ByteString getPhaseBytes()
         NodePhase is the recently observed lifecycle phase of the node.
         More info: https://kubernetes.io/docs/concepts/nodes/node/#phase
         The field is never populated, and now is deprecated.
         +optional
         
        optional string phase = 3;
        Specified by:
        getPhaseBytes in interface Generated.NodeStatusOrBuilder
        Returns:
        The bytes for phase.
      • getConditionsList

        public List<Generated.NodeCondition> getConditionsList()
         Conditions is an array of current observed node conditions.
         More info: https://kubernetes.io/docs/reference/node/node-status/#condition
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NodeCondition conditions = 4;
        Specified by:
        getConditionsList in interface Generated.NodeStatusOrBuilder
      • getConditionsOrBuilderList

        public List<? extends Generated.NodeConditionOrBuilder> getConditionsOrBuilderList()
         Conditions is an array of current observed node conditions.
         More info: https://kubernetes.io/docs/reference/node/node-status/#condition
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NodeCondition conditions = 4;
        Specified by:
        getConditionsOrBuilderList in interface Generated.NodeStatusOrBuilder
      • getConditionsCount

        public int getConditionsCount()
         Conditions is an array of current observed node conditions.
         More info: https://kubernetes.io/docs/reference/node/node-status/#condition
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NodeCondition conditions = 4;
        Specified by:
        getConditionsCount in interface Generated.NodeStatusOrBuilder
      • getConditions

        public Generated.NodeCondition getConditions​(int index)
         Conditions is an array of current observed node conditions.
         More info: https://kubernetes.io/docs/reference/node/node-status/#condition
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NodeCondition conditions = 4;
        Specified by:
        getConditions in interface Generated.NodeStatusOrBuilder
      • getConditionsOrBuilder

        public Generated.NodeConditionOrBuilder getConditionsOrBuilder​(int index)
         Conditions is an array of current observed node conditions.
         More info: https://kubernetes.io/docs/reference/node/node-status/#condition
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NodeCondition conditions = 4;
        Specified by:
        getConditionsOrBuilder in interface Generated.NodeStatusOrBuilder
      • getAddressesList

        public List<Generated.NodeAddress> getAddressesList()
         List of addresses reachable to the node.
         Queried from cloud provider, if available.
         More info: https://kubernetes.io/docs/reference/node/node-status/#addresses
         Note: This field is declared as mergeable, but the merge key is not sufficiently
         unique, which can cause data corruption when it is merged. Callers should instead
         use a full-replacement patch. See https://pr.k8s.io/79391 for an example.
         Consumers should assume that addresses can change during the
         lifetime of a Node. However, there are some exceptions where this may not
         be possible, such as Pods that inherit a Node's address in its own status or
         consumers of the downward API (status.hostIP).
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NodeAddress addresses = 5;
        Specified by:
        getAddressesList in interface Generated.NodeStatusOrBuilder
      • getAddressesOrBuilderList

        public List<? extends Generated.NodeAddressOrBuilder> getAddressesOrBuilderList()
         List of addresses reachable to the node.
         Queried from cloud provider, if available.
         More info: https://kubernetes.io/docs/reference/node/node-status/#addresses
         Note: This field is declared as mergeable, but the merge key is not sufficiently
         unique, which can cause data corruption when it is merged. Callers should instead
         use a full-replacement patch. See https://pr.k8s.io/79391 for an example.
         Consumers should assume that addresses can change during the
         lifetime of a Node. However, there are some exceptions where this may not
         be possible, such as Pods that inherit a Node's address in its own status or
         consumers of the downward API (status.hostIP).
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NodeAddress addresses = 5;
        Specified by:
        getAddressesOrBuilderList in interface Generated.NodeStatusOrBuilder
      • getAddressesCount

        public int getAddressesCount()
         List of addresses reachable to the node.
         Queried from cloud provider, if available.
         More info: https://kubernetes.io/docs/reference/node/node-status/#addresses
         Note: This field is declared as mergeable, but the merge key is not sufficiently
         unique, which can cause data corruption when it is merged. Callers should instead
         use a full-replacement patch. See https://pr.k8s.io/79391 for an example.
         Consumers should assume that addresses can change during the
         lifetime of a Node. However, there are some exceptions where this may not
         be possible, such as Pods that inherit a Node's address in its own status or
         consumers of the downward API (status.hostIP).
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NodeAddress addresses = 5;
        Specified by:
        getAddressesCount in interface Generated.NodeStatusOrBuilder
      • getAddresses

        public Generated.NodeAddress getAddresses​(int index)
         List of addresses reachable to the node.
         Queried from cloud provider, if available.
         More info: https://kubernetes.io/docs/reference/node/node-status/#addresses
         Note: This field is declared as mergeable, but the merge key is not sufficiently
         unique, which can cause data corruption when it is merged. Callers should instead
         use a full-replacement patch. See https://pr.k8s.io/79391 for an example.
         Consumers should assume that addresses can change during the
         lifetime of a Node. However, there are some exceptions where this may not
         be possible, such as Pods that inherit a Node's address in its own status or
         consumers of the downward API (status.hostIP).
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NodeAddress addresses = 5;
        Specified by:
        getAddresses in interface Generated.NodeStatusOrBuilder
      • getAddressesOrBuilder

        public Generated.NodeAddressOrBuilder getAddressesOrBuilder​(int index)
         List of addresses reachable to the node.
         Queried from cloud provider, if available.
         More info: https://kubernetes.io/docs/reference/node/node-status/#addresses
         Note: This field is declared as mergeable, but the merge key is not sufficiently
         unique, which can cause data corruption when it is merged. Callers should instead
         use a full-replacement patch. See https://pr.k8s.io/79391 for an example.
         Consumers should assume that addresses can change during the
         lifetime of a Node. However, there are some exceptions where this may not
         be possible, such as Pods that inherit a Node's address in its own status or
         consumers of the downward API (status.hostIP).
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.NodeAddress addresses = 5;
        Specified by:
        getAddressesOrBuilder in interface Generated.NodeStatusOrBuilder
      • hasDaemonEndpoints

        public boolean hasDaemonEndpoints()
         Endpoints of daemons running on the Node.
         +optional
         
        optional .k8s.io.api.core.v1.NodeDaemonEndpoints daemonEndpoints = 6;
        Specified by:
        hasDaemonEndpoints in interface Generated.NodeStatusOrBuilder
        Returns:
        Whether the daemonEndpoints field is set.
      • hasNodeInfo

        public boolean hasNodeInfo()
         Set of ids/uuids to uniquely identify the node.
         More info: https://kubernetes.io/docs/reference/node/node-status/#info
         +optional
         
        optional .k8s.io.api.core.v1.NodeSystemInfo nodeInfo = 7;
        Specified by:
        hasNodeInfo in interface Generated.NodeStatusOrBuilder
        Returns:
        Whether the nodeInfo field is set.
      • getNodeInfo

        public Generated.NodeSystemInfo getNodeInfo()
         Set of ids/uuids to uniquely identify the node.
         More info: https://kubernetes.io/docs/reference/node/node-status/#info
         +optional
         
        optional .k8s.io.api.core.v1.NodeSystemInfo nodeInfo = 7;
        Specified by:
        getNodeInfo in interface Generated.NodeStatusOrBuilder
        Returns:
        The nodeInfo.
      • getImagesCount

        public int getImagesCount()
         List of container images on this node
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.ContainerImage images = 8;
        Specified by:
        getImagesCount in interface Generated.NodeStatusOrBuilder
      • getVolumesInUseList

        public com.google.protobuf.ProtocolStringList getVolumesInUseList()
         List of attachable volumes in use (mounted) by the node.
         +optional
         +listType=atomic
         
        repeated string volumesInUse = 9;
        Specified by:
        getVolumesInUseList in interface Generated.NodeStatusOrBuilder
        Returns:
        A list containing the volumesInUse.
      • getVolumesInUseCount

        public int getVolumesInUseCount()
         List of attachable volumes in use (mounted) by the node.
         +optional
         +listType=atomic
         
        repeated string volumesInUse = 9;
        Specified by:
        getVolumesInUseCount in interface Generated.NodeStatusOrBuilder
        Returns:
        The count of volumesInUse.
      • getVolumesInUse

        public String getVolumesInUse​(int index)
         List of attachable volumes in use (mounted) by the node.
         +optional
         +listType=atomic
         
        repeated string volumesInUse = 9;
        Specified by:
        getVolumesInUse in interface Generated.NodeStatusOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The volumesInUse at the given index.
      • getVolumesInUseBytes

        public com.google.protobuf.ByteString getVolumesInUseBytes​(int index)
         List of attachable volumes in use (mounted) by the node.
         +optional
         +listType=atomic
         
        repeated string volumesInUse = 9;
        Specified by:
        getVolumesInUseBytes in interface Generated.NodeStatusOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the volumesInUse at the given index.
      • getVolumesAttachedCount

        public int getVolumesAttachedCount()
         List of volumes that are attached to the node.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.AttachedVolume volumesAttached = 10;
        Specified by:
        getVolumesAttachedCount in interface Generated.NodeStatusOrBuilder
      • hasConfig

        public boolean hasConfig()
         Status of the config assigned to the node via the dynamic Kubelet config feature.
         +optional
         
        optional .k8s.io.api.core.v1.NodeConfigStatus config = 11;
        Specified by:
        hasConfig in interface Generated.NodeStatusOrBuilder
        Returns:
        Whether the config field is set.
      • getRuntimeHandlersCount

        public int getRuntimeHandlersCount()
         The available runtime handlers.
         +featureGate=RecursiveReadOnlyMounts
         +featureGate=UserNamespacesSupport
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.NodeRuntimeHandler runtimeHandlers = 12;
        Specified by:
        getRuntimeHandlersCount in interface Generated.NodeStatusOrBuilder
      • hasFeatures

        public boolean hasFeatures()
         Features describes the set of features implemented by the CRI implementation.
         +featureGate=SupplementalGroupsPolicy
         +optional
         
        optional .k8s.io.api.core.v1.NodeFeatures features = 13;
        Specified by:
        hasFeatures in interface Generated.NodeStatusOrBuilder
        Returns:
        Whether the features field is set.
      • getFeatures

        public Generated.NodeFeatures getFeatures()
         Features describes the set of features implemented by the CRI implementation.
         +featureGate=SupplementalGroupsPolicy
         +optional
         
        optional .k8s.io.api.core.v1.NodeFeatures features = 13;
        Specified by:
        getFeatures in interface Generated.NodeStatusOrBuilder
        Returns:
        The features.
      • 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 Generated.NodeStatus parseFrom​(ByteBuffer data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.NodeStatus parseFrom​(ByteBuffer data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.NodeStatus parseFrom​(com.google.protobuf.ByteString data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.NodeStatus 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.NodeStatus parseFrom​(byte[] data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.NodeStatus parseFrom​(byte[] data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

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

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

        protected Generated.NodeStatus.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Generated.NodeStatus> 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 Generated.NodeStatus getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder