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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchAnnotateFilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
build()
public BatchAnnotateFilesResponse build()
Returns
buildPartial()
public BatchAnnotateFilesResponse buildPartial()
Returns
clear()
public BatchAnnotateFilesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchAnnotateFilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchAnnotateFilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public BatchAnnotateFilesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BatchAnnotateFilesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BatchAnnotateFilesResponse other)
public BatchAnnotateFilesResponse.Builder mergeFrom(BatchAnnotateFilesResponse other)
Parameter
Returns
public BatchAnnotateFilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BatchAnnotateFilesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchAnnotateFilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BatchAnnotateFilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchAnnotateFilesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchAnnotateFilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides