Class AnnotationValue.Builder (0.124.0)

public static final class AnnotationValue.Builder extends GeneratedMessageV3.Builder<AnnotationValue.Builder> implements AnnotationValueOrBuilder

Annotation value for an example.

Protobuf type google.cloud.datalabeling.v1beta1.AnnotationValue

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnnotationValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns Overrides

build()

public AnnotationValue build()
Returns
TypeDescription
AnnotationValue

buildPartial()

public AnnotationValue buildPartial()
Returns
TypeDescription
AnnotationValue

clear()

public AnnotationValue.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

public AnnotationValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns Overrides

clearImageBoundingPolyAnnotation()

public AnnotationValue.Builder clearImageBoundingPolyAnnotation()

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

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

Returns

clearImageClassificationAnnotation()

public AnnotationValue.Builder clearImageClassificationAnnotation()

Annotation value for image classification case.

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

Returns

clearImagePolylineAnnotation()

public AnnotationValue.Builder clearImagePolylineAnnotation()

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

clearImageSegmentationAnnotation()

public AnnotationValue.Builder clearImageSegmentationAnnotation()

Annotation value for image segmentation.

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

Returns

clearOneof(Descriptors.OneofDescriptor oneof)

public AnnotationValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns Overrides

clearTextClassificationAnnotation()

public AnnotationValue.Builder clearTextClassificationAnnotation()

Annotation value for text classification case.

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

Returns

clearTextEntityExtractionAnnotation()

public AnnotationValue.Builder clearTextEntityExtractionAnnotation()

Annotation value for text entity extraction case.

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

Returns

clearValueType()

public AnnotationValue.Builder clearValueType()
Returns

clearVideoClassificationAnnotation()

public AnnotationValue.Builder clearVideoClassificationAnnotation()

Annotation value for video classification case.

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

Returns

clearVideoEventAnnotation()

public AnnotationValue.Builder clearVideoEventAnnotation()

Annotation value for video event case.

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

Returns

clearVideoObjectTrackingAnnotation()

public AnnotationValue.Builder clearVideoObjectTrackingAnnotation()

Annotation value for video object detection and tracking case.

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

Returns

clone()

public AnnotationValue.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public AnnotationValue getDefaultInstanceForType()
Returns
TypeDescription
AnnotationValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getImageBoundingPolyAnnotation()

public 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
TypeDescription
ImageBoundingPolyAnnotation

The imageBoundingPolyAnnotation.

getImageBoundingPolyAnnotationBuilder()

public ImageBoundingPolyAnnotation.Builder getImageBoundingPolyAnnotationBuilder()

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

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

Returns

getImageBoundingPolyAnnotationOrBuilder()

public 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

getImageClassificationAnnotation()

public ImageClassificationAnnotation getImageClassificationAnnotation()

Annotation value for image classification case.

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

Returns
TypeDescription
ImageClassificationAnnotation

The imageClassificationAnnotation.

getImageClassificationAnnotationBuilder()

public ImageClassificationAnnotation.Builder getImageClassificationAnnotationBuilder()

Annotation value for image classification case.

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

Returns

getImageClassificationAnnotationOrBuilder()

public ImageClassificationAnnotationOrBuilder getImageClassificationAnnotationOrBuilder()

Annotation value for image classification case.

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

Returns

getImagePolylineAnnotation()

public 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
TypeDescription
ImagePolylineAnnotation

The imagePolylineAnnotation.

getImagePolylineAnnotationBuilder()

public ImagePolylineAnnotation.Builder getImagePolylineAnnotationBuilder()

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

getImagePolylineAnnotationOrBuilder()

public 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

getImageSegmentationAnnotation()

public ImageSegmentationAnnotation getImageSegmentationAnnotation()

Annotation value for image segmentation.

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

Returns
TypeDescription
ImageSegmentationAnnotation

The imageSegmentationAnnotation.

getImageSegmentationAnnotationBuilder()

public ImageSegmentationAnnotation.Builder getImageSegmentationAnnotationBuilder()

Annotation value for image segmentation.

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

Returns

getImageSegmentationAnnotationOrBuilder()

public ImageSegmentationAnnotationOrBuilder getImageSegmentationAnnotationOrBuilder()

Annotation value for image segmentation.

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

Returns

getTextClassificationAnnotation()

public TextClassificationAnnotation getTextClassificationAnnotation()

Annotation value for text classification case.

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

Returns
TypeDescription
TextClassificationAnnotation

The textClassificationAnnotation.

getTextClassificationAnnotationBuilder()

public TextClassificationAnnotation.Builder getTextClassificationAnnotationBuilder()

Annotation value for text classification case.

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

Returns

getTextClassificationAnnotationOrBuilder()

public TextClassificationAnnotationOrBuilder getTextClassificationAnnotationOrBuilder()

Annotation value for text classification case.

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

Returns

getTextEntityExtractionAnnotation()

public TextEntityExtractionAnnotation getTextEntityExtractionAnnotation()

Annotation value for text entity extraction case.

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

Returns
TypeDescription
TextEntityExtractionAnnotation

The textEntityExtractionAnnotation.

getTextEntityExtractionAnnotationBuilder()

public TextEntityExtractionAnnotation.Builder getTextEntityExtractionAnnotationBuilder()

Annotation value for text entity extraction case.

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

Returns

getTextEntityExtractionAnnotationOrBuilder()

public TextEntityExtractionAnnotationOrBuilder getTextEntityExtractionAnnotationOrBuilder()

Annotation value for text entity extraction case.

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

Returns

getValueTypeCase()

public AnnotationValue.ValueTypeCase getValueTypeCase()
Returns

getVideoClassificationAnnotation()

public VideoClassificationAnnotation getVideoClassificationAnnotation()

Annotation value for video classification case.

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

Returns
TypeDescription
VideoClassificationAnnotation

The videoClassificationAnnotation.

getVideoClassificationAnnotationBuilder()

public VideoClassificationAnnotation.Builder getVideoClassificationAnnotationBuilder()

Annotation value for video classification case.

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

Returns

getVideoClassificationAnnotationOrBuilder()

public VideoClassificationAnnotationOrBuilder getVideoClassificationAnnotationOrBuilder()

Annotation value for video classification case.

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

Returns

getVideoEventAnnotation()

public VideoEventAnnotation getVideoEventAnnotation()

Annotation value for video event case.

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

Returns
TypeDescription
VideoEventAnnotation

The videoEventAnnotation.

getVideoEventAnnotationBuilder()

public VideoEventAnnotation.Builder getVideoEventAnnotationBuilder()

Annotation value for video event case.

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

Returns

getVideoEventAnnotationOrBuilder()

public VideoEventAnnotationOrBuilder getVideoEventAnnotationOrBuilder()

Annotation value for video event case.

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

Returns

getVideoObjectTrackingAnnotation()

public VideoObjectTrackingAnnotation getVideoObjectTrackingAnnotation()

Annotation value for video object detection and tracking case.

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

Returns
TypeDescription
VideoObjectTrackingAnnotation

The videoObjectTrackingAnnotation.

getVideoObjectTrackingAnnotationBuilder()

public VideoObjectTrackingAnnotation.Builder getVideoObjectTrackingAnnotationBuilder()

Annotation value for video object detection and tracking case.

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

Returns

getVideoObjectTrackingAnnotationOrBuilder()

public VideoObjectTrackingAnnotationOrBuilder getVideoObjectTrackingAnnotationOrBuilder()

Annotation value for video object detection and tracking case.

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

Returns

hasImageBoundingPolyAnnotation()

public 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
TypeDescription
boolean

Whether the imageBoundingPolyAnnotation field is set.

hasImageClassificationAnnotation()

public boolean hasImageClassificationAnnotation()

Annotation value for image classification case.

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

Returns
TypeDescription
boolean

Whether the imageClassificationAnnotation field is set.

hasImagePolylineAnnotation()

public 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
TypeDescription
boolean

Whether the imagePolylineAnnotation field is set.

hasImageSegmentationAnnotation()

public boolean hasImageSegmentationAnnotation()

Annotation value for image segmentation.

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

Returns
TypeDescription
boolean

Whether the imageSegmentationAnnotation field is set.

hasTextClassificationAnnotation()

public boolean hasTextClassificationAnnotation()

Annotation value for text classification case.

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

Returns
TypeDescription
boolean

Whether the textClassificationAnnotation field is set.

hasTextEntityExtractionAnnotation()

public boolean hasTextEntityExtractionAnnotation()

Annotation value for text entity extraction case.

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

Returns
TypeDescription
boolean

Whether the textEntityExtractionAnnotation field is set.

hasVideoClassificationAnnotation()

public boolean hasVideoClassificationAnnotation()

Annotation value for video classification case.

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

Returns
TypeDescription
boolean

Whether the videoClassificationAnnotation field is set.

hasVideoEventAnnotation()

public boolean hasVideoEventAnnotation()

Annotation value for video event case.

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

Returns
TypeDescription
boolean

Whether the videoEventAnnotation field is set.

hasVideoObjectTrackingAnnotation()

public boolean hasVideoObjectTrackingAnnotation()

Annotation value for video object detection and tracking case.

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

Returns
TypeDescription
boolean

Whether the videoObjectTrackingAnnotation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AnnotationValue other)

public AnnotationValue.Builder mergeFrom(AnnotationValue other)
Parameter
NameDescription
otherAnnotationValue
Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnnotationValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AnnotationValue.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns Overrides

mergeImageBoundingPolyAnnotation(ImageBoundingPolyAnnotation value)

public AnnotationValue.Builder mergeImageBoundingPolyAnnotation(ImageBoundingPolyAnnotation value)

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

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

Parameter
NameDescription
valueImageBoundingPolyAnnotation
Returns

mergeImageClassificationAnnotation(ImageClassificationAnnotation value)

public AnnotationValue.Builder mergeImageClassificationAnnotation(ImageClassificationAnnotation value)

Annotation value for image classification case.

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

Parameter
NameDescription
valueImageClassificationAnnotation
Returns

mergeImagePolylineAnnotation(ImagePolylineAnnotation value)

public AnnotationValue.Builder mergeImagePolylineAnnotation(ImagePolylineAnnotation value)

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;

Parameter
NameDescription
valueImagePolylineAnnotation
Returns

mergeImageSegmentationAnnotation(ImageSegmentationAnnotation value)

public AnnotationValue.Builder mergeImageSegmentationAnnotation(ImageSegmentationAnnotation value)

Annotation value for image segmentation.

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

Parameter
NameDescription
valueImageSegmentationAnnotation
Returns

mergeTextClassificationAnnotation(TextClassificationAnnotation value)

public AnnotationValue.Builder mergeTextClassificationAnnotation(TextClassificationAnnotation value)

Annotation value for text classification case.

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

Parameter
NameDescription
valueTextClassificationAnnotation
Returns

mergeTextEntityExtractionAnnotation(TextEntityExtractionAnnotation value)

public AnnotationValue.Builder mergeTextEntityExtractionAnnotation(TextEntityExtractionAnnotation value)

Annotation value for text entity extraction case.

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

Parameter
NameDescription
valueTextEntityExtractionAnnotation
Returns

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnnotationValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns Overrides

mergeVideoClassificationAnnotation(VideoClassificationAnnotation value)

public AnnotationValue.Builder mergeVideoClassificationAnnotation(VideoClassificationAnnotation value)

Annotation value for video classification case.

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

Parameter
NameDescription
valueVideoClassificationAnnotation
Returns

mergeVideoEventAnnotation(VideoEventAnnotation value)

public AnnotationValue.Builder mergeVideoEventAnnotation(VideoEventAnnotation value)

Annotation value for video event case.

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

Parameter
NameDescription
valueVideoEventAnnotation
Returns

mergeVideoObjectTrackingAnnotation(VideoObjectTrackingAnnotation value)

public AnnotationValue.Builder mergeVideoObjectTrackingAnnotation(VideoObjectTrackingAnnotation value)

Annotation value for video object detection and tracking case.

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

Parameter
NameDescription
valueVideoObjectTrackingAnnotation
Returns

setField(Descriptors.FieldDescriptor field, Object value)

public AnnotationValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns Overrides

setImageBoundingPolyAnnotation(ImageBoundingPolyAnnotation value)

public AnnotationValue.Builder setImageBoundingPolyAnnotation(ImageBoundingPolyAnnotation value)

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

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

Parameter
NameDescription
valueImageBoundingPolyAnnotation
Returns

setImageBoundingPolyAnnotation(ImageBoundingPolyAnnotation.Builder builderForValue)

public AnnotationValue.Builder setImageBoundingPolyAnnotation(ImageBoundingPolyAnnotation.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueImageBoundingPolyAnnotation.Builder
Returns

setImageClassificationAnnotation(ImageClassificationAnnotation value)

public AnnotationValue.Builder setImageClassificationAnnotation(ImageClassificationAnnotation value)

Annotation value for image classification case.

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

Parameter
NameDescription
valueImageClassificationAnnotation
Returns

setImageClassificationAnnotation(ImageClassificationAnnotation.Builder builderForValue)

public AnnotationValue.Builder setImageClassificationAnnotation(ImageClassificationAnnotation.Builder builderForValue)

Annotation value for image classification case.

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

Parameter
NameDescription
builderForValueImageClassificationAnnotation.Builder
Returns

setImagePolylineAnnotation(ImagePolylineAnnotation value)

public AnnotationValue.Builder setImagePolylineAnnotation(ImagePolylineAnnotation value)

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;

Parameter
NameDescription
valueImagePolylineAnnotation
Returns

setImagePolylineAnnotation(ImagePolylineAnnotation.Builder builderForValue)

public AnnotationValue.Builder setImagePolylineAnnotation(ImagePolylineAnnotation.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueImagePolylineAnnotation.Builder
Returns

setImageSegmentationAnnotation(ImageSegmentationAnnotation value)

public AnnotationValue.Builder setImageSegmentationAnnotation(ImageSegmentationAnnotation value)

Annotation value for image segmentation.

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

Parameter
NameDescription
valueImageSegmentationAnnotation
Returns

setImageSegmentationAnnotation(ImageSegmentationAnnotation.Builder builderForValue)

public AnnotationValue.Builder setImageSegmentationAnnotation(ImageSegmentationAnnotation.Builder builderForValue)

Annotation value for image segmentation.

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

Parameter
NameDescription
builderForValueImageSegmentationAnnotation.Builder
Returns

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AnnotationValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns Overrides

setTextClassificationAnnotation(TextClassificationAnnotation value)

public AnnotationValue.Builder setTextClassificationAnnotation(TextClassificationAnnotation value)

Annotation value for text classification case.

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

Parameter
NameDescription
valueTextClassificationAnnotation
Returns

setTextClassificationAnnotation(TextClassificationAnnotation.Builder builderForValue)

public AnnotationValue.Builder setTextClassificationAnnotation(TextClassificationAnnotation.Builder builderForValue)

Annotation value for text classification case.

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

Parameter
NameDescription
builderForValueTextClassificationAnnotation.Builder
Returns

setTextEntityExtractionAnnotation(TextEntityExtractionAnnotation value)

public AnnotationValue.Builder setTextEntityExtractionAnnotation(TextEntityExtractionAnnotation value)

Annotation value for text entity extraction case.

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

Parameter
NameDescription
valueTextEntityExtractionAnnotation
Returns

setTextEntityExtractionAnnotation(TextEntityExtractionAnnotation.Builder builderForValue)

public AnnotationValue.Builder setTextEntityExtractionAnnotation(TextEntityExtractionAnnotation.Builder builderForValue)

Annotation value for text entity extraction case.

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

Parameter
NameDescription
builderForValueTextEntityExtractionAnnotation.Builder
Returns

setUnknownFields(UnknownFieldSet unknownFields)

public final AnnotationValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns Overrides

setVideoClassificationAnnotation(VideoClassificationAnnotation value)

public AnnotationValue.Builder setVideoClassificationAnnotation(VideoClassificationAnnotation value)

Annotation value for video classification case.

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

Parameter
NameDescription
valueVideoClassificationAnnotation
Returns

setVideoClassificationAnnotation(VideoClassificationAnnotation.Builder builderForValue)

public AnnotationValue.Builder setVideoClassificationAnnotation(VideoClassificationAnnotation.Builder builderForValue)

Annotation value for video classification case.

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

Parameter
NameDescription
builderForValueVideoClassificationAnnotation.Builder
Returns

setVideoEventAnnotation(VideoEventAnnotation value)

public AnnotationValue.Builder setVideoEventAnnotation(VideoEventAnnotation value)

Annotation value for video event case.

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

Parameter
NameDescription
valueVideoEventAnnotation
Returns

setVideoEventAnnotation(VideoEventAnnotation.Builder builderForValue)

public AnnotationValue.Builder setVideoEventAnnotation(VideoEventAnnotation.Builder builderForValue)

Annotation value for video event case.

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

Parameter
NameDescription
builderForValueVideoEventAnnotation.Builder
Returns

setVideoObjectTrackingAnnotation(VideoObjectTrackingAnnotation value)

public AnnotationValue.Builder setVideoObjectTrackingAnnotation(VideoObjectTrackingAnnotation value)

Annotation value for video object detection and tracking case.

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

Parameter
NameDescription
valueVideoObjectTrackingAnnotation
Returns

setVideoObjectTrackingAnnotation(VideoObjectTrackingAnnotation.Builder builderForValue)

public AnnotationValue.Builder setVideoObjectTrackingAnnotation(VideoObjectTrackingAnnotation.Builder builderForValue)

Annotation value for video object detection and tracking case.

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

Parameter
NameDescription
builderForValueVideoObjectTrackingAnnotation.Builder
Returns