public final ListProductsInProductSetPagedResponse listProductsInProductSet(String name) {
    ListProductsInProductSetRequest request =
        ListProductsInProductSetRequest.newBuilder().setName(name).build();
    return listProductsInProductSet(request);
  }
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:

<ul>
  <li>Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1.
</ul>

<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()) {
  String name = ProductSetName.of("[PROJECT]", "[LOCATION]", "[PRODUCT_SET]").toString();
  for (Product element : productSearchClient.listProductsInProductSet(name).iterateAll()) {
    // doThingsWith(element);
  }
}
}</pre>

@param name Required. 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
java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchClient.java