public final class AnnotationValue extends com.google.protobuf.GeneratedMessageV3 implements AnnotationValueOrBuilder
Annotation value for an example.Protobuf type
google.cloud.datalabeling.v1beta1.AnnotationValue| Modifier and Type | Class and Description |
|---|---|
static class |
AnnotationValue.Builder
Annotation value for an example.
|
static class |
AnnotationValue.ValueTypeCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
IMAGE_BOUNDING_POLY_ANNOTATION_FIELD_NUMBER |
static int |
IMAGE_CLASSIFICATION_ANNOTATION_FIELD_NUMBER |
static int |
IMAGE_POLYLINE_ANNOTATION_FIELD_NUMBER |
static int |
IMAGE_SEGMENTATION_ANNOTATION_FIELD_NUMBER |
static int |
TEXT_CLASSIFICATION_ANNOTATION_FIELD_NUMBER |
static int |
TEXT_ENTITY_EXTRACTION_ANNOTATION_FIELD_NUMBER |
static int |
VIDEO_CLASSIFICATION_ANNOTATION_FIELD_NUMBER |
static int |
VIDEO_EVENT_ANNOTATION_FIELD_NUMBER |
static int |
VIDEO_OBJECT_TRACKING_ANNOTATION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static AnnotationValue |
getDefaultInstance() |
AnnotationValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ImageBoundingPolyAnnotation |
getImageBoundingPolyAnnotation()
Annotation value for image bounding box, oriented bounding box
and polygon cases.
|
ImageBoundingPolyAnnotationOrBuilder |
getImageBoundingPolyAnnotationOrBuilder()
Annotation value for image bounding box, oriented bounding box
and polygon cases.
|
ImageClassificationAnnotation |
getImageClassificationAnnotation()
Annotation value for image classification case.
|
ImageClassificationAnnotationOrBuilder |
getImageClassificationAnnotationOrBuilder()
Annotation value for image classification case.
|
ImagePolylineAnnotation |
getImagePolylineAnnotation()
Annotation value for image polyline cases.
|
ImagePolylineAnnotationOrBuilder |
getImagePolylineAnnotationOrBuilder()
Annotation value for image polyline cases.
|
ImageSegmentationAnnotation |
getImageSegmentationAnnotation()
Annotation value for image segmentation.
|
ImageSegmentationAnnotationOrBuilder |
getImageSegmentationAnnotationOrBuilder()
Annotation value for image segmentation.
|
com.google.protobuf.Parser<AnnotationValue> |
getParserForType() |
int |
getSerializedSize() |
TextClassificationAnnotation |
getTextClassificationAnnotation()
Annotation value for text classification case.
|
TextClassificationAnnotationOrBuilder |
getTextClassificationAnnotationOrBuilder()
Annotation value for text classification case.
|
TextEntityExtractionAnnotation |
getTextEntityExtractionAnnotation()
Annotation value for text entity extraction case.
|
TextEntityExtractionAnnotationOrBuilder |
getTextEntityExtractionAnnotationOrBuilder()
Annotation value for text entity extraction case.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
AnnotationValue.ValueTypeCase |
getValueTypeCase() |
VideoClassificationAnnotation |
getVideoClassificationAnnotation()
Annotation value for video classification case.
|
VideoClassificationAnnotationOrBuilder |
getVideoClassificationAnnotationOrBuilder()
Annotation value for video classification case.
|
VideoEventAnnotation |
getVideoEventAnnotation()
Annotation value for video event case.
|
VideoEventAnnotationOrBuilder |
getVideoEventAnnotationOrBuilder()
Annotation value for video event case.
|
VideoObjectTrackingAnnotation |
getVideoObjectTrackingAnnotation()
Annotation value for video object detection and tracking case.
|
VideoObjectTrackingAnnotationOrBuilder |
getVideoObjectTrackingAnnotationOrBuilder()
Annotation value for video object detection and tracking case.
|
int |
hashCode() |
boolean |
hasImageBoundingPolyAnnotation()
Annotation value for image bounding box, oriented bounding box
and polygon cases.
|
boolean |
hasImageClassificationAnnotation()
Annotation value for image classification case.
|
boolean |
hasImagePolylineAnnotation()
Annotation value for image polyline cases.
|
boolean |
hasImageSegmentationAnnotation()
Annotation value for image segmentation.
|
boolean |
hasTextClassificationAnnotation()
Annotation value for text classification case.
|
boolean |
hasTextEntityExtractionAnnotation()
Annotation value for text entity extraction case.
|
boolean |
hasVideoClassificationAnnotation()
Annotation value for video classification case.
|
boolean |
hasVideoEventAnnotation()
Annotation value for video event case.
|
boolean |
hasVideoObjectTrackingAnnotation()
Annotation value for video object detection and tracking case.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AnnotationValue.Builder |
newBuilder() |
static AnnotationValue.Builder |
newBuilder(AnnotationValue prototype) |
AnnotationValue.Builder |
newBuilderForType() |
protected AnnotationValue.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static AnnotationValue |
parseDelimitedFrom(InputStream input) |
static AnnotationValue |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotationValue |
parseFrom(byte[] data) |
static AnnotationValue |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotationValue |
parseFrom(ByteBuffer data) |
static AnnotationValue |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotationValue |
parseFrom(com.google.protobuf.ByteString data) |
static AnnotationValue |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotationValue |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AnnotationValue |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotationValue |
parseFrom(InputStream input) |
static AnnotationValue |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AnnotationValue> |
parser() |
AnnotationValue.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int IMAGE_CLASSIFICATION_ANNOTATION_FIELD_NUMBER
public static final int IMAGE_BOUNDING_POLY_ANNOTATION_FIELD_NUMBER
public static final int IMAGE_POLYLINE_ANNOTATION_FIELD_NUMBER
public static final int IMAGE_SEGMENTATION_ANNOTATION_FIELD_NUMBER
public static final int TEXT_CLASSIFICATION_ANNOTATION_FIELD_NUMBER
public static final int TEXT_ENTITY_EXTRACTION_ANNOTATION_FIELD_NUMBER
public static final int VIDEO_CLASSIFICATION_ANNOTATION_FIELD_NUMBER
public static final int VIDEO_OBJECT_TRACKING_ANNOTATION_FIELD_NUMBER
public static final int VIDEO_EVENT_ANNOTATION_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public AnnotationValue.ValueTypeCase getValueTypeCase()
getValueTypeCase in interface AnnotationValueOrBuilderpublic boolean hasImageClassificationAnnotation()
Annotation value for image classification case.
.google.cloud.datalabeling.v1beta1.ImageClassificationAnnotation image_classification_annotation = 1;
hasImageClassificationAnnotation in interface AnnotationValueOrBuilderpublic ImageClassificationAnnotation getImageClassificationAnnotation()
Annotation value for image classification case.
.google.cloud.datalabeling.v1beta1.ImageClassificationAnnotation image_classification_annotation = 1;
getImageClassificationAnnotation in interface AnnotationValueOrBuilderpublic ImageClassificationAnnotationOrBuilder getImageClassificationAnnotationOrBuilder()
Annotation value for image classification case.
.google.cloud.datalabeling.v1beta1.ImageClassificationAnnotation image_classification_annotation = 1;
getImageClassificationAnnotationOrBuilder in interface AnnotationValueOrBuilderpublic boolean hasImageBoundingPolyAnnotation()
Annotation value for image bounding box, oriented bounding box and polygon cases.
.google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotation image_bounding_poly_annotation = 2;
hasImageBoundingPolyAnnotation in interface AnnotationValueOrBuilderpublic ImageBoundingPolyAnnotation getImageBoundingPolyAnnotation()
Annotation value for image bounding box, oriented bounding box and polygon cases.
.google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotation image_bounding_poly_annotation = 2;
getImageBoundingPolyAnnotation in interface AnnotationValueOrBuilderpublic ImageBoundingPolyAnnotationOrBuilder getImageBoundingPolyAnnotationOrBuilder()
Annotation value for image bounding box, oriented bounding box and polygon cases.
.google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotation image_bounding_poly_annotation = 2;
getImageBoundingPolyAnnotationOrBuilder in interface AnnotationValueOrBuilderpublic 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;
hasImagePolylineAnnotation in interface AnnotationValueOrBuilderpublic 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;
getImagePolylineAnnotation in interface AnnotationValueOrBuilderpublic 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;
getImagePolylineAnnotationOrBuilder in interface AnnotationValueOrBuilderpublic boolean hasImageSegmentationAnnotation()
Annotation value for image segmentation.
.google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation image_segmentation_annotation = 9;
hasImageSegmentationAnnotation in interface AnnotationValueOrBuilderpublic ImageSegmentationAnnotation getImageSegmentationAnnotation()
Annotation value for image segmentation.
.google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation image_segmentation_annotation = 9;
getImageSegmentationAnnotation in interface AnnotationValueOrBuilderpublic ImageSegmentationAnnotationOrBuilder getImageSegmentationAnnotationOrBuilder()
Annotation value for image segmentation.
.google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation image_segmentation_annotation = 9;
getImageSegmentationAnnotationOrBuilder in interface AnnotationValueOrBuilderpublic boolean hasTextClassificationAnnotation()
Annotation value for text classification case.
.google.cloud.datalabeling.v1beta1.TextClassificationAnnotation text_classification_annotation = 3;
hasTextClassificationAnnotation in interface AnnotationValueOrBuilderpublic TextClassificationAnnotation getTextClassificationAnnotation()
Annotation value for text classification case.
.google.cloud.datalabeling.v1beta1.TextClassificationAnnotation text_classification_annotation = 3;
getTextClassificationAnnotation in interface AnnotationValueOrBuilderpublic TextClassificationAnnotationOrBuilder getTextClassificationAnnotationOrBuilder()
Annotation value for text classification case.
.google.cloud.datalabeling.v1beta1.TextClassificationAnnotation text_classification_annotation = 3;
getTextClassificationAnnotationOrBuilder in interface AnnotationValueOrBuilderpublic boolean hasTextEntityExtractionAnnotation()
Annotation value for text entity extraction case.
.google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation text_entity_extraction_annotation = 10;
hasTextEntityExtractionAnnotation in interface AnnotationValueOrBuilderpublic TextEntityExtractionAnnotation getTextEntityExtractionAnnotation()
Annotation value for text entity extraction case.
.google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation text_entity_extraction_annotation = 10;
getTextEntityExtractionAnnotation in interface AnnotationValueOrBuilderpublic TextEntityExtractionAnnotationOrBuilder getTextEntityExtractionAnnotationOrBuilder()
Annotation value for text entity extraction case.
.google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation text_entity_extraction_annotation = 10;
getTextEntityExtractionAnnotationOrBuilder in interface AnnotationValueOrBuilderpublic boolean hasVideoClassificationAnnotation()
Annotation value for video classification case.
.google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation video_classification_annotation = 4;
hasVideoClassificationAnnotation in interface AnnotationValueOrBuilderpublic VideoClassificationAnnotation getVideoClassificationAnnotation()
Annotation value for video classification case.
.google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation video_classification_annotation = 4;
getVideoClassificationAnnotation in interface AnnotationValueOrBuilderpublic VideoClassificationAnnotationOrBuilder getVideoClassificationAnnotationOrBuilder()
Annotation value for video classification case.
.google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation video_classification_annotation = 4;
getVideoClassificationAnnotationOrBuilder in interface AnnotationValueOrBuilderpublic boolean hasVideoObjectTrackingAnnotation()
Annotation value for video object detection and tracking case.
.google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation video_object_tracking_annotation = 5;
hasVideoObjectTrackingAnnotation in interface AnnotationValueOrBuilderpublic VideoObjectTrackingAnnotation getVideoObjectTrackingAnnotation()
Annotation value for video object detection and tracking case.
.google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation video_object_tracking_annotation = 5;
getVideoObjectTrackingAnnotation in interface AnnotationValueOrBuilderpublic VideoObjectTrackingAnnotationOrBuilder getVideoObjectTrackingAnnotationOrBuilder()
Annotation value for video object detection and tracking case.
.google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation video_object_tracking_annotation = 5;
getVideoObjectTrackingAnnotationOrBuilder in interface AnnotationValueOrBuilderpublic boolean hasVideoEventAnnotation()
Annotation value for video event case.
.google.cloud.datalabeling.v1beta1.VideoEventAnnotation video_event_annotation = 6;
hasVideoEventAnnotation in interface AnnotationValueOrBuilderpublic VideoEventAnnotation getVideoEventAnnotation()
Annotation value for video event case.
.google.cloud.datalabeling.v1beta1.VideoEventAnnotation video_event_annotation = 6;
getVideoEventAnnotation in interface AnnotationValueOrBuilderpublic VideoEventAnnotationOrBuilder getVideoEventAnnotationOrBuilder()
Annotation value for video event case.
.google.cloud.datalabeling.v1beta1.VideoEventAnnotation video_event_annotation = 6;
getVideoEventAnnotationOrBuilder in interface AnnotationValueOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AnnotationValue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotationValue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotationValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotationValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotationValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotationValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotationValue parseFrom(InputStream input) throws IOException
IOExceptionpublic static AnnotationValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AnnotationValue parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AnnotationValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AnnotationValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AnnotationValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AnnotationValue.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AnnotationValue.Builder newBuilder()
public static AnnotationValue.Builder newBuilder(AnnotationValue prototype)
public AnnotationValue.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AnnotationValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AnnotationValue getDefaultInstance()
public static com.google.protobuf.Parser<AnnotationValue> parser()
public com.google.protobuf.Parser<AnnotationValue> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AnnotationValue getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.