Enum AnnotationType

java.lang.Object
java.lang.Enum<AnnotationType>
com.google.cloud.datalabeling.v1beta1.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 Details

    • 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;
    • UNRECOGNIZED

      public static final AnnotationType UNRECOGNIZED
  • Field Details

    • ANNOTATION_TYPE_UNSPECIFIED_VALUE

      public static final int ANNOTATION_TYPE_UNSPECIFIED_VALUE
      ANNOTATION_TYPE_UNSPECIFIED = 0;
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • IMAGE_POLYLINE_ANNOTATION_VALUE

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

      public static final int IMAGE_SEGMENTATION_ANNOTATION_VALUE
       Segmentation annotations in an image.
       
      IMAGE_SEGMENTATION_ANNOTATION = 12;
      See Also:
    • 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:
    • 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:
    • 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:
    • VIDEO_EVENT_ANNOTATION_VALUE

      public static final int VIDEO_EVENT_ANNOTATION_VALUE
       Video event annotation.
       
      VIDEO_EVENT_ANNOTATION = 6;
      See Also:
    • 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:
    • 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:
    • GENERAL_CLASSIFICATION_ANNOTATION_VALUE

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

    • values

      public static AnnotationType[] 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

      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 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