code: public final ProductSet updateProductSet(ProductSet productSet, FieldMask updateMask) {
  
      UpdateProductSetRequest request =
          UpdateProductSetRequest.newBuilder()
              .setProductSet(productSet)
              .setUpdateMask(updateMask)
              .build();
      return updateProductSet(request);
    }
docs: Makes changes to a ProductSet resource. Only display_name can be updated currently.
  
  <p>Possible errors:
  
  <p>&#42; Returns NOT_FOUND if the ProductSet does not exist. &#42; Returns INVALID_ARGUMENT if
  display_name is present in update_mask but missing from the request or longer than 4096
  characters.
  
  <p>Sample code:
  
  <pre><code>
  try (ProductSearchClient productSearchClient = ProductSearchClient.create()) {
  ProductSet productSet = ProductSet.newBuilder().build();
  FieldMask updateMask = FieldMask.newBuilder().build();
  ProductSet response = productSearchClient.updateProductSet(productSet, updateMask);
  }
  </code></pre>
  
  @param productSet The ProductSet resource which replaces the one on the server.
  @param updateMask The [FieldMask][google.protobuf.FieldMask] that specifies which fields to
  update. If update_mask isn't specified, all mutable fields are to be updated. Valid mask
  path is `display_name`.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails