Interface AnnotateImageResponseOrBuilder (3.11.0)

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 com.google.cloud.vision.v1p1beta1.EntityAnnotationOrBuilder>

getLandmarkAnnotations(int index)

public abstract EntityAnnotation getLandmarkAnnotations(int index)

If present, landmark detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityAnnotation

getLandmarkAnnotationsCount()

public abstract int getLandmarkAnnotationsCount()

If present, landmark detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;

Returns
TypeDescription
int

getLandmarkAnnotationsList()

public abstract List<EntityAnnotation> getLandmarkAnnotationsList()

If present, landmark detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;

Returns
TypeDescription
List<EntityAnnotation>

getLandmarkAnnotationsOrBuilder(int index)

public abstract EntityAnnotationOrBuilder getLandmarkAnnotationsOrBuilder(int index)

If present, landmark detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityAnnotationOrBuilder

getLandmarkAnnotationsOrBuilderList()

public abstract List<? extends EntityAnnotationOrBuilder> getLandmarkAnnotationsOrBuilderList()

If present, landmark detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;

Returns
TypeDescription
List<? extends com.google.cloud.vision.v1p1beta1.EntityAnnotationOrBuilder>

getLogoAnnotations(int index)

public abstract EntityAnnotation getLogoAnnotations(int index)

If present, logo detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityAnnotation

getLogoAnnotationsCount()

public abstract int getLogoAnnotationsCount()

If present, logo detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;

Returns
TypeDescription
int

getLogoAnnotationsList()

public abstract List<EntityAnnotation> getLogoAnnotationsList()

If present, logo detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;

Returns
TypeDescription
List<EntityAnnotation>

getLogoAnnotationsOrBuilder(int index)

public abstract EntityAnnotationOrBuilder getLogoAnnotationsOrBuilder(int index)

If present, logo detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityAnnotationOrBuilder

getLogoAnnotationsOrBuilderList()

public abstract List<? extends EntityAnnotationOrBuilder> getLogoAnnotationsOrBuilderList()

If present, logo detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;

Returns
TypeDescription
List<? extends com.google.cloud.vision.v1p1beta1.EntityAnnotationOrBuilder>

getSafeSearchAnnotation()

public abstract SafeSearchAnnotation getSafeSearchAnnotation()

If present, safe-search annotation has completed successfully.

.google.cloud.vision.v1p1beta1.SafeSearchAnnotation safe_search_annotation = 6;

Returns
TypeDescription
SafeSearchAnnotation

The safeSearchAnnotation.

getSafeSearchAnnotationOrBuilder()

public abstract SafeSearchAnnotationOrBuilder getSafeSearchAnnotationOrBuilder()

If present, safe-search annotation has completed successfully.

.google.cloud.vision.v1p1beta1.SafeSearchAnnotation safe_search_annotation = 6;

Returns
TypeDescription
SafeSearchAnnotationOrBuilder

getTextAnnotations(int index)

public abstract EntityAnnotation getTextAnnotations(int index)

If present, text (OCR) detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityAnnotation

getTextAnnotationsCount()

public abstract int getTextAnnotationsCount()

If present, text (OCR) detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;

Returns
TypeDescription
int

getTextAnnotationsList()

public abstract List<EntityAnnotation> getTextAnnotationsList()

If present, text (OCR) detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;

Returns
TypeDescription
List<EntityAnnotation>

getTextAnnotationsOrBuilder(int index)

public abstract EntityAnnotationOrBuilder getTextAnnotationsOrBuilder(int index)

If present, text (OCR) detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityAnnotationOrBuilder

getTextAnnotationsOrBuilderList()

public abstract List<? extends EntityAnnotationOrBuilder> getTextAnnotationsOrBuilderList()

If present, text (OCR) detection has completed successfully.

repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;

Returns
TypeDescription
List<? extends com.google.cloud.vision.v1p1beta1.EntityAnnotationOrBuilder>

getWebDetection()

public abstract WebDetection getWebDetection()

If present, web detection has completed successfully.

.google.cloud.vision.v1p1beta1.WebDetection web_detection = 13;

Returns
TypeDescription
WebDetection

The webDetection.

getWebDetectionOrBuilder()

public abstract WebDetectionOrBuilder getWebDetectionOrBuilder()

If present, web detection has completed successfully.

.google.cloud.vision.v1p1beta1.WebDetection web_detection = 13;

Returns
TypeDescription
WebDetectionOrBuilder

hasCropHintsAnnotation()

public abstract boolean hasCropHintsAnnotation()

If present, crop hints have completed successfully.

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

Returns
TypeDescription
boolean

Whether the cropHintsAnnotation field is set.

hasError()

public abstract 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;

Returns
TypeDescription
boolean

Whether the error field is set.

hasFullTextAnnotation()

public abstract 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.v1p1beta1.TextAnnotation full_text_annotation = 12;

Returns
TypeDescription
boolean

Whether the fullTextAnnotation field is set.

hasImagePropertiesAnnotation()

public abstract boolean hasImagePropertiesAnnotation()

If present, image properties were extracted successfully.

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

Returns
TypeDescription
boolean

Whether the imagePropertiesAnnotation field is set.

hasSafeSearchAnnotation()

public abstract boolean hasSafeSearchAnnotation()

If present, safe-search annotation has completed successfully.

.google.cloud.vision.v1p1beta1.SafeSearchAnnotation safe_search_annotation = 6;

Returns
TypeDescription
boolean

Whether the safeSearchAnnotation field is set.

hasWebDetection()

public abstract boolean hasWebDetection()

If present, web detection has completed successfully.

.google.cloud.vision.v1p1beta1.WebDetection web_detection = 13;

Returns
TypeDescription
boolean

Whether the webDetection field is set.