Interface ProductSearchResults.GroupedResultOrBuilder (3.30.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.v1.BoundingPoly bounding_poly = 1;

Returns
TypeDescription
BoundingPoly

The boundingPoly.

getBoundingPolyOrBuilder()

public abstract BoundingPolyOrBuilder getBoundingPolyOrBuilder()

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

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

Returns
TypeDescription
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.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProductSearchResults.ObjectAnnotation

getObjectAnnotationsCount()

public abstract int getObjectAnnotationsCount()

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

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

Returns
TypeDescription
int

getObjectAnnotationsList()

public abstract 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;

Returns
TypeDescription
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.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;

Returns
TypeDescription
List<? extends com.google.cloud.vision.v1.ProductSearchResults.ObjectAnnotationOrBuilder>

getResults(int index)

public abstract ProductSearchResults.Result getResults(int index)

List of results, one for each product match.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ProductSearchResults.Result

getResultsCount()

public abstract int getResultsCount()

List of results, one for each product match.

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

Returns
TypeDescription
int

getResultsList()

public abstract List<ProductSearchResults.Result> getResultsList()

List of results, one for each product match.

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

Returns
TypeDescription
List<Result>

getResultsOrBuilder(int index)

public abstract ProductSearchResults.ResultOrBuilder getResultsOrBuilder(int index)

List of results, one for each product match.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ProductSearchResults.ResultOrBuilder

getResultsOrBuilderList()

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

List of results, one for each product match.

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

Returns
TypeDescription
List<? extends com.google.cloud.vision.v1.ProductSearchResults.ResultOrBuilder>

hasBoundingPoly()

public abstract boolean hasBoundingPoly()

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

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

Returns
TypeDescription
boolean

Whether the boundingPoly field is set.