public final ListExecutionsPagedResponse listExecutions(String parent) {
    ListExecutionsRequest request = ListExecutionsRequest.newBuilder().setParent(parent).build();
    return listExecutions(request);
  }
Returns a list of executions which belong to the workflow with the given name. The method
returns executions of all workflow revisions. Returned executions are ordered by their start
time (newest first).

<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 (ExecutionsClient executionsClient = ExecutionsClient.create()) {
  String parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]").toString();
  for (Execution element : executionsClient.listExecutions(parent).iterateAll()) {
    // doThingsWith(element);
  }
}
}</pre>

@param parent Required. Name of the workflow for which the executions should be listed. Format:
    projects/{project}/locations/{location}/workflows/{workflow}
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java