Enum Node.Health

java.lang.Object
java.lang.Enum<Node.Health>
com.google.cloud.tpu.v2.Node.Health
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Node.Health>
Enclosing class:
Node

public static enum Node.Health extends Enum<Node.Health> implements com.google.protobuf.ProtocolMessageEnum
 Health defines the status of a TPU node as reported by
 Health Monitor.
 
Protobuf enum google.cloud.tpu.v2.Node.Health
  • Enum Constant Details

    • HEALTH_UNSPECIFIED

      public static final Node.Health HEALTH_UNSPECIFIED
       Health status is unknown: not initialized or failed to retrieve.
       
      HEALTH_UNSPECIFIED = 0;
    • HEALTHY

      public static final Node.Health HEALTHY
       The resource is healthy.
       
      HEALTHY = 1;
    • TIMEOUT

      public static final Node.Health TIMEOUT
       The resource is unresponsive.
       
      TIMEOUT = 3;
    • UNHEALTHY_TENSORFLOW

      public static final Node.Health UNHEALTHY_TENSORFLOW
       The in-guest ML stack is unhealthy.
       
      UNHEALTHY_TENSORFLOW = 4;
    • UNHEALTHY_MAINTENANCE

      public static final Node.Health UNHEALTHY_MAINTENANCE
       The node is under maintenance/priority boost caused rescheduling and
       will resume running once rescheduled.
       
      UNHEALTHY_MAINTENANCE = 5;
    • UNRECOGNIZED

      public static final Node.Health UNRECOGNIZED
  • Field Details

    • HEALTH_UNSPECIFIED_VALUE

      public static final int HEALTH_UNSPECIFIED_VALUE
       Health status is unknown: not initialized or failed to retrieve.
       
      HEALTH_UNSPECIFIED = 0;
      See Also:
    • HEALTHY_VALUE

      public static final int HEALTHY_VALUE
       The resource is healthy.
       
      HEALTHY = 1;
      See Also:
    • TIMEOUT_VALUE

      public static final int TIMEOUT_VALUE
       The resource is unresponsive.
       
      TIMEOUT = 3;
      See Also:
    • UNHEALTHY_TENSORFLOW_VALUE

      public static final int UNHEALTHY_TENSORFLOW_VALUE
       The in-guest ML stack is unhealthy.
       
      UNHEALTHY_TENSORFLOW = 4;
      See Also:
    • UNHEALTHY_MAINTENANCE_VALUE

      public static final int UNHEALTHY_MAINTENANCE_VALUE
       The node is under maintenance/priority boost caused rescheduling and
       will resume running once rescheduled.
       
      UNHEALTHY_MAINTENANCE = 5;
      See Also:
  • Method Details

    • values

      public static Node.Health[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Node.Health valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static Node.Health valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static Node.Health forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<Node.Health> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static Node.Health valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null