code: public final void deleteDeviceRegistry(RegistryName name) {
  
      DeleteDeviceRegistryRequest request =
          DeleteDeviceRegistryRequest.newBuilder()
              .setName(name == null ? null : name.toString())
              .build();
      deleteDeviceRegistry(request);
    }
docs: Deletes a device registry configuration.
  
  <p>Sample code:
  
  <pre><code>
  try (DeviceManagerClient deviceManagerClient = DeviceManagerClient.create()) {
  RegistryName name = RegistryName.of("[PROJECT]", "[LOCATION]", "[REGISTRY]");
  deviceManagerClient.deleteDeviceRegistry(name);
  }
  </code></pre>
  
  @param name The name of the device registry. For example,
  `projects/example-project/locations/us-central1/registries/my-registry`.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails