Class BatchAnnotateFilesResponse.Builder (3.33.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p4beta1.AnnotateFileResponse>
Returns
TypeDescription
BatchAnnotateFilesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchAnnotateFilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueAnnotateFileResponse
Returns
TypeDescription
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
NameDescription
builderForValueAnnotateFileResponse.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAnnotateFileResponse
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAnnotateFileResponse.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AnnotateFileResponse.Builder

build()

public BatchAnnotateFilesResponse build()
Returns
TypeDescription
BatchAnnotateFilesResponse

buildPartial()

public BatchAnnotateFilesResponse buildPartial()
Returns
TypeDescription
BatchAnnotateFilesResponse

clear()

public BatchAnnotateFilesResponse.Builder clear()
Returns
TypeDescription
BatchAnnotateFilesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchAnnotateFilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchAnnotateFilesResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchAnnotateFilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
BatchAnnotateFilesResponse.Builder

clone()

public BatchAnnotateFilesResponse.Builder clone()
Returns
TypeDescription
BatchAnnotateFilesResponse.Builder
Overrides

getDefaultInstanceForType()

public BatchAnnotateFilesResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchAnnotateFilesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.vision.v1p4beta1.AnnotateFileResponseOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchAnnotateFilesResponse other)

public BatchAnnotateFilesResponse.Builder mergeFrom(BatchAnnotateFilesResponse other)
Parameter
NameDescription
otherBatchAnnotateFilesResponse
Returns
TypeDescription
BatchAnnotateFilesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchAnnotateFilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchAnnotateFilesResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BatchAnnotateFilesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BatchAnnotateFilesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchAnnotateFilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
BatchAnnotateFilesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public BatchAnnotateFilesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueAnnotateFileResponse
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAnnotateFileResponse.Builder
Returns
TypeDescription
BatchAnnotateFilesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchAnnotateFilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchAnnotateFilesResponse.Builder
Overrides