Class BatchAnnotateImagesResponse.Builder (2.1.4)

public static final class BatchAnnotateImagesResponse.Builder extends GeneratedMessageV3.Builder<BatchAnnotateImagesResponse.Builder> implements BatchAnnotateImagesResponseOrBuilder

Response to a batch image annotation request.

Protobuf type google.cloud.vision.v1p1beta1.BatchAnnotateImagesResponse

Static Methods

getDescriptor()

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

Methods

addAllResponses(Iterable<? extends AnnotateImageResponse> values)

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

Individual responses to image annotation requests within the batch.

repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p1beta1.AnnotateImageResponse>
Returns
TypeDescription
BatchAnnotateImagesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchAnnotateImagesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchAnnotateImagesResponse.Builder
Overrides

addResponses(AnnotateImageResponse value)

public BatchAnnotateImagesResponse.Builder addResponses(AnnotateImageResponse value)

Individual responses to image annotation requests within the batch.

repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;

Parameter
NameDescription
valueAnnotateImageResponse
Returns
TypeDescription
BatchAnnotateImagesResponse.Builder

addResponses(AnnotateImageResponse.Builder builderForValue)

public BatchAnnotateImagesResponse.Builder addResponses(AnnotateImageResponse.Builder builderForValue)

Individual responses to image annotation requests within the batch.

repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;

Parameter
NameDescription
builderForValueAnnotateImageResponse.Builder
Returns
TypeDescription
BatchAnnotateImagesResponse.Builder