Enum Symptom.SymptomType

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

public static enum Symptom.SymptomType extends Enum<Symptom.SymptomType> implements com.google.protobuf.ProtocolMessageEnum
 SymptomType represents the different types of Symptoms that a TPU can be
 at.
 
Protobuf enum google.cloud.tpu.v2.Symptom.SymptomType
  • Enum Constant Details

    • SYMPTOM_TYPE_UNSPECIFIED

      public static final Symptom.SymptomType SYMPTOM_TYPE_UNSPECIFIED
       Unspecified symptom.
       
      SYMPTOM_TYPE_UNSPECIFIED = 0;
    • LOW_MEMORY

      public static final Symptom.SymptomType LOW_MEMORY
       TPU VM memory is low.
       
      LOW_MEMORY = 1;
    • OUT_OF_MEMORY

      public static final Symptom.SymptomType OUT_OF_MEMORY
       TPU runtime is out of memory.
       
      OUT_OF_MEMORY = 2;
    • EXECUTE_TIMED_OUT

      public static final Symptom.SymptomType EXECUTE_TIMED_OUT
       TPU runtime execution has timed out.
       
      EXECUTE_TIMED_OUT = 3;
    • MESH_BUILD_FAIL

      public static final Symptom.SymptomType MESH_BUILD_FAIL
       TPU runtime fails to construct a mesh that recognizes each TPU device's
       neighbors.
       
      MESH_BUILD_FAIL = 4;
    • HBM_OUT_OF_MEMORY

      public static final Symptom.SymptomType HBM_OUT_OF_MEMORY
       TPU HBM is out of memory.
       
      HBM_OUT_OF_MEMORY = 5;
    • PROJECT_ABUSE

      public static final Symptom.SymptomType PROJECT_ABUSE
       Abusive behaviors have been identified on the current project.
       
      PROJECT_ABUSE = 6;
    • UNRECOGNIZED

      public static final Symptom.SymptomType UNRECOGNIZED
  • Field Details

    • SYMPTOM_TYPE_UNSPECIFIED_VALUE

      public static final int SYMPTOM_TYPE_UNSPECIFIED_VALUE
       Unspecified symptom.
       
      SYMPTOM_TYPE_UNSPECIFIED = 0;
      See Also:
    • LOW_MEMORY_VALUE

      public static final int LOW_MEMORY_VALUE
       TPU VM memory is low.
       
      LOW_MEMORY = 1;
      See Also:
    • OUT_OF_MEMORY_VALUE

      public static final int OUT_OF_MEMORY_VALUE
       TPU runtime is out of memory.
       
      OUT_OF_MEMORY = 2;
      See Also:
    • EXECUTE_TIMED_OUT_VALUE

      public static final int EXECUTE_TIMED_OUT_VALUE
       TPU runtime execution has timed out.
       
      EXECUTE_TIMED_OUT = 3;
      See Also:
    • MESH_BUILD_FAIL_VALUE

      public static final int MESH_BUILD_FAIL_VALUE
       TPU runtime fails to construct a mesh that recognizes each TPU device's
       neighbors.
       
      MESH_BUILD_FAIL = 4;
      See Also:
    • HBM_OUT_OF_MEMORY_VALUE

      public static final int HBM_OUT_OF_MEMORY_VALUE
       TPU HBM is out of memory.
       
      HBM_OUT_OF_MEMORY = 5;
      See Also:
    • PROJECT_ABUSE_VALUE

      public static final int PROJECT_ABUSE_VALUE
       Abusive behaviors have been identified on the current project.
       
      PROJECT_ABUSE = 6;
      See Also:
  • Method Details

    • values

      public static Symptom.SymptomType[] 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 Symptom.SymptomType 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 Symptom.SymptomType 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 Symptom.SymptomType 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<Symptom.SymptomType> 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 Symptom.SymptomType 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