Enum 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 Detail

      • 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;
    • Field Detail

      • SYMPTOM_TYPE_UNSPECIFIED_VALUE

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

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

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

        public static final int EXECUTE_TIMED_OUT_VALUE
         TPU runtime execution has timed out.
         
        EXECUTE_TIMED_OUT = 3;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • PROJECT_ABUSE_VALUE

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

      • values

        public static Symptom.SymptomType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Symptom.SymptomType c : Symptom.SymptomType.values())
            System.out.println(c);
        
        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 final 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