From 02657217f52f459c39bf0d48a4afee1d637d23c8 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 20 Sep 2021 19:54:29 +0000 Subject: [PATCH] feat: Added a new `KeywordMatchMode` field to support more keyword matching options (#616) feat: Added more `DiversificationLevel` configuration options - [x] Regenerate this pull request now. PiperOrigin-RevId: 396667150 Source-Link: https://github.com/googleapis/googleapis/commit/caad48d4b6f28a3a44732ceeeca871ce335f48ec Source-Link: https://github.com/googleapis/googleapis-gen/commit/1ac7721fb6aaba8211b25ba0adb9a8effb9ba1a3 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWFjNzcyMWZiNmFhYmE4MjExYjI1YmEwYWRiOWE4ZWZmYjliYTFhMyJ9 --- .github/.OwlBot.lock.yaml | 2 +- .github/readme/synth.py | 19 + .github/trusted-contribution.yml | 3 +- .github/workflows/ci.yaml | 5 +- .kokoro/continuous/readme.cfg | 55 ++ .kokoro/release/common.sh | 2 +- .kokoro/release/drop.sh | 2 +- .kokoro/release/promote.sh | 2 +- .kokoro/release/publish_javadoc.sh | 2 +- .kokoro/release/publish_javadoc11.sh | 2 +- .kokoro/release/stage.sh | 2 +- .kokoro/trampoline.sh | 2 +- README.md | 52 +- google-cloud-talent-bom/pom.xml | 24 +- .../cloud/talent/v4/JobServiceClientTest.java | 2 + .../cloud/talent/v4/JobServiceProto.java | 220 +++---- .../cloud/talent/v4/SearchJobsRequest.java | 537 +++++++++++++++++- .../talent/v4/SearchJobsRequestOrBuilder.java | 42 +- .../proto/google/cloud/talent/v4/common.proto | 2 +- .../google/cloud/talent/v4/company.proto | 2 +- .../cloud/talent/v4/company_service.proto | 2 +- .../cloud/talent/v4/completion_service.proto | 2 +- .../proto/google/cloud/talent/v4/event.proto | 2 +- .../cloud/talent/v4/event_service.proto | 2 +- .../google/cloud/talent/v4/filters.proto | 2 +- .../google/cloud/talent/v4/histogram.proto | 2 +- .../proto/google/cloud/talent/v4/job.proto | 2 +- .../google/cloud/talent/v4/job_service.proto | 80 ++- .../proto/google/cloud/talent/v4/tenant.proto | 2 +- .../cloud/talent/v4/tenant_service.proto | 2 +- .../JobSearchAutocompleteJobTitle.java | 9 - .../v4beta1/JobSearchBatchCreateJobs.java | 18 - .../v4beta1/JobSearchBatchDeleteJob.java | 7 - .../v4beta1/JobSearchBatchUpdateJobs.java | 20 - .../v4beta1/JobSearchCommuteSearch.java | 8 - .../v4beta1/JobSearchCreateClientEvent.java | 9 - .../v4beta1/JobSearchCreateCompany.java | 8 - .../talent/v4beta1/JobSearchCreateJob.java | 12 - .../JobSearchCreateJobCustomAttributes.java | 10 - .../talent/v4beta1/JobSearchCreateTenant.java | 7 - .../v4beta1/JobSearchCustomRankingSearch.java | 8 - .../v4beta1/JobSearchDeleteCompany.java | 7 - .../talent/v4beta1/JobSearchDeleteJob.java | 7 - .../talent/v4beta1/JobSearchDeleteTenant.java | 6 - .../talent/v4beta1/JobSearchGetCompany.java | 7 - .../talent/v4beta1/JobSearchGetJob.java | 7 - .../talent/v4beta1/JobSearchGetTenant.java | 6 - .../v4beta1/JobSearchHistogramSearch.java | 7 - .../v4beta1/JobSearchListCompanies.java | 7 - .../talent/v4beta1/JobSearchListJobs.java | 7 - .../talent/v4beta1/JobSearchListTenants.java | 6 - versions.txt | 7 +- 52 files changed, 886 insertions(+), 381 deletions(-) create mode 100644 .github/readme/synth.py create mode 100644 .kokoro/continuous/readme.cfg diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 9b66a7de..b750a237 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: - digest: sha256:8e27e5a7297b40eca3ab46ae67f10c575813a85c673839030aa161d0818f3a24 + digest: sha256:8c50e7bab0ae5ad41ee29420b558542637104500f6256b8fe74282b0cf6144db image: gcr.io/repo-automation-bots/owlbot-java:latest diff --git a/.github/readme/synth.py b/.github/readme/synth.py new file mode 100644 index 00000000..7b48cc28 --- /dev/null +++ b/.github/readme/synth.py @@ -0,0 +1,19 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""This script is used to synthesize generated the README for this library.""" + +from synthtool.languages import java + +java.custom_templates(["java_library/README.md"]) diff --git a/.github/trusted-contribution.yml b/.github/trusted-contribution.yml index f247d5c7..a0ba1f7d 100644 --- a/.github/trusted-contribution.yml +++ b/.github/trusted-contribution.yml @@ -1,2 +1,3 @@ trustedContributors: -- renovate-bot \ No newline at end of file +- renovate-bot +- gcf-owl-bot[bot] diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e23d923e..3becb5c0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -26,6 +26,9 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 - uses: actions/setup-java@v1 with: java-version: 8 @@ -75,4 +78,4 @@ jobs: - run: java -version - run: .kokoro/build.sh env: - JOB_TYPE: clirr \ No newline at end of file + JOB_TYPE: clirr diff --git a/.kokoro/continuous/readme.cfg b/.kokoro/continuous/readme.cfg new file mode 100644 index 00000000..7c93346b --- /dev/null +++ b/.kokoro/continuous/readme.cfg @@ -0,0 +1,55 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/python-multi" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-talent/.kokoro/readme.sh" +} + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + regex: "**/*sponge_log.log" + } +} + +# The github token is stored here. +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "yoshi-automation-github-key" + # TODO(theacodes): remove this after secrets have globally propagated + backend_type: FASTCONFIGPUSH + } + } +} + +# Common env vars for all repositories and builds. +env_vars: { + key: "GITHUB_USER" + value: "yoshi-automation" +} +env_vars: { + key: "GITHUB_EMAIL" + value: "yoshi-automation@google.com" +} diff --git a/.kokoro/release/common.sh b/.kokoro/release/common.sh index 6e3f6599..7f78ee41 100755 --- a/.kokoro/release/common.sh +++ b/.kokoro/release/common.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.kokoro/release/drop.sh b/.kokoro/release/drop.sh index 5c4551ef..742ec1a8 100755 --- a/.kokoro/release/drop.sh +++ b/.kokoro/release/drop.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.kokoro/release/promote.sh b/.kokoro/release/promote.sh index 1fa95fa5..3cac3d8a 100755 --- a/.kokoro/release/promote.sh +++ b/.kokoro/release/promote.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.kokoro/release/publish_javadoc.sh b/.kokoro/release/publish_javadoc.sh index 6efefd82..286a8518 100755 --- a/.kokoro/release/publish_javadoc.sh +++ b/.kokoro/release/publish_javadoc.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2019 Google Inc. +# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh index 4cf20900..d84d36ad 100755 --- a/.kokoro/release/publish_javadoc11.sh +++ b/.kokoro/release/publish_javadoc11.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2021 Google Inc. +# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.kokoro/release/stage.sh b/.kokoro/release/stage.sh index 8a103384..77dc4e8f 100755 --- a/.kokoro/release/stage.sh +++ b/.kokoro/release/stage.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.kokoro/trampoline.sh b/.kokoro/trampoline.sh index 9da0f839..8b69b793 100644 --- a/.kokoro/trampoline.sh +++ b/.kokoro/trampoline.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index 138ccee2..f9788db3 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 22.0.0 + 23.0.0 pom import @@ -41,7 +41,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-talent - 2.1.0 + 2.1.2 ``` @@ -49,20 +49,20 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies ```Groovy -implementation platform('com.google.cloud:libraries-bom:22.0.0') +implementation platform('com.google.cloud:libraries-bom:23.0.0') implementation 'com.google.cloud:google-cloud-talent' ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-talent:2.1.1' +implementation 'com.google.cloud:google-cloud-talent:2.1.2' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-talent" % "2.1.1" +libraryDependencies += "com.google.cloud" % "google-cloud-talent" % "2.1.2" ``` ## Authentication @@ -106,27 +106,27 @@ Samples are in the [`samples/`](https://github.com/googleapis/java-talent/tree/m | Sample | Source Code | Try it | | --------------------------- | --------------------------------- | ------ | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchAutocompleteJobTitle.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchAutocompleteJobTitle.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchCreateJobs.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchCreateJobs.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchDeleteJob.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchDeleteJob.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchUpdateJobs.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchUpdateJobs.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCommuteSearch.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCommuteSearch.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateClientEvent.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateClientEvent.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateCompany.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateCompany.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJob.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJob.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJobCustomAttributes.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJobCustomAttributes.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateTenant.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateTenant.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCustomRankingSearch.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCustomRankingSearch.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteCompany.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteCompany.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteJob.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteJob.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteTenant.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteTenant.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetCompany.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetCompany.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetJob.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetJob.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetTenant.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetTenant.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchHistogramSearch.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchHistogramSearch.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListCompanies.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListCompanies.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListJobs.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListJobs.java) | -| None | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListTenants.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListTenants.java) | +| Job Search Autocomplete Job Title | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchAutocompleteJobTitle.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchAutocompleteJobTitle.java) | +| Job Search Batch Create Jobs | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchCreateJobs.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchCreateJobs.java) | +| Job Search Batch Delete Job | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchDeleteJob.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchDeleteJob.java) | +| Job Search Batch Update Jobs | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchUpdateJobs.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchUpdateJobs.java) | +| Job Search Commute Search | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCommuteSearch.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCommuteSearch.java) | +| Job Search Create Client Event | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateClientEvent.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateClientEvent.java) | +| Job Search Create Company | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateCompany.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateCompany.java) | +| Job Search Create Job | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJob.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJob.java) | +| Job Search Create Job Custom Attributes | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJobCustomAttributes.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJobCustomAttributes.java) | +| Job Search Create Tenant | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateTenant.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateTenant.java) | +| Job Search Custom Ranking Search | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCustomRankingSearch.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCustomRankingSearch.java) | +| Job Search Delete Company | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteCompany.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteCompany.java) | +| Job Search Delete Job | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteJob.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteJob.java) | +| Job Search Delete Tenant | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteTenant.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteTenant.java) | +| Job Search Get Company | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetCompany.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetCompany.java) | +| Job Search Get Job | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetJob.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetJob.java) | +| Job Search Get Tenant | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetTenant.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetTenant.java) | +| Job Search Histogram Search | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchHistogramSearch.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchHistogramSearch.java) | +| Job Search List Companies | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListCompanies.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListCompanies.java) | +| Job Search List Jobs | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListJobs.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListJobs.java) | +| Job Search List Tenants | [source code](https://github.com/googleapis/java-talent/blob/master/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListTenants.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListTenants.java) | | Commute Search Jobs | [source code](https://github.com/googleapis/java-talent/blob/master/samples/snippets/src/main/java/com/example/jobs/CommuteSearchJobs.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/jobs/CommuteSearchJobs.java) | | Custom Ranking Search Jobs | [source code](https://github.com/googleapis/java-talent/blob/master/samples/snippets/src/main/java/com/example/jobs/CustomRankingSearchJobs.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/jobs/CustomRankingSearchJobs.java) | | Histogram Search Jobs | [source code](https://github.com/googleapis/java-talent/blob/master/samples/snippets/src/main/java/com/example/jobs/HistogramSearchJobs.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-talent&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/jobs/HistogramSearchJobs.java) | diff --git a/google-cloud-talent-bom/pom.xml b/google-cloud-talent-bom/pom.xml index e17eecf4..5057c034 100644 --- a/google-cloud-talent-bom/pom.xml +++ b/google-cloud-talent-bom/pom.xml @@ -50,29 +50,29 @@ - com.google.api.grpc - proto-google-cloud-talent-v4 - 2.1.3-SNAPSHOT + com.google.cloud + google-cloud-talent + 2.1.3-SNAPSHOT com.google.api.grpc - proto-google-cloud-talent-v4beta1 - 0.44.3-SNAPSHOT + grpc-google-cloud-talent-v4 + 2.1.3-SNAPSHOT - com.google.cloud - google-cloud-talent - 2.1.3-SNAPSHOT + com.google.api.grpc + grpc-google-cloud-talent-v4beta1 + 0.44.3-SNAPSHOT com.google.api.grpc - grpc-google-cloud-talent-v4 - 2.1.3-SNAPSHOT + proto-google-cloud-talent-v4 + 2.1.3-SNAPSHOT com.google.api.grpc - grpc-google-cloud-talent-v4beta1 - 0.44.3-SNAPSHOT + proto-google-cloud-talent-v4beta1 + 0.44.3-SNAPSHOT diff --git a/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java b/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java index 87b14ac8..f0ccf5d5 100644 --- a/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java +++ b/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java @@ -927,6 +927,7 @@ public void searchJobsTest() throws Exception { Assert.assertEquals(request.getDiversificationLevel(), actualRequest.getDiversificationLevel()); Assert.assertEquals(request.getCustomRankingInfo(), actualRequest.getCustomRankingInfo()); Assert.assertEquals(request.getDisableKeywordMatch(), actualRequest.getDisableKeywordMatch()); + Assert.assertEquals(request.getKeywordMatchMode(), actualRequest.getKeywordMatchMode()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -1013,6 +1014,7 @@ public void searchJobsForAlertTest() throws Exception { Assert.assertEquals(request.getDiversificationLevel(), actualRequest.getDiversificationLevel()); Assert.assertEquals(request.getCustomRankingInfo(), actualRequest.getCustomRankingInfo()); Assert.assertEquals(request.getDisableKeywordMatch(), actualRequest.getDisableKeywordMatch()); + Assert.assertEquals(request.getKeywordMatchMode(), actualRequest.getKeywordMatchMode()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), diff --git a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java index c127bad6..aeb5eed7 100644 --- a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java +++ b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java @@ -138,7 +138,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\004jobs\030\001 \003(\0132\033.google.cloud.talent.v4.Jo" + "b\022\027\n\017next_page_token\030\002 \001(\t\022:\n\010metadata\030\003" + " \001(\0132(.google.cloud.talent.v4.ResponseMe" - + "tadata\"\207\t\n\021SearchJobsRequest\022/\n\006parent\030\001" + + "tadata\"\274\013\n\021SearchJobsRequest\022/\n\006parent\030\001" + " \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022I\n" + "\013search_mode\030\002 \001(\01624.google.cloud.talent" + ".v4.SearchJobsRequest.SearchMode\022F\n\020requ" @@ -155,111 +155,118 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "chJobsRequest.DiversificationLevel\022X\n\023cu" + "stom_ranking_info\030\016 \001(\0132;.google.cloud.t" + "alent.v4.SearchJobsRequest.CustomRanking" - + "Info\022\035\n\025disable_keyword_match\030\020 \001(\010\032\225\002\n\021" - + "CustomRankingInfo\022j\n\020importance_level\030\001 " - + "\001(\0162K.google.cloud.talent.v4.SearchJobsR" - + "equest.CustomRankingInfo.ImportanceLevel" - + "B\003\340A\002\022\037\n\022ranking_expression\030\002 \001(\tB\003\340A\002\"s" - + "\n\017ImportanceLevel\022 \n\034IMPORTANCE_LEVEL_UN" - + "SPECIFIED\020\000\022\010\n\004NONE\020\001\022\007\n\003LOW\020\002\022\010\n\004MILD\020\003" - + "\022\n\n\006MEDIUM\020\004\022\010\n\004HIGH\020\005\022\013\n\007EXTREME\020\006\"R\n\nS" - + "earchMode\022\033\n\027SEARCH_MODE_UNSPECIFIED\020\000\022\016" - + "\n\nJOB_SEARCH\020\001\022\027\n\023FEATURED_JOB_SEARCH\020\002\"" - + "W\n\024DiversificationLevel\022%\n!DIVERSIFICATI" - + "ON_LEVEL_UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022\n\n\006" - + "SIMPLE\020\002\"\221\006\n\022SearchJobsResponse\022M\n\rmatch" - + "ing_jobs\030\001 \003(\01326.google.cloud.talent.v4." - + "SearchJobsResponse.MatchingJob\022M\n\027histog" - + "ram_query_results\030\002 \003(\0132,.google.cloud.t" - + "alent.v4.HistogramQueryResult\022\027\n\017next_pa" - + "ge_token\030\003 \001(\t\022:\n\020location_filters\030\004 \003(\013" - + "2 .google.cloud.talent.v4.Location\022\022\n\nto" - + "tal_size\030\006 \001(\005\022:\n\010metadata\030\007 \001(\0132(.googl" - + "e.cloud.talent.v4.ResponseMetadata\022\"\n\032br" - + "oadened_query_jobs_count\030\010 \001(\005\022D\n\020spell_" - + "correction\030\t \001(\0132*.google.cloud.talent.v" - + "4.SpellingCorrection\032\322\001\n\013MatchingJob\022(\n\003" - + "job\030\001 \001(\0132\033.google.cloud.talent.v4.Job\022\023" - + "\n\013job_summary\030\002 \001(\t\022\031\n\021job_title_snippet" - + "\030\003 \001(\t\022\033\n\023search_text_snippet\030\004 \001(\t\022L\n\014c" - + "ommute_info\030\005 \001(\01326.google.cloud.talent." - + "v4.SearchJobsResponse.CommuteInfo\032y\n\013Com" - + "muteInfo\0226\n\014job_location\030\001 \001(\0132 .google." - + "cloud.talent.v4.Location\0222\n\017travel_durat" - + "ion\030\002 \001(\0132\031.google.protobuf.Duration\"y\n\026" - + "BatchCreateJobsRequest\022/\n\006parent\030\001 \001(\tB\037" - + "\340A\002\372A\031\022\027jobs.googleapis.com/Job\022.\n\004jobs\030" - + "\002 \003(\0132\033.google.cloud.talent.v4.JobB\003\340A\002\"" - + "\252\001\n\026BatchUpdateJobsRequest\022/\n\006parent\030\001 \001" - + "(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022.\n\004j" - + "obs\030\002 \003(\0132\033.google.cloud.talent.v4.JobB\003" - + "\340A\002\022/\n\013update_mask\030\003 \001(\0132\032.google.protob" - + "uf.FieldMask\"y\n\026BatchDeleteJobsRequest\0222" - + "\n\006parent\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapis." - + "com/Tenant\022+\n\005names\030\002 \003(\tB\034\372A\031\n\027jobs.goo" - + "gleapis.com/Job\"Y\n\tJobResult\022(\n\003job\030\001 \001(" - + "\0132\033.google.cloud.talent.v4.Job\022\"\n\006status" - + "\030\002 \001(\0132\022.google.rpc.Status\"Q\n\027BatchCreat" - + "eJobsResponse\0226\n\013job_results\030\001 \003(\0132!.goo" - + "gle.cloud.talent.v4.JobResult\"Q\n\027BatchUp" - + "dateJobsResponse\0226\n\013job_results\030\001 \003(\0132!." - + "google.cloud.talent.v4.JobResult\"Q\n\027Batc" - + "hDeleteJobsResponse\0226\n\013job_results\030\001 \003(\013" - + "2!.google.cloud.talent.v4.JobResult*v\n\007J" - + "obView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000\022\024\n\020JOB_" - + "VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIMAL\020\002\022\022\n\016" - + "JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FULL\020\0042\334\016\n\n" - + "JobService\022\224\001\n\tCreateJob\022(.google.cloud." - + "talent.v4.CreateJobRequest\032\033.google.clou" - + "d.talent.v4.Job\"@\202\323\344\223\002-\"&/v4/{parent=pro" - + "jects/*/tenants/*}/jobs:\003job\332A\nparent,jo" - + "b\022\341\001\n\017BatchCreateJobs\022..google.cloud.tal" - + "ent.v4.BatchCreateJobsRequest\032\035.google.l" - + "ongrunning.Operation\"\177\202\323\344\223\0027\"2/v4/{paren" - + "t=projects/*/tenants/*}/jobs:batchCreate" - + ":\001*\332A\013parent,jobs\312A1\n\027BatchCreateJobsRes" - + "ponse\022\026BatchOperationMetadata\022\203\001\n\006GetJob" - + "\022%.google.cloud.talent.v4.GetJobRequest\032" - + "\033.google.cloud.talent.v4.Job\"5\202\323\344\223\002(\022&/v" - + "4/{name=projects/*/tenants/*/jobs/*}\332A\004n" - + "ame\022\235\001\n\tUpdateJob\022(.google.cloud.talent." - + "v4.UpdateJobRequest\032\033.google.cloud.talen" - + "t.v4.Job\"I\202\323\344\223\00212*/v4/{job.name=projects" - + "/*/tenants/*/jobs/*}:\003job\332A\017job,update_m" - + "ask\022\341\001\n\017BatchUpdateJobs\022..google.cloud.t" - + "alent.v4.BatchUpdateJobsRequest\032\035.google" - + ".longrunning.Operation\"\177\202\323\344\223\0027\"2/v4/{par" - + "ent=projects/*/tenants/*}/jobs:batchUpda" - + "te:\001*\332A\013parent,jobs\312A1\n\027BatchUpdateJobsR" - + "esponse\022\026BatchOperationMetadata\022\204\001\n\tDele" - + "teJob\022(.google.cloud.talent.v4.DeleteJob" - + "Request\032\026.google.protobuf.Empty\"5\202\323\344\223\002(*" - + "&/v4/{name=projects/*/tenants/*/jobs/*}\332" - + "A\004name\022\343\001\n\017BatchDeleteJobs\022..google.clou" - + "d.talent.v4.BatchDeleteJobsRequest\032\035.goo" - + "gle.longrunning.Operation\"\200\001\202\323\344\223\0027\"2/v4/" - + "{parent=projects/*/tenants/*}/jobs:batch" - + "Delete:\001*\332A\014parent,names\312A1\n\027BatchDelete" - + "JobsResponse\022\026BatchOperationMetadata\022\235\001\n" - + "\010ListJobs\022\'.google.cloud.talent.v4.ListJ" - + "obsRequest\032(.google.cloud.talent.v4.List" - + "JobsResponse\">\202\323\344\223\002(\022&/v4/{parent=projec" - + "ts/*/tenants/*}/jobs\332A\rparent,filter\022\235\001\n" - + "\nSearchJobs\022).google.cloud.talent.v4.Sea" - + "rchJobsRequest\032*.google.cloud.talent.v4." - + "SearchJobsResponse\"8\202\323\344\223\0022\"-/v4/{parent=" - + "projects/*/tenants/*}/jobs:search:\001*\022\255\001\n" - + "\022SearchJobsForAlert\022).google.cloud.talen" - + "t.v4.SearchJobsRequest\032*.google.cloud.ta" - + "lent.v4.SearchJobsResponse\"@\202\323\344\223\002:\"5/v4/" - + "{parent=projects/*/tenants/*}/jobs:searc" - + "hForAlert:\001*\032l\312A\023jobs.googleapis.com\322ASh" - + "ttps://www.googleapis.com/auth/cloud-pla" - + "tform,https://www.googleapis.com/auth/jo" - + "bsBs\n\032com.google.cloud.talent.v4B\017JobSer" - + "viceProtoP\001Z\202\323\344\223\002(\022&/v4/{parent=projects/*/tenant" + + "s/*}/jobs\332A\rparent,filter\022\235\001\n\nSearchJobs" + + "\022).google.cloud.talent.v4.SearchJobsRequ" + + "est\032*.google.cloud.talent.v4.SearchJobsR" + + "esponse\"8\202\323\344\223\0022\"-/v4/{parent=projects/*/" + + "tenants/*}/jobs:search:\001*\022\255\001\n\022SearchJobs" + + "ForAlert\022).google.cloud.talent.v4.Search" + + "JobsRequest\032*.google.cloud.talent.v4.Sea" + + "rchJobsResponse\"@\202\323\344\223\002:\"5/v4/{parent=pro" + + "jects/*/tenants/*}/jobs:searchForAlert:\001" + + "*\032l\312A\023jobs.googleapis.com\322AShttps://www." + + "googleapis.com/auth/cloud-platform,https" + + "://www.googleapis.com/auth/jobsBs\n\032com.g" + + "oogle.cloud.talent.v4B\017JobServiceProtoP\001" + + "Z * * Protobuf enum {@code google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel} @@ -451,15 +463,48 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE *
      * Default diversifying behavior. The result list is ordered so that
      * highly similar results are pushed to the end of the last page of search
-     * results. If you are using pageToken to page through the result set,
-     * latency might be lower but we can't guarantee that all results are
-     * returned. If you are using page offset, latency might be higher but all
-     * results are returned.
+     * results.
      * 
* * SIMPLE = 2; */ SIMPLE(2), + /** + * + * + *
+     * Only one job from the same company will be shown at once, other jobs
+     * under same company are pushed to the end of the last page of search
+     * result.
+     * 
+ * + * ONE_PER_COMPANY = 3; + */ + ONE_PER_COMPANY(3), + /** + * + * + *
+     * Similar to ONE_PER_COMPANY, but it allows at most two jobs in the
+     * same company to be shown at once, the other jobs under same company are
+     * pushed to the end of the last page of search result.
+     * 
+ * + * TWO_PER_COMPANY = 4; + */ + TWO_PER_COMPANY(4), + /** + * + * + *
+     * The result list is ordered such that somewhat similar results are pushed
+     * to the end of the last page of the search results. This option is
+     * recommended if SIMPLE diversification does not diversify enough.
+     * 
+ * + * DIVERSIFY_BY_LOOSER_SIMILARITY = 5; + */ + DIVERSIFY_BY_LOOSER_SIMILARITY(5), UNRECOGNIZED(-1), ; @@ -491,15 +536,48 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE *
      * Default diversifying behavior. The result list is ordered so that
      * highly similar results are pushed to the end of the last page of search
-     * results. If you are using pageToken to page through the result set,
-     * latency might be lower but we can't guarantee that all results are
-     * returned. If you are using page offset, latency might be higher but all
-     * results are returned.
+     * results.
      * 
* * SIMPLE = 2; */ public static final int SIMPLE_VALUE = 2; + /** + * + * + *
+     * Only one job from the same company will be shown at once, other jobs
+     * under same company are pushed to the end of the last page of search
+     * result.
+     * 
+ * + * ONE_PER_COMPANY = 3; + */ + public static final int ONE_PER_COMPANY_VALUE = 3; + /** + * + * + *
+     * Similar to ONE_PER_COMPANY, but it allows at most two jobs in the
+     * same company to be shown at once, the other jobs under same company are
+     * pushed to the end of the last page of search result.
+     * 
+ * + * TWO_PER_COMPANY = 4; + */ + public static final int TWO_PER_COMPANY_VALUE = 4; + /** + * + * + *
+     * The result list is ordered such that somewhat similar results are pushed
+     * to the end of the last page of the search results. This option is
+     * recommended if SIMPLE diversification does not diversify enough.
+     * 
+ * + * DIVERSIFY_BY_LOOSER_SIMILARITY = 5; + */ + public static final int DIVERSIFY_BY_LOOSER_SIMILARITY_VALUE = 5; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -531,6 +609,12 @@ public static DiversificationLevel forNumber(int value) { return DISABLED; case 2: return SIMPLE; + case 3: + return ONE_PER_COMPANY; + case 4: + return TWO_PER_COMPANY; + case 5: + return DIVERSIFY_BY_LOOSER_SIMILARITY; default: return null; } @@ -587,6 +671,208 @@ private DiversificationLevel(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel) } + /** + * + * + *
+   * Controls what keyword matching behavior the search has. When keyword
+   * matching is enabled, a keyword match returns jobs that may not match given
+   * category filters when there are matching keywords. For example, for the
+   * query "program manager" with KeywordMatchMode set to KEYWORD_MATCH_ALL, a
+   * job posting with the title "software developer," which doesn't fall into
+   * "program manager" ontology, and "program manager" appearing in its
+   * description will be surfaced.
+   * For queries like "cloud" that don't contain title or
+   * location specific ontology, jobs with "cloud" keyword matches are returned
+   * regardless of this enum's value.
+   * Use [Company.keyword_searchable_job_custom_attributes][google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes] if
+   * company-specific globally matched custom field/attribute string values are
+   * needed. Enabling keyword match improves recall of subsequent search
+   * requests.
+   * 
+ * + * Protobuf enum {@code google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode} + */ + public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * The keyword match option isn't specified. Defaults to
+     * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
+     * 
+ * + * KEYWORD_MATCH_MODE_UNSPECIFIED = 0; + */ + KEYWORD_MATCH_MODE_UNSPECIFIED(0), + /** + * + * + *
+     * Disables keyword matching.
+     * 
+ * + * KEYWORD_MATCH_DISABLED = 1; + */ + KEYWORD_MATCH_DISABLED(1), + /** + * + * + *
+     * Enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title],
+     * [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
+     * [Job.qualifications][google.cloud.talent.v4.Job.qualifications], and keyword searchable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes]
+     * fields.
+     * 
+ * + * KEYWORD_MATCH_ALL = 2; + */ + KEYWORD_MATCH_ALL(2), + /** + * + * + *
+     * Only enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title].
+     * 
+ * + * KEYWORD_MATCH_TITLE_ONLY = 3; + */ + KEYWORD_MATCH_TITLE_ONLY(3), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * The keyword match option isn't specified. Defaults to
+     * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
+     * 
+ * + * KEYWORD_MATCH_MODE_UNSPECIFIED = 0; + */ + public static final int KEYWORD_MATCH_MODE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Disables keyword matching.
+     * 
+ * + * KEYWORD_MATCH_DISABLED = 1; + */ + public static final int KEYWORD_MATCH_DISABLED_VALUE = 1; + /** + * + * + *
+     * Enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title],
+     * [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
+     * [Job.qualifications][google.cloud.talent.v4.Job.qualifications], and keyword searchable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes]
+     * fields.
+     * 
+ * + * KEYWORD_MATCH_ALL = 2; + */ + public static final int KEYWORD_MATCH_ALL_VALUE = 2; + /** + * + * + *
+     * Only enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title].
+     * 
+ * + * KEYWORD_MATCH_TITLE_ONLY = 3; + */ + public static final int KEYWORD_MATCH_TITLE_ONLY_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static KeywordMatchMode valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static KeywordMatchMode forNumber(int value) { + switch (value) { + case 0: + return KEYWORD_MATCH_MODE_UNSPECIFIED; + case 1: + return KEYWORD_MATCH_DISABLED; + case 2: + return KEYWORD_MATCH_ALL; + case 3: + return KEYWORD_MATCH_TITLE_ONLY; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public KeywordMatchMode findValueByNumber(int number) { + return KeywordMatchMode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.talent.v4.SearchJobsRequest.getDescriptor().getEnumTypes().get(2); + } + + private static final KeywordMatchMode[] VALUES = values(); + + public static KeywordMatchMode valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private KeywordMatchMode(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode) + } + public interface CustomRankingInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) @@ -641,7 +927,7 @@ public interface CustomRankingInfoOrBuilder * the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] key, * integer/double value or an expression that can be evaluated to a number. * Parenthesis are supported to adjust calculation precedence. The - * expression must be < 100 characters in length. + * expression must be < 200 characters in length. * The expression is considered invalid for a job if the expression * references custom attributes that are not populated on the job or if the * expression results in a divide by zero. If an expression is invalid for a @@ -668,7 +954,7 @@ public interface CustomRankingInfoOrBuilder * the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] key, * integer/double value or an expression that can be evaluated to a number. * Parenthesis are supported to adjust calculation precedence. The - * expression must be < 100 characters in length. + * expression must be < 200 characters in length. * The expression is considered invalid for a job if the expression * references custom attributes that are not populated on the job or if the * expression results in a divide by zero. If an expression is invalid for a @@ -1125,7 +1411,7 @@ public int getImportanceLevelValue() { * the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] key, * integer/double value or an expression that can be evaluated to a number. * Parenthesis are supported to adjust calculation precedence. The - * expression must be < 100 characters in length. + * expression must be < 200 characters in length. * The expression is considered invalid for a job if the expression * references custom attributes that are not populated on the job or if the * expression results in a divide by zero. If an expression is invalid for a @@ -1163,7 +1449,7 @@ public java.lang.String getRankingExpression() { * the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] key, * integer/double value or an expression that can be evaluated to a number. * Parenthesis are supported to adjust calculation precedence. The - * expression must be < 100 characters in length. + * expression must be < 200 characters in length. * The expression is considered invalid for a job if the expression * references custom attributes that are not populated on the job or if the * expression results in a divide by zero. If an expression is invalid for a @@ -1673,7 +1959,7 @@ public Builder clearImportanceLevel() { * the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] key, * integer/double value or an expression that can be evaluated to a number. * Parenthesis are supported to adjust calculation precedence. The - * expression must be < 100 characters in length. + * expression must be < 200 characters in length. * The expression is considered invalid for a job if the expression * references custom attributes that are not populated on the job or if the * expression results in a divide by zero. If an expression is invalid for a @@ -1710,7 +1996,7 @@ public java.lang.String getRankingExpression() { * the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] key, * integer/double value or an expression that can be evaluated to a number. * Parenthesis are supported to adjust calculation precedence. The - * expression must be < 100 characters in length. + * expression must be < 200 characters in length. * The expression is considered invalid for a job if the expression * references custom attributes that are not populated on the job or if the * expression results in a divide by zero. If an expression is invalid for a @@ -1747,7 +2033,7 @@ public com.google.protobuf.ByteString getRankingExpressionBytes() { * the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] key, * integer/double value or an expression that can be evaluated to a number. * Parenthesis are supported to adjust calculation precedence. The - * expression must be < 100 characters in length. + * expression must be < 200 characters in length. * The expression is considered invalid for a job if the expression * references custom attributes that are not populated on the job or if the * expression results in a divide by zero. If an expression is invalid for a @@ -1783,7 +2069,7 @@ public Builder setRankingExpression(java.lang.String value) { * the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] key, * integer/double value or an expression that can be evaluated to a number. * Parenthesis are supported to adjust calculation precedence. The - * expression must be < 100 characters in length. + * expression must be < 200 characters in length. * The expression is considered invalid for a job if the expression * references custom attributes that are not populated on the job or if the * expression results in a divide by zero. If an expression is invalid for a @@ -1815,7 +2101,7 @@ public Builder clearRankingExpression() { * the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] key, * integer/double value or an expression that can be evaluated to a number. * Parenthesis are supported to adjust calculation precedence. The - * expression must be < 100 characters in length. + * expression must be < 200 characters in length. * The expression is considered invalid for a job if the expression * references custom attributes that are not populated on the job or if the * expression results in a divide by zero. If an expression is invalid for a @@ -2992,6 +3278,12 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getCustomR * * *
+   * This field is deprecated. Please use
+   * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
+   * To migrate, disable_keyword_match set to false maps to
+   * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL], and disable_keyword_match set to
+   * true maps to [KeywordMatchMode.KEYWORD_MATCH_DISABLED][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_DISABLED]. If
+   * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] is set, this field is ignored.
    * Controls whether to disable exact keyword match on [Job.title][google.cloud.talent.v4.Job.title],
    * [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
    * [Job.qualifications][google.cloud.talent.v4.Job.qualifications]. When disable keyword match is turned off, a
@@ -3010,15 +3302,62 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getCustomR
    * Defaults to false.
    * 
* - * bool disable_keyword_match = 16; + * bool disable_keyword_match = 16 [deprecated = true]; * * @return The disableKeywordMatch. */ @java.lang.Override + @java.lang.Deprecated public boolean getDisableKeywordMatch() { return disableKeywordMatch_; } + public static final int KEYWORD_MATCH_MODE_FIELD_NUMBER = 18; + private int keywordMatchMode_; + /** + * + * + *
+   * Controls what keyword match options to use. If both keyword_match_mode and
+   * disable_keyword_match are set, keyword_match_mode will take precedence.
+   * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
+   * is specified.
+   * 
+ * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * + * @return The enum numeric value on the wire for keywordMatchMode. + */ + @java.lang.Override + public int getKeywordMatchModeValue() { + return keywordMatchMode_; + } + /** + * + * + *
+   * Controls what keyword match options to use. If both keyword_match_mode and
+   * disable_keyword_match are set, keyword_match_mode will take precedence.
+   * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
+   * is specified.
+   * 
+ * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * + * @return The keywordMatchMode. + */ + @java.lang.Override + public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { + @SuppressWarnings("deprecation") + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result = + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); + return result == null + ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED + : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -3080,6 +3419,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (disableKeywordMatch_ != false) { output.writeBool(16, disableKeywordMatch_); } + if (keywordMatchMode_ + != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode + .KEYWORD_MATCH_MODE_UNSPECIFIED + .getNumber()) { + output.writeEnum(18, keywordMatchMode_); + } unknownFields.writeTo(output); } @@ -3136,6 +3481,12 @@ public int getSerializedSize() { if (disableKeywordMatch_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, disableKeywordMatch_); } + if (keywordMatchMode_ + != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode + .KEYWORD_MATCH_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(18, keywordMatchMode_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -3175,6 +3526,7 @@ public boolean equals(final java.lang.Object obj) { if (!getCustomRankingInfo().equals(other.getCustomRankingInfo())) return false; } if (getDisableKeywordMatch() != other.getDisableKeywordMatch()) return false; + if (keywordMatchMode_ != other.keywordMatchMode_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3222,6 +3574,8 @@ public int hashCode() { } hash = (37 * hash) + DISABLE_KEYWORD_MATCH_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableKeywordMatch()); + hash = (37 * hash) + KEYWORD_MATCH_MODE_FIELD_NUMBER; + hash = (53 * hash) + keywordMatchMode_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -3413,6 +3767,8 @@ public Builder clear() { } disableKeywordMatch_ = false; + keywordMatchMode_ = 0; + return this; } @@ -3475,6 +3831,7 @@ public com.google.cloud.talent.v4.SearchJobsRequest buildPartial() { result.customRankingInfo_ = customRankingInfoBuilder_.build(); } result.disableKeywordMatch_ = disableKeywordMatch_; + result.keywordMatchMode_ = keywordMatchMode_; onBuilt(); return result; } @@ -3593,6 +3950,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsRequest other) { if (other.getDisableKeywordMatch() != false) { setDisableKeywordMatch(other.getDisableKeywordMatch()); } + if (other.keywordMatchMode_ != 0) { + setKeywordMatchModeValue(other.getKeywordMatchModeValue()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -7168,6 +7528,12 @@ public Builder clearCustomRankingInfo() { * * *
+     * This field is deprecated. Please use
+     * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
+     * To migrate, disable_keyword_match set to false maps to
+     * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL], and disable_keyword_match set to
+     * true maps to [KeywordMatchMode.KEYWORD_MATCH_DISABLED][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_DISABLED]. If
+     * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] is set, this field is ignored.
      * Controls whether to disable exact keyword match on [Job.title][google.cloud.talent.v4.Job.title],
      * [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
      * [Job.qualifications][google.cloud.talent.v4.Job.qualifications]. When disable keyword match is turned off, a
@@ -7186,11 +7552,12 @@ public Builder clearCustomRankingInfo() {
      * Defaults to false.
      * 
* - * bool disable_keyword_match = 16; + * bool disable_keyword_match = 16 [deprecated = true]; * * @return The disableKeywordMatch. */ @java.lang.Override + @java.lang.Deprecated public boolean getDisableKeywordMatch() { return disableKeywordMatch_; } @@ -7198,6 +7565,12 @@ public boolean getDisableKeywordMatch() { * * *
+     * This field is deprecated. Please use
+     * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
+     * To migrate, disable_keyword_match set to false maps to
+     * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL], and disable_keyword_match set to
+     * true maps to [KeywordMatchMode.KEYWORD_MATCH_DISABLED][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_DISABLED]. If
+     * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] is set, this field is ignored.
      * Controls whether to disable exact keyword match on [Job.title][google.cloud.talent.v4.Job.title],
      * [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
      * [Job.qualifications][google.cloud.talent.v4.Job.qualifications]. When disable keyword match is turned off, a
@@ -7216,11 +7589,12 @@ public boolean getDisableKeywordMatch() {
      * Defaults to false.
      * 
* - * bool disable_keyword_match = 16; + * bool disable_keyword_match = 16 [deprecated = true]; * * @param value The disableKeywordMatch to set. * @return This builder for chaining. */ + @java.lang.Deprecated public Builder setDisableKeywordMatch(boolean value) { disableKeywordMatch_ = value; @@ -7231,6 +7605,12 @@ public Builder setDisableKeywordMatch(boolean value) { * * *
+     * This field is deprecated. Please use
+     * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
+     * To migrate, disable_keyword_match set to false maps to
+     * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL], and disable_keyword_match set to
+     * true maps to [KeywordMatchMode.KEYWORD_MATCH_DISABLED][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_DISABLED]. If
+     * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] is set, this field is ignored.
      * Controls whether to disable exact keyword match on [Job.title][google.cloud.talent.v4.Job.title],
      * [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
      * [Job.qualifications][google.cloud.talent.v4.Job.qualifications]. When disable keyword match is turned off, a
@@ -7249,10 +7629,11 @@ public Builder setDisableKeywordMatch(boolean value) {
      * Defaults to false.
      * 
* - * bool disable_keyword_match = 16; + * bool disable_keyword_match = 16 [deprecated = true]; * * @return This builder for chaining. */ + @java.lang.Deprecated public Builder clearDisableKeywordMatch() { disableKeywordMatch_ = false; @@ -7260,6 +7641,120 @@ public Builder clearDisableKeywordMatch() { return this; } + private int keywordMatchMode_ = 0; + /** + * + * + *
+     * Controls what keyword match options to use. If both keyword_match_mode and
+     * disable_keyword_match are set, keyword_match_mode will take precedence.
+     * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
+     * is specified.
+     * 
+ * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * + * @return The enum numeric value on the wire for keywordMatchMode. + */ + @java.lang.Override + public int getKeywordMatchModeValue() { + return keywordMatchMode_; + } + /** + * + * + *
+     * Controls what keyword match options to use. If both keyword_match_mode and
+     * disable_keyword_match are set, keyword_match_mode will take precedence.
+     * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
+     * is specified.
+     * 
+ * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * + * @param value The enum numeric value on the wire for keywordMatchMode to set. + * @return This builder for chaining. + */ + public Builder setKeywordMatchModeValue(int value) { + + keywordMatchMode_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Controls what keyword match options to use. If both keyword_match_mode and
+     * disable_keyword_match are set, keyword_match_mode will take precedence.
+     * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
+     * is specified.
+     * 
+ * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * + * @return The keywordMatchMode. + */ + @java.lang.Override + public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { + @SuppressWarnings("deprecation") + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result = + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); + return result == null + ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Controls what keyword match options to use. If both keyword_match_mode and
+     * disable_keyword_match are set, keyword_match_mode will take precedence.
+     * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
+     * is specified.
+     * 
+ * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * + * @param value The keywordMatchMode to set. + * @return This builder for chaining. + */ + public Builder setKeywordMatchMode( + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode value) { + if (value == null) { + throw new NullPointerException(); + } + + keywordMatchMode_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Controls what keyword match options to use. If both keyword_match_mode and
+     * disable_keyword_match are set, keyword_match_mode will take precedence.
+     * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
+     * is specified.
+     * 
+ * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * + * @return This builder for chaining. + */ + public Builder clearKeywordMatchMode() { + + keywordMatchMode_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java index c367297e..c56c1091 100644 --- a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java +++ b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java @@ -937,6 +937,12 @@ public interface SearchJobsRequestOrBuilder * * *
+   * This field is deprecated. Please use
+   * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
+   * To migrate, disable_keyword_match set to false maps to
+   * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL], and disable_keyword_match set to
+   * true maps to [KeywordMatchMode.KEYWORD_MATCH_DISABLED][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_DISABLED]. If
+   * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] is set, this field is ignored.
    * Controls whether to disable exact keyword match on [Job.title][google.cloud.talent.v4.Job.title],
    * [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
    * [Job.qualifications][google.cloud.talent.v4.Job.qualifications]. When disable keyword match is turned off, a
@@ -955,9 +961,43 @@ public interface SearchJobsRequestOrBuilder
    * Defaults to false.
    * 
* - * bool disable_keyword_match = 16; + * bool disable_keyword_match = 16 [deprecated = true]; * * @return The disableKeywordMatch. */ + @java.lang.Deprecated boolean getDisableKeywordMatch(); + + /** + * + * + *
+   * Controls what keyword match options to use. If both keyword_match_mode and
+   * disable_keyword_match are set, keyword_match_mode will take precedence.
+   * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
+   * is specified.
+   * 
+ * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * + * @return The enum numeric value on the wire for keywordMatchMode. + */ + int getKeywordMatchModeValue(); + /** + * + * + *
+   * Controls what keyword match options to use. If both keyword_match_mode and
+   * disable_keyword_match are set, keyword_match_mode will take precedence.
+   * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
+   * is specified.
+   * 
+ * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * + * @return The keywordMatchMode. + */ + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode(); } diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto index d43e013f..9035f6ee 100644 --- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto +++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto index c6b61a2c..4c1bd857 100644 --- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto +++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto index 54ee4800..94dcd126 100644 --- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto +++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto index 73af1e87..e4e6adf1 100644 --- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto +++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto index 874228e1..ef3a40f4 100644 --- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto +++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto index 0f181367..6ba11dee 100644 --- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto +++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto index 5ead1a7c..7eddc93c 100644 --- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto +++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto index df4fbbb4..cc6f7273 100644 --- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto +++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto index f3a3a277..f39df6ac 100644 --- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto +++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto index beb80176..26d2cf96 100644 --- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto +++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -383,7 +383,7 @@ message SearchJobsRequest { // integer/double value or an expression that can be evaluated to a number. // // Parenthesis are supported to adjust calculation precedence. The - // expression must be < 100 characters in length. + // expression must be < 200 characters in length. // // The expression is considered invalid for a job if the expression // references custom attributes that are not populated on the job or if the @@ -420,6 +420,11 @@ message SearchJobsRequest { // clustered so that only one representative job of the cluster is // displayed to the job seeker higher up in the results, with the other jobs // being displayed lower down in the results. + // + // If you are using pageToken to page through the result set, + // latency might be lower but we can't guarantee that all results are + // returned. If you are using page offset, latency might be higher but all + // results are returned. enum DiversificationLevel { // The diversification level isn't specified. DIVERSIFICATION_LEVEL_UNSPECIFIED = 0; @@ -431,11 +436,57 @@ message SearchJobsRequest { // Default diversifying behavior. The result list is ordered so that // highly similar results are pushed to the end of the last page of search - // results. If you are using pageToken to page through the result set, - // latency might be lower but we can't guarantee that all results are - // returned. If you are using page offset, latency might be higher but all - // results are returned. + // results. SIMPLE = 2; + + // Only one job from the same company will be shown at once, other jobs + // under same company are pushed to the end of the last page of search + // result. + ONE_PER_COMPANY = 3; + + // Similar to ONE_PER_COMPANY, but it allows at most two jobs in the + // same company to be shown at once, the other jobs under same company are + // pushed to the end of the last page of search result. + TWO_PER_COMPANY = 4; + + // The result list is ordered such that somewhat similar results are pushed + // to the end of the last page of the search results. This option is + // recommended if SIMPLE diversification does not diversify enough. + DIVERSIFY_BY_LOOSER_SIMILARITY = 5; + } + + // Controls what keyword matching behavior the search has. When keyword + // matching is enabled, a keyword match returns jobs that may not match given + // category filters when there are matching keywords. For example, for the + // query "program manager" with KeywordMatchMode set to KEYWORD_MATCH_ALL, a + // job posting with the title "software developer," which doesn't fall into + // "program manager" ontology, and "program manager" appearing in its + // description will be surfaced. + // + // For queries like "cloud" that don't contain title or + // location specific ontology, jobs with "cloud" keyword matches are returned + // regardless of this enum's value. + // + // Use [Company.keyword_searchable_job_custom_attributes][google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes] if + // company-specific globally matched custom field/attribute string values are + // needed. Enabling keyword match improves recall of subsequent search + // requests. + enum KeywordMatchMode { + // The keyword match option isn't specified. Defaults to + // [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior. + KEYWORD_MATCH_MODE_UNSPECIFIED = 0; + + // Disables keyword matching. + KEYWORD_MATCH_DISABLED = 1; + + // Enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title], + // [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses], + // [Job.qualifications][google.cloud.talent.v4.Job.qualifications], and keyword searchable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] + // fields. + KEYWORD_MATCH_ALL = 2; + + // Only enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title]. + KEYWORD_MATCH_TITLE_ONLY = 3; } // Required. The resource name of the tenant to search within. @@ -658,6 +709,14 @@ message SearchJobsRequest { // score (determined by API algorithm). CustomRankingInfo custom_ranking_info = 14; + // This field is deprecated. Please use + // [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward. + // + // To migrate, disable_keyword_match set to false maps to + // [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL], and disable_keyword_match set to + // true maps to [KeywordMatchMode.KEYWORD_MATCH_DISABLED][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_DISABLED]. If + // [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] is set, this field is ignored. + // // Controls whether to disable exact keyword match on [Job.title][google.cloud.talent.v4.Job.title], // [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses], // [Job.qualifications][google.cloud.talent.v4.Job.qualifications]. When disable keyword match is turned off, a @@ -677,7 +736,14 @@ message SearchJobsRequest { // requests. // // Defaults to false. - bool disable_keyword_match = 16; + bool disable_keyword_match = 16 [deprecated = true]; + + // Controls what keyword match options to use. If both keyword_match_mode and + // disable_keyword_match are set, keyword_match_mode will take precedence. + // + // Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value + // is specified. + KeywordMatchMode keyword_match_mode = 18; } // Response for SearchJob method. diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto index bdfa832d..1246dfb2 100644 --- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto +++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto index a82d094f..7962695c 100644 --- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto +++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchAutocompleteJobTitle.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchAutocompleteJobTitle.java index 09b7f15c..a318049c 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchAutocompleteJobTitle.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchAutocompleteJobTitle.java @@ -13,15 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("Request", "job_search_autocomplete_job_title") -// sample-metadata: -// title: -// description: Complete job title given partial text (autocomplete) -// usage: gradle run -// -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchAutocompleteJobTitle -// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using -// tenancy is optional)"] [--query "[partially typed job title]"] [--num_results 5] [--language_code -// "en-US"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchCreateJobs.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchCreateJobs.java index 25154df1..bfaa3fc1 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchCreateJobs.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchCreateJobs.java @@ -13,24 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("LongRunningRequestAsync", -// "job_search_batch_create_jobs") -// sample-metadata: -// title: -// description: Batch Create Jobs -// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchBatchCreateJobs -// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using -// tenancy is optional)"] [--company_name_one "Company name, e.g. -// projects/your-project/companies/company-id"] [--requisition_id_one "Job requisition ID, aka -// Posting ID. Unique per job."] [--title_one "Software Engineer"] [--description_one "This is a -// description of this wonderful job!"] [--job_application_url_one -// "https://www.example.org/job-posting/123"] [--address_one "1600 Amphitheatre Parkway, Mountain -// View, CA 94043"] [--language_code_one "en-US"] [--company_name_two "Company name, e.g. -// projects/your-project/companies/company-id"] [--requisition_id_two "Job requisition ID, aka -// Posting ID. Unique per job."] [--title_two "Quality Assurance"] [--description_two "This is a -// description of this wonderful job!"] [--job_application_url_two -// "https://www.example.org/job-posting/123"] [--address_two "111 8th Avenue, New York, NY 10011"] -// [--language_code_two "en-US"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchDeleteJob.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchDeleteJob.java index 2ba61f34..2d163d8f 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchDeleteJob.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchDeleteJob.java @@ -13,13 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("Request", "job_search_batch_delete_job") -// sample-metadata: -// title: -// description: Batch delete jobs using a filter -// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchBatchDeleteJob -// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using -// tenancy is optional)"] [--filter "[Query]"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchUpdateJobs.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchUpdateJobs.java index 08928826..1cf7d028 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchUpdateJobs.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchUpdateJobs.java @@ -13,26 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("LongRunningRequestAsync", -// "job_search_batch_update_jobs") -// sample-metadata: -// title: -// description: Batch Update Jobs -// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchBatchUpdateJobs -// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using -// tenancy is optional)"] [--job_name_one "job name, e.g. -// projects/your-project/tenants/tenant-id/jobs/job-id"] [--company_name_one "Company name, e.g. -// projects/your-project/companies/company-id"] [--requisition_id_one "Job requisition ID, aka -// Posting ID. Unique per job."] [--title_one "Software Engineer"] [--description_one "This is a -// description of this wonderful job!"] [--job_application_url_one -// "https://www.example.org/job-posting/123"] [--address_one "1600 Amphitheatre Parkway, Mountain -// View, CA 94043"] [--language_code_one "en-US"] [--job_name_two "job name, e.g. -// projects/your-project/tenants/tenant-id/jobs/job-id"] [--company_name_two "Company name, e.g. -// projects/your-project/companies/company-id"] [--requisition_id_two "Job requisition ID, aka -// Posting ID. Unique per job."] [--title_two "Quality Assurance"] [--description_two "This is a -// description of this wonderful job!"] [--job_application_url_two -// "https://www.example.org/job-posting/123"] [--address_two "111 8th Avenue, New York, NY 10011"] -// [--language_code_two "en-US"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCommuteSearch.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCommuteSearch.java index 5a17ec72..7f2c5fce 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCommuteSearch.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCommuteSearch.java @@ -13,14 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("RequestPaged", "job_search_commute_search") -// sample-metadata: -// title: -// description: Search Jobs using commute distance -// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchCommuteSearch -// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using -// tenancy is optional)"]'] - package com.google.cloud.examples.talent.v4beta1; import com.google.cloud.talent.v4beta1.CommuteFilter; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateClientEvent.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateClientEvent.java index e0f77db4..4d4faa4e 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateClientEvent.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateClientEvent.java @@ -13,15 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("Request", "job_search_create_client_event") -// sample-metadata: -// title: -// description: Creates a client event -// usage: gradle run -// -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchCreateClientEvent -// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using -// tenancy is optional)"] [--request_id "[request_id from ResponseMetadata]"] [--event_id "[Set this -// to a unique identifier]"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateCompany.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateCompany.java index 22d897d8..86009221 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateCompany.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateCompany.java @@ -13,14 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("Request", "job_search_create_company") -// sample-metadata: -// title: -// description: Create Company -// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchCreateCompany -// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using -// tenancy is optional)"] [--display_name "My Company Name"] [--external_id "Identifier of this -// company in my system"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJob.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJob.java index 717a979e..88322015 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJob.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJob.java @@ -13,18 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("Request", "job_search_create_job") -// sample-metadata: -// title: -// description: Create Job -// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchCreateJob -// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using -// tenancy is optional)"] [--company_name "Company name, e.g. -// projects/your-project/companies/company-id"] [--requisition_id "Job requisition ID, aka Posting -// ID. Unique per job."] [--title "Software Engineer"] [--description "This is a description of this -// wonderful job!"] [--job_application_url "https://www.example.org/job-posting/123"] -// [--address_one "1600 Amphitheatre Parkway, Mountain View, CA 94043"] [--address_two "111 8th -// Avenue, New York, NY 10011"] [--language_code "en-US"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJobCustomAttributes.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJobCustomAttributes.java index 8b52cd63..cbd7c1d5 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJobCustomAttributes.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJobCustomAttributes.java @@ -13,16 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("Request", "job_search_create_job_custom_attributes") -// sample-metadata: -// title: -// description: Create Job with Custom Attributes -// usage: gradle run -// -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchCreateJobCustomAttributes -// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using -// tenancy is optional)"] [--company_name "Company name, e.g. -// projects/your-project/companies/company-id"] [--requisition_id "Job requisition ID, aka Posting -// ID. Unique per job."] [--language_code "en-US"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateTenant.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateTenant.java index 4c642174..a0d1775b 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateTenant.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateTenant.java @@ -13,13 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("Request", "job_search_create_tenant") -// sample-metadata: -// title: -// description: Create Tenant for scoping resources, e.g. companies and jobs -// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchCreateTenant -// [--args='[--project_id "Your Google Cloud Project ID"] [--external_id "Your Unique Identifier for -// Tenant"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCustomRankingSearch.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCustomRankingSearch.java index 66b04264..cf916999 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCustomRankingSearch.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCustomRankingSearch.java @@ -13,14 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("RequestPaged", "job_search_custom_ranking_search") -// sample-metadata: -// title: -// description: Search Jobs using custom rankings -// usage: gradle run -// -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchCustomRankingSearch -// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using -// tenancy is optional)"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteCompany.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteCompany.java index 3041b730..c4ef8acb 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteCompany.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteCompany.java @@ -13,13 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("Request", "job_search_delete_company") -// sample-metadata: -// title: -// description: Delete Company -// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchDeleteCompany -// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using -// tenancy is optional)"] [--company_id "ID of the company to delete"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteJob.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteJob.java index 90a83113..ded170c6 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteJob.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteJob.java @@ -13,13 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("Request", "job_search_delete_job") -// sample-metadata: -// title: -// description: Delete Job -// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchDeleteJob -// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using -// tenancy is optional)"] [--job_id "Company ID"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteTenant.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteTenant.java index 16cf4463..95dac1df 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteTenant.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteTenant.java @@ -13,12 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("Request", "job_search_delete_tenant") -// sample-metadata: -// title: -// description: Delete Tenant -// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchDeleteTenant -// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID)"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetCompany.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetCompany.java index d4d798de..2fcf1721 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetCompany.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetCompany.java @@ -13,13 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("Request", "job_search_get_company") -// sample-metadata: -// title: -// description: Get Company -// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchGetCompany -// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using -// tenancy is optional)"] [--company_id "Company ID"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetJob.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetJob.java index 0a52a6c3..fbc92ccb 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetJob.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetJob.java @@ -13,13 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("Request", "job_search_get_job") -// sample-metadata: -// title: -// description: Get Job -// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchGetJob -// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using -// tenancy is optional)"] [--job_id "Job ID"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetTenant.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetTenant.java index a2f42af9..86830cf9 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetTenant.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetTenant.java @@ -13,12 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("Request", "job_search_get_tenant") -// sample-metadata: -// title: -// description: Get Tenant by name -// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchGetTenant -// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchHistogramSearch.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchHistogramSearch.java index 950f7214..877cb430 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchHistogramSearch.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchHistogramSearch.java @@ -13,13 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("RequestPaged", "job_search_histogram_search") -// sample-metadata: -// title: -// description: Search Jobs with histogram queries -// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchHistogramSearch -// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using -// tenancy is optional)"] [--query "count(base_compensation, [bucket(12, 20)])"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListCompanies.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListCompanies.java index 5a93e435..3c5f9df1 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListCompanies.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListCompanies.java @@ -13,13 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("RequestPaged", "job_search_list_companies") -// sample-metadata: -// title: -// description: List Companies -// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchListCompanies -// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using -// tenancy is optional)"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListJobs.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListJobs.java index fa8443f1..04cd4e33 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListJobs.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListJobs.java @@ -13,13 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("RequestPaged", "job_search_list_jobs") -// sample-metadata: -// title: -// description: List Jobs -// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchListJobs -// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using -// tenancy is optional)"] [--filter "companyName=projects/my-project/companies/company-id"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListTenants.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListTenants.java index 4fab27d5..681552d6 100644 --- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListTenants.java +++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListTenants.java @@ -13,12 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -// DO NOT EDIT! This is a generated sample ("RequestPaged", "job_search_list_tenants") -// sample-metadata: -// title: -// description: List Tenants -// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchListTenants -// [--args='[--project_id "Your Google Cloud Project ID"]'] package com.google.cloud.examples.talent.v4beta1; diff --git a/versions.txt b/versions.txt index 08e71251..8854746f 100644 --- a/versions.txt +++ b/versions.txt @@ -1,9 +1,8 @@ # Format: # module:released-version:current-version -proto-google-cloud-talent-v4:2.1.2:2.1.3-SNAPSHOT -proto-google-cloud-talent-v4beta1:0.44.2:0.44.3-SNAPSHOT +google-cloud-talent:2.1.2:2.1.3-SNAPSHOT grpc-google-cloud-talent-v4:2.1.2:2.1.3-SNAPSHOT grpc-google-cloud-talent-v4beta1:0.44.2:0.44.3-SNAPSHOT -google-cloud-talent:2.1.2:2.1.3-SNAPSHOT -google-cloud-talent-bom:2.1.2:2.1.3-SNAPSHOT +proto-google-cloud-talent-v4:2.1.2:2.1.3-SNAPSHOT +proto-google-cloud-talent-v4beta1:0.44.2:0.44.3-SNAPSHOT