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.v1p2beta1.AsyncBatchAnnotateFilesResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AsyncBatchAnnotateFilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Parameter
Returns
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.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Parameter
Returns
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.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Parameters
Returns
addResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)
public AsyncBatchAnnotateFilesResponse.Builder addResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Parameters
Returns
addResponsesBuilder()
public AsyncAnnotateFileResponse.Builder addResponsesBuilder()
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Returns
addResponsesBuilder(int index)
public AsyncAnnotateFileResponse.Builder addResponsesBuilder(int index)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Parameter
Returns
build()
public AsyncBatchAnnotateFilesResponse build()
Returns
buildPartial()
public AsyncBatchAnnotateFilesResponse buildPartial()
Returns
clear()
public AsyncBatchAnnotateFilesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AsyncBatchAnnotateFilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AsyncBatchAnnotateFilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResponses()
public AsyncBatchAnnotateFilesResponse.Builder clearResponses()
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Returns
clone()
public AsyncBatchAnnotateFilesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AsyncBatchAnnotateFilesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getResponses(int index)
public AsyncAnnotateFileResponse getResponses(int index)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Parameter
Returns
getResponsesBuilder(int index)
public AsyncAnnotateFileResponse.Builder getResponsesBuilder(int index)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Parameter
Returns
getResponsesBuilderList()
public List<AsyncAnnotateFileResponse.Builder> getResponsesBuilderList()
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Returns
getResponsesCount()
public int getResponsesCount()
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Returns
getResponsesList()
public List<AsyncAnnotateFileResponse> getResponsesList()
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Returns
getResponsesOrBuilder(int index)
public AsyncAnnotateFileResponseOrBuilder getResponsesOrBuilder(int index)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Parameter
Returns
getResponsesOrBuilderList()
public List<? extends AsyncAnnotateFileResponseOrBuilder> getResponsesOrBuilderList()
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Returns
Type | Description |
List<? extends com.google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponseOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AsyncBatchAnnotateFilesResponse other)
public AsyncBatchAnnotateFilesResponse.Builder mergeFrom(AsyncBatchAnnotateFilesResponse other)
Parameter
Returns
public AsyncBatchAnnotateFilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AsyncBatchAnnotateFilesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AsyncBatchAnnotateFilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeResponses(int index)
public AsyncBatchAnnotateFilesResponse.Builder removeResponses(int index)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AsyncBatchAnnotateFilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AsyncBatchAnnotateFilesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setResponses(int index, AsyncAnnotateFileResponse value)
public AsyncBatchAnnotateFilesResponse.Builder setResponses(int index, AsyncAnnotateFileResponse value)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Parameters
Returns
setResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)
public AsyncBatchAnnotateFilesResponse.Builder setResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final AsyncBatchAnnotateFilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides