code: public final ListMonitoredResourceDescriptorsPagedResponse listMonitoredResourceDescriptors(
        ProjectName name) {
      ListMonitoredResourceDescriptorsRequest request =
          ListMonitoredResourceDescriptorsRequest.newBuilder()
              .setName(name == null ? null : name.toString())
              .build();
      return listMonitoredResourceDescriptors(request);
    }
docs: Lists monitored resource descriptors that match a filter. This method does not require a
  Stackdriver account.
  
  <p>Sample code:
  
  <pre><code>
  try (MetricServiceClient metricServiceClient = MetricServiceClient.create()) {
  ProjectName name = ProjectName.of("[PROJECT]");
  for (MonitoredResourceDescriptor element : metricServiceClient.listMonitoredResourceDescriptors(name).iterateAll()) {
  // doThingsWith(element);
  }
  }
  </code></pre>
  
  @param name The project on which to execute the request. The format is
  `"projects/{project_id_or_number}"`.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails