public interface AnnotateImageResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getContext()
public abstract ImageAnnotationContext getContext()
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1.ImageAnnotationContext context = 21;
Type | Description |
ImageAnnotationContext | The context. |
getContextOrBuilder()
public abstract ImageAnnotationContextOrBuilder getContextOrBuilder()
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1.ImageAnnotationContext context = 21;
Type | Description |
ImageAnnotationContextOrBuilder |
getCropHintsAnnotation()
public abstract CropHintsAnnotation getCropHintsAnnotation()
If present, crop hints have completed successfully.
.google.cloud.vision.v1.CropHintsAnnotation crop_hints_annotation = 11;
Type | Description |
CropHintsAnnotation | The cropHintsAnnotation. |
getCropHintsAnnotationOrBuilder()
public abstract CropHintsAnnotationOrBuilder getCropHintsAnnotationOrBuilder()
If present, crop hints have completed successfully.
.google.cloud.vision.v1.CropHintsAnnotation crop_hints_annotation = 11;
Type | Description |
CropHintsAnnotationOrBuilder |
getError()
public abstract 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;
Type | Description |
com.google.rpc.Status | The error. |
getErrorOrBuilder()
public abstract 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;
Type | Description |
com.google.rpc.StatusOrBuilder |
getFaceAnnotations(int index)
public abstract FaceAnnotation getFaceAnnotations(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
Name | Description |
index | int |
Type | Description |
FaceAnnotation |
getFaceAnnotationsCount()
public abstract int getFaceAnnotationsCount()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
Type | Description |
int |
getFaceAnnotationsList()
public abstract List<FaceAnnotation> getFaceAnnotationsList()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
Type | Description |
List<FaceAnnotation> |
getFaceAnnotationsOrBuilder(int index)
public abstract FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
Name | Description |
index | int |
Type | Description |
FaceAnnotationOrBuilder |
getFaceAnnotationsOrBuilderList()
public abstract List<? extends FaceAnnotationOrBuilder> getFaceAnnotationsOrBuilderList()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
Type | Description |
List<? extends com.google.cloud.vision.v1.FaceAnnotationOrBuilder> |
getFullTextAnnotation()
public abstract 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;
Type | Description |
TextAnnotation | The fullTextAnnotation. |
getFullTextAnnotationOrBuilder()
public abstract 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;
Type | Description |
TextAnnotationOrBuilder |
getImagePropertiesAnnotation()
public abstract ImageProperties getImagePropertiesAnnotation()
If present, image properties were extracted successfully.
.google.cloud.vision.v1.ImageProperties image_properties_annotation = 8;
Type | Description |
ImageProperties | The imagePropertiesAnnotation. |
getImagePropertiesAnnotationOrBuilder()
public abstract ImagePropertiesOrBuilder getImagePropertiesAnnotationOrBuilder()
If present, image properties were extracted successfully.
.google.cloud.vision.v1.ImageProperties image_properties_annotation = 8;
Type | Description |
ImagePropertiesOrBuilder |
getLabelAnnotations(int index)
public abstract EntityAnnotation getLabelAnnotations(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
Name | Description |
index | int |
Type | Description |
EntityAnnotation |
getLabelAnnotationsCount()
public abstract int getLabelAnnotationsCount()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
Type | Description |
int |
getLabelAnnotationsList()
public abstract List<EntityAnnotation> getLabelAnnotationsList()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
Type | Description |
List<EntityAnnotation> |
getLabelAnnotationsOrBuilder(int index)
public abstract EntityAnnotationOrBuilder getLabelAnnotationsOrBuilder(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
Name | Description |
index | int |
Type | Description |
EntityAnnotationOrBuilder |
getLabelAnnotationsOrBuilderList()
public abstract List<? extends EntityAnnotationOrBuilder> getLabelAnnotationsOrBuilderList()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
Type | Description |
List<? extends com.google.cloud.vision.v1.EntityAnnotationOrBuilder> |