Package k8s.io.api.core.v1
Class Generated.NodeStatus
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.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 typek8s.io.api.core.v1.NodeStatus- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.NodeStatus.BuilderNodeStatus is information about the current status of a node.-
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 intADDRESSES_FIELD_NUMBERstatic intALLOCATABLE_FIELD_NUMBERstatic intCAPACITY_FIELD_NUMBERstatic intCONDITIONS_FIELD_NUMBERstatic intCONFIG_FIELD_NUMBERstatic intDAEMONENDPOINTS_FIELD_NUMBERstatic intFEATURES_FIELD_NUMBERstatic intIMAGES_FIELD_NUMBERstatic intNODEINFO_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.NodeStatus>PARSERDeprecated.static intPHASE_FIELD_NUMBERstatic intRUNTIMEHANDLERS_FIELD_NUMBERstatic intVOLUMESATTACHED_FIELD_NUMBERstatic intVOLUMESINUSE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsAllocatable(String key)Allocatable represents the resources of a node that are available for scheduling.booleancontainsCapacity(String key)Capacity represents the total resources of a node.booleanequals(Object obj)Generated.NodeAddressgetAddresses(int index)List of addresses reachable to the node.intgetAddressesCount()List of addresses reachable to the node.List<Generated.NodeAddress>getAddressesList()List of addresses reachable to the node.Generated.NodeAddressOrBuildergetAddressesOrBuilder(int index)List of addresses reachable to the node.List<? extends Generated.NodeAddressOrBuilder>getAddressesOrBuilderList()List of addresses reachable to the node.Map<String,Generated.Quantity>getAllocatable()Deprecated.intgetAllocatableCount()Allocatable represents the resources of a node that are available for scheduling.Map<String,Generated.Quantity>getAllocatableMap()Allocatable represents the resources of a node that are available for scheduling.Generated.QuantitygetAllocatableOrDefault(String key, Generated.Quantity defaultValue)Allocatable represents the resources of a node that are available for scheduling.Generated.QuantitygetAllocatableOrThrow(String key)Allocatable represents the resources of a node that are available for scheduling.Map<String,Generated.Quantity>getCapacity()Deprecated.intgetCapacityCount()Capacity represents the total resources of a node.Map<String,Generated.Quantity>getCapacityMap()Capacity represents the total resources of a node.Generated.QuantitygetCapacityOrDefault(String key, Generated.Quantity defaultValue)Capacity represents the total resources of a node.Generated.QuantitygetCapacityOrThrow(String key)Capacity represents the total resources of a node.Generated.NodeConditiongetConditions(int index)Conditions is an array of current observed node conditions.intgetConditionsCount()Conditions is an array of current observed node conditions.List<Generated.NodeCondition>getConditionsList()Conditions is an array of current observed node conditions.Generated.NodeConditionOrBuildergetConditionsOrBuilder(int index)Conditions is an array of current observed node conditions.List<? extends Generated.NodeConditionOrBuilder>getConditionsOrBuilderList()Conditions is an array of current observed node conditions.Generated.NodeConfigStatusgetConfig()Status of the config assigned to the node via the dynamic Kubelet config feature.Generated.NodeConfigStatusOrBuildergetConfigOrBuilder()Status of the config assigned to the node via the dynamic Kubelet config feature.Generated.NodeDaemonEndpointsgetDaemonEndpoints()Endpoints of daemons running on the Node.Generated.NodeDaemonEndpointsOrBuildergetDaemonEndpointsOrBuilder()Endpoints of daemons running on the Node.static Generated.NodeStatusgetDefaultInstance()Generated.NodeStatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Generated.NodeFeaturesgetFeatures()Features describes the set of features implemented by the CRI implementation.Generated.NodeFeaturesOrBuildergetFeaturesOrBuilder()Features describes the set of features implemented by the CRI implementation.Generated.ContainerImagegetImages(int index)List of container images on this node +optional +listType=atomicintgetImagesCount()List of container images on this node +optional +listType=atomicList<Generated.ContainerImage>getImagesList()List of container images on this node +optional +listType=atomicGenerated.ContainerImageOrBuildergetImagesOrBuilder(int index)List of container images on this node +optional +listType=atomicList<? extends Generated.ContainerImageOrBuilder>getImagesOrBuilderList()List of container images on this node +optional +listType=atomicGenerated.NodeSystemInfogetNodeInfo()Set of ids/uuids to uniquely identify the node.Generated.NodeSystemInfoOrBuildergetNodeInfoOrBuilder()Set of ids/uuids to uniquely identify the node.com.google.protobuf.Parser<Generated.NodeStatus>getParserForType()StringgetPhase()NodePhase is the recently observed lifecycle phase of the node.com.google.protobuf.ByteStringgetPhaseBytes()NodePhase is the recently observed lifecycle phase of the node.Generated.NodeRuntimeHandlergetRuntimeHandlers(int index)The available runtime handlers.intgetRuntimeHandlersCount()The available runtime handlers.List<Generated.NodeRuntimeHandler>getRuntimeHandlersList()The available runtime handlers.Generated.NodeRuntimeHandlerOrBuildergetRuntimeHandlersOrBuilder(int index)The available runtime handlers.List<? extends Generated.NodeRuntimeHandlerOrBuilder>getRuntimeHandlersOrBuilderList()The available runtime handlers.intgetSerializedSize()Generated.AttachedVolumegetVolumesAttached(int index)List of volumes that are attached to the node.intgetVolumesAttachedCount()List of volumes that are attached to the node.List<Generated.AttachedVolume>getVolumesAttachedList()List of volumes that are attached to the node.Generated.AttachedVolumeOrBuildergetVolumesAttachedOrBuilder(int index)List of volumes that are attached to the node.List<? extends Generated.AttachedVolumeOrBuilder>getVolumesAttachedOrBuilderList()List of volumes that are attached to the node.StringgetVolumesInUse(int index)List of attachable volumes in use (mounted) by the node.com.google.protobuf.ByteStringgetVolumesInUseBytes(int index)List of attachable volumes in use (mounted) by the node.intgetVolumesInUseCount()List of attachable volumes in use (mounted) by the node.com.google.protobuf.ProtocolStringListgetVolumesInUseList()List of attachable volumes in use (mounted) by the node.booleanhasConfig()Status of the config assigned to the node via the dynamic Kubelet config feature.booleanhasDaemonEndpoints()Endpoints of daemons running on the Node.booleanhasFeatures()Features describes the set of features implemented by the CRI implementation.inthashCode()booleanhasNodeInfo()Set of ids/uuids to uniquely identify the node.booleanhasPhase()NodePhase is the recently observed lifecycle phase of the node.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)booleanisInitialized()static Generated.NodeStatus.BuildernewBuilder()static Generated.NodeStatus.BuildernewBuilder(Generated.NodeStatus prototype)Generated.NodeStatus.BuildernewBuilderForType()protected Generated.NodeStatus.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.NodeStatusparseDelimitedFrom(InputStream input)static Generated.NodeStatusparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.NodeStatusparseFrom(byte[] data)static Generated.NodeStatusparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.NodeStatusparseFrom(com.google.protobuf.ByteString data)static Generated.NodeStatusparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.NodeStatusparseFrom(com.google.protobuf.CodedInputStream input)static Generated.NodeStatusparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.NodeStatusparseFrom(InputStream input)static Generated.NodeStatusparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.NodeStatusparseFrom(ByteBuffer data)static Generated.NodeStatusparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.NodeStatus>parser()Generated.NodeStatus.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, 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
-
CAPACITY_FIELD_NUMBER
public static final int CAPACITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOCATABLE_FIELD_NUMBER
public static final int ALLOCATABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PHASE_FIELD_NUMBER
public static final int PHASE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONDITIONS_FIELD_NUMBER
public static final int CONDITIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADDRESSES_FIELD_NUMBER
public static final int ADDRESSES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DAEMONENDPOINTS_FIELD_NUMBER
public static final int DAEMONENDPOINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODEINFO_FIELD_NUMBER
public static final int NODEINFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGES_FIELD_NUMBER
public static final int IMAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VOLUMESINUSE_FIELD_NUMBER
public static final int VOLUMESINUSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VOLUMESATTACHED_FIELD_NUMBER
public static final int VOLUMESATTACHED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUNTIMEHANDLERS_FIELD_NUMBER
public static final int RUNTIMEHANDLERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FEATURES_FIELD_NUMBER
public static final int FEATURES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.NodeStatus> 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()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getCapacityCount
public int getCapacityCount()
Description copied from interface:Generated.NodeStatusOrBuilderCapacity 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:
getCapacityCountin interfaceGenerated.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:
containsCapacityin interfaceGenerated.NodeStatusOrBuilder
-
getCapacity
@Deprecated public Map<String,Generated.Quantity> getCapacity()
Deprecated.UsegetCapacityMap()instead.- Specified by:
getCapacityin interfaceGenerated.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:
getCapacityMapin interfaceGenerated.NodeStatusOrBuilder
-
getCapacityOrDefault
public Generated.Quantity getCapacityOrDefault(String key, Generated.Quantity defaultValue)
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:
getCapacityOrDefaultin interfaceGenerated.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:
getCapacityOrThrowin interfaceGenerated.NodeStatusOrBuilder
-
getAllocatableCount
public int getAllocatableCount()
Description copied from interface:Generated.NodeStatusOrBuilderAllocatable 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:
getAllocatableCountin interfaceGenerated.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:
containsAllocatablein interfaceGenerated.NodeStatusOrBuilder
-
getAllocatable
@Deprecated public Map<String,Generated.Quantity> getAllocatable()
Deprecated.UsegetAllocatableMap()instead.- Specified by:
getAllocatablein interfaceGenerated.NodeStatusOrBuilder
-
getAllocatableMap
public Map<String,Generated.Quantity> getAllocatableMap()
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:
getAllocatableMapin interfaceGenerated.NodeStatusOrBuilder
-
getAllocatableOrDefault
public Generated.Quantity getAllocatableOrDefault(String key, Generated.Quantity defaultValue)
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:
getAllocatableOrDefaultin interfaceGenerated.NodeStatusOrBuilder
-
getAllocatableOrThrow
public Generated.Quantity getAllocatableOrThrow(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:
getAllocatableOrThrowin interfaceGenerated.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:
hasPhasein interfaceGenerated.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:
getPhasein interfaceGenerated.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:
getPhaseBytesin interfaceGenerated.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:
getConditionsListin interfaceGenerated.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:
getConditionsOrBuilderListin interfaceGenerated.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:
getConditionsCountin interfaceGenerated.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:
getConditionsin interfaceGenerated.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:
getConditionsOrBuilderin interfaceGenerated.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:
getAddressesListin interfaceGenerated.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:
getAddressesOrBuilderListin interfaceGenerated.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:
getAddressesCountin interfaceGenerated.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:
getAddressesin interfaceGenerated.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:
getAddressesOrBuilderin interfaceGenerated.NodeStatusOrBuilder
-
hasDaemonEndpoints
public boolean hasDaemonEndpoints()
Endpoints of daemons running on the Node. +optional
optional .k8s.io.api.core.v1.NodeDaemonEndpoints daemonEndpoints = 6;- Specified by:
hasDaemonEndpointsin interfaceGenerated.NodeStatusOrBuilder- Returns:
- Whether the daemonEndpoints field is set.
-
getDaemonEndpoints
public Generated.NodeDaemonEndpoints getDaemonEndpoints()
Endpoints of daemons running on the Node. +optional
optional .k8s.io.api.core.v1.NodeDaemonEndpoints daemonEndpoints = 6;- Specified by:
getDaemonEndpointsin interfaceGenerated.NodeStatusOrBuilder- Returns:
- The daemonEndpoints.
-
getDaemonEndpointsOrBuilder
public Generated.NodeDaemonEndpointsOrBuilder getDaemonEndpointsOrBuilder()
Endpoints of daemons running on the Node. +optional
optional .k8s.io.api.core.v1.NodeDaemonEndpoints daemonEndpoints = 6;- Specified by:
getDaemonEndpointsOrBuilderin interfaceGenerated.NodeStatusOrBuilder
-
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:
hasNodeInfoin interfaceGenerated.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:
getNodeInfoin interfaceGenerated.NodeStatusOrBuilder- Returns:
- The nodeInfo.
-
getNodeInfoOrBuilder
public Generated.NodeSystemInfoOrBuilder getNodeInfoOrBuilder()
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:
getNodeInfoOrBuilderin interfaceGenerated.NodeStatusOrBuilder
-
getImagesList
public List<Generated.ContainerImage> getImagesList()
List of container images on this node +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerImage images = 8;- Specified by:
getImagesListin interfaceGenerated.NodeStatusOrBuilder
-
getImagesOrBuilderList
public List<? extends Generated.ContainerImageOrBuilder> getImagesOrBuilderList()
List of container images on this node +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerImage images = 8;- Specified by:
getImagesOrBuilderListin interfaceGenerated.NodeStatusOrBuilder
-
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:
getImagesCountin interfaceGenerated.NodeStatusOrBuilder
-
getImages
public Generated.ContainerImage getImages(int index)
List of container images on this node +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerImage images = 8;- Specified by:
getImagesin interfaceGenerated.NodeStatusOrBuilder
-
getImagesOrBuilder
public Generated.ContainerImageOrBuilder getImagesOrBuilder(int index)
List of container images on this node +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerImage images = 8;- Specified by:
getImagesOrBuilderin interfaceGenerated.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:
getVolumesInUseListin interfaceGenerated.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:
getVolumesInUseCountin interfaceGenerated.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:
getVolumesInUsein interfaceGenerated.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:
getVolumesInUseBytesin interfaceGenerated.NodeStatusOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the volumesInUse at the given index.
-
getVolumesAttachedList
public List<Generated.AttachedVolume> getVolumesAttachedList()
List of volumes that are attached to the node. +optional +listType=atomic
repeated .k8s.io.api.core.v1.AttachedVolume volumesAttached = 10;- Specified by:
getVolumesAttachedListin interfaceGenerated.NodeStatusOrBuilder
-
getVolumesAttachedOrBuilderList
public List<? extends Generated.AttachedVolumeOrBuilder> getVolumesAttachedOrBuilderList()
List of volumes that are attached to the node. +optional +listType=atomic
repeated .k8s.io.api.core.v1.AttachedVolume volumesAttached = 10;- Specified by:
getVolumesAttachedOrBuilderListin interfaceGenerated.NodeStatusOrBuilder
-
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:
getVolumesAttachedCountin interfaceGenerated.NodeStatusOrBuilder
-
getVolumesAttached
public Generated.AttachedVolume getVolumesAttached(int index)
List of volumes that are attached to the node. +optional +listType=atomic
repeated .k8s.io.api.core.v1.AttachedVolume volumesAttached = 10;- Specified by:
getVolumesAttachedin interfaceGenerated.NodeStatusOrBuilder
-
getVolumesAttachedOrBuilder
public Generated.AttachedVolumeOrBuilder getVolumesAttachedOrBuilder(int index)
List of volumes that are attached to the node. +optional +listType=atomic
repeated .k8s.io.api.core.v1.AttachedVolume volumesAttached = 10;- Specified by:
getVolumesAttachedOrBuilderin interfaceGenerated.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:
hasConfigin interfaceGenerated.NodeStatusOrBuilder- Returns:
- Whether the config field is set.
-
getConfig
public Generated.NodeConfigStatus getConfig()
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:
getConfigin interfaceGenerated.NodeStatusOrBuilder- Returns:
- The config.
-
getConfigOrBuilder
public Generated.NodeConfigStatusOrBuilder getConfigOrBuilder()
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:
getConfigOrBuilderin interfaceGenerated.NodeStatusOrBuilder
-
getRuntimeHandlersList
public List<Generated.NodeRuntimeHandler> getRuntimeHandlersList()
The available runtime handlers. +featureGate=RecursiveReadOnlyMounts +featureGate=UserNamespacesSupport +optional +listType=atomic
repeated .k8s.io.api.core.v1.NodeRuntimeHandler runtimeHandlers = 12;- Specified by:
getRuntimeHandlersListin interfaceGenerated.NodeStatusOrBuilder
-
getRuntimeHandlersOrBuilderList
public List<? extends Generated.NodeRuntimeHandlerOrBuilder> getRuntimeHandlersOrBuilderList()
The available runtime handlers. +featureGate=RecursiveReadOnlyMounts +featureGate=UserNamespacesSupport +optional +listType=atomic
repeated .k8s.io.api.core.v1.NodeRuntimeHandler runtimeHandlers = 12;- Specified by:
getRuntimeHandlersOrBuilderListin interfaceGenerated.NodeStatusOrBuilder
-
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:
getRuntimeHandlersCountin interfaceGenerated.NodeStatusOrBuilder
-
getRuntimeHandlers
public Generated.NodeRuntimeHandler getRuntimeHandlers(int index)
The available runtime handlers. +featureGate=RecursiveReadOnlyMounts +featureGate=UserNamespacesSupport +optional +listType=atomic
repeated .k8s.io.api.core.v1.NodeRuntimeHandler runtimeHandlers = 12;- Specified by:
getRuntimeHandlersin interfaceGenerated.NodeStatusOrBuilder
-
getRuntimeHandlersOrBuilder
public Generated.NodeRuntimeHandlerOrBuilder getRuntimeHandlersOrBuilder(int index)
The available runtime handlers. +featureGate=RecursiveReadOnlyMounts +featureGate=UserNamespacesSupport +optional +listType=atomic
repeated .k8s.io.api.core.v1.NodeRuntimeHandler runtimeHandlers = 12;- Specified by:
getRuntimeHandlersOrBuilderin interfaceGenerated.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:
hasFeaturesin interfaceGenerated.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:
getFeaturesin interfaceGenerated.NodeStatusOrBuilder- Returns:
- The features.
-
getFeaturesOrBuilder
public Generated.NodeFeaturesOrBuilder getFeaturesOrBuilder()
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:
getFeaturesOrBuilderin interfaceGenerated.NodeStatusOrBuilder
-
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.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
-
parseFrom
public static Generated.NodeStatus parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.NodeStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.NodeStatus parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.NodeStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.NodeStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.NodeStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.NodeStatus.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.NodeStatus.Builder newBuilder()
-
newBuilder
public static Generated.NodeStatus.Builder newBuilder(Generated.NodeStatus prototype)
-
toBuilder
public Generated.NodeStatus.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.NodeStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.NodeStatus getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.NodeStatus> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.NodeStatus> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.NodeStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-