Class AnnotateFileResponse.Builder

public static final class AnnotateFileResponse.Builder extends GeneratedMessageV3.Builder<AnnotateFileResponse.Builder> implements AnnotateFileResponseOrBuilder

Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.

Protobuf type google.cloud.vision.v1p4beta1.AnnotateFileResponse

Static Methods

getDescriptor()

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

Methods

addAllResponses(Iterable<? extends AnnotateImageResponse> values)

public AnnotateFileResponse.Builder addAllResponses(Iterable<? extends AnnotateImageResponse> values)

Individual responses to images found within the file. This field will be empty if the error field is set.

repeated .google.cloud.vision.v1p4beta1.AnnotateImageResponse responses = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p4beta1.AnnotateImageResponse>
Returns
TypeDescription
AnnotateFileResponse.