- 3.50.0 (latest)
- 3.49.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.3
- 2.1.4
- 2.0.29
public static final class AnnotateImageResponse.Builder extends GeneratedMessageV3.Builder<AnnotateImageResponse.Builder> implements AnnotateImageResponseOrBuilder
Response to an image annotation request.
Protobuf type google.cloud.vision.v1p1beta1.AnnotateImageResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnnotateImageResponse.BuilderImplements
AnnotateImageResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllFaceAnnotations(Iterable<? extends FaceAnnotation> values)
public AnnotateImageResponse.Builder addAllFaceAnnotations(Iterable<? extends FaceAnnotation> values)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p1beta1.FaceAnnotation> |
Type | Description |
AnnotateImageResponse.Builder |
addAllLabelAnnotations(Iterable<? extends EntityAnnotation> values)
public AnnotateImageResponse.Builder addAllLabelAnnotations(Iterable<? extends EntityAnnotation> values)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p1beta1.EntityAnnotation> |
Type | Description |
AnnotateImageResponse.Builder |
addAllLandmarkAnnotations(Iterable<? extends EntityAnnotation> values)
public AnnotateImageResponse.Builder addAllLandmarkAnnotations(Iterable<? extends EntityAnnotation> values)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p1beta1.EntityAnnotation> |
Type | Description |
AnnotateImageResponse.Builder |
addAllLogoAnnotations(Iterable<? extends EntityAnnotation> values)
public AnnotateImageResponse.Builder addAllLogoAnnotations(Iterable<? extends EntityAnnotation> values)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p1beta1.EntityAnnotation> |
Type | Description |
AnnotateImageResponse.Builder |
addAllTextAnnotations(Iterable<? extends EntityAnnotation> values)
public AnnotateImageResponse.Builder addAllTextAnnotations(Iterable<? extends EntityAnnotation> values)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p1beta1.EntityAnnotation> |
Type | Description |
AnnotateImageResponse.Builder |
addFaceAnnotations(FaceAnnotation value)
public AnnotateImageResponse.Builder addFaceAnnotations(FaceAnnotation value)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
Name | Description |
value | FaceAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
addFaceAnnotations(FaceAnnotation.Builder builderForValue)
public AnnotateImageResponse.Builder addFaceAnnotations(FaceAnnotation.Builder builderForValue)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
Name | Description |
builderForValue | FaceAnnotation.Builder |
Type | Description |
AnnotateImageResponse.Builder |
addFaceAnnotations(int index, FaceAnnotation value)
public AnnotateImageResponse.Builder addFaceAnnotations(int index, FaceAnnotation value)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
Name | Description |
index | int |
value | FaceAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
addFaceAnnotations(int index, FaceAnnotation.Builder builderForValue)
public AnnotateImageResponse.Builder addFaceAnnotations(int index, FaceAnnotation.Builder builderForValue)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
Name | Description |
index | int |
builderForValue | FaceAnnotation.Builder |
Type | Description |
AnnotateImageResponse.Builder |
addFaceAnnotationsBuilder()
public FaceAnnotation.Builder addFaceAnnotationsBuilder()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
Type | Description |
FaceAnnotation.Builder |
addFaceAnnotationsBuilder(int index)
public FaceAnnotation.Builder addFaceAnnotationsBuilder(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
Name | Description |
index | int |
Type | Description |
FaceAnnotation.Builder |
addLabelAnnotations(EntityAnnotation value)
public AnnotateImageResponse.Builder addLabelAnnotations(EntityAnnotation value)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
Name | Description |
value | EntityAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
addLabelAnnotations(EntityAnnotation.Builder builderForValue)
public AnnotateImageResponse.Builder addLabelAnnotations(EntityAnnotation.Builder builderForValue)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
Name | Description |
builderForValue | EntityAnnotation.Builder |
Type | Description |
AnnotateImageResponse.Builder |
addLabelAnnotations(int index, EntityAnnotation value)
public AnnotateImageResponse.Builder addLabelAnnotations(int index, EntityAnnotation value)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
Name | Description |
index | int |
value | EntityAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
addLabelAnnotations(int index, EntityAnnotation.Builder builderForValue)
public AnnotateImageResponse.Builder addLabelAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
Name | Description |
index | int |
builderForValue | EntityAnnotation.Builder |
Type | Description |
AnnotateImageResponse.Builder |
addLabelAnnotationsBuilder()
public EntityAnnotation.Builder addLabelAnnotationsBuilder()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
Type | Description |
EntityAnnotation.Builder |
addLabelAnnotationsBuilder(int index)
public EntityAnnotation.Builder addLabelAnnotationsBuilder(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
Name | Description |
index | int |
Type | Description |
EntityAnnotation.Builder |
addLandmarkAnnotations(EntityAnnotation value)
public AnnotateImageResponse.Builder addLandmarkAnnotations(EntityAnnotation value)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
Name | Description |
value | EntityAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
addLandmarkAnnotations(EntityAnnotation.Builder builderForValue)
public AnnotateImageResponse.Builder addLandmarkAnnotations(EntityAnnotation.Builder builderForValue)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
Name | Description |
builderForValue | EntityAnnotation.Builder |
Type | Description |
AnnotateImageResponse.Builder |
addLandmarkAnnotations(int index, EntityAnnotation value)
public AnnotateImageResponse.Builder addLandmarkAnnotations(int index, EntityAnnotation value)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
Name | Description |
index | int |
value | EntityAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
addLandmarkAnnotations(int index, EntityAnnotation.Builder builderForValue)
public AnnotateImageResponse.Builder addLandmarkAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
Name | Description |
index | int |
builderForValue | EntityAnnotation.Builder |
Type | Description |
AnnotateImageResponse.Builder |
addLandmarkAnnotationsBuilder()
public EntityAnnotation.Builder addLandmarkAnnotationsBuilder()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
Type | Description |
EntityAnnotation.Builder |
addLandmarkAnnotationsBuilder(int index)
public EntityAnnotation.Builder addLandmarkAnnotationsBuilder(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
Name | Description |
index | int |
Type | Description |
EntityAnnotation.Builder |
addLogoAnnotations(EntityAnnotation value)
public AnnotateImageResponse.Builder addLogoAnnotations(EntityAnnotation value)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
Name | Description |
value | EntityAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
addLogoAnnotations(EntityAnnotation.Builder builderForValue)
public AnnotateImageResponse.Builder addLogoAnnotations(EntityAnnotation.Builder builderForValue)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
Name | Description |
builderForValue | EntityAnnotation.Builder |
Type | Description |
AnnotateImageResponse.Builder |
addLogoAnnotations(int index, EntityAnnotation value)
public AnnotateImageResponse.Builder addLogoAnnotations(int index, EntityAnnotation value)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
Name | Description |
index | int |
value | EntityAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
addLogoAnnotations(int index, EntityAnnotation.Builder builderForValue)
public AnnotateImageResponse.Builder addLogoAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
Name | Description |
index | int |
builderForValue | EntityAnnotation.Builder |
Type | Description |
AnnotateImageResponse.Builder |
addLogoAnnotationsBuilder()
public EntityAnnotation.Builder addLogoAnnotationsBuilder()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
Type | Description |
EntityAnnotation.Builder |
addLogoAnnotationsBuilder(int index)
public EntityAnnotation.Builder addLogoAnnotationsBuilder(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
Name | Description |
index | int |
Type | Description |
EntityAnnotation.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnnotateImageResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AnnotateImageResponse.Builder |
addTextAnnotations(EntityAnnotation value)
public AnnotateImageResponse.Builder addTextAnnotations(EntityAnnotation value)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
Name | Description |
value | EntityAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
addTextAnnotations(EntityAnnotation.Builder builderForValue)
public AnnotateImageResponse.Builder addTextAnnotations(EntityAnnotation.Builder builderForValue)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
Name | Description |
builderForValue | EntityAnnotation.Builder |
Type | Description |
AnnotateImageResponse.Builder |
addTextAnnotations(int index, EntityAnnotation value)
public AnnotateImageResponse.Builder addTextAnnotations(int index, EntityAnnotation value)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
Name | Description |
index | int |
value | EntityAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
addTextAnnotations(int index, EntityAnnotation.Builder builderForValue)
public AnnotateImageResponse.Builder addTextAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
Name | Description |
index | int |
builderForValue | EntityAnnotation.Builder |
Type | Description |
AnnotateImageResponse.Builder |
addTextAnnotationsBuilder()
public EntityAnnotation.Builder addTextAnnotationsBuilder()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
Type | Description |
EntityAnnotation.Builder |
addTextAnnotationsBuilder(int index)
public EntityAnnotation.Builder addTextAnnotationsBuilder(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
Name | Description |
index | int |
Type | Description |
EntityAnnotation.Builder |
build()
public AnnotateImageResponse build()
Type | Description |
AnnotateImageResponse |
buildPartial()
public AnnotateImageResponse buildPartial()
Type | Description |
AnnotateImageResponse |
clear()
public AnnotateImageResponse.Builder clear()
Type | Description |
AnnotateImageResponse.Builder |
clearCropHintsAnnotation()
public AnnotateImageResponse.Builder clearCropHintsAnnotation()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p1beta1.CropHintsAnnotation crop_hints_annotation = 11;
Type | Description |
AnnotateImageResponse.Builder |
clearError()
public AnnotateImageResponse.Builder clearError()
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 |
AnnotateImageResponse.Builder |
clearFaceAnnotations()
public AnnotateImageResponse.Builder clearFaceAnnotations()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
Type | Description |
AnnotateImageResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public AnnotateImageResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AnnotateImageResponse.Builder |
clearFullTextAnnotation()
public AnnotateImageResponse.Builder clearFullTextAnnotation()
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;
Type | Description |
AnnotateImageResponse.Builder |
clearImagePropertiesAnnotation()
public AnnotateImageResponse.Builder clearImagePropertiesAnnotation()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p1beta1.ImageProperties image_properties_annotation = 8;
Type | Description |
AnnotateImageResponse.Builder |
clearLabelAnnotations()
public AnnotateImageResponse.Builder clearLabelAnnotations()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
Type | Description |
AnnotateImageResponse.Builder |
clearLandmarkAnnotations()
public AnnotateImageResponse.Builder clearLandmarkAnnotations()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
Type | Description |
AnnotateImageResponse.Builder |
clearLogoAnnotations()
public AnnotateImageResponse.Builder clearLogoAnnotations()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
Type | Description |
AnnotateImageResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnnotateImageResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AnnotateImageResponse.Builder |
clearSafeSearchAnnotation()
public AnnotateImageResponse.Builder clearSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p1beta1.SafeSearchAnnotation safe_search_annotation = 6;
Type | Description |
AnnotateImageResponse.Builder |
clearTextAnnotations()
public AnnotateImageResponse.Builder clearTextAnnotations()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
Type | Description |
AnnotateImageResponse.Builder |
clearWebDetection()
public AnnotateImageResponse.Builder clearWebDetection()
If present, web detection has completed successfully.
.google.cloud.vision.v1p1beta1.WebDetection web_detection = 13;
Type | Description |
AnnotateImageResponse.Builder |
clone()
public AnnotateImageResponse.Builder clone()
Type | Description |
AnnotateImageResponse.Builder |
getCropHintsAnnotation()
public CropHintsAnnotation getCropHintsAnnotation()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p1beta1.CropHintsAnnotation crop_hints_annotation = 11;
Type | Description |
CropHintsAnnotation | The cropHintsAnnotation. |
getCropHintsAnnotationBuilder()
public CropHintsAnnotation.Builder getCropHintsAnnotationBuilder()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p1beta1.CropHintsAnnotation crop_hints_annotation = 11;
Type | Description |
CropHintsAnnotation.Builder |
getCropHintsAnnotationOrBuilder()
public CropHintsAnnotationOrBuilder getCropHintsAnnotationOrBuilder()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p1beta1.CropHintsAnnotation crop_hints_annotation = 11;
Type | Description |
CropHintsAnnotationOrBuilder |
getDefaultInstanceForType()
public AnnotateImageResponse getDefaultInstanceForType()
Type | Description |
AnnotateImageResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getError()
public 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. |
getErrorBuilder()
public Status.Builder getErrorBuilder()
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.Builder |
getErrorOrBuilder()
public 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 FaceAnnotation getFaceAnnotations(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
Name | Description |
index | int |
Type | Description |
FaceAnnotation |
getFaceAnnotationsBuilder(int index)
public FaceAnnotation.Builder getFaceAnnotationsBuilder(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
Name | Description |
index | int |
Type | Description |
FaceAnnotation.Builder |
getFaceAnnotationsBuilderList()
public List<FaceAnnotation.Builder> getFaceAnnotationsBuilderList()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
Type | Description |
List<Builder> |
getFaceAnnotationsCount()
public int getFaceAnnotationsCount()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
Type | Description |
int |
getFaceAnnotationsList()
public List<FaceAnnotation> getFaceAnnotationsList()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
Type | Description |
List<FaceAnnotation> |
getFaceAnnotationsOrBuilder(int index)
public FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
Name | Description |
index | int |
Type | Description |
FaceAnnotationOrBuilder |
getFaceAnnotationsOrBuilderList()
public List<? extends FaceAnnotationOrBuilder> getFaceAnnotationsOrBuilderList()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
Type | Description |
List<? extends com.google.cloud.vision.v1p1beta1.FaceAnnotationOrBuilder> |
getFullTextAnnotation()
public 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;
Type | Description |
TextAnnotation | The fullTextAnnotation. |
getFullTextAnnotationBuilder()
public TextAnnotation.Builder getFullTextAnnotationBuilder()
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;
Type | Description |
TextAnnotation.Builder |
getFullTextAnnotationOrBuilder()
public 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;
Type | Description |
TextAnnotationOrBuilder |
getImagePropertiesAnnotation()
public ImageProperties getImagePropertiesAnnotation()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p1beta1.ImageProperties image_properties_annotation = 8;
Type | Description |
ImageProperties | The imagePropertiesAnnotation. |
getImagePropertiesAnnotationBuilder()
public ImageProperties.Builder getImagePropertiesAnnotationBuilder()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p1beta1.ImageProperties image_properties_annotation = 8;
Type | Description |
ImageProperties.Builder |
getImagePropertiesAnnotationOrBuilder()
public ImagePropertiesOrBuilder getImagePropertiesAnnotationOrBuilder()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p1beta1.ImageProperties image_properties_annotation = 8;
Type | Description |
ImagePropertiesOrBuilder |
getLabelAnnotations(int index)
public EntityAnnotation getLabelAnnotations(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
Name | Description |
index | int |
Type | Description |
EntityAnnotation |
getLabelAnnotationsBuilder(int index)
public EntityAnnotation.Builder getLabelAnnotationsBuilder(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
Name | Description |
index | int |
Type | Description |
EntityAnnotation.Builder |
getLabelAnnotationsBuilderList()
public List<EntityAnnotation.Builder> getLabelAnnotationsBuilderList()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
Type | Description |
List<Builder> |
getLabelAnnotationsCount()
public int getLabelAnnotationsCount()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
Type | Description |
int |
getLabelAnnotationsList()
public List<EntityAnnotation> getLabelAnnotationsList()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
Type | Description |
List<EntityAnnotation> |
getLabelAnnotationsOrBuilder(int index)
public EntityAnnotationOrBuilder getLabelAnnotationsOrBuilder(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
Name | Description |
index | int |
Type | Description |
EntityAnnotationOrBuilder |
getLabelAnnotationsOrBuilderList()
public List<? extends EntityAnnotationOrBuilder> getLabelAnnotationsOrBuilderList()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
Type | Description |
List<? extends com.google.cloud.vision.v1p1beta1.EntityAnnotationOrBuilder> |
getLandmarkAnnotations(int index)
public EntityAnnotation getLandmarkAnnotations(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
Name | Description |
index | int |
Type | Description |
EntityAnnotation |
getLandmarkAnnotationsBuilder(int index)
public EntityAnnotation.Builder getLandmarkAnnotationsBuilder(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
Name | Description |
index | int |
Type | Description |
EntityAnnotation.Builder |
getLandmarkAnnotationsBuilderList()
public List<EntityAnnotation.Builder> getLandmarkAnnotationsBuilderList()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
Type | Description |
List<Builder> |
getLandmarkAnnotationsCount()
public int getLandmarkAnnotationsCount()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
Type | Description |
int |
getLandmarkAnnotationsList()
public List<EntityAnnotation> getLandmarkAnnotationsList()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
Type | Description |
List<EntityAnnotation> |
getLandmarkAnnotationsOrBuilder(int index)
public EntityAnnotationOrBuilder getLandmarkAnnotationsOrBuilder(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
Name | Description |
index | int |
Type | Description |
EntityAnnotationOrBuilder |
getLandmarkAnnotationsOrBuilderList()
public List<? extends EntityAnnotationOrBuilder> getLandmarkAnnotationsOrBuilderList()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
Type | Description |
List<? extends com.google.cloud.vision.v1p1beta1.EntityAnnotationOrBuilder> |
getLogoAnnotations(int index)
public EntityAnnotation getLogoAnnotations(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
Name | Description |
index | int |
Type | Description |
EntityAnnotation |
getLogoAnnotationsBuilder(int index)
public EntityAnnotation.Builder getLogoAnnotationsBuilder(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
Name | Description |
index | int |
Type | Description |
EntityAnnotation.Builder |
getLogoAnnotationsBuilderList()
public List<EntityAnnotation.Builder> getLogoAnnotationsBuilderList()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
Type | Description |
List<Builder> |
getLogoAnnotationsCount()
public int getLogoAnnotationsCount()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
Type | Description |
int |
getLogoAnnotationsList()
public List<EntityAnnotation> getLogoAnnotationsList()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
Type | Description |
List<EntityAnnotation> |
getLogoAnnotationsOrBuilder(int index)
public EntityAnnotationOrBuilder getLogoAnnotationsOrBuilder(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
Name | Description |
index | int |
Type | Description |
EntityAnnotationOrBuilder |
getLogoAnnotationsOrBuilderList()
public List<? extends EntityAnnotationOrBuilder> getLogoAnnotationsOrBuilderList()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
Type | Description |
List<? extends com.google.cloud.vision.v1p1beta1.EntityAnnotationOrBuilder> |
getSafeSearchAnnotation()
public SafeSearchAnnotation getSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p1beta1.SafeSearchAnnotation safe_search_annotation = 6;
Type | Description |
SafeSearchAnnotation | The safeSearchAnnotation. |
getSafeSearchAnnotationBuilder()
public SafeSearchAnnotation.Builder getSafeSearchAnnotationBuilder()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p1beta1.SafeSearchAnnotation safe_search_annotation = 6;
Type | Description |
SafeSearchAnnotation.Builder |
getSafeSearchAnnotationOrBuilder()
public SafeSearchAnnotationOrBuilder getSafeSearchAnnotationOrBuilder()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p1beta1.SafeSearchAnnotation safe_search_annotation = 6;
Type | Description |
SafeSearchAnnotationOrBuilder |
getTextAnnotations(int index)
public EntityAnnotation getTextAnnotations(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
Name | Description |
index | int |
Type | Description |
EntityAnnotation |
getTextAnnotationsBuilder(int index)
public EntityAnnotation.Builder getTextAnnotationsBuilder(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
Name | Description |
index | int |
Type | Description |
EntityAnnotation.Builder |
getTextAnnotationsBuilderList()
public List<EntityAnnotation.Builder> getTextAnnotationsBuilderList()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
Type | Description |
List<Builder> |
getTextAnnotationsCount()
public int getTextAnnotationsCount()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
Type | Description |
int |
getTextAnnotationsList()
public List<EntityAnnotation> getTextAnnotationsList()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
Type | Description |
List<EntityAnnotation> |
getTextAnnotationsOrBuilder(int index)
public EntityAnnotationOrBuilder getTextAnnotationsOrBuilder(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
Name | Description |
index | int |
Type | Description |
EntityAnnotationOrBuilder |
getTextAnnotationsOrBuilderList()
public List<? extends EntityAnnotationOrBuilder> getTextAnnotationsOrBuilderList()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
Type | Description |
List<? extends com.google.cloud.vision.v1p1beta1.EntityAnnotationOrBuilder> |
getWebDetection()
public WebDetection getWebDetection()
If present, web detection has completed successfully.
.google.cloud.vision.v1p1beta1.WebDetection web_detection = 13;
Type | Description |
WebDetection | The webDetection. |
getWebDetectionBuilder()
public WebDetection.Builder getWebDetectionBuilder()
If present, web detection has completed successfully.
.google.cloud.vision.v1p1beta1.WebDetection web_detection = 13;
Type | Description |
WebDetection.Builder |
getWebDetectionOrBuilder()
public WebDetectionOrBuilder getWebDetectionOrBuilder()
If present, web detection has completed successfully.
.google.cloud.vision.v1p1beta1.WebDetection web_detection = 13;
Type | Description |
WebDetectionOrBuilder |
hasCropHintsAnnotation()
public boolean hasCropHintsAnnotation()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p1beta1.CropHintsAnnotation crop_hints_annotation = 11;
Type | Description |
boolean | Whether the cropHintsAnnotation field is set. |
hasError()
public 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;
Type | Description |
boolean | Whether the error field is set. |
hasFullTextAnnotation()
public 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;
Type | Description |
boolean | Whether the fullTextAnnotation field is set. |
hasImagePropertiesAnnotation()
public boolean hasImagePropertiesAnnotation()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p1beta1.ImageProperties image_properties_annotation = 8;
Type | Description |
boolean | Whether the imagePropertiesAnnotation field is set. |
hasSafeSearchAnnotation()
public boolean hasSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p1beta1.SafeSearchAnnotation safe_search_annotation = 6;
Type | Description |
boolean | Whether the safeSearchAnnotation field is set. |
hasWebDetection()
public boolean hasWebDetection()
If present, web detection has completed successfully.
.google.cloud.vision.v1p1beta1.WebDetection web_detection = 13;
Type | Description |
boolean | Whether the webDetection field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCropHintsAnnotation(CropHintsAnnotation value)
public AnnotateImageResponse.Builder mergeCropHintsAnnotation(CropHintsAnnotation value)
If present, crop hints have completed successfully.
.google.cloud.vision.v1p1beta1.CropHintsAnnotation crop_hints_annotation = 11;
Name | Description |
value | CropHintsAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
mergeError(Status value)
public AnnotateImageResponse.Builder mergeError(Status value)
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;
Name | Description |
value | com.google.rpc.Status |
Type | Description |
AnnotateImageResponse.Builder |
mergeFrom(AnnotateImageResponse other)
public AnnotateImageResponse.Builder mergeFrom(AnnotateImageResponse other)
Name | Description |
other | AnnotateImageResponse |
Type | Description |
AnnotateImageResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnnotateImageResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AnnotateImageResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AnnotateImageResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AnnotateImageResponse.Builder |
mergeFullTextAnnotation(TextAnnotation value)
public AnnotateImageResponse.Builder mergeFullTextAnnotation(TextAnnotation value)
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;
Name | Description |
value | TextAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
mergeImagePropertiesAnnotation(ImageProperties value)
public AnnotateImageResponse.Builder mergeImagePropertiesAnnotation(ImageProperties value)
If present, image properties were extracted successfully.
.google.cloud.vision.v1p1beta1.ImageProperties image_properties_annotation = 8;
Name | Description |
value | ImageProperties |
Type | Description |
AnnotateImageResponse.Builder |
mergeSafeSearchAnnotation(SafeSearchAnnotation value)
public AnnotateImageResponse.Builder mergeSafeSearchAnnotation(SafeSearchAnnotation value)
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p1beta1.SafeSearchAnnotation safe_search_annotation = 6;
Name | Description |
value | SafeSearchAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnnotateImageResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AnnotateImageResponse.Builder |
mergeWebDetection(WebDetection value)
public AnnotateImageResponse.Builder mergeWebDetection(WebDetection value)
If present, web detection has completed successfully.
.google.cloud.vision.v1p1beta1.WebDetection web_detection = 13;
Name | Description |
value | WebDetection |
Type | Description |
AnnotateImageResponse.Builder |
removeFaceAnnotations(int index)
public AnnotateImageResponse.Builder removeFaceAnnotations(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
Name | Description |
index | int |
Type | Description |
AnnotateImageResponse.Builder |
removeLabelAnnotations(int index)
public AnnotateImageResponse.Builder removeLabelAnnotations(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
Name | Description |
index | int |
Type | Description |
AnnotateImageResponse.Builder |
removeLandmarkAnnotations(int index)
public AnnotateImageResponse.Builder removeLandmarkAnnotations(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
Name | Description |
index | int |
Type | Description |
AnnotateImageResponse.Builder |
removeLogoAnnotations(int index)
public AnnotateImageResponse.Builder removeLogoAnnotations(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
Name | Description |
index | int |
Type | Description |
AnnotateImageResponse.Builder |
removeTextAnnotations(int index)
public AnnotateImageResponse.Builder removeTextAnnotations(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
Name | Description |
index | int |
Type | Description |
AnnotateImageResponse.Builder |
setCropHintsAnnotation(CropHintsAnnotation value)
public AnnotateImageResponse.Builder setCropHintsAnnotation(CropHintsAnnotation value)
If present, crop hints have completed successfully.
.google.cloud.vision.v1p1beta1.CropHintsAnnotation crop_hints_annotation = 11;
Name | Description |
value | CropHintsAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
setCropHintsAnnotation(CropHintsAnnotation.Builder builderForValue)
public AnnotateImageResponse.Builder setCropHintsAnnotation(CropHintsAnnotation.Builder builderForValue)
If present, crop hints have completed successfully.
.google.cloud.vision.v1p1beta1.CropHintsAnnotation crop_hints_annotation = 11;
Name | Description |
builderForValue | CropHintsAnnotation.Builder |
Type | Description |
AnnotateImageResponse.Builder |
setError(Status value)
public AnnotateImageResponse.Builder setError(Status value)
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;
Name | Description |
value | com.google.rpc.Status |
Type | Description |
AnnotateImageResponse.Builder |
setError(Status.Builder builderForValue)
public AnnotateImageResponse.Builder setError(Status.Builder builderForValue)
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;
Name | Description |
builderForValue | com.google.rpc.Status.Builder |
Type | Description |
AnnotateImageResponse.Builder |
setFaceAnnotations(int index, FaceAnnotation value)
public AnnotateImageResponse.Builder setFaceAnnotations(int index, FaceAnnotation value)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
Name | Description |
index | int |
value | FaceAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
setFaceAnnotations(int index, FaceAnnotation.Builder builderForValue)
public AnnotateImageResponse.Builder setFaceAnnotations(int index, FaceAnnotation.Builder builderForValue)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
Name | Description |
index | int |
builderForValue | FaceAnnotation.Builder |
Type | Description |
AnnotateImageResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AnnotateImageResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AnnotateImageResponse.Builder |
setFullTextAnnotation(TextAnnotation value)
public AnnotateImageResponse.Builder setFullTextAnnotation(TextAnnotation value)
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;
Name | Description |
value | TextAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
setFullTextAnnotation(TextAnnotation.Builder builderForValue)
public AnnotateImageResponse.Builder setFullTextAnnotation(TextAnnotation.Builder builderForValue)
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;
Name | Description |
builderForValue | TextAnnotation.Builder |
Type | Description |
AnnotateImageResponse.Builder |
setImagePropertiesAnnotation(ImageProperties value)
public AnnotateImageResponse.Builder setImagePropertiesAnnotation(ImageProperties value)
If present, image properties were extracted successfully.
.google.cloud.vision.v1p1beta1.ImageProperties image_properties_annotation = 8;
Name | Description |
value | ImageProperties |
Type | Description |
AnnotateImageResponse.Builder |
setImagePropertiesAnnotation(ImageProperties.Builder builderForValue)
public AnnotateImageResponse.Builder setImagePropertiesAnnotation(ImageProperties.Builder builderForValue)
If present, image properties were extracted successfully.
.google.cloud.vision.v1p1beta1.ImageProperties image_properties_annotation = 8;
Name | Description |
builderForValue | ImageProperties.Builder |
Type | Description |
AnnotateImageResponse.Builder |
setLabelAnnotations(int index, EntityAnnotation value)
public AnnotateImageResponse.Builder setLabelAnnotations(int index, EntityAnnotation value)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
Name | Description |
index | int |
value | EntityAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
setLabelAnnotations(int index, EntityAnnotation.Builder builderForValue)
public AnnotateImageResponse.Builder setLabelAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
Name | Description |
index | int |
builderForValue | EntityAnnotation.Builder |
Type | Description |
AnnotateImageResponse.Builder |
setLandmarkAnnotations(int index, EntityAnnotation value)
public AnnotateImageResponse.Builder setLandmarkAnnotations(int index, EntityAnnotation value)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
Name | Description |
index | int |
value | EntityAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
setLandmarkAnnotations(int index, EntityAnnotation.Builder builderForValue)
public AnnotateImageResponse.Builder setLandmarkAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
Name | Description |
index | int |
builderForValue | EntityAnnotation.Builder |
Type | Description |
AnnotateImageResponse.Builder |
setLogoAnnotations(int index, EntityAnnotation value)
public AnnotateImageResponse.Builder setLogoAnnotations(int index, EntityAnnotation value)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
Name | Description |
index | int |
value | EntityAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
setLogoAnnotations(int index, EntityAnnotation.Builder builderForValue)
public AnnotateImageResponse.Builder setLogoAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
Name | Description |
index | int |
builderForValue | EntityAnnotation.Builder |
Type | Description |
AnnotateImageResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnnotateImageResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AnnotateImageResponse.Builder |
setSafeSearchAnnotation(SafeSearchAnnotation value)
public AnnotateImageResponse.Builder setSafeSearchAnnotation(SafeSearchAnnotation value)
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p1beta1.SafeSearchAnnotation safe_search_annotation = 6;
Name | Description |
value | SafeSearchAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
setSafeSearchAnnotation(SafeSearchAnnotation.Builder builderForValue)
public AnnotateImageResponse.Builder setSafeSearchAnnotation(SafeSearchAnnotation.Builder builderForValue)
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p1beta1.SafeSearchAnnotation safe_search_annotation = 6;
Name | Description |
builderForValue | SafeSearchAnnotation.Builder |
Type | Description |
AnnotateImageResponse.Builder |
setTextAnnotations(int index, EntityAnnotation value)
public AnnotateImageResponse.Builder setTextAnnotations(int index, EntityAnnotation value)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
Name | Description |
index | int |
value | EntityAnnotation |
Type | Description |
AnnotateImageResponse.Builder |
setTextAnnotations(int index, EntityAnnotation.Builder builderForValue)
public AnnotateImageResponse.Builder setTextAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
Name | Description |
index | int |
builderForValue | EntityAnnotation.Builder |
Type | Description |
AnnotateImageResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnnotateImageResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AnnotateImageResponse.Builder |
setWebDetection(WebDetection value)
public AnnotateImageResponse.Builder setWebDetection(WebDetection value)
If present, web detection has completed successfully.
.google.cloud.vision.v1p1beta1.WebDetection web_detection = 13;
Name | Description |
value | WebDetection |
Type | Description |
AnnotateImageResponse.Builder |
setWebDetection(WebDetection.Builder builderForValue)
public AnnotateImageResponse.Builder setWebDetection(WebDetection.Builder builderForValue)
If present, web detection has completed successfully.
.google.cloud.vision.v1p1beta1.WebDetection web_detection = 13;
Name | Description |
builderForValue | WebDetection.Builder |
Type | Description |
AnnotateImageResponse.Builder |