public static final class BatchAnnotateImagesResponse.Builder extends GeneratedMessageV3.Builder<BatchAnnotateImagesResponse.Builder> implements BatchAnnotateImagesResponseOrBuilder
Response to a batch image annotation request.
Protobuf type google.cloud.vision.v1.BatchAnnotateImagesResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllResponses(Iterable<? extends AnnotateImageResponse> values)
public BatchAnnotateImagesResponse.Builder addAllResponses(Iterable<? extends AnnotateImageResponse> values)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1.AnnotateImageResponse>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchAnnotateImagesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addResponses(AnnotateImageResponse value)
public BatchAnnotateImagesResponse.Builder addResponses(AnnotateImageResponse value)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;
Parameter
Returns
addResponses(AnnotateImageResponse.Builder builderForValue)
public BatchAnnotateImagesResponse.Builder addResponses(AnnotateImageResponse.Builder builderForValue)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;
Parameter
Returns
addResponses(int index, AnnotateImageResponse value)
public BatchAnnotateImagesResponse.Builder addResponses(int index, AnnotateImageResponse value)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;
Parameters
Returns
addResponses(int index, AnnotateImageResponse.Builder builderForValue)
public BatchAnnotateImagesResponse.Builder addResponses(int index, AnnotateImageResponse.Builder builderForValue)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;
Parameters
Returns
addResponsesBuilder()
public AnnotateImageResponse.Builder addResponsesBuilder()
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;
Returns
addResponsesBuilder(int index)
public AnnotateImageResponse.Builder addResponsesBuilder(int index)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;
Parameter
Returns
build()
public BatchAnnotateImagesResponse build()
Returns
buildPartial()
public BatchAnnotateImagesResponse buildPartial()
Returns
clear()
public BatchAnnotateImagesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchAnnotateImagesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchAnnotateImagesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResponses()
public BatchAnnotateImagesResponse.Builder clearResponses()
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;
Returns
clone()
public BatchAnnotateImagesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BatchAnnotateImagesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getResponses(int index)
public AnnotateImageResponse getResponses(int index)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;
Parameter
Returns
getResponsesBuilder(int index)
public AnnotateImageResponse.Builder getResponsesBuilder(int index)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;
Parameter
Returns
getResponsesBuilderList()
public List<AnnotateImageResponse.Builder> getResponsesBuilderList()
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;
Returns
getResponsesCount()
public int getResponsesCount()
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;
Returns
getResponsesList()
public List<AnnotateImageResponse> getResponsesList()
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;
Returns
getResponsesOrBuilder(int index)
public AnnotateImageResponseOrBuilder getResponsesOrBuilder(int index)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;
Parameter
Returns
getResponsesOrBuilderList()
public List<? extends AnnotateImageResponseOrBuilder> getResponsesOrBuilderList()
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;
Returns
Type | Description |
List<? extends com.google.cloud.vision.v1.AnnotateImageResponseOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BatchAnnotateImagesResponse other)
public BatchAnnotateImagesResponse.Builder mergeFrom(BatchAnnotateImagesResponse other)
Parameter
Returns
public BatchAnnotateImagesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BatchAnnotateImagesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchAnnotateImagesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeResponses(int index)
public BatchAnnotateImagesResponse.Builder removeResponses(int index)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BatchAnnotateImagesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchAnnotateImagesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setResponses(int index, AnnotateImageResponse value)
public BatchAnnotateImagesResponse.Builder setResponses(int index, AnnotateImageResponse value)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;
Parameters
Returns
setResponses(int index, AnnotateImageResponse.Builder builderForValue)
public BatchAnnotateImagesResponse.Builder setResponses(int index, AnnotateImageResponse.Builder builderForValue)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchAnnotateImagesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides