// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/vision/v1/image_annotator.proto

package com.google.cloud.vision.v1;

public interface AnnotateImageResponseOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.cloud.vision.v1.AnnotateImageResponse)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * If present, face detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;</code>
   */
  java.util.List<com.google.cloud.vision.v1.FaceAnnotation> 
      getFaceAnnotationsList();
  /**
   * <pre>
   * If present, face detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;</code>
   */
  com.google.cloud.vision.v1.FaceAnnotation getFaceAnnotations(int index);
  /**
   * <pre>
   * If present, face detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;</code>
   */
  int getFaceAnnotationsCount();
  /**
   * <pre>
   * If present, face detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;</code>
   */
  java.util.List<? extends com.google.cloud.vision.v1.FaceAnnotationOrBuilder> 
      getFaceAnnotationsOrBuilderList();
  /**
   * <pre>
   * If present, face detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;</code>
   */
  com.google.cloud.vision.v1.FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder(
      int index);

  /**
   * <pre>
   * If present, landmark detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;</code>
   */
  java.util.List<com.google.cloud.vision.v1.EntityAnnotation> 
      getLandmarkAnnotationsList();
  /**
   * <pre>
   * If present, landmark detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;</code>
   */
  com.google.cloud.vision.v1.EntityAnnotation getLandmarkAnnotations(int index);
  /**
   * <pre>
   * If present, landmark detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;</code>
   */
  int getLandmarkAnnotationsCount();
  /**
   * <pre>
   * If present, landmark detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;</code>
   */
  java.util.List<? extends com.google.cloud.vision.v1.EntityAnnotationOrBuilder> 
      getLandmarkAnnotationsOrBuilderList();
  /**
   * <pre>
   * If present, landmark detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;</code>
   */
  com.google.cloud.vision.v1.EntityAnnotationOrBuilder getLandmarkAnnotationsOrBuilder(
      int index);

  /**
   * <pre>
   * If present, logo detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;</code>
   */
  java.util.List<com.google.cloud.vision.v1.EntityAnnotation> 
      getLogoAnnotationsList();
  /**
   * <pre>
   * If present, logo detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;</code>
   */
  com.google.cloud.vision.v1.EntityAnnotation getLogoAnnotations(int index);
  /**
   * <pre>
   * If present, logo detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;</code>
   */
  int getLogoAnnotationsCount();
  /**
   * <pre>
   * If present, logo detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;</code>
   */
  java.util.List<? extends com.google.cloud.vision.v1.EntityAnnotationOrBuilder> 
      getLogoAnnotationsOrBuilderList();
  /**
   * <pre>
   * If present, logo detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;</code>
   */
  com.google.cloud.vision.v1.EntityAnnotationOrBuilder getLogoAnnotationsOrBuilder(
      int index);

  /**
   * <pre>
   * If present, label detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;</code>
   */
  java.util.List<com.google.cloud.vision.v1.EntityAnnotation> 
      getLabelAnnotationsList();
  /**
   * <pre>
   * If present, label detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;</code>
   */
  com.google.cloud.vision.v1.EntityAnnotation getLabelAnnotations(int index);
  /**
   * <pre>
   * If present, label detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;</code>
   */
  int getLabelAnnotationsCount();
  /**
   * <pre>
   * If present, label detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;</code>
   */
  java.util.List<? extends com.google.cloud.vision.v1.EntityAnnotationOrBuilder> 
      getLabelAnnotationsOrBuilderList();
  /**
   * <pre>
   * If present, label detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;</code>
   */
  com.google.cloud.vision.v1.EntityAnnotationOrBuilder getLabelAnnotationsOrBuilder(
      int index);

  /**
   * <pre>
   * If present, text (OCR) detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;</code>
   */
  java.util.List<com.google.cloud.vision.v1.EntityAnnotation> 
      getTextAnnotationsList();
  /**
   * <pre>
   * If present, text (OCR) detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;</code>
   */
  com.google.cloud.vision.v1.EntityAnnotation getTextAnnotations(int index);
  /**
   * <pre>
   * If present, text (OCR) detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;</code>
   */
  int getTextAnnotationsCount();
  /**
   * <pre>
   * If present, text (OCR) detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;</code>
   */
  java.util.List<? extends com.google.cloud.vision.v1.EntityAnnotationOrBuilder> 
      getTextAnnotationsOrBuilderList();
  /**
   * <pre>
   * If present, text (OCR) detection has completed successfully.
   * </pre>
   *
   * <code>repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;</code>
   */
  com.google.cloud.vision.v1.EntityAnnotationOrBuilder getTextAnnotationsOrBuilder(
      int index);

  /**
   * <pre>
   * If present, text (OCR) detection or document (OCR) text detection has
   * completed successfully.
   * This annotation provides the structural hierarchy for the OCR detected
   * text.
   * </pre>
   *
   * <code>.google.cloud.vision.v1.TextAnnotation full_text_annotation = 12;</code>
   */
  boolean hasFullTextAnnotation();
  /**
   * <pre>
   * If present, text (OCR) detection or document (OCR) text detection has
   * completed successfully.
   * This annotation provides the structural hierarchy for the OCR detected
   * text.
   * </pre>
   *
   * <code>.google.cloud.vision.v1.TextAnnotation full_text_annotation = 12;</code>
   */
  com.google.cloud.vision.v1.TextAnnotation getFullTextAnnotation();
  /**
   * <pre>
   * If present, text (OCR) detection or document (OCR) text detection has
   * completed successfully.
   * This annotation provides the structural hierarchy for the OCR detected
   * text.
   * </pre>
   *
   * <code>.google.cloud.vision.v1.TextAnnotation full_text_annotation = 12;</code>
   */
  com.google.cloud.vision.v1.TextAnnotationOrBuilder getFullTextAnnotationOrBuilder();

  /**
   * <pre>
   * If present, safe-search annotation has completed successfully.
   * </pre>
   *
   * <code>.google.cloud.vision.v1.SafeSearchAnnotation safe_search_annotation = 6;</code>
   */
  boolean hasSafeSearchAnnotation();
  /**
   * <pre>
   * If present, safe-search annotation has completed successfully.
   * </pre>
   *
   * <code>.google.cloud.vision.v1.SafeSearchAnnotation safe_search_annotation = 6;</code>
   */
  com.google.cloud.vision.v1.SafeSearchAnnotation getSafeSearchAnnotation();
  /**
   * <pre>
   * If present, safe-search annotation has completed successfully.
   * </pre>
   *
   * <code>.google.cloud.vision.v1.SafeSearchAnnotation safe_search_annotation = 6;</code>
   */
  com.google.cloud.vision.v1.SafeSearchAnnotationOrBuilder getSafeSearchAnnotationOrBuilder();

  /**
   * <pre>
   * If present, image properties were extracted successfully.
   * </pre>
   *
   * <code>.google.cloud.vision.v1.ImageProperties image_properties_annotation = 8;</code>
   */
  boolean hasImagePropertiesAnnotation();
  /**
   * <pre>
   * If present, image properties were extracted successfully.
   * </pre>
   *
   * <code>.google.cloud.vision.v1.ImageProperties image_properties_annotation = 8;</code>
   */
  com.google.cloud.vision.v1.ImageProperties getImagePropertiesAnnotation();
  /**
   * <pre>
   * If present, image properties were extracted successfully.
   * </pre>
   *
   * <code>.google.cloud.vision.v1.ImageProperties image_properties_annotation = 8;</code>
   */
  com.google.cloud.vision.v1.ImagePropertiesOrBuilder getImagePropertiesAnnotationOrBuilder();

  /**
   * <pre>
   * If present, crop hints have completed successfully.
   * </pre>
   *
   * <code>.google.cloud.vision.v1.CropHintsAnnotation crop_hints_annotation = 11;</code>
   */
  boolean hasCropHintsAnnotation();
  /**
   * <pre>
   * If present, crop hints have completed successfully.
   * </pre>
   *
   * <code>.google.cloud.vision.v1.CropHintsAnnotation crop_hints_annotation = 11;</code>
   */
  com.google.cloud.vision.v1.CropHintsAnnotation getCropHintsAnnotation();
  /**
   * <pre>
   * If present, crop hints have completed successfully.
   * </pre>
   *
   * <code>.google.cloud.vision.v1.CropHintsAnnotation crop_hints_annotation = 11;</code>
   */
  com.google.cloud.vision.v1.CropHintsAnnotationOrBuilder getCropHintsAnnotationOrBuilder();

  /**
   * <pre>
   * If present, web detection has completed successfully.
   * </pre>
   *
   * <code>.google.cloud.vision.v1.WebDetection web_detection = 13;</code>
   */
  boolean hasWebDetection();
  /**
   * <pre>
   * If present, web detection has completed successfully.
   * </pre>
   *
   * <code>.google.cloud.vision.v1.WebDetection web_detection = 13;</code>
   */
  com.google.cloud.vision.v1.WebDetection getWebDetection();
  /**
   * <pre>
   * If present, web detection has completed successfully.
   * </pre>
   *
   * <code>.google.cloud.vision.v1.WebDetection web_detection = 13;</code>
   */
  com.google.cloud.vision.v1.WebDetectionOrBuilder getWebDetectionOrBuilder();

  /**
   * <pre>
   * 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.
   * </pre>
   *
   * <code>.google.rpc.Status error = 9;</code>
   */
  boolean hasError();
  /**
   * <pre>
   * 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.
   * </pre>
   *
   * <code>.google.rpc.Status error = 9;</code>
   */
  com.google.rpc.Status getError();
  /**
   * <pre>
   * 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.
   * </pre>
   *
   * <code>.google.rpc.Status error = 9;</code>
   */
  com.google.rpc.StatusOrBuilder getErrorOrBuilder();
}
