Class BatchAnnotateFilesResponse.Builder (3.42.0)

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

A list of file annotation responses.

Protobuf type google.cloud.vision.v1p4beta1.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.v1p4beta1.AnnotateFileResponse responses = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchAnnotateFilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.v1p4beta1.AnnotateFileResponse responses = 1;

Returns
Type Description
BatchAnnotateFilesResponse.Builder

clone()

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

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

Parameter
Name Description
index int
Returns
Type Description
BatchAnnotateFilesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public BatchAnnotateFilesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchAnnotateFilesResponse.Builder
Overrides

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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