Class ProductSearchResults.GroupedResult.Builder (2.1.1)

public static final class ProductSearchResults.GroupedResult.Builder extends GeneratedMessageV3.Builder<ProductSearchResults.GroupedResult.Builder> implements ProductSearchResults.GroupedResultOrBuilder

Information about the products similar to a single product in a query image.

Protobuf type google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllObjectAnnotations(Iterable<? extends ProductSearchResults.ObjectAnnotation> values)

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.v1p4beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation>
Returns