Class AsyncAnnotateFileRequest.Builder (2.1.4)

public static final class AsyncAnnotateFileRequest.Builder extends GeneratedMessageV3.Builder<AsyncAnnotateFileRequest.Builder> implements AsyncAnnotateFileRequestOrBuilder

An offline file annotation request.

Protobuf type google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest

Static Methods

getDescriptor()

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

Methods

addAllFeatures(Iterable<? extends Feature> values)

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

Required. Requested features.

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

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

addFeatures(Feature value)

public AsyncAnnotateFileRequest.Builder addFeatures(Feature value)

Required. Requested features.

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

Parameter
NameDescription
valueFeature
Returns
TypeDescription
AsyncAnnotateFileRequest.Builder

addFeatures(Feature.Builder builderForValue)

public AsyncAnnotateFileRequest.Builder addFeatures(Feature.Builder builderForValue)

Required. Requested features.

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

Parameter
NameDescription
builderForValueFeature.Builder
Returns
TypeDescription
AsyncAnnotateFileRequest.Builder

addFeatures(int index, Feature value)

public AsyncAnnotateFileRequest.Builder addFeatures(int index, Feature value)

Required. Requested features.

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

Parameters
NameDescription
indexint
valueFeature
Returns
TypeDescription
AsyncAnnotateFileRequest.Builder

addFeatures(int index, Feature.Builder builderForValue)

public AsyncAnnotateFileRequest.Builder addFeatures(int index, Feature.Builder builderForValue)

Required. Requested features.

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

Parameters
NameDescription
index