Enum AnnotationType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AnnotationType>
@Generated
public enum AnnotationType
extends Enum<AnnotationType>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
google.cloud.datalabeling.v1beta1.AnnotationType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionANNOTATION_TYPE_UNSPECIFIED = 0;General classification.Bounding box annotations in an image.Bounding poly annotations in an image.Classification annotations in an image.Oriented bounding box.Polyline annotations in an image.Segmentation annotations in an image.Classification for text.Entity extraction for text.Video event annotation.Video object detection annotation.Video object tracking annotation.Classification annotations in video shots. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intANNOTATION_TYPE_UNSPECIFIED = 0;static final intGeneral classification.static final intBounding box annotations in an image.static final intBounding poly annotations in an image.static final intClassification annotations in an image.static final intOriented bounding box.static final intPolyline annotations in an image.static final intSegmentation annotations in an image.static final intClassification for text.static final intEntity extraction for text.static final intVideo event annotation.static final intVideo object detection annotation.static final intVideo object tracking annotation.static final intClassification annotations in video shots. -
Method Summary
Modifier and TypeMethodDescriptionstatic AnnotationTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AnnotationType>static AnnotationTypevalueOf(int value) Deprecated.static AnnotationTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static AnnotationTypeReturns the enum constant of this type with the specified name.static AnnotationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ANNOTATION_TYPE_UNSPECIFIED
ANNOTATION_TYPE_UNSPECIFIED = 0; -
IMAGE_CLASSIFICATION_ANNOTATION
Classification annotations in an image. Allowed for continuous evaluation.
IMAGE_CLASSIFICATION_ANNOTATION = 1; -
IMAGE_BOUNDING_BOX_ANNOTATION
Bounding box annotations in an image. A form of image object detection. Allowed for continuous evaluation.
IMAGE_BOUNDING_BOX_ANNOTATION = 2; -
IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION
Oriented bounding box. The box does not have to be parallel to horizontal line.
IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION = 13; -
IMAGE_BOUNDING_POLY_ANNOTATION
Bounding poly annotations in an image.
IMAGE_BOUNDING_POLY_ANNOTATION = 10; -
IMAGE_POLYLINE_ANNOTATION
Polyline annotations in an image.
IMAGE_POLYLINE_ANNOTATION = 11; -
IMAGE_SEGMENTATION_ANNOTATION
Segmentation annotations in an image.
IMAGE_SEGMENTATION_ANNOTATION = 12; -
VIDEO_SHOTS_CLASSIFICATION_ANNOTATION
Classification annotations in video shots.
VIDEO_SHOTS_CLASSIFICATION_ANNOTATION = 3; -
VIDEO_OBJECT_TRACKING_ANNOTATION
Video object tracking annotation.
VIDEO_OBJECT_TRACKING_ANNOTATION = 4; -
VIDEO_OBJECT_DETECTION_ANNOTATION
Video object detection annotation.
VIDEO_OBJECT_DETECTION_ANNOTATION = 5; -
VIDEO_EVENT_ANNOTATION
Video event annotation.
VIDEO_EVENT_ANNOTATION = 6; -
TEXT_CLASSIFICATION_ANNOTATION
Classification for text. Allowed for continuous evaluation.
TEXT_CLASSIFICATION_ANNOTATION = 8; -
TEXT_ENTITY_EXTRACTION_ANNOTATION
Entity extraction for text.
TEXT_ENTITY_EXTRACTION_ANNOTATION = 9; -
GENERAL_CLASSIFICATION_ANNOTATION
General classification. Allowed for continuous evaluation.
GENERAL_CLASSIFICATION_ANNOTATION = 14; -
UNRECOGNIZED
-
-
Field Details
-
ANNOTATION_TYPE_UNSPECIFIED_VALUE
public static final int ANNOTATION_TYPE_UNSPECIFIED_VALUEANNOTATION_TYPE_UNSPECIFIED = 0;- See Also:
-
IMAGE_CLASSIFICATION_ANNOTATION_VALUE
public static final int IMAGE_CLASSIFICATION_ANNOTATION_VALUEClassification annotations in an image. Allowed for continuous evaluation.
IMAGE_CLASSIFICATION_ANNOTATION = 1;- See Also:
-
IMAGE_BOUNDING_BOX_ANNOTATION_VALUE
public static final int IMAGE_BOUNDING_BOX_ANNOTATION_VALUEBounding box annotations in an image. A form of image object detection. Allowed for continuous evaluation.
IMAGE_BOUNDING_BOX_ANNOTATION = 2;- See Also:
-
IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION_VALUE
public static final int IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION_VALUEOriented bounding box. The box does not have to be parallel to horizontal line.
IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION = 13;- See Also:
-
IMAGE_BOUNDING_POLY_ANNOTATION_VALUE
public static final int IMAGE_BOUNDING_POLY_ANNOTATION_VALUEBounding poly annotations in an image.
IMAGE_BOUNDING_POLY_ANNOTATION = 10;- See Also:
-
IMAGE_POLYLINE_ANNOTATION_VALUE
public static final int IMAGE_POLYLINE_ANNOTATION_VALUEPolyline annotations in an image.
IMAGE_POLYLINE_ANNOTATION = 11;- See Also:
-
IMAGE_SEGMENTATION_ANNOTATION_VALUE
public static final int IMAGE_SEGMENTATION_ANNOTATION_VALUESegmentation annotations in an image.
IMAGE_SEGMENTATION_ANNOTATION = 12;- See Also:
-
VIDEO_SHOTS_CLASSIFICATION_ANNOTATION_VALUE
public static final int VIDEO_SHOTS_CLASSIFICATION_ANNOTATION_VALUEClassification annotations in video shots.
VIDEO_SHOTS_CLASSIFICATION_ANNOTATION = 3;- See Also:
-
VIDEO_OBJECT_TRACKING_ANNOTATION_VALUE
public static final int VIDEO_OBJECT_TRACKING_ANNOTATION_VALUEVideo object tracking annotation.
VIDEO_OBJECT_TRACKING_ANNOTATION = 4;- See Also:
-
VIDEO_OBJECT_DETECTION_ANNOTATION_VALUE
public static final int VIDEO_OBJECT_DETECTION_ANNOTATION_VALUEVideo object detection annotation.
VIDEO_OBJECT_DETECTION_ANNOTATION = 5;- See Also:
-
VIDEO_EVENT_ANNOTATION_VALUE
public static final int VIDEO_EVENT_ANNOTATION_VALUEVideo event annotation.
VIDEO_EVENT_ANNOTATION = 6;- See Also:
-
TEXT_CLASSIFICATION_ANNOTATION_VALUE
public static final int TEXT_CLASSIFICATION_ANNOTATION_VALUEClassification for text. Allowed for continuous evaluation.
TEXT_CLASSIFICATION_ANNOTATION = 8;- See Also:
-
TEXT_ENTITY_EXTRACTION_ANNOTATION_VALUE
public static final int TEXT_ENTITY_EXTRACTION_ANNOTATION_VALUEEntity extraction for text.
TEXT_ENTITY_EXTRACTION_ANNOTATION = 9;- See Also:
-
GENERAL_CLASSIFICATION_ANNOTATION_VALUE
public static final int GENERAL_CLASSIFICATION_ANNOTATION_VALUEGeneral classification. Allowed for continuous evaluation.
GENERAL_CLASSIFICATION_ANNOTATION = 14;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-