Package com.google.cloud.tpu.v2
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 Summary
Enum ConstantsEnum ConstantDescriptionTPU runtime execution has timed out.TPU HBM is out of memory.TPU VM memory is low.TPU runtime fails to construct a mesh that recognizes each TPU device's neighbors.TPU runtime is out of memory.Abusive behaviors have been identified on the current project.Unspecified symptom. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intTPU runtime execution has timed out.static final intTPU HBM is out of memory.static final intTPU VM memory is low.static final intTPU runtime fails to construct a mesh that recognizes each TPU device's neighbors.static final intTPU runtime is out of memory.static final intAbusive behaviors have been identified on the current project.static final intUnspecified symptom. -
Method Summary
Modifier and TypeMethodDescriptionstatic Symptom.SymptomTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Symptom.SymptomType>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.SymptomTypeReturns 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 Details
-
SYMPTOM_TYPE_UNSPECIFIED
Unspecified symptom.
SYMPTOM_TYPE_UNSPECIFIED = 0; -
LOW_MEMORY
TPU VM memory is low.
LOW_MEMORY = 1; -
OUT_OF_MEMORY
TPU runtime is out of memory.
OUT_OF_MEMORY = 2; -
EXECUTE_TIMED_OUT
TPU runtime execution has timed out.
EXECUTE_TIMED_OUT = 3; -
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
TPU HBM is out of memory.
HBM_OUT_OF_MEMORY = 5; -
PROJECT_ABUSE
Abusive behaviors have been identified on the current project.
PROJECT_ABUSE = 6; -
UNRECOGNIZED
-
-
Field Details
-
SYMPTOM_TYPE_UNSPECIFIED_VALUE
public static final int SYMPTOM_TYPE_UNSPECIFIED_VALUEUnspecified symptom.
SYMPTOM_TYPE_UNSPECIFIED = 0;- See Also:
-
LOW_MEMORY_VALUE
public static final int LOW_MEMORY_VALUETPU VM memory is low.
LOW_MEMORY = 1;- See Also:
-
OUT_OF_MEMORY_VALUE
public static final int OUT_OF_MEMORY_VALUETPU runtime is out of memory.
OUT_OF_MEMORY = 2;- See Also:
-
EXECUTE_TIMED_OUT_VALUE
public static final int EXECUTE_TIMED_OUT_VALUETPU runtime execution has timed out.
EXECUTE_TIMED_OUT = 3;- See Also:
-
MESH_BUILD_FAIL_VALUE
public static final int MESH_BUILD_FAIL_VALUETPU 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_VALUETPU HBM is out of memory.
HBM_OUT_OF_MEMORY = 5;- See Also:
-
PROJECT_ABUSE_VALUE
public static final int PROJECT_ABUSE_VALUEAbusive behaviors have been identified on the current project.
PROJECT_ABUSE = 6;- See Also:
-
-
Method Details
-
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
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.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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-