public final UnaryCallable<DeleteNetworkPolicyRequest, Operation> deleteNetworkPolicyCallable() {
    return stub.deleteNetworkPolicyCallable();
  }
Deletes a `NetworkPolicy` resource. A network policy cannot be deleted when
`NetworkService.state` is set to `RECONCILING` for either its external IP or internet access
service.

<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 (VmwareEngineClient vmwareEngineClient = VmwareEngineClient.create()) {
  DeleteNetworkPolicyRequest request =
      DeleteNetworkPolicyRequest.newBuilder()
          .setName(
              NetworkPolicyName.of("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]").toString())
          .setRequestId("requestId693933066")
          .build();
  ApiFuture<Operation> future =
      vmwareEngineClient.deleteNetworkPolicyCallable().futureCall(request);
  // Do something.
  future.get();
}
}</pre>
java-vmwareengine/google-cloud-vmwareengine/src/main/java/com/google/cloud/vmwareengine/v1/VmwareEngineClient.java