Class AnnotationValue
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.datalabeling.v1beta1.AnnotationValue
- All Implemented Interfaces:
AnnotationValueOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class AnnotationValue
extends com.google.protobuf.GeneratedMessage
implements AnnotationValueOrBuilder
Annotation value for an example.Protobuf type
google.cloud.datalabeling.v1beta1.AnnotationValue- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAnnotation value for an example.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AnnotationValuestatic final com.google.protobuf.Descriptors.DescriptorAnnotation value for image bounding box, oriented bounding box and polygon cases.Annotation value for image bounding box, oriented bounding box and polygon cases.Annotation value for image classification case.Annotation value for image classification case.Annotation value for image polyline cases.Annotation value for image polyline cases.Annotation value for image segmentation.Annotation value for image segmentation.com.google.protobuf.Parser<AnnotationValue>intAnnotation value for text classification case.Annotation value for text classification case.Annotation value for text entity extraction case.Annotation value for text entity extraction case.Annotation value for video classification case.Annotation value for video classification case.Annotation value for video event case.Annotation value for video event case.Annotation value for video object detection and tracking case.Annotation value for video object detection and tracking case.inthashCode()booleanAnnotation value for image bounding box, oriented bounding box and polygon cases.booleanAnnotation value for image classification case.booleanAnnotation value for image polyline cases.booleanAnnotation value for image segmentation.booleanAnnotation value for text classification case.booleanAnnotation value for text entity extraction case.booleanAnnotation value for video classification case.booleanAnnotation value for video event case.booleanAnnotation value for video object detection and tracking case.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic AnnotationValue.Builderstatic AnnotationValue.BuildernewBuilder(AnnotationValue prototype) protected AnnotationValue.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AnnotationValueparseDelimitedFrom(InputStream input) static AnnotationValueparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotationValueparseFrom(byte[] data) static AnnotationValueparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotationValueparseFrom(com.google.protobuf.ByteString data) static AnnotationValueparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotationValueparseFrom(com.google.protobuf.CodedInputStream input) static AnnotationValueparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotationValueparseFrom(InputStream input) static AnnotationValueparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotationValueparseFrom(ByteBuffer data) static AnnotationValueparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AnnotationValue>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
IMAGE_CLASSIFICATION_ANNOTATION_FIELD_NUMBER
public static final int IMAGE_CLASSIFICATION_ANNOTATION_FIELD_NUMBER- See Also:
-
IMAGE_BOUNDING_POLY_ANNOTATION_FIELD_NUMBER
public static final int IMAGE_BOUNDING_POLY_ANNOTATION_FIELD_NUMBER- See Also:
-
IMAGE_POLYLINE_ANNOTATION_FIELD_NUMBER
public static final int IMAGE_POLYLINE_ANNOTATION_FIELD_NUMBER- See Also:
-
IMAGE_SEGMENTATION_ANNOTATION_FIELD_NUMBER
public static final int IMAGE_SEGMENTATION_ANNOTATION_FIELD_NUMBER- See Also:
-
TEXT_CLASSIFICATION_ANNOTATION_FIELD_NUMBER
public static final int TEXT_CLASSIFICATION_ANNOTATION_FIELD_NUMBER- See Also:
-
TEXT_ENTITY_EXTRACTION_ANNOTATION_FIELD_NUMBER
public static final int TEXT_ENTITY_EXTRACTION_ANNOTATION_FIELD_NUMBER- See Also:
-
VIDEO_CLASSIFICATION_ANNOTATION_FIELD_NUMBER
public static final int VIDEO_CLASSIFICATION_ANNOTATION_FIELD_NUMBER- See Also:
-
VIDEO_OBJECT_TRACKING_ANNOTATION_FIELD_NUMBER
public static final int VIDEO_OBJECT_TRACKING_ANNOTATION_FIELD_NUMBER- See Also:
-
VIDEO_EVENT_ANNOTATION_FIELD_NUMBER
public static final int VIDEO_EVENT_ANNOTATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getValueTypeCase
- Specified by:
getValueTypeCasein interfaceAnnotationValueOrBuilder
-
hasImageClassificationAnnotation
public boolean hasImageClassificationAnnotation()Annotation value for image classification case.
.google.cloud.datalabeling.v1beta1.ImageClassificationAnnotation image_classification_annotation = 1;- Specified by:
hasImageClassificationAnnotationin interfaceAnnotationValueOrBuilder- Returns:
- Whether the imageClassificationAnnotation field is set.
-
getImageClassificationAnnotation
Annotation value for image classification case.
.google.cloud.datalabeling.v1beta1.ImageClassificationAnnotation image_classification_annotation = 1;- Specified by:
getImageClassificationAnnotationin interfaceAnnotationValueOrBuilder- Returns:
- The imageClassificationAnnotation.
-
getImageClassificationAnnotationOrBuilder
Annotation value for image classification case.
.google.cloud.datalabeling.v1beta1.ImageClassificationAnnotation image_classification_annotation = 1;- Specified by:
getImageClassificationAnnotationOrBuilderin interfaceAnnotationValueOrBuilder
-
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;- Specified by:
hasImageBoundingPolyAnnotationin interfaceAnnotationValueOrBuilder- Returns:
- Whether the imageBoundingPolyAnnotation field is set.
-
getImageBoundingPolyAnnotation
Annotation value for image bounding box, oriented bounding box and polygon cases.
.google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotation image_bounding_poly_annotation = 2;- Specified by:
getImageBoundingPolyAnnotationin interfaceAnnotationValueOrBuilder- Returns:
- The imageBoundingPolyAnnotation.
-
getImageBoundingPolyAnnotationOrBuilder
Annotation value for image bounding box, oriented bounding box and polygon cases.
.google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotation image_bounding_poly_annotation = 2;- Specified by:
getImageBoundingPolyAnnotationOrBuilderin interfaceAnnotationValueOrBuilder
-
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;- Specified by:
hasImagePolylineAnnotationin interfaceAnnotationValueOrBuilder- Returns:
- Whether the imagePolylineAnnotation field is set.
-
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;- Specified by:
getImagePolylineAnnotationin interfaceAnnotationValueOrBuilder- Returns:
- The imagePolylineAnnotation.
-
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;- Specified by:
getImagePolylineAnnotationOrBuilderin interfaceAnnotationValueOrBuilder
-
hasImageSegmentationAnnotation
public boolean hasImageSegmentationAnnotation()Annotation value for image segmentation.
.google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation image_segmentation_annotation = 9;- Specified by:
hasImageSegmentationAnnotationin interfaceAnnotationValueOrBuilder- Returns:
- Whether the imageSegmentationAnnotation field is set.
-
getImageSegmentationAnnotation
Annotation value for image segmentation.
.google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation image_segmentation_annotation = 9;- Specified by:
getImageSegmentationAnnotationin interfaceAnnotationValueOrBuilder- Returns:
- The imageSegmentationAnnotation.
-
getImageSegmentationAnnotationOrBuilder
Annotation value for image segmentation.
.google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation image_segmentation_annotation = 9;- Specified by:
getImageSegmentationAnnotationOrBuilderin interfaceAnnotationValueOrBuilder
-
hasTextClassificationAnnotation
public boolean hasTextClassificationAnnotation()Annotation value for text classification case.
.google.cloud.datalabeling.v1beta1.TextClassificationAnnotation text_classification_annotation = 3;- Specified by:
hasTextClassificationAnnotationin interfaceAnnotationValueOrBuilder- Returns:
- Whether the textClassificationAnnotation field is set.
-
getTextClassificationAnnotation
Annotation value for text classification case.
.google.cloud.datalabeling.v1beta1.TextClassificationAnnotation text_classification_annotation = 3;- Specified by:
getTextClassificationAnnotationin interfaceAnnotationValueOrBuilder- Returns:
- The textClassificationAnnotation.
-
getTextClassificationAnnotationOrBuilder
Annotation value for text classification case.
.google.cloud.datalabeling.v1beta1.TextClassificationAnnotation text_classification_annotation = 3;- Specified by:
getTextClassificationAnnotationOrBuilderin interfaceAnnotationValueOrBuilder
-
hasTextEntityExtractionAnnotation
public boolean hasTextEntityExtractionAnnotation()Annotation value for text entity extraction case.
.google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation text_entity_extraction_annotation = 10;- Specified by:
hasTextEntityExtractionAnnotationin interfaceAnnotationValueOrBuilder- Returns:
- Whether the textEntityExtractionAnnotation field is set.
-
getTextEntityExtractionAnnotation
Annotation value for text entity extraction case.
.google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation text_entity_extraction_annotation = 10;- Specified by:
getTextEntityExtractionAnnotationin interfaceAnnotationValueOrBuilder- Returns:
- The textEntityExtractionAnnotation.
-
getTextEntityExtractionAnnotationOrBuilder
Annotation value for text entity extraction case.
.google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation text_entity_extraction_annotation = 10;- Specified by:
getTextEntityExtractionAnnotationOrBuilderin interfaceAnnotationValueOrBuilder
-
hasVideoClassificationAnnotation
public boolean hasVideoClassificationAnnotation()Annotation value for video classification case.
.google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation video_classification_annotation = 4;- Specified by:
hasVideoClassificationAnnotationin interfaceAnnotationValueOrBuilder- Returns:
- Whether the videoClassificationAnnotation field is set.
-
getVideoClassificationAnnotation
Annotation value for video classification case.
.google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation video_classification_annotation = 4;- Specified by:
getVideoClassificationAnnotationin interfaceAnnotationValueOrBuilder- Returns:
- The videoClassificationAnnotation.
-
getVideoClassificationAnnotationOrBuilder
Annotation value for video classification case.
.google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation video_classification_annotation = 4;- Specified by:
getVideoClassificationAnnotationOrBuilderin interfaceAnnotationValueOrBuilder
-
hasVideoObjectTrackingAnnotation
public boolean hasVideoObjectTrackingAnnotation()Annotation value for video object detection and tracking case.
.google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation video_object_tracking_annotation = 5;- Specified by:
hasVideoObjectTrackingAnnotationin interfaceAnnotationValueOrBuilder- Returns:
- Whether the videoObjectTrackingAnnotation field is set.
-
getVideoObjectTrackingAnnotation
Annotation value for video object detection and tracking case.
.google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation video_object_tracking_annotation = 5;- Specified by:
getVideoObjectTrackingAnnotationin interfaceAnnotationValueOrBuilder- Returns:
- The videoObjectTrackingAnnotation.
-
getVideoObjectTrackingAnnotationOrBuilder
Annotation value for video object detection and tracking case.
.google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation video_object_tracking_annotation = 5;- Specified by:
getVideoObjectTrackingAnnotationOrBuilderin interfaceAnnotationValueOrBuilder
-
hasVideoEventAnnotation
public boolean hasVideoEventAnnotation()Annotation value for video event case.
.google.cloud.datalabeling.v1beta1.VideoEventAnnotation video_event_annotation = 6;- Specified by:
hasVideoEventAnnotationin interfaceAnnotationValueOrBuilder- Returns:
- Whether the videoEventAnnotation field is set.
-
getVideoEventAnnotation
Annotation value for video event case.
.google.cloud.datalabeling.v1beta1.VideoEventAnnotation video_event_annotation = 6;- Specified by:
getVideoEventAnnotationin interfaceAnnotationValueOrBuilder- Returns:
- The videoEventAnnotation.
-
getVideoEventAnnotationOrBuilder
Annotation value for video event case.
.google.cloud.datalabeling.v1beta1.VideoEventAnnotation video_event_annotation = 6;- Specified by:
getVideoEventAnnotationOrBuilderin interfaceAnnotationValueOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AnnotationValue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotationValue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotationValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotationValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotationValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotationValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AnnotationValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AnnotationValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AnnotationValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AnnotationValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AnnotationValue.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-