Package com.google.cloud.vision.v1
Interface ProductSearchResults.GroupedResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProductSearchResults.GroupedResult,ProductSearchResults.GroupedResult.Builder
- Enclosing class:
- ProductSearchResults
public static interface ProductSearchResults.GroupedResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe bounding polygon around the product detected in the query image.The bounding polygon around the product detected in the query image.getObjectAnnotations(int index) List of generic predictions for the object in the bounding box.intList of generic predictions for the object in the bounding box.List of generic predictions for the object in the bounding box.getObjectAnnotationsOrBuilder(int index) List of generic predictions for the object in the bounding box.List of generic predictions for the object in the bounding box.getResults(int index) List of results, one for each product match.intList of results, one for each product match.List of results, one for each product match.getResultsOrBuilder(int index) List of results, one for each product match.List<? extends ProductSearchResults.ResultOrBuilder>List of results, one for each product match.booleanThe bounding polygon around the product detected in the query image.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasBoundingPoly
boolean hasBoundingPoly()The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1.BoundingPoly bounding_poly = 1;- Returns:
- Whether the boundingPoly field is set.
-
getBoundingPoly
BoundingPoly getBoundingPoly()The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1.BoundingPoly bounding_poly = 1;- Returns:
- The boundingPoly.
-
getBoundingPolyOrBuilder
BoundingPolyOrBuilder getBoundingPolyOrBuilder()The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1.BoundingPoly bounding_poly = 1; -
getResultsList
List<ProductSearchResults.Result> getResultsList()List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2; -
getResults
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2; -
getResultsCount
int getResultsCount()List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2; -
getResultsOrBuilderList
List<? extends ProductSearchResults.ResultOrBuilder> getResultsOrBuilderList()List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2; -
getResultsOrBuilder
List of results, one for each product match.
repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2; -
getObjectAnnotationsList
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; -
getObjectAnnotations
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3; -
getObjectAnnotationsCount
int getObjectAnnotationsCount()List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3; -
getObjectAnnotationsOrBuilderList
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; -
getObjectAnnotationsOrBuilder
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-