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