public static interface ProductSearchResults.GroupedResultOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getBoundingPoly()
public abstract BoundingPoly getBoundingPoly()The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1.BoundingPoly bounding_poly = 1;
| Type | Description |
| 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;
| 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.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
| Name | Description |
| index | int |
| Type | Description |
| 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;
| 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.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
| 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.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
| Name | Description |
| index | int |
| 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.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
| Type | Description |
| 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;
| Name | Description |
| index | int |
| Type | Description |
| ProductSearchResults.Result |
getResultsCount()
public abstract int getResultsCount()List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;
| Type | Description |
| 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;
| 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.v1.ProductSearchResults.Result results = 2;
| Name | Description |
| index | int |
| Type | Description |
| 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;
| Type | Description |
| 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;
| Type | Description |
| boolean | Whether the boundingPoly field is set. |