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 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 of results, one for each product match.
       
      repeated .google.cloud.vision.v1.ProductSearchResults.Result results = 2;
    • getResults

      ProductSearchResults.Result getResults(int index)
       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

      ProductSearchResults.ResultOrBuilder getResultsOrBuilder(int index)
       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

      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;
    • 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

      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;