Class AsyncBatchAnnotateFilesResponse.Builder (2.1.2)

public static final class AsyncBatchAnnotateFilesResponse.Builder extends GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder> implements AsyncBatchAnnotateFilesResponseOrBuilder

Response to an async batch file annotation request.

Protobuf type google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesResponse

Static Methods

getDescriptor()

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

Methods

addAllResponses(Iterable<? extends AsyncAnnotateFileResponse> values)

public AsyncBatchAnnotateFilesResponse.Builder addAllResponses(Iterable<? extends AsyncAnnotateFileResponse> values)

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse>
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addResponses(AsyncAnnotateFileResponse value)

public AsyncBatchAnnotateFilesResponse.Builder addResponses(AsyncAnnotateFileResponse value)

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
NameDescription
valueAsyncAnnotateFileResponse
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse.Builder

addResponses(AsyncAnnotateFileResponse.Builder builderForValue)

public AsyncBatchAnnotateFilesResponse.Builder addResponses(AsyncAnnotateFileResponse.Builder builderForValue)

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
NameDescription
builderForValueAsyncAnnotateFileResponse.Builder
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse.Builder

addResponses(int index, AsyncAnnotateFileResponse value)

public AsyncBatchAnnotateFilesResponse.Builder addResponses(int index, AsyncAnnotateFileResponse value)

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Parameters
NameDescription
indexint
valueAsyncAnnotateFileResponse