code: public final ListProductsInProductSetPagedResponse listProductsInProductSet(ProductSetName name) {
      ListProductsInProductSetRequest request =
          ListProductsInProductSetRequest.newBuilder()
              .setName(name == null ? null : name.toString())
              .build();
      return listProductsInProductSet(request);
    }
docs: Lists the Products in a ProductSet, in an unspecified order. If the ProductSet does not exist,
  the products field of the response will be empty.
  
  <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()) {
  ProductSetName name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]");
  for (Product element : productSearchClient.listProductsInProductSet(name).iterateAll()) {
  // doThingsWith(element);
  }
  }
  </code></pre>
  
  @param name The ProductSet resource for which to retrieve Products.
  <p>Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`
  @throws com.google.api.gax.rpc.ApiException if the remote call fails