public final ListDvrSessionsPagedResponse listDvrSessions(ChannelName parent) {
    ListDvrSessionsRequest request =
        ListDvrSessionsRequest.newBuilder()
            .setParent(parent == null ? null : parent.toString())
            .build();
    return listDvrSessions(request);
  }
Returns a list of all DVR sessions in the specified channel.

<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()) {
  ChannelName parent = ChannelName.of("[PROJECT]", "[LOCATION]", "[CHANNEL]");
  for (DvrSession element : livestreamServiceClient.listDvrSessions(parent).iterateAll()) {
    // doThingsWith(element);
  }
}
}</pre>

@param parent Required. Parent value for ListDvrSessionsRequest
@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