com.google.cloud.vision.v1p3beta1.AnnotateImageResponseOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-vision-v1p3beta1 Show documentation
Show all versions of proto-google-cloud-vision-v1p3beta1 Show documentation
PROTO library for proto-google-cloud-vision-v1p3beta1
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/vision/v1p3beta1/image_annotator.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.vision.v1p3beta1;
public interface AnnotateImageResponseOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.vision.v1p3beta1.AnnotateImageResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* If present, face detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.FaceAnnotation face_annotations = 1;
*/
java.util.List getFaceAnnotationsList();
/**
*
*
*
* If present, face detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.FaceAnnotation face_annotations = 1;
*/
com.google.cloud.vision.v1p3beta1.FaceAnnotation getFaceAnnotations(int index);
/**
*
*
*
* If present, face detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.FaceAnnotation face_annotations = 1;
*/
int getFaceAnnotationsCount();
/**
*
*
*
* If present, face detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.FaceAnnotation face_annotations = 1;
*/
java.util.List extends com.google.cloud.vision.v1p3beta1.FaceAnnotationOrBuilder>
getFaceAnnotationsOrBuilderList();
/**
*
*
*
* If present, face detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.FaceAnnotation face_annotations = 1;
*/
com.google.cloud.vision.v1p3beta1.FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder(int index);
/**
*
*
*
* If present, landmark detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation landmark_annotations = 2;
*/
java.util.List getLandmarkAnnotationsList();
/**
*
*
*
* If present, landmark detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation landmark_annotations = 2;
*/
com.google.cloud.vision.v1p3beta1.EntityAnnotation getLandmarkAnnotations(int index);
/**
*
*
*
* If present, landmark detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation landmark_annotations = 2;
*/
int getLandmarkAnnotationsCount();
/**
*
*
*
* If present, landmark detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation landmark_annotations = 2;
*/
java.util.List extends com.google.cloud.vision.v1p3beta1.EntityAnnotationOrBuilder>
getLandmarkAnnotationsOrBuilderList();
/**
*
*
*
* If present, landmark detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation landmark_annotations = 2;
*/
com.google.cloud.vision.v1p3beta1.EntityAnnotationOrBuilder getLandmarkAnnotationsOrBuilder(
int index);
/**
*
*
*
* If present, logo detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation logo_annotations = 3;
*/
java.util.List getLogoAnnotationsList();
/**
*
*
*
* If present, logo detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation logo_annotations = 3;
*/
com.google.cloud.vision.v1p3beta1.EntityAnnotation getLogoAnnotations(int index);
/**
*
*
*
* If present, logo detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation logo_annotations = 3;
*/
int getLogoAnnotationsCount();
/**
*
*
*
* If present, logo detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation logo_annotations = 3;
*/
java.util.List extends com.google.cloud.vision.v1p3beta1.EntityAnnotationOrBuilder>
getLogoAnnotationsOrBuilderList();
/**
*
*
*
* If present, logo detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation logo_annotations = 3;
*/
com.google.cloud.vision.v1p3beta1.EntityAnnotationOrBuilder getLogoAnnotationsOrBuilder(
int index);
/**
*
*
*
* If present, label detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation label_annotations = 4;
*/
java.util.List getLabelAnnotationsList();
/**
*
*
*
* If present, label detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation label_annotations = 4;
*/
com.google.cloud.vision.v1p3beta1.EntityAnnotation getLabelAnnotations(int index);
/**
*
*
*
* If present, label detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation label_annotations = 4;
*/
int getLabelAnnotationsCount();
/**
*
*
*
* If present, label detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation label_annotations = 4;
*/
java.util.List extends com.google.cloud.vision.v1p3beta1.EntityAnnotationOrBuilder>
getLabelAnnotationsOrBuilderList();
/**
*
*
*
* If present, label detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation label_annotations = 4;
*/
com.google.cloud.vision.v1p3beta1.EntityAnnotationOrBuilder getLabelAnnotationsOrBuilder(
int index);
/**
*
*
*
* If present, localized object detection has completed successfully.
* This will be sorted descending by confidence score.
*
*
*
* repeated .google.cloud.vision.v1p3beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
*
*/
java.util.List
getLocalizedObjectAnnotationsList();
/**
*
*
*
* If present, localized object detection has completed successfully.
* This will be sorted descending by confidence score.
*
*
*
* repeated .google.cloud.vision.v1p3beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
*
*/
com.google.cloud.vision.v1p3beta1.LocalizedObjectAnnotation getLocalizedObjectAnnotations(
int index);
/**
*
*
*
* If present, localized object detection has completed successfully.
* This will be sorted descending by confidence score.
*
*
*
* repeated .google.cloud.vision.v1p3beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
*
*/
int getLocalizedObjectAnnotationsCount();
/**
*
*
*
* If present, localized object detection has completed successfully.
* This will be sorted descending by confidence score.
*
*
*
* repeated .google.cloud.vision.v1p3beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
*
*/
java.util.List extends com.google.cloud.vision.v1p3beta1.LocalizedObjectAnnotationOrBuilder>
getLocalizedObjectAnnotationsOrBuilderList();
/**
*
*
*
* If present, localized object detection has completed successfully.
* This will be sorted descending by confidence score.
*
*
*
* repeated .google.cloud.vision.v1p3beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
*
*/
com.google.cloud.vision.v1p3beta1.LocalizedObjectAnnotationOrBuilder
getLocalizedObjectAnnotationsOrBuilder(int index);
/**
*
*
*
* If present, text (OCR) detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation text_annotations = 5;
*/
java.util.List getTextAnnotationsList();
/**
*
*
*
* If present, text (OCR) detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation text_annotations = 5;
*/
com.google.cloud.vision.v1p3beta1.EntityAnnotation getTextAnnotations(int index);
/**
*
*
*
* If present, text (OCR) detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation text_annotations = 5;
*/
int getTextAnnotationsCount();
/**
*
*
*
* If present, text (OCR) detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation text_annotations = 5;
*/
java.util.List extends com.google.cloud.vision.v1p3beta1.EntityAnnotationOrBuilder>
getTextAnnotationsOrBuilderList();
/**
*
*
*
* If present, text (OCR) detection has completed successfully.
*
*
* repeated .google.cloud.vision.v1p3beta1.EntityAnnotation text_annotations = 5;
*/
com.google.cloud.vision.v1p3beta1.EntityAnnotationOrBuilder getTextAnnotationsOrBuilder(
int index);
/**
*
*
*
* 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.v1p3beta1.TextAnnotation full_text_annotation = 12;
*
* @return Whether the fullTextAnnotation field is set.
*/
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.v1p3beta1.TextAnnotation full_text_annotation = 12;
*
* @return The fullTextAnnotation.
*/
com.google.cloud.vision.v1p3beta1.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.v1p3beta1.TextAnnotation full_text_annotation = 12;
*/
com.google.cloud.vision.v1p3beta1.TextAnnotationOrBuilder getFullTextAnnotationOrBuilder();
/**
*
*
*
* If present, safe-search annotation has completed successfully.
*
*
* .google.cloud.vision.v1p3beta1.SafeSearchAnnotation safe_search_annotation = 6;
*
* @return Whether the safeSearchAnnotation field is set.
*/
boolean hasSafeSearchAnnotation();
/**
*
*
*
* If present, safe-search annotation has completed successfully.
*
*
* .google.cloud.vision.v1p3beta1.SafeSearchAnnotation safe_search_annotation = 6;
*
* @return The safeSearchAnnotation.
*/
com.google.cloud.vision.v1p3beta1.SafeSearchAnnotation getSafeSearchAnnotation();
/**
*
*
*
* If present, safe-search annotation has completed successfully.
*
*
* .google.cloud.vision.v1p3beta1.SafeSearchAnnotation safe_search_annotation = 6;
*/
com.google.cloud.vision.v1p3beta1.SafeSearchAnnotationOrBuilder
getSafeSearchAnnotationOrBuilder();
/**
*
*
*
* If present, image properties were extracted successfully.
*
*
* .google.cloud.vision.v1p3beta1.ImageProperties image_properties_annotation = 8;
*
* @return Whether the imagePropertiesAnnotation field is set.
*/
boolean hasImagePropertiesAnnotation();
/**
*
*
*
* If present, image properties were extracted successfully.
*
*
* .google.cloud.vision.v1p3beta1.ImageProperties image_properties_annotation = 8;
*
* @return The imagePropertiesAnnotation.
*/
com.google.cloud.vision.v1p3beta1.ImageProperties getImagePropertiesAnnotation();
/**
*
*
*
* If present, image properties were extracted successfully.
*
*
* .google.cloud.vision.v1p3beta1.ImageProperties image_properties_annotation = 8;
*/
com.google.cloud.vision.v1p3beta1.ImagePropertiesOrBuilder
getImagePropertiesAnnotationOrBuilder();
/**
*
*
*
* If present, crop hints have completed successfully.
*
*
* .google.cloud.vision.v1p3beta1.CropHintsAnnotation crop_hints_annotation = 11;
*
* @return Whether the cropHintsAnnotation field is set.
*/
boolean hasCropHintsAnnotation();
/**
*
*
*
* If present, crop hints have completed successfully.
*
*
* .google.cloud.vision.v1p3beta1.CropHintsAnnotation crop_hints_annotation = 11;
*
* @return The cropHintsAnnotation.
*/
com.google.cloud.vision.v1p3beta1.CropHintsAnnotation getCropHintsAnnotation();
/**
*
*
*
* If present, crop hints have completed successfully.
*
*
* .google.cloud.vision.v1p3beta1.CropHintsAnnotation crop_hints_annotation = 11;
*/
com.google.cloud.vision.v1p3beta1.CropHintsAnnotationOrBuilder getCropHintsAnnotationOrBuilder();
/**
*
*
*
* If present, web detection has completed successfully.
*
*
* .google.cloud.vision.v1p3beta1.WebDetection web_detection = 13;
*
* @return Whether the webDetection field is set.
*/
boolean hasWebDetection();
/**
*
*
*
* If present, web detection has completed successfully.
*
*
* .google.cloud.vision.v1p3beta1.WebDetection web_detection = 13;
*
* @return The webDetection.
*/
com.google.cloud.vision.v1p3beta1.WebDetection getWebDetection();
/**
*
*
*
* If present, web detection has completed successfully.
*
*
* .google.cloud.vision.v1p3beta1.WebDetection web_detection = 13;
*/
com.google.cloud.vision.v1p3beta1.WebDetectionOrBuilder getWebDetectionOrBuilder();
/**
*
*
*
* If present, product search has completed successfully.
*
*
* .google.cloud.vision.v1p3beta1.ProductSearchResults product_search_results = 14;
*
* @return Whether the productSearchResults field is set.
*/
boolean hasProductSearchResults();
/**
*
*
*
* If present, product search has completed successfully.
*
*
* .google.cloud.vision.v1p3beta1.ProductSearchResults product_search_results = 14;
*
* @return The productSearchResults.
*/
com.google.cloud.vision.v1p3beta1.ProductSearchResults getProductSearchResults();
/**
*
*
*
* If present, product search has completed successfully.
*
*
* .google.cloud.vision.v1p3beta1.ProductSearchResults product_search_results = 14;
*/
com.google.cloud.vision.v1p3beta1.ProductSearchResultsOrBuilder
getProductSearchResultsOrBuilder();
/**
*
*
*
* 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;
*
* @return Whether the error field is set.
*/
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;
*
* @return The error.
*/
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;
*/
com.google.rpc.StatusOrBuilder getErrorOrBuilder();
/**
*
*
*
* If present, contextual information is needed to understand where this image
* comes from.
*
*
* .google.cloud.vision.v1p3beta1.ImageAnnotationContext context = 21;
*
* @return Whether the context field is set.
*/
boolean hasContext();
/**
*
*
*
* If present, contextual information is needed to understand where this image
* comes from.
*
*
* .google.cloud.vision.v1p3beta1.ImageAnnotationContext context = 21;
*
* @return The context.
*/
com.google.cloud.vision.v1p3beta1.ImageAnnotationContext getContext();
/**
*
*
*
* If present, contextual information is needed to understand where this image
* comes from.
*
*
* .google.cloud.vision.v1p3beta1.ImageAnnotationContext context = 21;
*/
com.google.cloud.vision.v1p3beta1.ImageAnnotationContextOrBuilder getContextOrBuilder();
}