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 Detail

      • getFaceAnnotationsList

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        EntityAnnotationOrBuilder getLabelAnnotationsOrBuilder​(int index)
         If present, label detection has completed successfully.
         
        repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
      • getTextAnnotationsList

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

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

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

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

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

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

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

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

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

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

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

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

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

        WebDetectionOrBuilder getWebDetectionOrBuilder()
         If present, web detection has completed successfully.
         
        .google.cloud.vision.v1p2beta1.WebDetection web_detection = 13;
      • 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.v1p2beta1.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.v1p2beta1.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.v1p2beta1.ImageAnnotationContext context = 21;