public interface AnnotateImageResponseOrBuilder extends MessageOrBuilder
Modifier and Type | Method and 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.
|
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.
|
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 |
hasSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
|
boolean |
hasWebDetection()
If present, web detection has completed successfully.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
List<FaceAnnotation> getFaceAnnotationsList()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
FaceAnnotation getFaceAnnotations(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
int getFaceAnnotationsCount()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
List<? extends FaceAnnotationOrBuilder> getFaceAnnotationsOrBuilderList()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
List<EntityAnnotation> getLandmarkAnnotationsList()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
EntityAnnotation getLandmarkAnnotations(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
int getLandmarkAnnotationsCount()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
List<? extends EntityAnnotationOrBuilder> getLandmarkAnnotationsOrBuilderList()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
EntityAnnotationOrBuilder getLandmarkAnnotationsOrBuilder(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
List<EntityAnnotation> getLogoAnnotationsList()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
EntityAnnotation getLogoAnnotations(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
int getLogoAnnotationsCount()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
List<? extends EntityAnnotationOrBuilder> getLogoAnnotationsOrBuilderList()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
EntityAnnotationOrBuilder getLogoAnnotationsOrBuilder(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
List<EntityAnnotation> getLabelAnnotationsList()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
EntityAnnotation getLabelAnnotations(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
int getLabelAnnotationsCount()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
List<? extends EntityAnnotationOrBuilder> getLabelAnnotationsOrBuilderList()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
EntityAnnotationOrBuilder getLabelAnnotationsOrBuilder(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
List<EntityAnnotation> getTextAnnotationsList()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
EntityAnnotation getTextAnnotations(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
int getTextAnnotationsCount()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
List<? extends EntityAnnotationOrBuilder> getTextAnnotationsOrBuilderList()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
EntityAnnotationOrBuilder getTextAnnotationsOrBuilder(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
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;
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;
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;
boolean hasSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p2beta1.SafeSearchAnnotation safe_search_annotation = 6;
SafeSearchAnnotation getSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p2beta1.SafeSearchAnnotation safe_search_annotation = 6;
SafeSearchAnnotationOrBuilder getSafeSearchAnnotationOrBuilder()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p2beta1.SafeSearchAnnotation safe_search_annotation = 6;
boolean hasImagePropertiesAnnotation()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p2beta1.ImageProperties image_properties_annotation = 8;
ImageProperties getImagePropertiesAnnotation()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p2beta1.ImageProperties image_properties_annotation = 8;
ImagePropertiesOrBuilder getImagePropertiesAnnotationOrBuilder()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p2beta1.ImageProperties image_properties_annotation = 8;
boolean hasCropHintsAnnotation()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p2beta1.CropHintsAnnotation crop_hints_annotation = 11;
CropHintsAnnotation getCropHintsAnnotation()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p2beta1.CropHintsAnnotation crop_hints_annotation = 11;
CropHintsAnnotationOrBuilder getCropHintsAnnotationOrBuilder()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p2beta1.CropHintsAnnotation crop_hints_annotation = 11;
boolean hasWebDetection()
If present, web detection has completed successfully.
.google.cloud.vision.v1p2beta1.WebDetection web_detection = 13;
WebDetection getWebDetection()
If present, web detection has completed successfully.
.google.cloud.vision.v1p2beta1.WebDetection web_detection = 13;
WebDetectionOrBuilder getWebDetectionOrBuilder()
If present, web detection has completed successfully.
.google.cloud.vision.v1p2beta1.WebDetection web_detection = 13;
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;
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 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;
boolean hasContext()
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p2beta1.ImageAnnotationContext context = 21;
ImageAnnotationContext getContext()
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p2beta1.ImageAnnotationContext context = 21;
ImageAnnotationContextOrBuilder getContextOrBuilder()
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p2beta1.ImageAnnotationContext context = 21;
Copyright © 2022 Google LLC. All rights reserved.