Enum AnnotationType

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<AnnotationType>

    public enum AnnotationType
    extends Enum<AnnotationType>
    implements com.google.protobuf.ProtocolMessageEnum
    Protobuf enum google.cloud.datalabeling.v1beta1.AnnotationType
    • Enum Constant Detail

      • ANNOTATION_TYPE_UNSPECIFIED

        public static final AnnotationType ANNOTATION_TYPE_UNSPECIFIED
        ANNOTATION_TYPE_UNSPECIFIED = 0;
      • IMAGE_CLASSIFICATION_ANNOTATION

        public static final AnnotationType IMAGE_CLASSIFICATION_ANNOTATION
         Classification annotations in an image. Allowed for continuous evaluation.
         
        IMAGE_CLASSIFICATION_ANNOTATION = 1;
      • IMAGE_BOUNDING_BOX_ANNOTATION

        public static final AnnotationType 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

        public static final AnnotationType 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

        public static final AnnotationType IMAGE_BOUNDING_POLY_ANNOTATION
         Bounding poly annotations in an image.
         
        IMAGE_BOUNDING_POLY_ANNOTATION = 10;
      • IMAGE_POLYLINE_ANNOTATION

        public static final AnnotationType IMAGE_POLYLINE_ANNOTATION
         Polyline annotations in an image.
         
        IMAGE_POLYLINE_ANNOTATION = 11;
      • IMAGE_SEGMENTATION_ANNOTATION

        public static final AnnotationType IMAGE_SEGMENTATION_ANNOTATION
         Segmentation annotations in an image.
         
        IMAGE_SEGMENTATION_ANNOTATION = 12;
      • VIDEO_SHOTS_CLASSIFICATION_ANNOTATION

        public static final AnnotationType VIDEO_SHOTS_CLASSIFICATION_ANNOTATION
         Classification annotations in video shots.
         
        VIDEO_SHOTS_CLASSIFICATION_ANNOTATION = 3;
      • VIDEO_OBJECT_TRACKING_ANNOTATION

        public static final AnnotationType VIDEO_OBJECT_TRACKING_ANNOTATION
         Video object tracking annotation.
         
        VIDEO_OBJECT_TRACKING_ANNOTATION = 4;
      • VIDEO_OBJECT_DETECTION_ANNOTATION

        public static final AnnotationType VIDEO_OBJECT_DETECTION_ANNOTATION
         Video object detection annotation.
         
        VIDEO_OBJECT_DETECTION_ANNOTATION = 5;
      • VIDEO_EVENT_ANNOTATION

        public static final AnnotationType VIDEO_EVENT_ANNOTATION
         Video event annotation.
         
        VIDEO_EVENT_ANNOTATION = 6;
      • TEXT_CLASSIFICATION_ANNOTATION

        public static final AnnotationType TEXT_CLASSIFICATION_ANNOTATION
         Classification for text. Allowed for continuous evaluation.
         
        TEXT_CLASSIFICATION_ANNOTATION = 8;
      • TEXT_ENTITY_EXTRACTION_ANNOTATION

        public static final AnnotationType TEXT_ENTITY_EXTRACTION_ANNOTATION
         Entity extraction for text.
         
        TEXT_ENTITY_EXTRACTION_ANNOTATION = 9;
      • GENERAL_CLASSIFICATION_ANNOTATION

        public static final AnnotationType GENERAL_CLASSIFICATION_ANNOTATION
         General classification. Allowed for continuous evaluation.
         
        GENERAL_CLASSIFICATION_ANNOTATION = 14;
    • Field Detail

      • ANNOTATION_TYPE_UNSPECIFIED_VALUE

        public static final int ANNOTATION_TYPE_UNSPECIFIED_VALUE
        ANNOTATION_TYPE_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • IMAGE_CLASSIFICATION_ANNOTATION_VALUE

        public static final int IMAGE_CLASSIFICATION_ANNOTATION_VALUE
         Classification annotations in an image. Allowed for continuous evaluation.
         
        IMAGE_CLASSIFICATION_ANNOTATION = 1;
        See Also:
        Constant Field Values
      • IMAGE_BOUNDING_BOX_ANNOTATION_VALUE

        public static final int IMAGE_BOUNDING_BOX_ANNOTATION_VALUE
         Bounding box annotations in an image. A form of image object detection.
         Allowed for continuous evaluation.
         
        IMAGE_BOUNDING_BOX_ANNOTATION = 2;
        See Also:
        Constant Field Values
      • IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION_VALUE

        public static final int IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION_VALUE
         Oriented bounding box. The box does not have to be parallel to horizontal
         line.
         
        IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION = 13;
        See Also:
        Constant Field Values
      • IMAGE_BOUNDING_POLY_ANNOTATION_VALUE

        public static final int IMAGE_BOUNDING_POLY_ANNOTATION_VALUE
         Bounding poly annotations in an image.
         
        IMAGE_BOUNDING_POLY_ANNOTATION = 10;
        See Also:
        Constant Field Values
      • IMAGE_POLYLINE_ANNOTATION_VALUE

        public static final int IMAGE_POLYLINE_ANNOTATION_VALUE
         Polyline annotations in an image.
         
        IMAGE_POLYLINE_ANNOTATION = 11;
        See Also:
        Constant Field Values
      • IMAGE_SEGMENTATION_ANNOTATION_VALUE

        public static final int IMAGE_SEGMENTATION_ANNOTATION_VALUE
         Segmentation annotations in an image.
         
        IMAGE_SEGMENTATION_ANNOTATION = 12;
        See Also:
        Constant Field Values
      • VIDEO_SHOTS_CLASSIFICATION_ANNOTATION_VALUE

        public static final int VIDEO_SHOTS_CLASSIFICATION_ANNOTATION_VALUE
         Classification annotations in video shots.
         
        VIDEO_SHOTS_CLASSIFICATION_ANNOTATION = 3;
        See Also:
        Constant Field Values
      • VIDEO_OBJECT_TRACKING_ANNOTATION_VALUE

        public static final int VIDEO_OBJECT_TRACKING_ANNOTATION_VALUE
         Video object tracking annotation.
         
        VIDEO_OBJECT_TRACKING_ANNOTATION = 4;
        See Also:
        Constant Field Values
      • VIDEO_OBJECT_DETECTION_ANNOTATION_VALUE

        public static final int VIDEO_OBJECT_DETECTION_ANNOTATION_VALUE
         Video object detection annotation.
         
        VIDEO_OBJECT_DETECTION_ANNOTATION = 5;
        See Also:
        Constant Field Values
      • VIDEO_EVENT_ANNOTATION_VALUE

        public static final int VIDEO_EVENT_ANNOTATION_VALUE
         Video event annotation.
         
        VIDEO_EVENT_ANNOTATION = 6;
        See Also:
        Constant Field Values
      • TEXT_CLASSIFICATION_ANNOTATION_VALUE

        public static final int TEXT_CLASSIFICATION_ANNOTATION_VALUE
         Classification for text. Allowed for continuous evaluation.
         
        TEXT_CLASSIFICATION_ANNOTATION = 8;
        See Also:
        Constant Field Values
      • TEXT_ENTITY_EXTRACTION_ANNOTATION_VALUE

        public static final int TEXT_ENTITY_EXTRACTION_ANNOTATION_VALUE
         Entity extraction for text.
         
        TEXT_ENTITY_EXTRACTION_ANNOTATION = 9;
        See Also:
        Constant Field Values
      • GENERAL_CLASSIFICATION_ANNOTATION_VALUE

        public static final int GENERAL_CLASSIFICATION_ANNOTATION_VALUE
         General classification. Allowed for continuous evaluation.
         
        GENERAL_CLASSIFICATION_ANNOTATION = 14;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static AnnotationType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AnnotationType c : AnnotationType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AnnotationType valueOf​(String name)
        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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static AnnotationType valueOf​(int value)
        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 name
        NullPointerException - if the argument is null
      • forNumber

        public static AnnotationType forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<AnnotationType> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static AnnotationType valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        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 name
        NullPointerException - if the argument is null