public static final class AnnotateImageResponse.Builder extends GeneratedMessageV3.Builder<AnnotateImageResponse.Builder> implements AnnotateImageResponseOrBuilder
Response to an image annotation request.
Protobuf type google.cloud.vision.v1p4beta1.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.v1p4beta1.FaceAnnotation face_annotations = 1;
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p4beta1.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.v1p4beta1.EntityAnnotation label_annotations = 4;
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p4beta1.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.v1p4beta1.EntityAnnotation landmark_annotations = 2;
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p4beta1.EntityAnnotation> |
Type | Description |
AnnotateImageResponse.Builder |
addAllLocalizedObjectAnnotations(Iterable<? extends LocalizedObjectAnnotation> values)
public AnnotateImageResponse.Builder addAllLocalizedObjectAnnotations(Iterable<? extends LocalizedObjectAnnotation> values)
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation> |
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.v1p4beta1.EntityAnnotation logo_annotations = 3;
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p4beta1.EntityAnnotation> |
Type | Description |
AnnotateImageResponse.Builder |