Package k8s.io.api.core.v1
Interface Generated.ResourceHealthOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.ResourceHealth,Generated.ResourceHealth.Builder
- Enclosing class:
- Generated
public static interface Generated.ResourceHealthOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetHealth()Health of the resource.com.google.protobuf.ByteStringgetHealthBytes()Health of the resource.StringgetResourceID()ResourceID is the unique identifier of the resource.com.google.protobuf.ByteStringgetResourceIDBytes()ResourceID is the unique identifier of the resource.booleanhasHealth()Health of the resource.booleanhasResourceID()ResourceID is the unique identifier of the resource.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasResourceID
boolean hasResourceID()
ResourceID is the unique identifier of the resource. See the ResourceID type for more information.
optional string resourceID = 1;- Returns:
- Whether the resourceID field is set.
-
getResourceID
String getResourceID()
ResourceID is the unique identifier of the resource. See the ResourceID type for more information.
optional string resourceID = 1;- Returns:
- The resourceID.
-
getResourceIDBytes
com.google.protobuf.ByteString getResourceIDBytes()
ResourceID is the unique identifier of the resource. See the ResourceID type for more information.
optional string resourceID = 1;- Returns:
- The bytes for resourceID.
-
hasHealth
boolean hasHealth()
Health of the resource. can be one of: - Healthy: operates as normal - Unhealthy: reported unhealthy. We consider this a temporary health issue since we do not have a mechanism today to distinguish temporary and permanent issues. - Unknown: The status cannot be determined. For example, Device Plugin got unregistered and hasn't been re-registered since. In future we may want to introduce the PermanentlyUnhealthy Status.optional string health = 2;- Returns:
- Whether the health field is set.
-
getHealth
String getHealth()
Health of the resource. can be one of: - Healthy: operates as normal - Unhealthy: reported unhealthy. We consider this a temporary health issue since we do not have a mechanism today to distinguish temporary and permanent issues. - Unknown: The status cannot be determined. For example, Device Plugin got unregistered and hasn't been re-registered since. In future we may want to introduce the PermanentlyUnhealthy Status.optional string health = 2;- Returns:
- The health.
-
getHealthBytes
com.google.protobuf.ByteString getHealthBytes()
Health of the resource. can be one of: - Healthy: operates as normal - Unhealthy: reported unhealthy. We consider this a temporary health issue since we do not have a mechanism today to distinguish temporary and permanent issues. - Unknown: The status cannot be determined. For example, Device Plugin got unregistered and hasn't been re-registered since. In future we may want to introduce the PermanentlyUnhealthy Status.optional string health = 2;- Returns:
- The bytes for health.
-
-