public static enum Model.ModelMetadataCase extends Enum<Model.ModelMetadataCase> implements com.google.protobuf.Internal.EnumLite
| Modifier and Type | Method and Description |
|---|---|
static Model.ModelMetadataCase |
forNumber(int value) |
int |
getNumber() |
static Model.ModelMetadataCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.ModelMetadataCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Model.ModelMetadataCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.ModelMetadataCase TRANSLATION_MODEL_METADATA
public static final Model.ModelMetadataCase IMAGE_CLASSIFICATION_MODEL_METADATA
public static final Model.ModelMetadataCase TEXT_CLASSIFICATION_MODEL_METADATA
public static final Model.ModelMetadataCase IMAGE_OBJECT_DETECTION_MODEL_METADATA
public static final Model.ModelMetadataCase TEXT_EXTRACTION_MODEL_METADATA
public static final Model.ModelMetadataCase TEXT_SENTIMENT_MODEL_METADATA
public static final Model.ModelMetadataCase MODELMETADATA_NOT_SET
public static Model.ModelMetadataCase[] values()
for (Model.ModelMetadataCase c : Model.ModelMetadataCase.values()) System.out.println(c);
public static Model.ModelMetadataCase 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 Model.ModelMetadataCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Model.ModelMetadataCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2025 Google LLC. All rights reserved.