Interface AnnotateImageResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnnotateImageResponse
,AnnotateImageResponse.Builder
public interface AnnotateImageResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImageAnnotationContext
getContext()
If present, contextual information is needed to understand where this image comes from.ImageAnnotationContextOrBuilder
getContextOrBuilder()
If present, contextual information is needed to understand where this image comes from.CropHintsAnnotation
getCropHintsAnnotation()
If present, crop hints have completed successfully.CropHintsAnnotationOrBuilder
getCropHintsAnnotationOrBuilder()
If present, crop hints have completed successfully.com.google.rpc.Status
getError()
If set, represents the error message for the operation.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
If set, represents the error message for the operation.FaceAnnotation
getFaceAnnotations(int index)
If present, face detection has completed successfully.int
getFaceAnnotationsCount()
If present, face detection has completed successfully.List<FaceAnnotation>
getFaceAnnotationsList()
If present, face detection has completed successfully.FaceAnnotationOrBuilder
getFaceAnnotationsOrBuilder(int index)
If present, face detection has completed successfully.List<? extends FaceAnnotationOrBuilder>
getFaceAnnotationsOrBuilderList()
If present, face detection has completed successfully.TextAnnotation
getFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has completed successfully.TextAnnotationOrBuilder
getFullTextAnnotationOrBuilder()
If present, text (OCR) detection or document (OCR) text detection has completed successfully.ImageProperties
getImagePropertiesAnnotation()
If present, image properties were extracted successfully.ImagePropertiesOrBuilder
getImagePropertiesAnnotationOrBuilder()
If present, image properties were extracted successfully.EntityAnnotation
getLabelAnnotations(int index)
If present, label detection has completed successfully.int
getLabelAnnotationsCount()
If present, label detection has completed successfully.List<EntityAnnotation>
getLabelAnnotationsList()
If present, label detection has completed successfully.EntityAnnotationOrBuilder
getLabelAnnotationsOrBuilder(int index)
If present, label detection has completed successfully.List<? extends EntityAnnotationOrBuilder>
getLabelAnnotationsOrBuilderList()
If present, label detection has completed successfully.EntityAnnotation
getLandmarkAnnotations(int index)
If present, landmark detection has completed successfully.int
getLandmarkAnnotationsCount()
If present, landmark detection has completed successfully.List<EntityAnnotation>
getLandmarkAnnotationsList()
If present, landmark detection has completed successfully.EntityAnnotationOrBuilder
getLandmarkAnnotationsOrBuilder(int index)
If present, landmark detection has completed successfully.List<? extends EntityAnnotationOrBuilder>
getLandmarkAnnotationsOrBuilderList()
If present, landmark detection has completed successfully.LocalizedObjectAnnotation
getLocalizedObjectAnnotations(int index)
If present, localized object detection has completed successfully.int
getLocalizedObjectAnnotationsCount()
If present, localized object detection has completed successfully.List<LocalizedObjectAnnotation>
getLocalizedObjectAnnotationsList()
If present, localized object detection has completed successfully.LocalizedObjectAnnotationOrBuilder
getLocalizedObjectAnnotationsOrBuilder(int index)
If present, localized object detection has completed successfully.List<? extends LocalizedObjectAnnotationOrBuilder>
getLocalizedObjectAnnotationsOrBuilderList()
If present, localized object detection has completed successfully.EntityAnnotation
getLogoAnnotations(int index)
If present, logo detection has completed successfully.int
getLogoAnnotationsCount()
If present, logo detection has completed successfully.List<EntityAnnotation>
getLogoAnnotationsList()
If present, logo detection has completed successfully.EntityAnnotationOrBuilder
getLogoAnnotationsOrBuilder(int index)
If present, logo detection has completed successfully.List<? extends EntityAnnotationOrBuilder>
getLogoAnnotationsOrBuilderList()
If present, logo detection has completed successfully.ProductSearchResults
getProductSearchResults()
If present, product search has completed successfully.ProductSearchResultsOrBuilder
getProductSearchResultsOrBuilder()
If present, product search has completed successfully.SafeSearchAnnotation
getSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.SafeSearchAnnotationOrBuilder
getSafeSearchAnnotationOrBuilder()
If present, safe-search annotation has completed successfully.EntityAnnotation
getTextAnnotations(int index)
If present, text (OCR) detection has completed successfully.int
getTextAnnotationsCount()
If present, text (OCR) detection has completed successfully.List<EntityAnnotation>
getTextAnnotationsList()
If present, text (OCR) detection has completed successfully.EntityAnnotationOrBuilder
getTextAnnotationsOrBuilder(int index)
If present, text (OCR) detection has completed successfully.List<? extends EntityAnnotationOrBuilder>
getTextAnnotationsOrBuilderList()
If present, text (OCR) detection has completed successfully.WebDetection
getWebDetection()
If present, web detection has completed successfully.WebDetectionOrBuilder
getWebDetectionOrBuilder()
If present, web detection has completed successfully.boolean
hasContext()
If present, contextual information is needed to understand where this image comes from.boolean
hasCropHintsAnnotation()
If present, crop hints have completed successfully.boolean
hasError()
If set, represents the error message for the operation.boolean
hasFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has completed successfully.boolean
hasImagePropertiesAnnotation()
If present, image properties were extracted successfully.boolean
hasProductSearchResults()
If present, product search has completed successfully.boolean
hasSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.boolean
hasWebDetection()
If present, web detection has completed successfully.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getFaceAnnotationsList
List<FaceAnnotation> getFaceAnnotationsList()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
-
getFaceAnnotations
FaceAnnotation getFaceAnnotations(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
-
getFaceAnnotationsCount
int getFaceAnnotationsCount()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
-
getFaceAnnotationsOrBuilderList
List<? extends FaceAnnotationOrBuilder> getFaceAnnotationsOrBuilderList()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
-
getFaceAnnotationsOrBuilder
FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
-
getLandmarkAnnotationsList
List<EntityAnnotation> getLandmarkAnnotationsList()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
-
getLandmarkAnnotations
EntityAnnotation getLandmarkAnnotations(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
-
getLandmarkAnnotationsCount
int getLandmarkAnnotationsCount()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
-
getLandmarkAnnotationsOrBuilderList
List<? extends EntityAnnotationOrBuilder> getLandmarkAnnotationsOrBuilderList()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
-
getLandmarkAnnotationsOrBuilder
EntityAnnotationOrBuilder getLandmarkAnnotationsOrBuilder(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
-
getLogoAnnotationsList
List<EntityAnnotation> getLogoAnnotationsList()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
-
getLogoAnnotations
EntityAnnotation getLogoAnnotations(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
-
getLogoAnnotationsCount
int getLogoAnnotationsCount()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
-
getLogoAnnotationsOrBuilderList
List<? extends EntityAnnotationOrBuilder> getLogoAnnotationsOrBuilderList()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
-
getLogoAnnotationsOrBuilder
EntityAnnotationOrBuilder getLogoAnnotationsOrBuilder(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
-
getLabelAnnotationsList
List<EntityAnnotation> getLabelAnnotationsList()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
-
getLabelAnnotations
EntityAnnotation getLabelAnnotations(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
-
getLabelAnnotationsCount
int getLabelAnnotationsCount()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
-
getLabelAnnotationsOrBuilderList
List<? extends EntityAnnotationOrBuilder> getLabelAnnotationsOrBuilderList()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
-
getLabelAnnotationsOrBuilder
EntityAnnotationOrBuilder getLabelAnnotationsOrBuilder(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
-
getLocalizedObjectAnnotationsList
List<LocalizedObjectAnnotation> getLocalizedObjectAnnotationsList()
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
-
getLocalizedObjectAnnotations
LocalizedObjectAnnotation getLocalizedObjectAnnotations(int index)
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
-
getLocalizedObjectAnnotationsCount
int getLocalizedObjectAnnotationsCount()
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
-
getLocalizedObjectAnnotationsOrBuilderList
List<? extends LocalizedObjectAnnotationOrBuilder> getLocalizedObjectAnnotationsOrBuilderList()
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
-
getLocalizedObjectAnnotationsOrBuilder
LocalizedObjectAnnotationOrBuilder getLocalizedObjectAnnotationsOrBuilder(int index)
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
-
getTextAnnotationsList
List<EntityAnnotation> getTextAnnotationsList()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
-
getTextAnnotations
EntityAnnotation getTextAnnotations(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
-
getTextAnnotationsCount
int getTextAnnotationsCount()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
-
getTextAnnotationsOrBuilderList
List<? extends EntityAnnotationOrBuilder> getTextAnnotationsOrBuilderList()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
-
getTextAnnotationsOrBuilder
EntityAnnotationOrBuilder getTextAnnotationsOrBuilder(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
-
hasFullTextAnnotation
boolean hasFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p4beta1.TextAnnotation full_text_annotation = 12;
- Returns:
- Whether the fullTextAnnotation field is set.
-
getFullTextAnnotation
TextAnnotation getFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p4beta1.TextAnnotation full_text_annotation = 12;
- Returns:
- The fullTextAnnotation.
-
getFullTextAnnotationOrBuilder
TextAnnotationOrBuilder getFullTextAnnotationOrBuilder()
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p4beta1.TextAnnotation full_text_annotation = 12;
-
hasSafeSearchAnnotation
boolean hasSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p4beta1.SafeSearchAnnotation safe_search_annotation = 6;
- Returns:
- Whether the safeSearchAnnotation field is set.
-
getSafeSearchAnnotation
SafeSearchAnnotation getSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p4beta1.SafeSearchAnnotation safe_search_annotation = 6;
- Returns:
- The safeSearchAnnotation.
-
getSafeSearchAnnotationOrBuilder
SafeSearchAnnotationOrBuilder getSafeSearchAnnotationOrBuilder()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p4beta1.SafeSearchAnnotation safe_search_annotation = 6;
-
hasImagePropertiesAnnotation
boolean hasImagePropertiesAnnotation()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p4beta1.ImageProperties image_properties_annotation = 8;
- Returns:
- Whether the imagePropertiesAnnotation field is set.
-
getImagePropertiesAnnotation
ImageProperties getImagePropertiesAnnotation()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p4beta1.ImageProperties image_properties_annotation = 8;
- Returns:
- The imagePropertiesAnnotation.
-
getImagePropertiesAnnotationOrBuilder
ImagePropertiesOrBuilder getImagePropertiesAnnotationOrBuilder()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p4beta1.ImageProperties image_properties_annotation = 8;
-
hasCropHintsAnnotation
boolean hasCropHintsAnnotation()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p4beta1.CropHintsAnnotation crop_hints_annotation = 11;
- Returns:
- Whether the cropHintsAnnotation field is set.
-
getCropHintsAnnotation
CropHintsAnnotation getCropHintsAnnotation()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p4beta1.CropHintsAnnotation crop_hints_annotation = 11;
- Returns:
- The cropHintsAnnotation.
-
getCropHintsAnnotationOrBuilder
CropHintsAnnotationOrBuilder getCropHintsAnnotationOrBuilder()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p4beta1.CropHintsAnnotation crop_hints_annotation = 11;
-
hasWebDetection
boolean hasWebDetection()
If present, web detection has completed successfully.
.google.cloud.vision.v1p4beta1.WebDetection web_detection = 13;
- Returns:
- Whether the webDetection field is set.
-
getWebDetection
WebDetection getWebDetection()
If present, web detection has completed successfully.
.google.cloud.vision.v1p4beta1.WebDetection web_detection = 13;
- Returns:
- The webDetection.
-
getWebDetectionOrBuilder
WebDetectionOrBuilder getWebDetectionOrBuilder()
If present, web detection has completed successfully.
.google.cloud.vision.v1p4beta1.WebDetection web_detection = 13;
-
hasProductSearchResults
boolean hasProductSearchResults()
If present, product search has completed successfully.
.google.cloud.vision.v1p4beta1.ProductSearchResults product_search_results = 14;
- Returns:
- Whether the productSearchResults field is set.
-
getProductSearchResults
ProductSearchResults getProductSearchResults()
If present, product search has completed successfully.
.google.cloud.vision.v1p4beta1.ProductSearchResults product_search_results = 14;
- Returns:
- The productSearchResults.
-
getProductSearchResultsOrBuilder
ProductSearchResultsOrBuilder getProductSearchResultsOrBuilder()
If present, product search has completed successfully.
.google.cloud.vision.v1p4beta1.ProductSearchResults product_search_results = 14;
-
hasError
boolean hasError()
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
- Returns:
- Whether the error field is set.
-
getError
com.google.rpc.Status getError()
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
- Returns:
- The error.
-
getErrorOrBuilder
com.google.rpc.StatusOrBuilder getErrorOrBuilder()
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
-
hasContext
boolean hasContext()
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p4beta1.ImageAnnotationContext context = 21;
- Returns:
- Whether the context field is set.
-
getContext
ImageAnnotationContext getContext()
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p4beta1.ImageAnnotationContext context = 21;
- Returns:
- The context.
-
getContextOrBuilder
ImageAnnotationContextOrBuilder getContextOrBuilder()
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p4beta1.ImageAnnotationContext context = 21;
-
-