code: public final MonitoredResourceDescriptor getMonitoredResourceDescriptor(String name) {
  
      GetMonitoredResourceDescriptorRequest request =
          GetMonitoredResourceDescriptorRequest.newBuilder().setName(name).build();
      return getMonitoredResourceDescriptor(request);
    }
docs: Gets a single monitored resource descriptor. This method does not require a Stackdriver
  account.
  
  <p>Sample code:
  
  <pre><code>
  try (MetricServiceClient metricServiceClient = MetricServiceClient.create()) {
  MonitoredResourceDescriptorName name = MonitoredResourceDescriptorName.of("[PROJECT]", "[MONITORED_RESOURCE_DESCRIPTOR]");
  MonitoredResourceDescriptor response = metricServiceClient.getMonitoredResourceDescriptor(name.toString());
  }
  </code></pre>
  
  @param name The monitored resource descriptor to get. The format is
  `"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"`. The
  `{resource_type}` is a predefined type, such as `cloudsql_database`.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails