public static final class BatchAnnotateImagesResponse.Builder extends GeneratedMessage.Builder<BatchAnnotateImagesResponse.Builder> implements BatchAnnotateImagesResponseOrBuilder
Response to a batch image annotation request.
Protobuf type google.cloud.vision.v1p1beta1.BatchAnnotateImagesResponse
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 AnnotateImageResponse> values)
public BatchAnnotateImagesResponse.Builder addAllResponses(Iterable<? extends AnnotateImageResponse> values)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.vision.v1p1beta1.AnnotateImageResponse>
|
addResponses(AnnotateImageResponse value)
public BatchAnnotateImagesResponse.Builder addResponses(AnnotateImageResponse value)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;
addResponses(AnnotateImageResponse.Builder builderForValue)
public BatchAnnotateImagesResponse.Builder addResponses(AnnotateImageResponse.Builder builderForValue)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;
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.v1p1beta1.AnnotateImageResponse responses = 1;
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.v1p1beta1.AnnotateImageResponse responses = 1;
addResponsesBuilder()
public AnnotateImageResponse.Builder addResponsesBuilder()
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;
addResponsesBuilder(int index)
public AnnotateImageResponse.Builder addResponsesBuilder(int index)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;
| Parameter |
| Name |
Description |
index |
int
|
build()
public BatchAnnotateImagesResponse build()
buildPartial()
public BatchAnnotateImagesResponse buildPartial()
clear()
public BatchAnnotateImagesResponse.Builder clear()
Overrides
clearResponses()
public BatchAnnotateImagesResponse.Builder clearResponses()
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;
getDefaultInstanceForType()
public BatchAnnotateImagesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getResponses(int index)
public AnnotateImageResponse getResponses(int index)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;
| Parameter |
| Name |
Description |
index |
int
|
getResponsesBuilder(int index)
public AnnotateImageResponse.Builder getResponsesBuilder(int index)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;
| Parameter |
| Name |
Description |
index |
int
|
getResponsesBuilderList()
public List<AnnotateImageResponse.Builder> getResponsesBuilderList()
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;
getResponsesCount()
public int getResponsesCount()
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;
| Returns |
| Type |
Description |
int |
|
getResponsesList()
public List<AnnotateImageResponse> getResponsesList()
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;
getResponsesOrBuilder(int index)
public AnnotateImageResponseOrBuilder getResponsesOrBuilder(int index)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;
| Parameter |
| Name |
Description |
index |
int
|
getResponsesOrBuilderList()
public List<? extends AnnotateImageResponseOrBuilder> getResponsesOrBuilderList()
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.vision.v1p1beta1.AnnotateImageResponseOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchAnnotateImagesResponse other)
public BatchAnnotateImagesResponse.Builder mergeFrom(BatchAnnotateImagesResponse other)
public BatchAnnotateImagesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchAnnotateImagesResponse.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeResponses(int index)
public BatchAnnotateImagesResponse.Builder removeResponses(int index)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;
| Parameter |
| Name |
Description |
index |
int
|
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.v1p1beta1.AnnotateImageResponse responses = 1;
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.v1p1beta1.AnnotateImageResponse responses = 1;