@java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10:
                {
                  input.readMessage(getBoundingPolyFieldBuilder().getBuilder(), extensionRegistry);
                  bitField0_ |= 0x00000001;
                  break;
                } // case 10
              case 18:
                {
                  com.google.cloud.vision.v1p3beta1.ProductSearchResults.Result m =
                      input.readMessage(
                          com.google.cloud.vision.v1p3beta1.ProductSearchResults.Result.parser(),
                          extensionRegistry);
                  if (resultsBuilder_ == null) {
                    ensureResultsIsMutable();
                    results_.add(m);
                  } else {
                    resultsBuilder_.addMessage(m);
                  }
                  break;
                } // case 18
              case 26:
                {
                  com.google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation m =
                      input.readMessage(
                          com.google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation
                              .parser(),
                          extensionRegistry);
                  if (objectAnnotationsBuilder_ == null) {
                    ensureObjectAnnotationsIsMutable();
                    objectAnnotations_.add(m);
                  } else {
                    objectAnnotationsBuilder_.addMessage(m);
                  }
                  break;
                } // case 26
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
<pre>
Information about the products similar to a single product in a query
image.
</pre>

Protobuf type {@code google.cloud.vision.v1p3beta1.ProductSearchResults.GroupedResult}
java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchResults.java