# Class AnnotationValue (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.2 1.12.0 1.11.1 1.10.5 1.9.0 1.8.3 1.7.0 1.6.3 1.5.2 1.4.0 1.3.0 1.2.4 1.1.0 1.0.0 0.4.2 0.3.0 0.2.1

    AnnotationValue(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Annotation value for an example.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `image_classification_annotation` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.ImageClassificationAnnotation` Annotation value for image classification case. This field is a member of `oneof`_ `value_type`. |
| `image_bounding_poly_annotation` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.ImageBoundingPolyAnnotation` Annotation value for image bounding box, oriented bounding box and polygon cases. This field is a member of `oneof`_ `value_type`. |
| `image_polyline_annotation` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.ImagePolylineAnnotation` Annotation value for image polyline cases. Polyline here is different from BoundingPoly. It is formed by line segments connected to each other but not closed form(Bounding Poly). The line segments can cross each other. This field is a member of `oneof`_ `value_type`. |
| `image_segmentation_annotation` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.ImageSegmentationAnnotation` Annotation value for image segmentation. This field is a member of `oneof`_ `value_type`. |
| `text_classification_annotation` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.TextClassificationAnnotation` Annotation value for text classification case. This field is a member of `oneof`_ `value_type`. |
| `text_entity_extraction_annotation` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.TextEntityExtractionAnnotation` Annotation value for text entity extraction case. This field is a member of `oneof`_ `value_type`. |
| `video_classification_annotation` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.VideoClassificationAnnotation` Annotation value for video classification case. This field is a member of `oneof`_ `value_type`. |
| `video_object_tracking_annotation` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.VideoObjectTrackingAnnotation` Annotation value for video object detection and tracking case. This field is a member of `oneof`_ `value_type`. |
| `video_event_annotation` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.VideoEventAnnotation` Annotation value for video event case. This field is a member of `oneof`_ `value_type`. |