@java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.vision.v1.ProductSearchResults.GroupedResult)) {
        return super.equals(obj);
      }
      com.google.cloud.vision.v1.ProductSearchResults.GroupedResult other =
          (com.google.cloud.vision.v1.ProductSearchResults.GroupedResult) obj;

      if (hasBoundingPoly() != other.hasBoundingPoly()) return false;
      if (hasBoundingPoly()) {
        if (!getBoundingPoly().equals(other.getBoundingPoly())) return false;
      }
      if (!getResultsList().equals(other.getResultsList())) return false;
      if (!getObjectAnnotationsList().equals(other.getObjectAnnotationsList())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
List of generic predictions for the object in the bounding box.
</pre>

<code>
repeated .google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation object_annotations = 3;
</code>
java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductSearchResults.java