Class AnnotateImageResponse.Builder (2.1.1)

public static final class AnnotateImageResponse.Builder extends GeneratedMessageV3.Builder<AnnotateImageResponse.Builder> implements AnnotateImageResponseOrBuilder

Response to an image annotation request.

Protobuf type google.cloud.vision.v1p3beta1.AnnotateImageResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1p3beta1.FaceAnnotation face_annotations = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p3beta1.FaceAnnotation>
Returns
TypeDescription
AnnotateImageResponse.Builder