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, and with context information.

Protobuf type google.cloud.vision.v1.AnnotateImageRequest

Methods

addAllFeatures(Iterable<? extends Feature> values)

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

Requested features.

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

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

addFeatures(Feature value)

public AnnotateImageRequest.Builder addFeatures(Feature value)

Requested features.

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

Parameter
NameDescription
valueFeature
Returns
TypeDescription