Interface ProductSearchResults.GroupedResultOrBuilder (3.44.0)

public static interface ProductSearchResults.GroupedResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBoundingPoly()

public abstract BoundingPoly getBoundingPoly()

The bounding polygon around the product detected in the query image.

.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 1;

Returns
Type Description
BoundingPoly

The boundingPoly.

getBoundingPolyOrBuilder()

public abstract BoundingPolyOrBuilder getBoundingPolyOrBuilder()

The bounding polygon around the product detected in the query image.

.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 1;

Returns
Type Description
BoundingPolyOrBuilder

getObjectAnnotations(int index)

public abstract ProductSearchResults.ObjectAnnotation getObjectAnnotations(int index)

List of generic predictions for the object in the bounding box.

repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;

Parameter
Name Description
index int
Returns
Type Description
ProductSearchResults.ObjectAnnotation

getObjectAnnotationsCount()

public abstract int getObjectAnnotationsCount()

List of generic predictions for the object in the bounding box.

repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;

Returns
Type Description
int

getObjectAnnotationsList()

public abstract List<ProductSearchResults.ObjectAnnotation> getObjectAnnotationsList()

List of generic predictions for the object in the bounding box.

repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;

Returns
Type Description
List<ObjectAnnotation>

getObjectAnnotationsOrBuilder(int index)

public abstract ProductSearchResults.ObjectAnnotationOrBuilder getObjectAnnotationsOrBuilder(int index)

List of generic predictions for the object in the bounding box.

repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;

Parameter
Name Description
index int
Returns
Type Description
ProductSearchResults.ObjectAnnotationOrBuilder

getObjectAnnotationsOrBuilderList()

public abstract List<? extends ProductSearchResults.ObjectAnnotationOrBuilder> getObjectAnnotationsOrBuilderList()

List of generic predictions for the object in the bounding box.

repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;

Returns
Type Description
List<? extends com.google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotationOrBuilder>

getResults(int index)

public abstract ProductSearchResults.Result getResults(int index)

List of results, one for each product match.

repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 2;

Parameter
Name Description
index int
Returns
Type Description
ProductSearchResults.Result

getResultsCount()

public abstract int getResultsCount()

List of results, one for each product match.

repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 2;

Returns
Type Description
int

getResultsList()

public abstract List<ProductSearchResults.Result> getResultsList()

List of results, one for each product match.

repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 2;

Returns
Type Description
List<Result>

getResultsOrBuilder(int index)

public abstract ProductSearchResults.ResultOrBuilder getResultsOrBuilder(int index)

List of results, one for each product match.

repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 2;

Parameter
Name Description
index int
Returns
Type Description
ProductSearchResults.ResultOrBuilder

getResultsOrBuilderList()

public abstract List<? extends ProductSearchResults.ResultOrBuilder> getResultsOrBuilderList()

List of results, one for each product match.

repeated .google.cloud.vision.v1p4beta1.ProductSearchResults.Result results = 2;

Returns
Type Description
List<? extends com.google.cloud.vision.v1p4beta1.ProductSearchResults.ResultOrBuilder>

hasBoundingPoly()

public abstract boolean hasBoundingPoly()

The bounding polygon around the product detected in the query image.

.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 1;

Returns
Type Description
boolean

Whether the boundingPoly field is set.