Package com.google.cloud.vision.v1
Class ProductSearchResults.GroupedResult.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.GroupedResult.Builder>
-
- com.google.cloud.vision.v1.ProductSearchResults.GroupedResult.Builder
-
- All Implemented Interfaces:
ProductSearchResults.GroupedResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ProductSearchResults.GroupedResult
public static final class ProductSearchResults.GroupedResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.GroupedResult.Builder> implements ProductSearchResults.GroupedResultOrBuilder
Information about the products similar to a single product in a query image.
Protobuf typegoogle.cloud.vision.v1.ProductSearchResults.GroupedResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProductSearchResults.GroupedResult.BuilderaddAllObjectAnnotations(Iterable<? extends ProductSearchResults.ObjectAnnotation> values)List of generic predictions for the object in the bounding box.ProductSearchResults.GroupedResult.BuilderaddAllResults(Iterable<? extends ProductSearchResults.Result> values)List of results, one for each product match.ProductSearchResults.GroupedResult.BuilderaddObjectAnnotations(int index, ProductSearchResults.ObjectAnnotation value)List of generic predictions for the object in the bounding box.ProductSearchResults.GroupedResult.BuilderaddObjectAnnotations(int index, ProductSearchResults.ObjectAnnotation.Builder builderForValue)List of generic predictions for the object in the bounding box.ProductSearchResults.GroupedResult.BuilderaddObjectAnnotations(ProductSearchResults.ObjectAnnotation value)List of generic predictions for the object in the bounding box.ProductSearchResults.GroupedResult.BuilderaddObjectAnnotations(ProductSearchResults.ObjectAnnotation.Builder builderForValue)List of generic predictions for the object in the bounding box.ProductSearchResults.ObjectAnnotation.BuilderaddObjectAnnotationsBuilder()List of generic predictions for the object in the bounding box.ProductSearchResults.ObjectAnnotation.BuilderaddObjectAnnotationsBuilder(int index)List of generic predictions for the object in the bounding box.ProductSearchResults.GroupedResult.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ProductSearchResults.GroupedResult.BuilderaddResults(int index, ProductSearchResults.Result value)List of results, one for each product match.ProductSearchResults.GroupedResult.BuilderaddResults(int index, ProductSearchResults.Result.Builder builderForValue)List of results, one for each product match.ProductSearchResults.GroupedResult.BuilderaddResults(ProductSearchResults.Result value)List of results, one for each product match.ProductSearchResults.GroupedResult.BuilderaddResults(ProductSearchResults.Result.Builder builderForValue)List of results, one for each product match.ProductSearchResults.Result.BuilderaddResultsBuilder()List of results, one for each product match.ProductSearchResults.Result.BuilderaddResultsBuilder(int index)List of results, one for each product match.ProductSearchResults.GroupedResultbuild()ProductSearchResults.GroupedResultbuildPartial()ProductSearchResults.GroupedResult.Builderclear()ProductSearchResults.GroupedResult.BuilderclearBoundingPoly()The bounding polygon around the product detected in the query image.ProductSearchResults.GroupedResult.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ProductSearchResults.GroupedResult.BuilderclearObjectAnnotations()List of generic predictions for the object in the bounding box.ProductSearchResults.GroupedResult.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ProductSearchResults.GroupedResult.BuilderclearResults()List of results, one for each product match.ProductSearchResults.GroupedResult.Builderclone()BoundingPolygetBoundingPoly()The bounding polygon around the product detected in the query image.BoundingPoly.BuildergetBoundingPolyBuilder()The bounding polygon around the product detected in the query image.BoundingPolyOrBuildergetBoundingPolyOrBuilder()The bounding polygon around the product detected in the query image.ProductSearchResults.GroupedResultgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ProductSearchResults.ObjectAnnotationgetObjectAnnotations(int index)List of generic predictions for the object in the bounding box.ProductSearchResults.ObjectAnnotation.BuildergetObjectAnnotationsBuilder(int index)List of generic predictions for the object in the bounding box.List<ProductSearchResults.ObjectAnnotation.Builder>getObjectAnnotationsBuilderList()List of generic predictions for the object in the bounding box.intgetObjectAnnotationsCount()List of generic predictions for the object in the bounding box.List<ProductSearchResults.ObjectAnnotation>getObjectAnnotationsList()List of generic predictions for the object in the bounding box.ProductSearchResults.ObjectAnnotationOrBuildergetObjectAnnotationsOrBuilder(int index)List of generic predictions for the object in the bounding box.List<? extends ProductSearchResults.ObjectAnnotationOrBuilder>getObjectAnnotationsOrBuilderList()List of generic predictions for the object in the bounding box.ProductSearchResults.ResultgetResults(int index)List of results, one for each product match.ProductSearchResults.Result.BuildergetResultsBuilder(int index)List of results, one for each product match.List<ProductSearchResults.Result.Builder>getResultsBuilderList()List of results, one for each product match.intgetResultsCount()List of results, one for each product match.List<ProductSearchResults.Result>getResultsList()List of results, one for each product match.ProductSearchResults.ResultOrBuildergetResultsOrBuilder(int index)List of results, one for each product match.List<? extends ProductSearchResults.ResultOrBuilder>getResultsOrBuilderList()List of results, one for each product match.booleanhasBoundingPoly()The bounding polygon around the product detected in the query image.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ProductSearchResults.GroupedResult.BuildermergeBoundingPoly(BoundingPoly value)The bounding polygon around the product detected in the query image.ProductSearchResults.GroupedResult.BuildermergeFrom(ProductSearchResults.GroupedResult other)ProductSearchResults.GroupedResult.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ProductSearchResults.GroupedResult.BuildermergeFrom(com.google.protobuf.Message other)ProductSearchResults.GroupedResult.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ProductSearchResults.GroupedResult.BuilderremoveObjectAnnotations(int index)List of generic predictions for the object in the bounding box.ProductSearchResults.GroupedResult.BuilderremoveResults(int index)List of results, one for each product match.ProductSearchResults.GroupedResult.BuildersetBoundingPoly(BoundingPoly value)The bounding polygon around the product detected in the query image.ProductSearchResults.GroupedResult.BuildersetBoundingPoly(BoundingPoly.Builder builderForValue)The bounding polygon around the product detected in the query image.ProductSearchResults.GroupedResult.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ProductSearchResults.GroupedResult.BuildersetObjectAnnotations(int index, ProductSearchResults.ObjectAnnotation value)List of generic predictions for the object in the bounding box.ProductSearchResults.GroupedResult.BuildersetObjectAnnotations(int index, ProductSearchResults.ObjectAnnotation.Builder builderForValue)List of generic predictions for the object in the bounding box.ProductSearchResults.GroupedResult.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ProductSearchResults.GroupedResult.BuildersetResults(int index, ProductSearchResults.Result value)List of results, one for each product match.ProductSearchResults.GroupedResult.BuildersetResults(int index, ProductSearchResults.Result.Builder builderForValue)List of results, one for each product match.ProductSearchResults.GroupedResult.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.GroupedResult.Builder>
-
clear
public ProductSearchResults.GroupedResult.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.GroupedResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.GroupedResult.Builder>
-
getDefaultInstanceForType
public ProductSearchResults.GroupedResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ProductSearchResults.GroupedResult build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ProductSearchResults.GroupedResult buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ProductSearchResults.GroupedResult.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.GroupedResult.Builder>
-
setField
public ProductSearchResults.GroupedResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.GroupedResult.Builder>
-
clearField
public ProductSearchResults.GroupedResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.GroupedResult.Builder>
-
clearOneof
public ProductSearchResults.GroupedResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.GroupedResult.Builder>
-
setRepeatedField
public ProductSearchResults.GroupedResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.GroupedResult.Builder>
-
addRepeatedField
public ProductSearchResults.GroupedResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.GroupedResult.Builder>
-
mergeFrom
public ProductSearchResults.GroupedResult.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProductSearchResults.GroupedResult.Builder>
-
mergeFrom
public ProductSearchResults.GroupedResult.Builder mergeFrom(ProductSearchResults.GroupedResult other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.GroupedResult.Builder>
-
mergeFrom
public ProductSearchResults.GroupedResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProductSearchResults.GroupedResult.Builder>- Throws:
IOException
-
hasBoundingPoly
public boolean hasBoundingPoly()
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1.BoundingPoly bounding_poly = 1;- Specified by:
hasBoundingPolyin interfaceProductSearchResults.GroupedResultOrBuilder- Returns:
- Whether the boundingPoly field is set.
-
getBoundingPoly
public BoundingPoly getBoundingPoly()
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1.BoundingPoly bounding_poly = 1;- Specified by:
getBoundingPolyin interfaceProductSearchResults.GroupedResultOrBuilder- Returns:
- The boundingPoly.
-
setBoundingPoly
public ProductSearchResults.GroupedResult.Builder setBoundingPoly(BoundingPoly value)
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1.BoundingPoly bounding_poly = 1;
-
setBoundingPoly
public ProductSearchResults.GroupedResult.Builder setBoundingPoly(BoundingPoly.Builder builderForValue)
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1.BoundingPoly bounding_poly = 1;
-
mergeBoundingPoly
public ProductSearchResults.GroupedResult.Builder mergeBoundingPoly(BoundingPoly value)
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1.BoundingPoly bounding_poly = 1;
-
clearBoundingPoly
public ProductSearchResults.GroupedResult.Builder clearBoundingPoly()
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1.BoundingPoly bounding_poly = 1;
-
getBoundingPolyBuilder
public BoundingPoly.Builder getBoundingPolyBuilder()
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1.BoundingPoly bounding_poly = 1;
-
getBoundingPolyOrBuilder
public BoundingPolyOrBuilder getBoundingPolyOrBuilder()
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1.BoundingPoly bounding_poly = 1;- Specified by:
getBoundingPolyOrBuilderin interfaceProductSearchResults.GroupedResultOrBuilder
-
getResultsList
public List<ProductSearchResults.Result> getResultsList()
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;- Specified by:
getResultsListin interfaceProductSearchResults.GroupedResultOrBuilder
-
getResultsCount
public int getResultsCount()
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;- Specified by:
getResultsCountin interfaceProductSearchResults.GroupedResultOrBuilder
-
getResults
public ProductSearchResults.Result getResults(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;- Specified by:
getResultsin interfaceProductSearchResults.GroupedResultOrBuilder
-
setResults
public ProductSearchResults.GroupedResult.Builder setResults(int index, ProductSearchResults.Result value)
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;
-
setResults
public ProductSearchResults.GroupedResult.Builder setResults(int index, ProductSearchResults.Result.Builder builderForValue)
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;
-
addResults
public ProductSearchResults.GroupedResult.Builder addResults(ProductSearchResults.Result value)
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;
-
addResults
public ProductSearchResults.GroupedResult.Builder addResults(int index, ProductSearchResults.Result value)
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;
-
addResults
public ProductSearchResults.GroupedResult.Builder addResults(ProductSearchResults.Result.Builder builderForValue)
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;
-
addResults
public ProductSearchResults.GroupedResult.Builder addResults(int index, ProductSearchResults.Result.Builder builderForValue)
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;
-
addAllResults
public ProductSearchResults.GroupedResult.Builder addAllResults(Iterable<? extends ProductSearchResults.Result> values)
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;
-
clearResults
public ProductSearchResults.GroupedResult.Builder clearResults()
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;
-
removeResults
public ProductSearchResults.GroupedResult.Builder removeResults(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;
-
getResultsBuilder
public ProductSearchResults.Result.Builder getResultsBuilder(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;
-
getResultsOrBuilder
public ProductSearchResults.ResultOrBuilder getResultsOrBuilder(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;- Specified by:
getResultsOrBuilderin interfaceProductSearchResults.GroupedResultOrBuilder
-
getResultsOrBuilderList
public List<? extends ProductSearchResults.ResultOrBuilder> getResultsOrBuilderList()
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;- Specified by:
getResultsOrBuilderListin interfaceProductSearchResults.GroupedResultOrBuilder
-
addResultsBuilder
public ProductSearchResults.Result.Builder addResultsBuilder()
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;
-
addResultsBuilder
public ProductSearchResults.Result.Builder addResultsBuilder(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;
-
getResultsBuilderList
public List<ProductSearchResults.Result.Builder> getResultsBuilderList()
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;
-
getObjectAnnotationsList
public List<ProductSearchResults.ObjectAnnotation> getObjectAnnotationsList()
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;- Specified by:
getObjectAnnotationsListin interfaceProductSearchResults.GroupedResultOrBuilder
-
getObjectAnnotationsCount
public int getObjectAnnotationsCount()
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;- Specified by:
getObjectAnnotationsCountin interfaceProductSearchResults.GroupedResultOrBuilder
-
getObjectAnnotations
public ProductSearchResults.ObjectAnnotation getObjectAnnotations(int index)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;- Specified by:
getObjectAnnotationsin interfaceProductSearchResults.GroupedResultOrBuilder
-
setObjectAnnotations
public ProductSearchResults.GroupedResult.Builder setObjectAnnotations(int index, ProductSearchResults.ObjectAnnotation value)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
setObjectAnnotations
public ProductSearchResults.GroupedResult.Builder setObjectAnnotations(int index, ProductSearchResults.ObjectAnnotation.Builder builderForValue)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
addObjectAnnotations
public ProductSearchResults.GroupedResult.Builder addObjectAnnotations(ProductSearchResults.ObjectAnnotation value)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
addObjectAnnotations
public ProductSearchResults.GroupedResult.Builder addObjectAnnotations(int index, ProductSearchResults.ObjectAnnotation value)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
addObjectAnnotations
public ProductSearchResults.GroupedResult.Builder addObjectAnnotations(ProductSearchResults.ObjectAnnotation.Builder builderForValue)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
addObjectAnnotations
public ProductSearchResults.GroupedResult.Builder addObjectAnnotations(int index, ProductSearchResults.ObjectAnnotation.Builder builderForValue)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
addAllObjectAnnotations
public ProductSearchResults.GroupedResult.Builder addAllObjectAnnotations(Iterable<? extends ProductSearchResults.ObjectAnnotation> values)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
clearObjectAnnotations
public ProductSearchResults.GroupedResult.Builder clearObjectAnnotations()
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
removeObjectAnnotations
public ProductSearchResults.GroupedResult.Builder removeObjectAnnotations(int index)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
getObjectAnnotationsBuilder
public ProductSearchResults.ObjectAnnotation.Builder getObjectAnnotationsBuilder(int index)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
getObjectAnnotationsOrBuilder
public ProductSearchResults.ObjectAnnotationOrBuilder getObjectAnnotationsOrBuilder(int index)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;- Specified by:
getObjectAnnotationsOrBuilderin interfaceProductSearchResults.GroupedResultOrBuilder
-
getObjectAnnotationsOrBuilderList
public List<? extends ProductSearchResults.ObjectAnnotationOrBuilder> getObjectAnnotationsOrBuilderList()
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;- Specified by:
getObjectAnnotationsOrBuilderListin interfaceProductSearchResults.GroupedResultOrBuilder
-
addObjectAnnotationsBuilder
public ProductSearchResults.ObjectAnnotation.Builder addObjectAnnotationsBuilder()
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
addObjectAnnotationsBuilder
public ProductSearchResults.ObjectAnnotation.Builder addObjectAnnotationsBuilder(int index)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
getObjectAnnotationsBuilderList
public List<ProductSearchResults.ObjectAnnotation.Builder> getObjectAnnotationsBuilderList()
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
setUnknownFields
public final ProductSearchResults.GroupedResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.GroupedResult.Builder>
-
mergeUnknownFields
public final ProductSearchResults.GroupedResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductSearchResults.GroupedResult.Builder>
-
-