public final ListWorkflowsPagedResponse listWorkflows(LocationName parent) {
    ListWorkflowsRequest request =
        ListWorkflowsRequest.newBuilder()
            .setParent(parent == null ? null : parent.toString())
            .build();
    return listWorkflows(request);
  }
Lists Workflows in a given project and location. The default order is not specified.

<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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
  LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  for (Workflow element : workflowsClient.listWorkflows(parent).iterateAll()) {
    // doThingsWith(element);
  }
}
}</pre>

@param parent Required. Project and location from which the workflows should be listed. Format:
    projects/{project}/locations/{location}
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-workflows/google-cloud-workflows/src/main/java/com/google/cloud/workflows/v1beta/WorkflowsClient.java