Package com.google.cloud.tpu.v2alpha1
Enum Symptom.SymptomType
- java.lang.Object
-
- java.lang.Enum<Symptom.SymptomType>
-
- com.google.cloud.tpu.v2alpha1.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 enumgoogle.cloud.tpu.v2alpha1.Symptom.SymptomType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXECUTE_TIMED_OUTTPU runtime execution has timed out.HBM_OUT_OF_MEMORYTPU HBM is out of memory.LOW_MEMORYTPU VM memory is low.MESH_BUILD_FAILTPU runtime fails to construct a mesh that recognizes each TPU device's neighbors.OUT_OF_MEMORYTPU runtime is out of memory.PROJECT_ABUSEAbusive behaviors have been identified on the current project.SYMPTOM_TYPE_UNSPECIFIEDUnspecified symptom.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intEXECUTE_TIMED_OUT_VALUETPU runtime execution has timed out.static intHBM_OUT_OF_MEMORY_VALUETPU HBM is out of memory.static intLOW_MEMORY_VALUETPU VM memory is low.static intMESH_BUILD_FAIL_VALUETPU runtime fails to construct a mesh that recognizes each TPU device's neighbors.static intOUT_OF_MEMORY_VALUETPU runtime is out of memory.static intPROJECT_ABUSE_VALUEAbusive behaviors have been identified on the current project.static intSYMPTOM_TYPE_UNSPECIFIED_VALUEUnspecified symptom.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Symptom.SymptomTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Symptom.SymptomType>internalGetValueMap()static Symptom.SymptomTypevalueOf(int value)Deprecated.static Symptom.SymptomTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Symptom.SymptomTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Symptom.SymptomType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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;
-
UNRECOGNIZED
public static final Symptom.SymptomType UNRECOGNIZED
-
-
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.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 nameNullPointerException- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-
-