public static final class AsyncBatchAnnotateFilesResponse.Builder extends GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder> implements AsyncBatchAnnotateFilesResponseOrBuilder
Response to an async batch file annotation request.
Protobuf type google.cloud.vision.v1p2beta1.AsyncBatchAnnotateFilesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllResponses(Iterable<? extends AsyncAnnotateFileResponse> values)
public AsyncBatchAnnotateFilesResponse.Builder addAllResponses(Iterable<? extends AsyncAnnotateFileResponse> values)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AsyncBatchAnnotateFilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addResponses(AsyncAnnotateFileResponse value)
public AsyncBatchAnnotateFilesResponse.Builder addResponses(AsyncAnnotateFileResponse value)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
addResponses(AsyncAnnotateFileResponse.Builder builderForValue)
public AsyncBatchAnnotateFilesResponse.Builder addResponses(AsyncAnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
addResponses(int index, AsyncAnnotateFileResponse value)
public AsyncBatchAnnotateFilesResponse.Builder addResponses(int index, AsyncAnnotateFileResponse value)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
addResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)
public AsyncBatchAnnotateFilesResponse.Builder addResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
addResponsesBuilder()
public AsyncAnnotateFileResponse.Builder addResponsesBuilder()
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
addResponsesBuilder(int index)
public AsyncAnnotateFileResponse.Builder addResponsesBuilder(int index)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Parameter |
---|
Name | Description |
index | int
|
build()
public AsyncBatchAnnotateFilesResponse build()
buildPartial()
public AsyncBatchAnnotateFilesResponse buildPartial()
clear()
public AsyncBatchAnnotateFilesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AsyncBatchAnnotateFilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AsyncBatchAnnotateFilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearResponses()
public AsyncBatchAnnotateFilesResponse.Builder clearResponses()
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
clone()
public AsyncBatchAnnotateFilesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public AsyncBatchAnnotateFilesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getResponses(int index)
public AsyncAnnotateFileResponse getResponses(int index)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Parameter |
---|
Name | Description |
index | int
|
getResponsesBuilder(int index)
public AsyncAnnotateFileResponse.Builder getResponsesBuilder(int index)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Parameter |
---|
Name | Description |
index | int
|
getResponsesBuilderList()
public List<AsyncAnnotateFileResponse.Builder> getResponsesBuilderList()
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
getResponsesCount()
public int getResponsesCount()
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Returns |
---|
Type | Description |
int | |
getResponsesList()
public List<AsyncAnnotateFileResponse> getResponsesList()
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
getResponsesOrBuilder(int index)
public AsyncAnnotateFileResponseOrBuilder getResponsesOrBuilder(int index)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Parameter |
---|
Name | Description |
index | int
|
getResponsesOrBuilderList()
public List<? extends AsyncAnnotateFileResponseOrBuilder> getResponsesOrBuilderList()
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponseOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AsyncBatchAnnotateFilesResponse other)
public AsyncBatchAnnotateFilesResponse.Builder mergeFrom(AsyncBatchAnnotateFilesResponse other)
public AsyncBatchAnnotateFilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AsyncBatchAnnotateFilesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AsyncBatchAnnotateFilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeResponses(int index)
public AsyncBatchAnnotateFilesResponse.Builder removeResponses(int index)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public AsyncBatchAnnotateFilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AsyncBatchAnnotateFilesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setResponses(int index, AsyncAnnotateFileResponse value)
public AsyncBatchAnnotateFilesResponse.Builder setResponses(int index, AsyncAnnotateFileResponse value)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
setResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)
public AsyncBatchAnnotateFilesResponse.Builder setResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse responses = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final AsyncBatchAnnotateFilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides