public static enum LabelTextRequest.RequestConfigCase extends Enum<LabelTextRequest.RequestConfigCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
REQUESTCONFIG_NOT_SET |
TEXT_CLASSIFICATION_CONFIG |
TEXT_ENTITY_EXTRACTION_CONFIG |
| Modifier and Type | Method and Description |
|---|---|
static LabelTextRequest.RequestConfigCase |
forNumber(int value) |
int |
getNumber() |
static LabelTextRequest.RequestConfigCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LabelTextRequest.RequestConfigCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LabelTextRequest.RequestConfigCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabelTextRequest.RequestConfigCase TEXT_CLASSIFICATION_CONFIG
public static final LabelTextRequest.RequestConfigCase TEXT_ENTITY_EXTRACTION_CONFIG
public static final LabelTextRequest.RequestConfigCase REQUESTCONFIG_NOT_SET
public static LabelTextRequest.RequestConfigCase[] values()
for (LabelTextRequest.RequestConfigCase c : LabelTextRequest.RequestConfigCase.values()) System.out.println(c);
public static LabelTextRequest.RequestConfigCase 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 LabelTextRequest.RequestConfigCase valueOf(int value)
forNumber(int) instead.public static LabelTextRequest.RequestConfigCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2019 Google LLC. All rights reserved.