public final class AnnotationValue extends GeneratedMessageV3 implements AnnotationValueOrBuilder
Annotation value for an example.
Protobuf type google.cloud.datalabeling.v1beta1.AnnotationValue
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
IMAGE_BOUNDING_POLY_ANNOTATION_FIELD_NUMBER
public static final int IMAGE_BOUNDING_POLY_ANNOTATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
IMAGE_CLASSIFICATION_ANNOTATION_FIELD_NUMBER
public static final int IMAGE_CLASSIFICATION_ANNOTATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
IMAGE_POLYLINE_ANNOTATION_FIELD_NUMBER
public static final int IMAGE_POLYLINE_ANNOTATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
IMAGE_SEGMENTATION_ANNOTATION_FIELD_NUMBER
public static final int IMAGE_SEGMENTATION_ANNOTATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TEXT_CLASSIFICATION_ANNOTATION_FIELD_NUMBER
public static final int TEXT_CLASSIFICATION_ANNOTATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TEXT_ENTITY_EXTRACTION_ANNOTATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VIDEO_CLASSIFICATION_ANNOTATION_FIELD_NUMBER
public static final int VIDEO_CLASSIFICATION_ANNOTATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VIDEO_EVENT_ANNOTATION_FIELD_NUMBER
public static final int VIDEO_EVENT_ANNOTATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VIDEO_OBJECT_TRACKING_ANNOTATION_FIELD_NUMBER
public static final int VIDEO_OBJECT_TRACKING_ANNOTATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AnnotationValue getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AnnotationValue.Builder newBuilder()
newBuilder(AnnotationValue prototype)
public static AnnotationValue.Builder newBuilder(AnnotationValue prototype)
public static AnnotationValue parseDelimitedFrom(InputStream input)
public static AnnotationValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AnnotationValue parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AnnotationValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AnnotationValue parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnnotationValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnnotationValue parseFrom(CodedInputStream input)
public static AnnotationValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AnnotationValue parseFrom(InputStream input)
public static AnnotationValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AnnotationValue parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AnnotationValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AnnotationValue> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public AnnotationValue getDefaultInstanceForType()
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;
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;
getImageClassificationAnnotation()
public ImageClassificationAnnotation getImageClassificationAnnotation()
Annotation value for image classification case.
.google.cloud.datalabeling.v1beta1.ImageClassificationAnnotation image_classification_annotation = 1;
getImageClassificationAnnotationOrBuilder()
public ImageClassificationAnnotationOrBuilder getImageClassificationAnnotationOrBuilder()
Annotation value for image classification case.
.google.cloud.datalabeling.v1beta1.ImageClassificationAnnotation image_classification_annotation = 1;
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;
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;
getImageSegmentationAnnotation()
public ImageSegmentationAnnotation getImageSegmentationAnnotation()
Annotation value for image segmentation.
.google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation image_segmentation_annotation = 9;
getImageSegmentationAnnotationOrBuilder()
public ImageSegmentationAnnotationOrBuilder getImageSegmentationAnnotationOrBuilder()
Annotation value for image segmentation.
.google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation image_segmentation_annotation = 9;
getParserForType()
public Parser<AnnotationValue> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTextClassificationAnnotation()
public TextClassificationAnnotation getTextClassificationAnnotation()
Annotation value for text classification case.
.google.cloud.datalabeling.v1beta1.TextClassificationAnnotation text_classification_annotation = 3;
getTextClassificationAnnotationOrBuilder()
public TextClassificationAnnotationOrBuilder getTextClassificationAnnotationOrBuilder()
Annotation value for text classification case.
.google.cloud.datalabeling.v1beta1.TextClassificationAnnotation text_classification_annotation = 3;
public TextEntityExtractionAnnotation getTextEntityExtractionAnnotation()
Annotation value for text entity extraction case.
.google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation text_entity_extraction_annotation = 10;
public TextEntityExtractionAnnotationOrBuilder getTextEntityExtractionAnnotationOrBuilder()
Annotation value for text entity extraction case.
.google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation text_entity_extraction_annotation = 10;
getValueTypeCase()
public AnnotationValue.ValueTypeCase getValueTypeCase()
getVideoClassificationAnnotation()
public VideoClassificationAnnotation getVideoClassificationAnnotation()
Annotation value for video classification case.
.google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation video_classification_annotation = 4;
getVideoClassificationAnnotationOrBuilder()
public VideoClassificationAnnotationOrBuilder getVideoClassificationAnnotationOrBuilder()
Annotation value for video classification case.
.google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation video_classification_annotation = 4;
getVideoEventAnnotation()
public VideoEventAnnotation getVideoEventAnnotation()
Annotation value for video event case.
.google.cloud.datalabeling.v1beta1.VideoEventAnnotation video_event_annotation = 6;
getVideoEventAnnotationOrBuilder()
public VideoEventAnnotationOrBuilder getVideoEventAnnotationOrBuilder()
Annotation value for video event case.
.google.cloud.datalabeling.v1beta1.VideoEventAnnotation video_event_annotation = 6;
getVideoObjectTrackingAnnotation()
public VideoObjectTrackingAnnotation getVideoObjectTrackingAnnotation()
Annotation value for video object detection and tracking case.
.google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation video_object_tracking_annotation = 5;
getVideoObjectTrackingAnnotationOrBuilder()
public VideoObjectTrackingAnnotationOrBuilder getVideoObjectTrackingAnnotationOrBuilder()
Annotation value for video object detection and tracking case.
.google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation video_object_tracking_annotation = 5;
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 |
Type |
Description |
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 |
Type |
Description |
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 |
Type |
Description |
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 |
Type |
Description |
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 |
Type |
Description |
boolean |
Whether the textClassificationAnnotation field is set.
|
public 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 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 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 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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AnnotationValue.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AnnotationValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AnnotationValue.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides