public final void deleteEvent(EventName name) {
    DeleteEventRequest request =
        DeleteEventRequest.newBuilder().setName(name == null ? null : name.toString()).build();
    deleteEvent(request);
  }
Deletes the specified event.

<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 (LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.create()) {
  EventName name = EventName.of("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[EVENT]");
  livestreamServiceClient.deleteEvent(name);
}
}</pre>

@param name Required. The name of the event resource, in the form of:
    `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-video-live-stream/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java