public enum AnnotationSource extends Enum<AnnotationSource> implements com.google.protobuf.ProtocolMessageEnum
Specifies where is the answer from.Protobuf enum
google.cloud.datalabeling.v1beta1.AnnotationSource| Enum Constant and Description |
|---|
ANNOTATION_SOURCE_UNSPECIFIED
ANNOTATION_SOURCE_UNSPECIFIED = 0; |
OPERATOR
Answer is provided by a human contributor.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ANNOTATION_SOURCE_UNSPECIFIED_VALUE
ANNOTATION_SOURCE_UNSPECIFIED = 0; |
static int |
OPERATOR_VALUE
Answer is provided by a human contributor.
|
| Modifier and Type | Method and Description |
|---|---|
static AnnotationSource |
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<AnnotationSource> |
internalGetValueMap() |
static AnnotationSource |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AnnotationSource |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AnnotationSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationSource ANNOTATION_SOURCE_UNSPECIFIED
ANNOTATION_SOURCE_UNSPECIFIED = 0;public static final AnnotationSource OPERATOR
Answer is provided by a human contributor.
OPERATOR = 3;public static final AnnotationSource UNRECOGNIZED
public static final int ANNOTATION_SOURCE_UNSPECIFIED_VALUE
ANNOTATION_SOURCE_UNSPECIFIED = 0;public static final int OPERATOR_VALUE
Answer is provided by a human contributor.
OPERATOR = 3;public static AnnotationSource[] values()
for (AnnotationSource c : AnnotationSource.values()) System.out.println(c);
public static AnnotationSource 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 AnnotationSource valueOf(int value)
forNumber(int) instead.public static AnnotationSource forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<AnnotationSource> 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 AnnotationSource valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.