public final ListJobsPagedResponse listJobs(String parent, String filter) {
    ListJobsRequest request =
        ListJobsRequest.newBuilder().setParent(parent).setFilter(filter).build();
    return listJobs(request);
  }
Lists jobs by filter.

<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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
  String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
  String filter = "filter-1274492040";
  for (Job element : jobServiceClient.listJobs(parent, filter).iterateAll()) {
    // doThingsWith(element);
  }
}
}</pre>

@param parent Required. The resource name of the tenant under which the job is created.
    <p>The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    "projects/foo/tenants/bar".
@param filter Required. The filter string specifies the jobs to be enumerated.
    <p>Supported operator: =, AND
    <p>The fields eligible for filtering are:
    <ul>
      <li>`companyName`
      <li>`requisitionId`
      <li>`status` Available values: OPEN, EXPIRED, ALL. Defaults to OPEN if no value is
          specified.
    </ul>
    <p>At least one of `companyName` and `requisitionId` must present or an INVALID_ARGUMENT
    error is thrown.
    <p>Sample Query:
    <ul>
      <li>companyName = "projects/foo/tenants/bar/companies/baz"
      <li>companyName = "projects/foo/tenants/bar/companies/baz" AND requisitionId = "req-1"
      <li>companyName = "projects/foo/tenants/bar/companies/baz" AND status = "EXPIRED"
      <li>requisitionId = "req-1"
      <li>requisitionId = "req-1" AND status = "EXPIRED"
    </ul>

@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java