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
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
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;
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
|
build()
public BatchAnnotateFilesResponse build()
buildPartial()
public BatchAnnotateFilesResponse buildPartial()
clear()
public BatchAnnotateFilesResponse.Builder clear()
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;
getDefaultInstanceForType()
public BatchAnnotateFilesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
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;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchAnnotateFilesResponse other)
public BatchAnnotateFilesResponse.Builder mergeFrom(BatchAnnotateFilesResponse other)
public BatchAnnotateFilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchAnnotateFilesResponse.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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
|
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;
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;