Enum DatasetOptions.AutotuneOptions.OptionalInitialParallelismCase
java.lang.Object
java.lang.Enum<DatasetOptions.AutotuneOptions.OptionalInitialParallelismCase>
org.tensorflow.proto.data.DatasetOptions.AutotuneOptions.OptionalInitialParallelismCase
- All Implemented Interfaces:
AbstractMessageLite.InternalOneOfEnum, Internal.EnumLite, Serializable, Comparable<DatasetOptions.AutotuneOptions.OptionalInitialParallelismCase>
- Enclosing class:
DatasetOptions.AutotuneOptions
public static enum DatasetOptions.AutotuneOptions.OptionalInitialParallelismCase
extends Enum<DatasetOptions.AutotuneOptions.OptionalInitialParallelismCase>
implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
-
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
INITIAL_PARALLELISM
public static final DatasetOptions.AutotuneOptions.OptionalInitialParallelismCase INITIAL_PARALLELISM -
OPTIONALINITIALPARALLELISM_NOT_SET
public static final DatasetOptions.AutotuneOptions.OptionalInitialParallelismCase OPTIONALINITIALPARALLELISM_NOT_SET
-
-
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
-
valueOf
@Deprecated public static DatasetOptions.AutotuneOptions.OptionalInitialParallelismCase 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
-
getNumber
public int getNumber()- Specified by:
getNumberin interfaceAbstractMessageLite.InternalOneOfEnum- Specified by:
getNumberin interfaceInternal.EnumLite
-