Class AnnotateImageRequest.Builder

public static final class AnnotateImageRequest.Builder extends GeneratedMessageV3.Builder<AnnotateImageRequest.Builder> implements AnnotateImageRequestOrBuilder

Request for performing Google Cloud Vision API tasks over a user-provided image, with user-requested features.

Protobuf type google.cloud.vision.v1p1beta1.AnnotateImageRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllFeatures(Iterable<? extends Feature> values)

public AnnotateImageRequest.Builder addAllFeatures(Iterable<? extends Feature> values)

Requested features.

repeated .google.cloud.vision.v1p1beta1.Feature features = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p1beta1.Feature>
Returns
TypeDescription
AnnotateImageRequest.Builder