public static enum LabelTextRequest.Feature extends Enum<LabelTextRequest.Feature> implements com.google.protobuf.ProtocolMessageEnum
Text labeling task feature.Protobuf enum
google.cloud.datalabeling.v1beta1.LabelTextRequest.Feature| Enum Constant and Description |
|---|
FEATURE_UNSPECIFIED
FEATURE_UNSPECIFIED = 0; |
TEXT_CLASSIFICATION
Label text content to one of more labels.
|
TEXT_ENTITY_EXTRACTION
Label entities and their span in text.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FEATURE_UNSPECIFIED_VALUE
FEATURE_UNSPECIFIED = 0; |
static int |
TEXT_CLASSIFICATION_VALUE
Label text content to one of more labels.
|
static int |
TEXT_ENTITY_EXTRACTION_VALUE
Label entities and their span in text.
|
| Modifier and Type | Method and Description |
|---|---|
static LabelTextRequest.Feature |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<LabelTextRequest.Feature> |
internalGetValueMap() |
static LabelTextRequest.Feature |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LabelTextRequest.Feature |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LabelTextRequest.Feature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LabelTextRequest.Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabelTextRequest.Feature FEATURE_UNSPECIFIED
FEATURE_UNSPECIFIED = 0;public static final LabelTextRequest.Feature TEXT_CLASSIFICATION
Label text content to one of more labels.
TEXT_CLASSIFICATION = 1;public static final LabelTextRequest.Feature TEXT_ENTITY_EXTRACTION
Label entities and their span in text.
TEXT_ENTITY_EXTRACTION = 2;public static final LabelTextRequest.Feature UNRECOGNIZED
public static final int FEATURE_UNSPECIFIED_VALUE
FEATURE_UNSPECIFIED = 0;public static final int TEXT_CLASSIFICATION_VALUE
Label text content to one of more labels.
TEXT_CLASSIFICATION = 1;public static final int TEXT_ENTITY_EXTRACTION_VALUE
Label entities and their span in text.
TEXT_ENTITY_EXTRACTION = 2;public static LabelTextRequest.Feature[] values()
for (LabelTextRequest.Feature c : LabelTextRequest.Feature.values()) System.out.println(c);
public static LabelTextRequest.Feature 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 nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static LabelTextRequest.Feature valueOf(int value)
forNumber(int) instead.public static LabelTextRequest.Feature forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<LabelTextRequest.Feature> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static LabelTextRequest.Feature valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.