Package com.google.cloud.tpu.v2
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 enumgoogle.cloud.tpu.v2.Symptom.SymptomType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXECUTE_TIMED_OUT
TPU runtime execution has timed out.HBM_OUT_OF_MEMORY
TPU HBM is out of memory.LOW_MEMORY
TPU VM memory is low.MESH_BUILD_FAIL
TPU runtime fails to construct a mesh that recognizes each TPU device's neighbors.OUT_OF_MEMORY
TPU runtime is out of memory.PROJECT_ABUSE
Abusive behaviors have been identified on the current project.SYMPTOM_TYPE_UNSPECIFIED
Unspecified symptom.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
EXECUTE_TIMED_OUT_VALUE
TPU runtime execution has timed out.static int
HBM_OUT_OF_MEMORY_VALUE
TPU HBM is out of memory.static int
LOW_MEMORY_VALUE
TPU VM memory is low.static int
MESH_BUILD_FAIL_VALUE
TPU runtime fails to construct a mesh that recognizes each TPU device's neighbors.static int
OUT_OF_MEMORY_VALUE
TPU runtime is out of memory.static int
PROJECT_ABUSE_VALUE
Abusive behaviors have been identified on the current project.static int
SYMPTOM_TYPE_UNSPECIFIED_VALUE
Unspecified symptom.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Symptom.SymptomType
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<Symptom.SymptomType>
internalGetValueMap()
static Symptom.SymptomType
valueOf(int value)
Deprecated.static Symptom.SymptomType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Symptom.SymptomType
valueOf(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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in 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:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in 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
-
-