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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BoundingPoly
getBoundingPoly()
The bounding polygon around the product detected in the query image.BoundingPolyOrBuilder
getBoundingPolyOrBuilder()
The bounding polygon around the product detected in the query image.ProductSearchResults.ObjectAnnotation
getObjectAnnotations(int index)
List of generic predictions for the object in the bounding box.int
getObjectAnnotationsCount()
List of generic predictions for the object in the bounding box.List<ProductSearchResults.ObjectAnnotation>
getObjectAnnotationsList()
List of generic predictions for the object in the bounding box.ProductSearchResults.ObjectAnnotationOrBuilder
getObjectAnnotationsOrBuilder(int index)
List of generic predictions for the object in the bounding box.List<? extends ProductSearchResults.ObjectAnnotationOrBuilder>
getObjectAnnotationsOrBuilderList()
List of generic predictions for the object in the bounding box.ProductSearchResults.Result
getResults(int index)
List of results, one for each product match.int
getResultsCount()
List of results, one for each product match.List<ProductSearchResults.Result>
getResultsList()
List of results, one for each product match.ProductSearchResults.ResultOrBuilder
getResultsOrBuilder(int index)
List of results, one for each product match.List<? extends ProductSearchResults.ResultOrBuilder>
getResultsOrBuilderList()
List of results, one for each product match.boolean
hasBoundingPoly()
The bounding polygon around the product detected in the query image.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasBoundingPoly
boolean hasBoundingPoly()
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1p3beta1.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.v1p3beta1.BoundingPoly bounding_poly = 1;
- Returns:
- The boundingPoly.
-
getBoundingPolyOrBuilder
BoundingPolyOrBuilder getBoundingPolyOrBuilder()
The bounding polygon around the product detected in the query image.
.google.cloud.vision.v1p3beta1.BoundingPoly bounding_poly = 1;
-
getResultsList
List<ProductSearchResults.Result> getResultsList()
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
-
getResults
ProductSearchResults.Result getResults(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
-
getResultsCount
int getResultsCount()
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
-
getResultsOrBuilderList
List<? extends ProductSearchResults.ResultOrBuilder> getResultsOrBuilderList()
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
-
getResultsOrBuilder
ProductSearchResults.ResultOrBuilder getResultsOrBuilder(int index)
List of results, one for each product match.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.Result results = 2;
-
getObjectAnnotationsList
List<ProductSearchResults.ObjectAnnotation> getObjectAnnotationsList()
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
getObjectAnnotations
ProductSearchResults.ObjectAnnotation getObjectAnnotations(int index)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
getObjectAnnotationsCount
int getObjectAnnotationsCount()
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.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.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
getObjectAnnotationsOrBuilder
ProductSearchResults.ObjectAnnotationOrBuilder getObjectAnnotationsOrBuilder(int index)
List of generic predictions for the object in the bounding box.
repeated .google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
-
-