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