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.v1.AnnotateFileResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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.v1.AnnotateImageResponse responses = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1.AnnotateImageResponse>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnnotateFileResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addResponses(AnnotateImageResponse value)
public AnnotateFileResponse.Builder addResponses(AnnotateImageResponse value)
Individual responses to images found within the file. This field will be
empty if the error
field is set.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 2;
Parameter
Returns
addResponses(AnnotateImageResponse.Builder builderForValue)
public AnnotateFileResponse.Builder addResponses(AnnotateImageResponse.Builder builderForValue)
Individual responses to images found within the file. This field will be
empty if the error
field is set.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 2;
Parameter
Returns
addResponses(int index, AnnotateImageResponse value)
public AnnotateFileResponse.Builder addResponses(int index, AnnotateImageResponse value)
Individual responses to images found within the file. This field will be
empty if the error
field is set.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 2;
Parameters
Returns