public final OperationFuture<ImportProductSetsResponse, BatchOperationMetadata>
      importProductSetsAsync(LocationName parent, ImportProductSetsInputConfig inputConfig) {
    ImportProductSetsRequest request =
        ImportProductSetsRequest.newBuilder()
            .setParent(parent == null ? null : parent.toString())
            .setInputConfig(inputConfig)
            .build();
    return importProductSetsAsync(request);
  }
Asynchronous API that imports a list of reference images to specified product sets based on a
list of image information.

<p>The [google.longrunning.Operation][google.longrunning.Operation] API can be used to keep
track of the progress and results of the request. `Operation.metadata` contains
`BatchOperationMetadata`. (progress) `Operation.response` contains `ImportProductSetsResponse`.
(results)

<p>The input source of this method is a csv file on Google Cloud Storage. For the format of the
csv file please see
[ImportProductSetsGcsSource.csv_file_uri][google.cloud.vision.v1p3beta1.ImportProductSetsGcsSource.csv_file_uri].

<p>Sample code:

<pre>{@code
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
  LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  ImportProductSetsInputConfig inputConfig = ImportProductSetsInputConfig.newBuilder().build();
  ImportProductSetsResponse response =
      productSearchClient.importProductSetsAsync(parent, inputConfig).get();
}
}</pre>

@param parent Required. The project in which the ProductSets should be imported.
    <p>Format is `projects/PROJECT_ID/locations/LOC_ID`.
@param inputConfig Required. The input content for the list of requests.
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchClient.java