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.v1p2beta1.AnnotateFileResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnnotateFileResponse.BuilderImplements
AnnotateFileResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllResponses(Iterable<? extends AnnotateImageResponse> values)
public AnnotateFileResponse.Builder addAllResponses(Iterable<? extends AnnotateImageResponse> values)
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p2beta1.AnnotateImageResponse responses = 2;
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p2beta1.AnnotateImageResponse> |
Type | Description |
AnnotateFileResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnnotateFileResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AnnotateFileResponse.Builder |
addResponses(AnnotateImageResponse value)
public AnnotateFileResponse.Builder addResponses(AnnotateImageResponse value)
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p2beta1.AnnotateImageResponse responses = 2;
Name | Description |
value | AnnotateImageResponse |
Type | Description |
AnnotateFileResponse.Builder |
addResponses(AnnotateImageResponse.Builder builderForValue)
public AnnotateFileResponse.Builder addResponses(AnnotateImageResponse.Builder builderForValue)
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p2beta1.AnnotateImageResponse responses = 2;
Name | Description |
builderForValue | AnnotateImageResponse.Builder |
Type | Description |
AnnotateFileResponse.Builder |
addResponses(int index, AnnotateImageResponse value)
public AnnotateFileResponse.Builder addResponses(int index, AnnotateImageResponse value)
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p2beta1.AnnotateImageResponse responses = 2;