public interface AnnotateImageResponseOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
CropHintsAnnotation |
getCropHintsAnnotation()
If present, crop hints have completed successfully.
|
CropHintsAnnotationOrBuilder |
getCropHintsAnnotationOrBuilder()
If present, crop hints have completed successfully.
|
Status |
getError()
If set, represents the error message for the operation.
|
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.
|
java.util.List<FaceAnnotation> |
getFaceAnnotationsList()
If present, face detection has completed successfully.
|
FaceAnnotationOrBuilder |
getFaceAnnotationsOrBuilder(int index)
If present, face detection has completed successfully.
|
java.util.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.
|
java.util.List<EntityAnnotation> |
getLabelAnnotationsList()
If present, label detection has completed successfully.
|
EntityAnnotationOrBuilder |
getLabelAnnotationsOrBuilder(int index)
If present, label detection has completed successfully.
|
java.util.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.
|
java.util.List<EntityAnnotation> |
getLandmarkAnnotationsList()
If present, landmark detection has completed successfully.
|
EntityAnnotationOrBuilder |
getLandmarkAnnotationsOrBuilder(int index)
If present, landmark detection has completed successfully.
|
java.util.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.
|
java.util.List<EntityAnnotation> |
getLogoAnnotationsList()
If present, logo detection has completed successfully.
|
EntityAnnotationOrBuilder |
getLogoAnnotationsOrBuilder(int index)
If present, logo detection has completed successfully.
|
java.util.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.
|
java.util.List<EntityAnnotation> |
getTextAnnotationsList()
If present, text (OCR) detection has completed successfully.
|
EntityAnnotationOrBuilder |
getTextAnnotationsOrBuilder(int index)
If present, text (OCR) detection has completed successfully.
|
java.util.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 |
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
java.util.List<FaceAnnotation> getFaceAnnotationsList()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
FaceAnnotation getFaceAnnotations(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
int getFaceAnnotationsCount()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
java.util.List<? extends FaceAnnotationOrBuilder> getFaceAnnotationsOrBuilderList()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
java.util.List<EntityAnnotation> getLandmarkAnnotationsList()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
EntityAnnotation getLandmarkAnnotations(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
int getLandmarkAnnotationsCount()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
java.util.List<? extends EntityAnnotationOrBuilder> getLandmarkAnnotationsOrBuilderList()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
EntityAnnotationOrBuilder getLandmarkAnnotationsOrBuilder(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
java.util.List<EntityAnnotation> getLogoAnnotationsList()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
EntityAnnotation getLogoAnnotations(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
int getLogoAnnotationsCount()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
java.util.List<? extends EntityAnnotationOrBuilder> getLogoAnnotationsOrBuilderList()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
EntityAnnotationOrBuilder getLogoAnnotationsOrBuilder(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
java.util.List<EntityAnnotation> getLabelAnnotationsList()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
EntityAnnotation getLabelAnnotations(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
int getLabelAnnotationsCount()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
java.util.List<? extends EntityAnnotationOrBuilder> getLabelAnnotationsOrBuilderList()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
EntityAnnotationOrBuilder getLabelAnnotationsOrBuilder(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
java.util.List<EntityAnnotation> getTextAnnotationsList()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
EntityAnnotation getTextAnnotations(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
int getTextAnnotationsCount()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
java.util.List<? extends EntityAnnotationOrBuilder> getTextAnnotationsOrBuilderList()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
EntityAnnotationOrBuilder getTextAnnotationsOrBuilder(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.TextAnnotation full_text_annotation = 12;
boolean hasSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p1beta1.SafeSearchAnnotation safe_search_annotation = 6;
SafeSearchAnnotation getSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p1beta1.SafeSearchAnnotation safe_search_annotation = 6;
SafeSearchAnnotationOrBuilder getSafeSearchAnnotationOrBuilder()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p1beta1.SafeSearchAnnotation safe_search_annotation = 6;
boolean hasImagePropertiesAnnotation()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p1beta1.ImageProperties image_properties_annotation = 8;
ImageProperties getImagePropertiesAnnotation()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p1beta1.ImageProperties image_properties_annotation = 8;
ImagePropertiesOrBuilder getImagePropertiesAnnotationOrBuilder()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p1beta1.ImageProperties image_properties_annotation = 8;
boolean hasCropHintsAnnotation()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p1beta1.CropHintsAnnotation crop_hints_annotation = 11;
CropHintsAnnotation getCropHintsAnnotation()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p1beta1.CropHintsAnnotation crop_hints_annotation = 11;
CropHintsAnnotationOrBuilder getCropHintsAnnotationOrBuilder()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p1beta1.CropHintsAnnotation crop_hints_annotation = 11;
boolean hasWebDetection()
If present, web detection has completed successfully.
.google.cloud.vision.v1p1beta1.WebDetection web_detection = 13;
WebDetection getWebDetection()
If present, web detection has completed successfully.
.google.cloud.vision.v1p1beta1.WebDetection web_detection = 13;
WebDetectionOrBuilder getWebDetectionOrBuilder()
If present, web detection has completed successfully.
.google.cloud.vision.v1p1beta1.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;
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;
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;