Class AsyncBatchAnnotateFilesResponse.Builder (3.42.0)

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.v1p4beta1.AsyncBatchAnnotateFilesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
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.v1p4beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse>
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AsyncBatchAnnotateFilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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.v1p4beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
Name Description
value AsyncAnnotateFileResponse
Returns
Type Description
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.v1p4beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
Name Description
builderForValue AsyncAnnotateFileResponse.Builder
Returns
Type Description
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.v1p4beta1.AsyncAnnotateFileResponse responses = 1;

Parameters
Name Description
index int
value AsyncAnnotateFileResponse
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder

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.v1p4beta1.AsyncAnnotateFileResponse responses = 1;

Parameters
Name Description
index int
builderForValue AsyncAnnotateFileResponse.Builder
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder

addResponsesBuilder()

public AsyncAnnotateFileResponse.Builder addResponsesBuilder()

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

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

Returns
Type Description
AsyncAnnotateFileResponse.Builder

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.v1p4beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
AsyncAnnotateFileResponse.Builder

build()

public AsyncBatchAnnotateFilesResponse build()
Returns
Type Description
AsyncBatchAnnotateFilesResponse

buildPartial()

public AsyncBatchAnnotateFilesResponse buildPartial()
Returns
Type Description
AsyncBatchAnnotateFilesResponse

clear()

public AsyncBatchAnnotateFilesResponse.Builder clear()
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AsyncBatchAnnotateFilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AsyncBatchAnnotateFilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder
Overrides

clearResponses()

public AsyncBatchAnnotateFilesResponse.Builder clearResponses()

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

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

Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder

clone()

public AsyncBatchAnnotateFilesResponse.Builder clone()
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder
Overrides

getDefaultInstanceForType()

public AsyncBatchAnnotateFilesResponse getDefaultInstanceForType()
Returns
Type Description
AsyncBatchAnnotateFilesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.v1p4beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
AsyncAnnotateFileResponse

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.v1p4beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
AsyncAnnotateFileResponse.Builder

getResponsesBuilderList()

public List<AsyncAnnotateFileResponse.Builder> getResponsesBuilderList()

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

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

Returns
Type Description
List<Builder>

getResponsesCount()

public int getResponsesCount()

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

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

Returns
Type Description
int

getResponsesList()

public List<AsyncAnnotateFileResponse> getResponsesList()

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

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

Returns
Type Description
List<AsyncAnnotateFileResponse>

getResponsesOrBuilder(int index)

public AsyncAnnotateFileResponseOrBuilder getResponsesOrBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
AsyncAnnotateFileResponseOrBuilder

getResponsesOrBuilderList()

public List<? extends AsyncAnnotateFileResponseOrBuilder> getResponsesOrBuilderList()

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

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

Returns
Type Description
List<? extends com.google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponseOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AsyncBatchAnnotateFilesResponse other)

public AsyncBatchAnnotateFilesResponse.Builder mergeFrom(AsyncBatchAnnotateFilesResponse other)
Parameter
Name Description
other AsyncBatchAnnotateFilesResponse
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AsyncBatchAnnotateFilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AsyncBatchAnnotateFilesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AsyncBatchAnnotateFilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder
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.v1p4beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AsyncBatchAnnotateFilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AsyncBatchAnnotateFilesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder
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.v1p4beta1.AsyncAnnotateFileResponse responses = 1;

Parameters
Name Description
index int
value AsyncAnnotateFileResponse
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder

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.v1p4beta1.AsyncAnnotateFileResponse responses = 1;

Parameters
Name Description
index int
builderForValue AsyncAnnotateFileResponse.Builder
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AsyncBatchAnnotateFilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder
Overrides