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.v1p4beta1.BatchAnnotateImagesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 AnnotateImageResponse> values)
public BatchAnnotateImagesResponse.Builder addAllResponses(Iterable<? extends AnnotateImageResponse> values)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p4beta1.AnnotateImageResponse responses = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p4beta1.AnnotateImageResponse>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchAnnotateImagesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
OverridesaddResponses(AnnotateImageResponse value)
public BatchAnnotateImagesResponse.Builder addResponses(AnnotateImageResponse value)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.AnnotateImageResponse responses = 1;
addResponsesBuilder()
public AnnotateImageResponse.Builder addResponsesBuilder()
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p4beta1.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.v1p4beta1.AnnotateImageResponse responses = 1;
Parameter |
---|
Name | Description |
index | int
|
build()
public BatchAnnotateImagesResponse build()
buildPartial()
public BatchAnnotateImagesResponse buildPartial()
clear()
public BatchAnnotateImagesResponse.Builder clear()
OverridesclearField(Descriptors.FieldDescriptor field)
public BatchAnnotateImagesResponse.Builder clearField(Descriptors.FieldDescriptor field)
OverridesclearOneof(Descriptors.OneofDescriptor oneof)
public BatchAnnotateImagesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
OverridesclearResponses()
public BatchAnnotateImagesResponse.Builder clearResponses()
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p4beta1.AnnotateImageResponse responses = 1;
clone()
public BatchAnnotateImagesResponse.Builder clone()
OverridesgetDefaultInstanceForType()
public BatchAnnotateImagesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
OverridesgetResponses(int index)
public AnnotateImageResponse getResponses(int index)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p4beta1.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.v1p4beta1.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.v1p4beta1.AnnotateImageResponse responses = 1;
getResponsesCount()
public int getResponsesCount()
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p4beta1.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.v1p4beta1.AnnotateImageResponse responses = 1;
getResponsesOrBuilder(int index)
public AnnotateImageResponseOrBuilder getResponsesOrBuilder(int index)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p4beta1.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.v1p4beta1.AnnotateImageResponse responses = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.vision.v1p4beta1.AnnotateImageResponseOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
OverridesisInitialized()
public final boolean isInitialized()
OverridesmergeFrom(BatchAnnotateImagesResponse other)
public BatchAnnotateImagesResponse.Builder mergeFrom(BatchAnnotateImagesResponse other)
public BatchAnnotateImagesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
OverridesmergeFrom(Message other)
public BatchAnnotateImagesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
OverridesmergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchAnnotateImagesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
OverridesremoveResponses(int index)
public BatchAnnotateImagesResponse.Builder removeResponses(int index)
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1p4beta1.AnnotateImageResponse responses = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchAnnotateImagesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
OverridessetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchAnnotateImagesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
OverridessetResponses(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.v1p4beta1.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.v1p4beta1.AnnotateImageResponse responses = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchAnnotateImagesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides