Package tensorflow.serving
Enum Class FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.PolicyChoiceCase
java.lang.Object
java.lang.Enum<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.PolicyChoiceCase>
tensorflow.serving.FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.PolicyChoiceCase
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.PolicyChoiceCase>,Constable
- Enclosing class:
FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy
public static enum FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.PolicyChoiceCase
extends Enum<FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.PolicyChoiceCase>
implements com.google.protobuf.Internal.EnumLite
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.PolicyChoiceCaseforNumber(int value) intstatic FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.PolicyChoiceCasevalueOf(int value) Deprecated.static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.PolicyChoiceCaseReturns the enum constant of this class with the specified name.static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.PolicyChoiceCase[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LATEST
public static final FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.PolicyChoiceCase LATEST -
ALL
-
SPECIFIC
public static final FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.PolicyChoiceCase SPECIFIC -
POLICYCHOICE_NOT_SET
public static final FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.PolicyChoiceCase POLICYCHOICE_NOT_SET
-
-
Method Details
-
values
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.PolicyChoiceCase[] values()Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.PolicyChoiceCase valueOf(String name) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
@Deprecated public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.PolicyChoiceCase valueOf(int value) Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static FileSystemStoragePathSource.FileSystemStoragePathSourceConfig.ServableVersionPolicy.PolicyChoiceCase forNumber(int value) -
getNumber
public int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-