Class BatchAnnotateFilesResponse.Builder (3.81.0)

public static final class BatchAnnotateFilesResponse.Builder extends GeneratedMessage.Builder<BatchAnnotateFilesResponse.Builder> implements BatchAnnotateFilesResponseOrBuilder

A list of file annotation responses.

Protobuf type google.cloud.vision.v1.BatchAnnotateFilesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllResponses(Iterable<? extends AnnotateFileResponse> values)

public BatchAnnotateFilesResponse.Builder addAllResponses(Iterable<? extends AnnotateFileResponse> values)

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.vision.v1.AnnotateFileResponse>
Returns
Type Description
BatchAnnotateFilesResponse.Builder

addResponses(AnnotateFileResponse value)

public BatchAnnotateFilesResponse.Builder addResponses(AnnotateFileResponse value)

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Parameter
Name Description
value AnnotateFileResponse
Returns
Type Description
BatchAnnotateFilesResponse.Builder

addResponses(AnnotateFileResponse.Builder builderForValue)

public BatchAnnotateFilesResponse.Builder addResponses(AnnotateFileResponse.Builder builderForValue)

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Parameter
Name Description
builderForValue AnnotateFileResponse.Builder
Returns
Type Description
BatchAnnotateFilesResponse.Builder

addResponses(int index, AnnotateFileResponse value)

public BatchAnnotateFilesResponse.Builder addResponses(int index, AnnotateFileResponse value)

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Parameters
Name Description
index int
value AnnotateFileResponse
Returns
Type Description
BatchAnnotateFilesResponse.Builder

addResponses(int index, AnnotateFileResponse.Builder builderForValue)

public BatchAnnotateFilesResponse.Builder addResponses(int index, AnnotateFileResponse.Builder builderForValue)

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Parameters
Name Description
index int
builderForValue AnnotateFileResponse.Builder
Returns
Type Description
BatchAnnotateFilesResponse.Builder

addResponsesBuilder()

public AnnotateFileResponse.Builder addResponsesBuilder()

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Returns
Type Description
AnnotateFileResponse.Builder

addResponsesBuilder(int index)

public AnnotateFileResponse.Builder addResponsesBuilder(int index)

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
AnnotateFileResponse.Builder

build()

public BatchAnnotateFilesResponse build()
Returns
Type Description
BatchAnnotateFilesResponse

buildPartial()

public BatchAnnotateFilesResponse buildPartial()
Returns
Type Description
BatchAnnotateFilesResponse

clear()

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

clearResponses()

public BatchAnnotateFilesResponse.Builder clearResponses()

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Returns
Type Description
BatchAnnotateFilesResponse.Builder

getDefaultInstanceForType()

public BatchAnnotateFilesResponse getDefaultInstanceForType()
Returns
Type Description
BatchAnnotateFilesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getResponses(int index)

public AnnotateFileResponse getResponses(int index)

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
AnnotateFileResponse

getResponsesBuilder(int index)

public AnnotateFileResponse.Builder getResponsesBuilder(int index)

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
AnnotateFileResponse.Builder

getResponsesBuilderList()

public List<AnnotateFileResponse.Builder> getResponsesBuilderList()

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Returns
Type Description
List<Builder>

getResponsesCount()

public int getResponsesCount()

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Returns
Type Description
int

getResponsesList()

public List<AnnotateFileResponse> getResponsesList()

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Returns
Type Description
List<AnnotateFileResponse>

getResponsesOrBuilder(int index)

public AnnotateFileResponseOrBuilder getResponsesOrBuilder(int index)

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
AnnotateFileResponseOrBuilder

getResponsesOrBuilderList()

public List<? extends AnnotateFileResponseOrBuilder> getResponsesOrBuilderList()

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Returns
Type Description
List<? extends com.google.cloud.vision.v1.AnnotateFileResponseOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchAnnotateFilesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeResponses(int index)

public BatchAnnotateFilesResponse.Builder removeResponses(int index)

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchAnnotateFilesResponse.Builder

setResponses(int index, AnnotateFileResponse value)

public BatchAnnotateFilesResponse.Builder setResponses(int index, AnnotateFileResponse value)

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Parameters
Name Description
index int
value AnnotateFileResponse
Returns
Type Description
BatchAnnotateFilesResponse.Builder

setResponses(int index, AnnotateFileResponse.Builder builderForValue)

public BatchAnnotateFilesResponse.Builder setResponses(int index, AnnotateFileResponse.Builder builderForValue)

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Parameters
Name Description
index int
builderForValue AnnotateFileResponse.Builder
Returns
Type Description
BatchAnnotateFilesResponse.Builder