Interface AnnotationValueOrBuilder (0.165.0)

public interface AnnotationValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getImageBoundingPolyAnnotation()

public abstract ImageBoundingPolyAnnotation getImageBoundingPolyAnnotation()

Annotation value for image bounding box, oriented bounding box and polygon cases.

.google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotation image_bounding_poly_annotation = 2;

Returns
Type Description
ImageBoundingPolyAnnotation

The imageBoundingPolyAnnotation.

getImageBoundingPolyAnnotationOrBuilder()

public abstract ImageBoundingPolyAnnotationOrBuilder getImageBoundingPolyAnnotationOrBuilder()

Annotation value for image bounding box, oriented bounding box and polygon cases.

.google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotation image_bounding_poly_annotation = 2;

Returns
Type Description
ImageBoundingPolyAnnotationOrBuilder

getImageClassificationAnnotation()

public abstract ImageClassificationAnnotation getImageClassificationAnnotation()

Annotation value for image classification case.

.google.cloud.datalabeling.v1beta1.ImageClassificationAnnotation image_classification_annotation = 1;

Returns
Type Description
ImageClassificationAnnotation

The imageClassificationAnnotation.

getImageClassificationAnnotationOrBuilder()

public abstract ImageClassificationAnnotationOrBuilder getImageClassificationAnnotationOrBuilder()

Annotation value for image classification case.

.google.cloud.datalabeling.v1beta1.ImageClassificationAnnotation image_classification_annotation = 1;

Returns
Type Description
ImageClassificationAnnotationOrBuilder

getImagePolylineAnnotation()

public abstract ImagePolylineAnnotation getImagePolylineAnnotation()

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.

.google.cloud.datalabeling.v1beta1.ImagePolylineAnnotation image_polyline_annotation = 8;

Returns
Type Description
ImagePolylineAnnotation

The imagePolylineAnnotation.

getImagePolylineAnnotationOrBuilder()

public abstract ImagePolylineAnnotationOrBuilder getImagePolylineAnnotationOrBuilder()

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.

.google.cloud.datalabeling.v1beta1.ImagePolylineAnnotation image_polyline_annotation = 8;

Returns
Type Description
ImagePolylineAnnotationOrBuilder

getImageSegmentationAnnotation()

public abstract ImageSegmentationAnnotation getImageSegmentationAnnotation()

Annotation value for image segmentation.

.google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation image_segmentation_annotation = 9;

Returns
Type Description
ImageSegmentationAnnotation

The imageSegmentationAnnotation.

getImageSegmentationAnnotationOrBuilder()

public abstract ImageSegmentationAnnotationOrBuilder getImageSegmentationAnnotationOrBuilder()

Annotation value for image segmentation.

.google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation image_segmentation_annotation = 9;

Returns
Type Description
ImageSegmentationAnnotationOrBuilder

getTextClassificationAnnotation()

public abstract TextClassificationAnnotation getTextClassificationAnnotation()

Annotation value for text classification case.

.google.cloud.datalabeling.v1beta1.TextClassificationAnnotation text_classification_annotation = 3;

Returns
Type Description
TextClassificationAnnotation

The textClassificationAnnotation.

getTextClassificationAnnotationOrBuilder()

public abstract TextClassificationAnnotationOrBuilder getTextClassificationAnnotationOrBuilder()

Annotation value for text classification case.

.google.cloud.datalabeling.v1beta1.TextClassificationAnnotation text_classification_annotation = 3;

Returns
Type Description
TextClassificationAnnotationOrBuilder

getTextEntityExtractionAnnotation()

public abstract TextEntityExtractionAnnotation getTextEntityExtractionAnnotation()

Annotation value for text entity extraction case.

.google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation text_entity_extraction_annotation = 10;

Returns
Type Description
TextEntityExtractionAnnotation

The textEntityExtractionAnnotation.

getTextEntityExtractionAnnotationOrBuilder()

public abstract TextEntityExtractionAnnotationOrBuilder getTextEntityExtractionAnnotationOrBuilder()

Annotation value for text entity extraction case.

.google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation text_entity_extraction_annotation = 10;

Returns
Type Description
TextEntityExtractionAnnotationOrBuilder

getValueTypeCase()

public abstract AnnotationValue.ValueTypeCase getValueTypeCase()
Returns
Type Description
AnnotationValue.ValueTypeCase

getVideoClassificationAnnotation()

public abstract VideoClassificationAnnotation getVideoClassificationAnnotation()

Annotation value for video classification case.

.google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation video_classification_annotation = 4;

Returns
Type Description
VideoClassificationAnnotation

The videoClassificationAnnotation.

getVideoClassificationAnnotationOrBuilder()

public abstract VideoClassificationAnnotationOrBuilder getVideoClassificationAnnotationOrBuilder()

Annotation value for video classification case.

.google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation video_classification_annotation = 4;

Returns
Type Description
VideoClassificationAnnotationOrBuilder

getVideoEventAnnotation()

public abstract VideoEventAnnotation getVideoEventAnnotation()

Annotation value for video event case.

.google.cloud.datalabeling.v1beta1.VideoEventAnnotation video_event_annotation = 6;

Returns
Type Description
VideoEventAnnotation

The videoEventAnnotation.

getVideoEventAnnotationOrBuilder()

public abstract VideoEventAnnotationOrBuilder getVideoEventAnnotationOrBuilder()

Annotation value for video event case.

.google.cloud.datalabeling.v1beta1.VideoEventAnnotation video_event_annotation = 6;

Returns
Type Description
VideoEventAnnotationOrBuilder

getVideoObjectTrackingAnnotation()

public abstract VideoObjectTrackingAnnotation getVideoObjectTrackingAnnotation()

Annotation value for video object detection and tracking case.

.google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation video_object_tracking_annotation = 5;

Returns
Type Description
VideoObjectTrackingAnnotation

The videoObjectTrackingAnnotation.

getVideoObjectTrackingAnnotationOrBuilder()

public abstract VideoObjectTrackingAnnotationOrBuilder getVideoObjectTrackingAnnotationOrBuilder()

Annotation value for video object detection and tracking case.

.google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation video_object_tracking_annotation = 5;

Returns
Type Description
VideoObjectTrackingAnnotationOrBuilder

hasImageBoundingPolyAnnotation()

public abstract boolean hasImageBoundingPolyAnnotation()

Annotation value for image bounding box, oriented bounding box and polygon cases.

.google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotation image_bounding_poly_annotation = 2;

Returns
Type Description
boolean

Whether the imageBoundingPolyAnnotation field is set.

hasImageClassificationAnnotation()

public abstract boolean hasImageClassificationAnnotation()

Annotation value for image classification case.

.google.cloud.datalabeling.v1beta1.ImageClassificationAnnotation image_classification_annotation = 1;

Returns
Type Description
boolean

Whether the imageClassificationAnnotation field is set.

hasImagePolylineAnnotation()

public abstract boolean hasImagePolylineAnnotation()

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.

.google.cloud.datalabeling.v1beta1.ImagePolylineAnnotation image_polyline_annotation = 8;

Returns
Type Description
boolean

Whether the imagePolylineAnnotation field is set.

hasImageSegmentationAnnotation()

public abstract boolean hasImageSegmentationAnnotation()

Annotation value for image segmentation.

.google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation image_segmentation_annotation = 9;

Returns
Type Description
boolean

Whether the imageSegmentationAnnotation field is set.

hasTextClassificationAnnotation()

public abstract boolean hasTextClassificationAnnotation()

Annotation value for text classification case.

.google.cloud.datalabeling.v1beta1.TextClassificationAnnotation text_classification_annotation = 3;

Returns
Type Description
boolean

Whether the textClassificationAnnotation field is set.

hasTextEntityExtractionAnnotation()

public abstract boolean hasTextEntityExtractionAnnotation()

Annotation value for text entity extraction case.

.google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation text_entity_extraction_annotation = 10;

Returns
Type Description
boolean

Whether the textEntityExtractionAnnotation field is set.

hasVideoClassificationAnnotation()

public abstract boolean hasVideoClassificationAnnotation()

Annotation value for video classification case.

.google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation video_classification_annotation = 4;

Returns
Type Description
boolean

Whether the videoClassificationAnnotation field is set.

hasVideoEventAnnotation()

public abstract boolean hasVideoEventAnnotation()

Annotation value for video event case.

.google.cloud.datalabeling.v1beta1.VideoEventAnnotation video_event_annotation = 6;

Returns
Type Description
boolean

Whether the videoEventAnnotation field is set.

hasVideoObjectTrackingAnnotation()

public abstract boolean hasVideoObjectTrackingAnnotation()

Annotation value for video object detection and tracking case.

.google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation video_object_tracking_annotation = 5;

Returns
Type Description
boolean

Whether the videoObjectTrackingAnnotation field is set.