code: public final ListProductSetsPagedResponse listProductSets(LocationName parent) {
      ListProductSetsRequest request =
          ListProductSetsRequest.newBuilder()
              .setParent(parent == null ? null : parent.toString())
              .build();
      return listProductSets(request);
    }
docs: Lists ProductSets in an unspecified order.
  
  <p>Possible errors:
  
  <p>&#42; Returns INVALID_ARGUMENT if page_size is greater than 100, or less than 1.
  
  <p>Sample code:
  
  <pre><code>
  try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
  LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  for (ProductSet element : productSearchClient.listProductSets(parent).iterateAll()) {
  // doThingsWith(element);
  }
  }
  </code></pre>
  
  @param parent The project from which ProductSets should be listed.
  <p>Format is `projects/PROJECT_ID/locations/LOC_ID`.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails