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