public static final ProductSearchSettings create(ProductSearchStubSettings stub)
      throws IOException {
    return new ProductSearchSettings.Builder(stub.toBuilder()).build();
  }
Returns the object with the settings used for calls to importProductSets.
java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchSettings.java