Interface AnnotateImageResponseOrBuilder (2.1.1)

public interface AnnotateImageResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCropHintsAnnotation()

public abstract CropHintsAnnotation getCropHintsAnnotation()

If present, crop hints have completed successfully.

.google.cloud.vision.v1p1beta1.CropHintsAnnotation crop_hints_annotation = 11;

Returns
TypeDescription
CropHintsAnnotation

The cropHintsAnnotation.

getCropHintsAnnotationOrBuilder()

public abstract CropHintsAnnotationOrBuilder getCropHintsAnnotationOrBuilder()

If present, crop hints have completed successfully.

.google.cloud.vision.v1p1beta1.CropHintsAnnotation crop_hints_annotation = 11;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getFaceAnnotations(int index)

public abstract FaceAnnotation getFaceAnnotations(int index)

If present, face detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
FaceAnnotation

getFaceAnnotationsCount()

public abstract int getFaceAnnotationsCount()

If present, face detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;

Returns
TypeDescription
int

getFaceAnnotationsList()

public abstract List<FaceAnnotation> getFaceAnnotationsList()

If present, face detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;

Returns
TypeDescription
List<FaceAnnotation>

getFaceAnnotationsOrBuilder(int index)

public abstract FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder(int index)

If present, face detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
FaceAnnotationOrBuilder

getFaceAnnotationsOrBuilderList()

public abstract List<? extends FaceAnnotationOrBuilder> getFaceAnnotationsOrBuilderList()

If present, face detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;

Returns
TypeDescription
List<? extends com.google.cloud.vision.v1p1beta1.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.v1p1beta1.TextAnnotation full_text_annotation = 12;

Returns
TypeDescription
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.v1p1beta1.TextAnnotation full_text_annotation = 12;

Returns
TypeDescription
TextAnnotationOrBuilder

getImagePropertiesAnnotation()

public abstract ImageProperties getImagePropertiesAnnotation()

If present, image properties were extracted successfully.

.google.cloud.vision.v1p1beta1.ImageProperties image_properties_annotation = 8;

Returns
TypeDescription
ImageProperties

The imagePropertiesAnnotation.

getImagePropertiesAnnotationOrBuilder()

public abstract ImagePropertiesOrBuilder getImagePropertiesAnnotationOrBuilder()

If present, image properties were extracted successfully.

.google.cloud.vision.v1p1beta1.ImageProperties image_properties_annotation = 8;

Returns
TypeDescription
ImagePropertiesOrBuilder

getLabelAnnotations(int index)

public abstract EntityAnnotation getLabelAnnotations(int index)

If present, label detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityAnnotation

getLabelAnnotationsCount()

public abstract int getLabelAnnotationsCount()

If present, label detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;

Returns
TypeDescription
int

getLabelAnnotationsList()

public abstract List<EntityAnnotation> getLabelAnnotationsList()

If present, label detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;

Returns
TypeDescription
List<EntityAnnotation>

getLabelAnnotationsOrBuilder(int index)

public abstract EntityAnnotationOrBuilder getLabelAnnotationsOrBuilder(int index)

If present, label detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityAnnotationOrBuilder

getLabelAnnotationsOrBuilderList()

public abstract List<? extends EntityAnnotationOrBuilder> getLabelAnnotationsOrBuilderList()

If present, label detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;

Returns
TypeDescription
List<? extends