public static enum ClassificationModelOptions.ModelTypeCase extends Enum<ClassificationModelOptions.ModelTypeCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
MODELTYPE_NOT_SET |
V1_MODEL |
V2_MODEL |
| Modifier and Type | Method and Description |
|---|---|
static ClassificationModelOptions.ModelTypeCase |
forNumber(int value) |
int |
getNumber() |
static ClassificationModelOptions.ModelTypeCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ClassificationModelOptions.ModelTypeCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassificationModelOptions.ModelTypeCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassificationModelOptions.ModelTypeCase V1_MODEL
public static final ClassificationModelOptions.ModelTypeCase V2_MODEL
public static final ClassificationModelOptions.ModelTypeCase MODELTYPE_NOT_SET
public static ClassificationModelOptions.ModelTypeCase[] values()
for (ClassificationModelOptions.ModelTypeCase c : ClassificationModelOptions.ModelTypeCase.values()) System.out.println(c);
public static ClassificationModelOptions.ModelTypeCase valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Deprecated public static ClassificationModelOptions.ModelTypeCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static ClassificationModelOptions.ModelTypeCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2024 Google LLC. All rights reserved.