public enum AnnotationSentiment extends Enum<AnnotationSentiment> implements com.google.protobuf.ProtocolMessageEnum
google.cloud.datalabeling.v1beta1.AnnotationSentiment| Enum Constant and Description |
|---|
ANNOTATION_SENTIMENT_UNSPECIFIED
ANNOTATION_SENTIMENT_UNSPECIFIED = 0; |
NEGATIVE
This annotation describes negatively about the data.
|
POSITIVE
This label describes positively about the data.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ANNOTATION_SENTIMENT_UNSPECIFIED_VALUE
ANNOTATION_SENTIMENT_UNSPECIFIED = 0; |
static int |
NEGATIVE_VALUE
This annotation describes negatively about the data.
|
static int |
POSITIVE_VALUE
This label describes positively about the data.
|
| Modifier and Type | Method and Description |
|---|---|
static AnnotationSentiment |
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<AnnotationSentiment> |
internalGetValueMap() |
static AnnotationSentiment |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AnnotationSentiment |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AnnotationSentiment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationSentiment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationSentiment ANNOTATION_SENTIMENT_UNSPECIFIED
ANNOTATION_SENTIMENT_UNSPECIFIED = 0;public static final AnnotationSentiment NEGATIVE
This annotation describes negatively about the data.
NEGATIVE = 1;public static final AnnotationSentiment POSITIVE
This label describes positively about the data.
POSITIVE = 2;public static final AnnotationSentiment UNRECOGNIZED
public static final int ANNOTATION_SENTIMENT_UNSPECIFIED_VALUE
ANNOTATION_SENTIMENT_UNSPECIFIED = 0;public static final int NEGATIVE_VALUE
This annotation describes negatively about the data.
NEGATIVE = 1;public static final int POSITIVE_VALUE
This label describes positively about the data.
POSITIVE = 2;public static AnnotationSentiment[] values()
for (AnnotationSentiment c : AnnotationSentiment.values()) System.out.println(c);
public static AnnotationSentiment 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 AnnotationSentiment valueOf(int value)
forNumber(int) instead.public static AnnotationSentiment forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<AnnotationSentiment> 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 AnnotationSentiment valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.