Package org.platanios.tensorflow.proto
Enum Autotuning.AutotuneResult.FailureKind
- java.lang.Object
-
- java.lang.Enum<Autotuning.AutotuneResult.FailureKind>
-
- org.platanios.tensorflow.proto.Autotuning.AutotuneResult.FailureKind
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<Autotuning.AutotuneResult.FailureKind>
- Enclosing class:
- Autotuning.AutotuneResult
public static enum Autotuning.AutotuneResult.FailureKind extends java.lang.Enum<Autotuning.AutotuneResult.FailureKind> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumorg.platanios.tensorflow.proto.AutotuneResult.FailureKind
-
-
Enum Constant Summary
Enum Constants Enum Constant Description REDZONE_MODIFIED
REDZONE_MODIFIED = 1;
UNKNOWN
UNKNOWN = 0;
UNRECOGNIZED
WRONG_RESULT
WRONG_RESULT = 2;
-
Field Summary
Fields Modifier and Type Field Description static int
REDZONE_MODIFIED_VALUE
REDZONE_MODIFIED = 1;
static int
UNKNOWN_VALUE
UNKNOWN = 0;
static int
WRONG_RESULT_VALUE
WRONG_RESULT = 2;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Autotuning.AutotuneResult.FailureKind
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<Autotuning.AutotuneResult.FailureKind>
internalGetValueMap()
static Autotuning.AutotuneResult.FailureKind
valueOf(int value)
Deprecated.static Autotuning.AutotuneResult.FailureKind
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Autotuning.AutotuneResult.FailureKind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Autotuning.AutotuneResult.FailureKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final Autotuning.AutotuneResult.FailureKind UNKNOWN
UNKNOWN = 0;
-
REDZONE_MODIFIED
public static final Autotuning.AutotuneResult.FailureKind REDZONE_MODIFIED
REDZONE_MODIFIED = 1;
-
WRONG_RESULT
public static final Autotuning.AutotuneResult.FailureKind WRONG_RESULT
WRONG_RESULT = 2;
-
UNRECOGNIZED
public static final Autotuning.AutotuneResult.FailureKind UNRECOGNIZED
-
-
Field Detail
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
UNKNOWN = 0;
- See Also:
- Constant Field Values
-
REDZONE_MODIFIED_VALUE
public static final int REDZONE_MODIFIED_VALUE
REDZONE_MODIFIED = 1;
- See Also:
- Constant Field Values
-
WRONG_RESULT_VALUE
public static final int WRONG_RESULT_VALUE
WRONG_RESULT = 2;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Autotuning.AutotuneResult.FailureKind[] 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 (Autotuning.AutotuneResult.FailureKind c : Autotuning.AutotuneResult.FailureKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Autotuning.AutotuneResult.FailureKind valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- 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 Autotuning.AutotuneResult.FailureKind 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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static Autotuning.AutotuneResult.FailureKind 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<Autotuning.AutotuneResult.FailureKind> 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 Autotuning.AutotuneResult.FailureKind 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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-