Interface Generated.ResourceHealthOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getHealth()
      Health of the resource.
      com.google.protobuf.ByteString getHealthBytes()
      Health of the resource.
      String getResourceID()
      ResourceID is the unique identifier of the resource.
      com.google.protobuf.ByteString getResourceIDBytes()
      ResourceID is the unique identifier of the resource.
      boolean hasHealth()
      Health of the resource.
      boolean hasResourceID()
      ResourceID is the unique identifier of the resource.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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.