Interface AnnotateImageResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AnnotateImageResponse, AnnotateImageResponse.Builder

@Generated public interface AnnotateImageResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getFaceAnnotationsList

      List<FaceAnnotation> getFaceAnnotationsList()
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
    • getFaceAnnotations

      FaceAnnotation getFaceAnnotations(int index)
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
    • getFaceAnnotationsCount

      int getFaceAnnotationsCount()
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
    • getFaceAnnotationsOrBuilderList

      List<? extends FaceAnnotationOrBuilder> getFaceAnnotationsOrBuilderList()
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
    • getFaceAnnotationsOrBuilder

      FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder(int index)
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
    • getLandmarkAnnotationsList

      List<EntityAnnotation> getLandmarkAnnotationsList()
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
    • getLandmarkAnnotations

      EntityAnnotation getLandmarkAnnotations(int index)
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
    • getLandmarkAnnotationsCount

      int getLandmarkAnnotationsCount()
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
    • getLandmarkAnnotationsOrBuilderList

      List<? extends EntityAnnotationOrBuilder> getLandmarkAnnotationsOrBuilderList()
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
    • getLandmarkAnnotationsOrBuilder

      EntityAnnotationOrBuilder getLandmarkAnnotationsOrBuilder(int index)
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
    • getLogoAnnotationsList

      List<EntityAnnotation> getLogoAnnotationsList()
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
    • getLogoAnnotations

      EntityAnnotation getLogoAnnotations(int index)
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
    • getLogoAnnotationsCount

      int getLogoAnnotationsCount()
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
    • getLogoAnnotationsOrBuilderList

      List<? extends EntityAnnotationOrBuilder> getLogoAnnotationsOrBuilderList()
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
    • getLogoAnnotationsOrBuilder

      EntityAnnotationOrBuilder getLogoAnnotationsOrBuilder(int index)
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
    • getLabelAnnotationsList

      List<EntityAnnotation> getLabelAnnotationsList()
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
    • getLabelAnnotations

      EntityAnnotation getLabelAnnotations(int index)
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
    • getLabelAnnotationsCount

      int getLabelAnnotationsCount()
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
    • getLabelAnnotationsOrBuilderList

      List<? extends EntityAnnotationOrBuilder> getLabelAnnotationsOrBuilderList()
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
    • getLabelAnnotationsOrBuilder

      EntityAnnotationOrBuilder getLabelAnnotationsOrBuilder(int index)
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.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.v1.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.v1.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.v1.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.v1.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.v1.LocalizedObjectAnnotation localized_object_annotations = 22;
    • getTextAnnotationsList

      List<EntityAnnotation> getTextAnnotationsList()
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
    • getTextAnnotations

      EntityAnnotation getTextAnnotations(int index)
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
    • getTextAnnotationsCount

      int getTextAnnotationsCount()
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
    • getTextAnnotationsOrBuilderList

      List<? extends EntityAnnotationOrBuilder> getTextAnnotationsOrBuilderList()
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
    • getTextAnnotationsOrBuilder

      EntityAnnotationOrBuilder getTextAnnotationsOrBuilder(int index)
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.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.v1.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.v1.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.v1.TextAnnotation full_text_annotation = 12;
    • hasSafeSearchAnnotation

      boolean hasSafeSearchAnnotation()
       If present, safe-search annotation has completed successfully.
       
      .google.cloud.vision.v1.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.v1.SafeSearchAnnotation safe_search_annotation = 6;
      Returns:
      The safeSearchAnnotation.
    • getSafeSearchAnnotationOrBuilder

      SafeSearchAnnotationOrBuilder getSafeSearchAnnotationOrBuilder()
       If present, safe-search annotation has completed successfully.
       
      .google.cloud.vision.v1.SafeSearchAnnotation safe_search_annotation = 6;
    • hasImagePropertiesAnnotation

      boolean hasImagePropertiesAnnotation()
       If present, image properties were extracted successfully.
       
      .google.cloud.vision.v1.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.v1.ImageProperties image_properties_annotation = 8;
      Returns:
      The imagePropertiesAnnotation.
    • getImagePropertiesAnnotationOrBuilder

      ImagePropertiesOrBuilder getImagePropertiesAnnotationOrBuilder()
       If present, image properties were extracted successfully.
       
      .google.cloud.vision.v1.ImageProperties image_properties_annotation = 8;
    • hasCropHintsAnnotation

      boolean hasCropHintsAnnotation()
       If present, crop hints have completed successfully.
       
      .google.cloud.vision.v1.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.v1.CropHintsAnnotation crop_hints_annotation = 11;
      Returns:
      The cropHintsAnnotation.
    • getCropHintsAnnotationOrBuilder

      CropHintsAnnotationOrBuilder getCropHintsAnnotationOrBuilder()
       If present, crop hints have completed successfully.
       
      .google.cloud.vision.v1.CropHintsAnnotation crop_hints_annotation = 11;
    • hasWebDetection

      boolean hasWebDetection()
       If present, web detection has completed successfully.
       
      .google.cloud.vision.v1.WebDetection web_detection = 13;
      Returns:
      Whether the webDetection field is set.
    • getWebDetection

      WebDetection getWebDetection()
       If present, web detection has completed successfully.
       
      .google.cloud.vision.v1.WebDetection web_detection = 13;
      Returns:
      The webDetection.
    • getWebDetectionOrBuilder

      WebDetectionOrBuilder getWebDetectionOrBuilder()
       If present, web detection has completed successfully.
       
      .google.cloud.vision.v1.WebDetection web_detection = 13;
    • hasProductSearchResults

      boolean hasProductSearchResults()
       If present, product search has completed successfully.
       
      .google.cloud.vision.v1.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.v1.ProductSearchResults product_search_results = 14;
      Returns:
      The productSearchResults.
    • getProductSearchResultsOrBuilder

      ProductSearchResultsOrBuilder getProductSearchResultsOrBuilder()
       If present, product search has completed successfully.
       
      .google.cloud.vision.v1.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

      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

      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.v1.ImageAnnotationContext context = 21;
      Returns:
      Whether the context field is set.
    • getContext

       If present, contextual information is needed to understand where this image
       comes from.
       
      .google.cloud.vision.v1.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.v1.ImageAnnotationContext context = 21;