From 1460184ff338518e0e469762c36a8c3ff3d1a333 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 27 May 2022 04:06:32 +0000 Subject: [PATCH] feat: Add a new operator on companyDisplayNames filter to further support fuzzy match by treating input value as a multi word token (#788) - [ ] Regenerate this pull request now. feat: Add a new option TELECOMMUTE_JOBS_EXCLUDED under enum TelecommutePreference to completely filter out the telecommute jobs in response docs: Deprecate option TELECOMMUTE_EXCLUDED under enum TelecommutePreference PiperOrigin-RevId: 450699841 Source-Link: https://github.com/googleapis/googleapis/commit/c6fb6acced6f045bfd5f3a73a80f97fbdfc00606 Source-Link: https://github.com/googleapis/googleapis-gen/commit/6b27e78749c63eb4d21ea920ac10bdc5c7ba4caf Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmIyN2U3ODc0OWM2M2ViNGQyMWVhOTIwYWMxMGJkYzVjN2JhNGNhZiJ9 chore(deps): upgrade gapic-generator-java to 2.8.0 and update gax-java to 2.18.1 PiperOrigin-RevId: 450543911 Source-Link: https://github.com/googleapis/googleapis/commit/55283447ab72f10b6c2571d770af0498b593e84f Source-Link: https://github.com/googleapis/googleapis-gen/commit/9f6775cab1958982b88967a43e5e806af0f135db Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWY2Nzc1Y2FiMTk1ODk4MmI4ODk2N2E0M2U1ZTgwNmFmMGYxMzVkYiJ9 --- .../cloud/talent/v4/CompanyServiceClient.java | 4 - .../cloud/talent/v4/CompletionClient.java | 4 - .../cloud/talent/v4/EventServiceClient.java | 4 - .../cloud/talent/v4/JobServiceClient.java | 4 - .../cloud/talent/v4/TenantServiceClient.java | 4 - .../v4/stub/CompanyServiceStubSettings.java | 1 - .../v4/stub/CompletionStubSettings.java | 1 - .../v4/stub/EventServiceStubSettings.java | 1 - .../v4/stub/JobServiceStubSettings.java | 1 - .../v4/stub/TenantServiceStubSettings.java | 1 - .../v4beta1/ApplicationServiceClient.java | 3 - .../talent/v4beta1/CompanyServiceClient.java | 3 - .../talent/v4beta1/CompletionClient.java | 3 - .../talent/v4beta1/EventServiceClient.java | 3 - .../talent/v4beta1/JobServiceClient.java | 3 - .../talent/v4beta1/ProfileServiceClient.java | 3 - .../talent/v4beta1/TenantServiceClient.java | 3 - .../stub/ApplicationServiceStubSettings.java | 1 - .../stub/CompanyServiceStubSettings.java | 1 - .../v4beta1/stub/CompletionStubSettings.java | 1 - .../stub/EventServiceStubSettings.java | 1 - .../v4beta1/stub/JobServiceStubSettings.java | 1 - .../stub/ProfileServiceStubSettings.java | 1 - .../stub/TenantServiceStubSettings.java | 1 - .../google/cloud/talent/v4/FiltersProto.java | 61 ++--- .../com/google/cloud/talent/v4/JobQuery.java | 234 ++++++++++++------ .../cloud/talent/v4/JobQueryOrBuilder.java | 72 ++++-- .../cloud/talent/v4/LocationFilter.java | 49 +++- .../talent/v4/LocationFilterOrBuilder.java | 4 +- .../google/cloud/talent/v4/filters.proto | 30 ++- 30 files changed, 295 insertions(+), 208 deletions(-) diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java index 7994659ea568..6dc14334ce2c 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java @@ -18,7 +18,6 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; -import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -125,7 +124,6 @@ public static final CompanyServiceClient create(CompanyServiceSettings settings) * Constructs an instance of CompanyServiceClient, using the given stub for making calls. This is * for advanced usage - prefer using create(CompanyServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final CompanyServiceClient create(CompanyServiceStub stub) { return new CompanyServiceClient(stub); } @@ -140,7 +138,6 @@ protected CompanyServiceClient(CompanyServiceSettings settings) throws IOExcepti this.stub = ((CompanyServiceStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected CompanyServiceClient(CompanyServiceStub stub) { this.settings = null; this.stub = stub; @@ -150,7 +147,6 @@ public final CompanyServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public CompanyServiceStub getStub() { return stub; } diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java index 0d2eee4faef3..c6c7e61bd720 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java @@ -16,7 +16,6 @@ package com.google.cloud.talent.v4; -import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.talent.v4.stub.CompletionStub; @@ -120,7 +119,6 @@ public static final CompletionClient create(CompletionSettings settings) throws * Constructs an instance of CompletionClient, using the given stub for making calls. This is for * advanced usage - prefer using create(CompletionSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final CompletionClient create(CompletionStub stub) { return new CompletionClient(stub); } @@ -134,7 +132,6 @@ protected CompletionClient(CompletionSettings settings) throws IOException { this.stub = ((CompletionStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected CompletionClient(CompletionStub stub) { this.settings = null; this.stub = stub; @@ -144,7 +141,6 @@ public final CompletionSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public CompletionStub getStub() { return stub; } diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java index b1d191894a3c..028a87b96946 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java @@ -16,7 +16,6 @@ package com.google.cloud.talent.v4; -import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.talent.v4.stub.EventServiceStub; @@ -114,7 +113,6 @@ public static final EventServiceClient create(EventServiceSettings settings) thr * Constructs an instance of EventServiceClient, using the given stub for making calls. This is * for advanced usage - prefer using create(EventServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final EventServiceClient create(EventServiceStub stub) { return new EventServiceClient(stub); } @@ -129,7 +127,6 @@ protected EventServiceClient(EventServiceSettings settings) throws IOException { this.stub = ((EventServiceStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected EventServiceClient(EventServiceStub stub) { this.settings = null; this.stub = stub; @@ -139,7 +136,6 @@ public final EventServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public EventServiceStub getStub() { return stub; } diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java index 2f124887ecdd..eda252a84a4d 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java @@ -18,7 +18,6 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; -import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.longrunning.OperationFuture; import com.google.api.gax.paging.AbstractFixedSizeCollection; @@ -130,7 +129,6 @@ public static final JobServiceClient create(JobServiceSettings settings) throws * Constructs an instance of JobServiceClient, using the given stub for making calls. This is for * advanced usage - prefer using create(JobServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final JobServiceClient create(JobServiceStub stub) { return new JobServiceClient(stub); } @@ -145,7 +143,6 @@ protected JobServiceClient(JobServiceSettings settings) throws IOException { this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected JobServiceClient(JobServiceStub stub) { this.settings = null; this.stub = stub; @@ -156,7 +153,6 @@ public final JobServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public JobServiceStub getStub() { return stub; } diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java index 4cece00a5cba..010a86192ca6 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java @@ -18,7 +18,6 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; -import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -125,7 +124,6 @@ public static final TenantServiceClient create(TenantServiceSettings settings) * Constructs an instance of TenantServiceClient, using the given stub for making calls. This is * for advanced usage - prefer using create(TenantServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final TenantServiceClient create(TenantServiceStub stub) { return new TenantServiceClient(stub); } @@ -140,7 +138,6 @@ protected TenantServiceClient(TenantServiceSettings settings) throws IOException this.stub = ((TenantServiceStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected TenantServiceClient(TenantServiceStub stub) { this.settings = null; this.stub = stub; @@ -150,7 +147,6 @@ public final TenantServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public TenantServiceStub getStub() { return stub; } diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java index 0c1b57c3cc83..ead214b0f12b 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java @@ -187,7 +187,6 @@ public UnaryCallSettings deleteCompanySettings() { return listCompaniesSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public CompanyServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java index a41e1f0b0991..4c41fbd25567 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java @@ -92,7 +92,6 @@ public UnaryCallSettings completeQu return completeQuerySettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public CompletionStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java index 8ef8c1a5352d..3c9b4b7e9b29 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java @@ -92,7 +92,6 @@ public UnaryCallSettings createClientEven return createClientEventSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public EventServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java index f9977d822e0b..fba0ce814c3e 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java @@ -258,7 +258,6 @@ public UnaryCallSettings searchJobsForAle return searchJobsForAlertSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public JobServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java index de50ba724a41..4b4ca58f1311 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java @@ -186,7 +186,6 @@ public UnaryCallSettings deleteTenantSettings() { return listTenantsSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public TenantServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ApplicationServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ApplicationServiceClient.java index 7b37afda1302..92f5fcf43e98 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ApplicationServiceClient.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ApplicationServiceClient.java @@ -129,7 +129,6 @@ public static final ApplicationServiceClient create(ApplicationServiceSettings s * Constructs an instance of ApplicationServiceClient, using the given stub for making calls. This * is for advanced usage - prefer using create(ApplicationServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final ApplicationServiceClient create(ApplicationServiceStub stub) { return new ApplicationServiceClient(stub); } @@ -144,7 +143,6 @@ protected ApplicationServiceClient(ApplicationServiceSettings settings) throws I this.stub = ((ApplicationServiceStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected ApplicationServiceClient(ApplicationServiceStub stub) { this.settings = null; this.stub = stub; @@ -154,7 +152,6 @@ public final ApplicationServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public ApplicationServiceStub getStub() { return stub; } diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java index 01588806786c..aa39ece696bc 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java @@ -125,7 +125,6 @@ public static final CompanyServiceClient create(CompanyServiceSettings settings) * Constructs an instance of CompanyServiceClient, using the given stub for making calls. This is * for advanced usage - prefer using create(CompanyServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final CompanyServiceClient create(CompanyServiceStub stub) { return new CompanyServiceClient(stub); } @@ -140,7 +139,6 @@ protected CompanyServiceClient(CompanyServiceSettings settings) throws IOExcepti this.stub = ((CompanyServiceStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected CompanyServiceClient(CompanyServiceStub stub) { this.settings = null; this.stub = stub; @@ -150,7 +148,6 @@ public final CompanyServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public CompanyServiceStub getStub() { return stub; } diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java index e186d45af0b6..44c5b4efff3b 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java @@ -123,7 +123,6 @@ public static final CompletionClient create(CompletionSettings settings) throws * Constructs an instance of CompletionClient, using the given stub for making calls. This is for * advanced usage - prefer using create(CompletionSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final CompletionClient create(CompletionStub stub) { return new CompletionClient(stub); } @@ -137,7 +136,6 @@ protected CompletionClient(CompletionSettings settings) throws IOException { this.stub = ((CompletionStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected CompletionClient(CompletionStub stub) { this.settings = null; this.stub = stub; @@ -147,7 +145,6 @@ public final CompletionSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public CompletionStub getStub() { return stub; } diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java index 387161602be4..2e03d69c3c42 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java @@ -115,7 +115,6 @@ public static final EventServiceClient create(EventServiceSettings settings) thr * Constructs an instance of EventServiceClient, using the given stub for making calls. This is * for advanced usage - prefer using create(EventServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final EventServiceClient create(EventServiceStub stub) { return new EventServiceClient(stub); } @@ -130,7 +129,6 @@ protected EventServiceClient(EventServiceSettings settings) throws IOException { this.stub = ((EventServiceStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected EventServiceClient(EventServiceStub stub) { this.settings = null; this.stub = stub; @@ -140,7 +138,6 @@ public final EventServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public EventServiceStub getStub() { return stub; } diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java index 507c7aca388a..5a6cfb42bcce 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java @@ -130,7 +130,6 @@ public static final JobServiceClient create(JobServiceSettings settings) throws * Constructs an instance of JobServiceClient, using the given stub for making calls. This is for * advanced usage - prefer using create(JobServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final JobServiceClient create(JobServiceStub stub) { return new JobServiceClient(stub); } @@ -145,7 +144,6 @@ protected JobServiceClient(JobServiceSettings settings) throws IOException { this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected JobServiceClient(JobServiceStub stub) { this.settings = null; this.stub = stub; @@ -156,7 +154,6 @@ public final JobServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public JobServiceStub getStub() { return stub; } diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ProfileServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ProfileServiceClient.java index 8015163d37b3..dc8563b0bf23 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ProfileServiceClient.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/ProfileServiceClient.java @@ -126,7 +126,6 @@ public static final ProfileServiceClient create(ProfileServiceSettings settings) * Constructs an instance of ProfileServiceClient, using the given stub for making calls. This is * for advanced usage - prefer using create(ProfileServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final ProfileServiceClient create(ProfileServiceStub stub) { return new ProfileServiceClient(stub); } @@ -141,7 +140,6 @@ protected ProfileServiceClient(ProfileServiceSettings settings) throws IOExcepti this.stub = ((ProfileServiceStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected ProfileServiceClient(ProfileServiceStub stub) { this.settings = null; this.stub = stub; @@ -151,7 +149,6 @@ public final ProfileServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public ProfileServiceStub getStub() { return stub; } diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java index f6ff2933fe50..5effe5f7df56 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java @@ -125,7 +125,6 @@ public static final TenantServiceClient create(TenantServiceSettings settings) * Constructs an instance of TenantServiceClient, using the given stub for making calls. This is * for advanced usage - prefer using create(TenantServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final TenantServiceClient create(TenantServiceStub stub) { return new TenantServiceClient(stub); } @@ -140,7 +139,6 @@ protected TenantServiceClient(TenantServiceSettings settings) throws IOException this.stub = ((TenantServiceStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected TenantServiceClient(TenantServiceStub stub) { this.settings = null; this.stub = stub; @@ -150,7 +148,6 @@ public final TenantServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public TenantServiceStub getStub() { return stub; } diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ApplicationServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ApplicationServiceStubSettings.java index cd0ac54dca32..ac7ae069bf40 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ApplicationServiceStubSettings.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ApplicationServiceStubSettings.java @@ -196,7 +196,6 @@ public UnaryCallSettings deleteApplicationSetti return listApplicationsSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public ApplicationServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java index 0b6cf0f15b8f..182ec606d33e 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java @@ -188,7 +188,6 @@ public UnaryCallSettings deleteCompanySettings() { return listCompaniesSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public CompanyServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java index d7b8173e998f..347903d8bdd7 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java @@ -93,7 +93,6 @@ public UnaryCallSettings completeQu return completeQuerySettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public CompletionStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java index b819dcf6db29..528d557053a8 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java @@ -93,7 +93,6 @@ public UnaryCallSettings createClientEven return createClientEventSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public EventServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java index 63f37aa6c94d..673f31cb3674 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java @@ -367,7 +367,6 @@ public UnaryCallSettings batchDeleteJobsSettings( return searchJobsForAlertSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public JobServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ProfileServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ProfileServiceStubSettings.java index 175acaa4ec00..bc48f2dd13ff 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ProfileServiceStubSettings.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/ProfileServiceStubSettings.java @@ -259,7 +259,6 @@ public UnaryCallSettings deleteProfileSettings() { return searchProfilesSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public ProfileServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java index c93fb52630db..aad2bdeeb511 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java @@ -187,7 +187,6 @@ public UnaryCallSettings deleteTenantSettings() { return listTenantsSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public TenantServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/FiltersProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/FiltersProto.java index 47cf9ec637f5..58b0a01aea71 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/FiltersProto.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/FiltersProto.java @@ -72,41 +72,42 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "google.cloud.talent.v4.EmploymentType\022\026\n" + "\016language_codes\030\013 \003(\t\022B\n\022publish_time_ra" + "nge\030\014 \001(\0132&.google.cloud.talent.v4.Times" - + "tampRange\022\025\n\rexcluded_jobs\030\r \003(\t\"\311\002\n\016Loc" + + "tampRange\022\025\n\rexcluded_jobs\030\r \003(\t\"\355\002\n\016Loc" + "ationFilter\022\017\n\007address\030\001 \001(\t\022\023\n\013region_c" + "ode\030\002 \001(\t\022$\n\007lat_lng\030\003 \001(\0132\023.google.type" + ".LatLng\022\031\n\021distance_in_miles\030\004 \001(\001\022\\\n\026te" + "lecommute_preference\030\005 \001(\0162<.google.clou" + "d.talent.v4.LocationFilter.TelecommutePr" - + "eference\"r\n\025TelecommutePreference\022&\n\"TEL" - + "ECOMMUTE_PREFERENCE_UNSPECIFIED\020\000\022\030\n\024TEL" - + "ECOMMUTE_EXCLUDED\020\001\022\027\n\023TELECOMMUTE_ALLOW" - + "ED\020\002\"\273\003\n\022CompensationFilter\022H\n\004type\030\001 \001(" - + "\01625.google.cloud.talent.v4.CompensationF" - + "ilter.FilterTypeB\003\340A\002\022M\n\005units\030\002 \003(\01629.g" - + "oogle.cloud.talent.v4.CompensationInfo.C" - + "ompensationUnitB\003\340A\002\022I\n\005range\030\003 \001(\0132:.go" - + "ogle.cloud.talent.v4.CompensationInfo.Co" - + "mpensationRange\0228\n0include_jobs_with_uns" - + "pecified_compensation_range\030\004 \001(\010\"\206\001\n\nFi" - + "lterType\022\033\n\027FILTER_TYPE_UNSPECIFIED\020\000\022\r\n" - + "\tUNIT_ONLY\020\001\022\023\n\017UNIT_AND_AMOUNT\020\002\022\032\n\026ANN" - + "UALIZED_BASE_AMOUNT\020\003\022\033\n\027ANNUALIZED_TOTA" - + "L_AMOUNT\020\004\"\301\003\n\rCommuteFilter\022B\n\016commute_" - + "method\030\001 \001(\0162%.google.cloud.talent.v4.Co" - + "mmuteMethodB\003\340A\002\0223\n\021start_coordinates\030\002 " - + "\001(\0132\023.google.type.LatLngB\003\340A\002\0227\n\017travel_" - + "duration\030\003 \001(\0132\031.google.protobuf.Duratio" - + "nB\003\340A\002\022!\n\031allow_imprecise_addresses\030\004 \001(" - + "\010\022I\n\014road_traffic\030\005 \001(\01621.google.cloud.t" - + "alent.v4.CommuteFilter.RoadTrafficH\000\0220\n\016" - + "departure_time\030\006 \001(\0132\026.google.type.TimeO" - + "fDayH\000\"L\n\013RoadTraffic\022\034\n\030ROAD_TRAFFIC_UN" - + "SPECIFIED\020\000\022\020\n\014TRAFFIC_FREE\020\001\022\r\n\tBUSY_HO" - + "UR\020\002B\020\n\016traffic_optionBp\n\032com.google.clo" - + "ud.talent.v4B\014FiltersProtoP\001Z * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name] * of the jobs to search against. The company name must match the value - * exactly (case sensitive). - * Alternatively, if the value being searched for is wrapped in - * `SUBSTRING_MATCH([value])`, the company name must contain a case - * insensitive substring match of the value. Using this function may increase - * latency. - * Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]` + * exactly. + * Alternatively, the value being searched for can be wrapped in different + * match operators. + * `SUBSTRING_MATCH([value])` + * The company name must contain a case insensitive substring match of the + * value. Using this function may increase latency. + * Sample Value: `SUBSTRING_MATCH(google)` + * `MULTI_WORD_TOKEN_MATCH([value])` + * The value will be treated as a multi word token and the company name must + * contain a case insensitive match of the value. Using this function may + * increase latency. + * Sample Value: `MULTI_WORD_TOKEN_MATCH(google)` * If a value isn't specified, jobs within the search results are * associated with any company. * If multiple values are specified, jobs within the search results may be @@ -839,12 +845,18 @@ public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() { *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
-   * exactly (case sensitive).
-   * Alternatively, if the value being searched for is wrapped in
-   * `SUBSTRING_MATCH([value])`, the company name must contain a case
-   * insensitive substring match of the value. Using this function may increase
-   * latency.
-   * Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]`
+   * exactly.
+   * Alternatively, the value being searched for can be wrapped in different
+   * match operators.
+   * `SUBSTRING_MATCH([value])`
+   * The company name must contain a case insensitive substring match of the
+   * value. Using this function may increase latency.
+   * Sample Value: `SUBSTRING_MATCH(google)`
+   * `MULTI_WORD_TOKEN_MATCH([value])`
+   * The value will be treated as a multi word token and the company name must
+   * contain a case insensitive match of the value. Using this function may
+   * increase latency.
+   * Sample Value: `MULTI_WORD_TOKEN_MATCH(google)`
    * If a value isn't specified, jobs within the search results are
    * associated with any company.
    * If multiple values are specified, jobs within the search results may be
@@ -865,12 +877,18 @@ public int getCompanyDisplayNamesCount() {
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
-   * exactly (case sensitive).
-   * Alternatively, if the value being searched for is wrapped in
-   * `SUBSTRING_MATCH([value])`, the company name must contain a case
-   * insensitive substring match of the value. Using this function may increase
-   * latency.
-   * Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]`
+   * exactly.
+   * Alternatively, the value being searched for can be wrapped in different
+   * match operators.
+   * `SUBSTRING_MATCH([value])`
+   * The company name must contain a case insensitive substring match of the
+   * value. Using this function may increase latency.
+   * Sample Value: `SUBSTRING_MATCH(google)`
+   * `MULTI_WORD_TOKEN_MATCH([value])`
+   * The value will be treated as a multi word token and the company name must
+   * contain a case insensitive match of the value. Using this function may
+   * increase latency.
+   * Sample Value: `MULTI_WORD_TOKEN_MATCH(google)`
    * If a value isn't specified, jobs within the search results are
    * associated with any company.
    * If multiple values are specified, jobs within the search results may be
@@ -892,12 +910,18 @@ public java.lang.String getCompanyDisplayNames(int index) {
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
-   * exactly (case sensitive).
-   * Alternatively, if the value being searched for is wrapped in
-   * `SUBSTRING_MATCH([value])`, the company name must contain a case
-   * insensitive substring match of the value. Using this function may increase
-   * latency.
-   * Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]`
+   * exactly.
+   * Alternatively, the value being searched for can be wrapped in different
+   * match operators.
+   * `SUBSTRING_MATCH([value])`
+   * The company name must contain a case insensitive substring match of the
+   * value. Using this function may increase latency.
+   * Sample Value: `SUBSTRING_MATCH(google)`
+   * `MULTI_WORD_TOKEN_MATCH([value])`
+   * The value will be treated as a multi word token and the company name must
+   * contain a case insensitive match of the value. Using this function may
+   * increase latency.
+   * Sample Value: `MULTI_WORD_TOKEN_MATCH(google)`
    * If a value isn't specified, jobs within the search results are
    * associated with any company.
    * If multiple values are specified, jobs within the search results may be
@@ -3620,12 +3644,18 @@ private void ensureCompanyDisplayNamesIsMutable() {
      * 
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
-     * exactly (case sensitive).
-     * Alternatively, if the value being searched for is wrapped in
-     * `SUBSTRING_MATCH([value])`, the company name must contain a case
-     * insensitive substring match of the value. Using this function may increase
-     * latency.
-     * Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]`
+     * exactly.
+     * Alternatively, the value being searched for can be wrapped in different
+     * match operators.
+     * `SUBSTRING_MATCH([value])`
+     * The company name must contain a case insensitive substring match of the
+     * value. Using this function may increase latency.
+     * Sample Value: `SUBSTRING_MATCH(google)`
+     * `MULTI_WORD_TOKEN_MATCH([value])`
+     * The value will be treated as a multi word token and the company name must
+     * contain a case insensitive match of the value. Using this function may
+     * increase latency.
+     * Sample Value: `MULTI_WORD_TOKEN_MATCH(google)`
      * If a value isn't specified, jobs within the search results are
      * associated with any company.
      * If multiple values are specified, jobs within the search results may be
@@ -3646,12 +3676,18 @@ public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() {
      * 
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
-     * exactly (case sensitive).
-     * Alternatively, if the value being searched for is wrapped in
-     * `SUBSTRING_MATCH([value])`, the company name must contain a case
-     * insensitive substring match of the value. Using this function may increase
-     * latency.
-     * Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]`
+     * exactly.
+     * Alternatively, the value being searched for can be wrapped in different
+     * match operators.
+     * `SUBSTRING_MATCH([value])`
+     * The company name must contain a case insensitive substring match of the
+     * value. Using this function may increase latency.
+     * Sample Value: `SUBSTRING_MATCH(google)`
+     * `MULTI_WORD_TOKEN_MATCH([value])`
+     * The value will be treated as a multi word token and the company name must
+     * contain a case insensitive match of the value. Using this function may
+     * increase latency.
+     * Sample Value: `MULTI_WORD_TOKEN_MATCH(google)`
      * If a value isn't specified, jobs within the search results are
      * associated with any company.
      * If multiple values are specified, jobs within the search results may be
@@ -3672,12 +3708,18 @@ public int getCompanyDisplayNamesCount() {
      * 
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
-     * exactly (case sensitive).
-     * Alternatively, if the value being searched for is wrapped in
-     * `SUBSTRING_MATCH([value])`, the company name must contain a case
-     * insensitive substring match of the value. Using this function may increase
-     * latency.
-     * Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]`
+     * exactly.
+     * Alternatively, the value being searched for can be wrapped in different
+     * match operators.
+     * `SUBSTRING_MATCH([value])`
+     * The company name must contain a case insensitive substring match of the
+     * value. Using this function may increase latency.
+     * Sample Value: `SUBSTRING_MATCH(google)`
+     * `MULTI_WORD_TOKEN_MATCH([value])`
+     * The value will be treated as a multi word token and the company name must
+     * contain a case insensitive match of the value. Using this function may
+     * increase latency.
+     * Sample Value: `MULTI_WORD_TOKEN_MATCH(google)`
      * If a value isn't specified, jobs within the search results are
      * associated with any company.
      * If multiple values are specified, jobs within the search results may be
@@ -3699,12 +3741,18 @@ public java.lang.String getCompanyDisplayNames(int index) {
      * 
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
-     * exactly (case sensitive).
-     * Alternatively, if the value being searched for is wrapped in
-     * `SUBSTRING_MATCH([value])`, the company name must contain a case
-     * insensitive substring match of the value. Using this function may increase
-     * latency.
-     * Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]`
+     * exactly.
+     * Alternatively, the value being searched for can be wrapped in different
+     * match operators.
+     * `SUBSTRING_MATCH([value])`
+     * The company name must contain a case insensitive substring match of the
+     * value. Using this function may increase latency.
+     * Sample Value: `SUBSTRING_MATCH(google)`
+     * `MULTI_WORD_TOKEN_MATCH([value])`
+     * The value will be treated as a multi word token and the company name must
+     * contain a case insensitive match of the value. Using this function may
+     * increase latency.
+     * Sample Value: `MULTI_WORD_TOKEN_MATCH(google)`
      * If a value isn't specified, jobs within the search results are
      * associated with any company.
      * If multiple values are specified, jobs within the search results may be
@@ -3726,12 +3774,18 @@ public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) {
      * 
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
-     * exactly (case sensitive).
-     * Alternatively, if the value being searched for is wrapped in
-     * `SUBSTRING_MATCH([value])`, the company name must contain a case
-     * insensitive substring match of the value. Using this function may increase
-     * latency.
-     * Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]`
+     * exactly.
+     * Alternatively, the value being searched for can be wrapped in different
+     * match operators.
+     * `SUBSTRING_MATCH([value])`
+     * The company name must contain a case insensitive substring match of the
+     * value. Using this function may increase latency.
+     * Sample Value: `SUBSTRING_MATCH(google)`
+     * `MULTI_WORD_TOKEN_MATCH([value])`
+     * The value will be treated as a multi word token and the company name must
+     * contain a case insensitive match of the value. Using this function may
+     * increase latency.
+     * Sample Value: `MULTI_WORD_TOKEN_MATCH(google)`
      * If a value isn't specified, jobs within the search results are
      * associated with any company.
      * If multiple values are specified, jobs within the search results may be
@@ -3760,12 +3814,18 @@ public Builder setCompanyDisplayNames(int index, java.lang.String value) {
      * 
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
-     * exactly (case sensitive).
-     * Alternatively, if the value being searched for is wrapped in
-     * `SUBSTRING_MATCH([value])`, the company name must contain a case
-     * insensitive substring match of the value. Using this function may increase
-     * latency.
-     * Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]`
+     * exactly.
+     * Alternatively, the value being searched for can be wrapped in different
+     * match operators.
+     * `SUBSTRING_MATCH([value])`
+     * The company name must contain a case insensitive substring match of the
+     * value. Using this function may increase latency.
+     * Sample Value: `SUBSTRING_MATCH(google)`
+     * `MULTI_WORD_TOKEN_MATCH([value])`
+     * The value will be treated as a multi word token and the company name must
+     * contain a case insensitive match of the value. Using this function may
+     * increase latency.
+     * Sample Value: `MULTI_WORD_TOKEN_MATCH(google)`
      * If a value isn't specified, jobs within the search results are
      * associated with any company.
      * If multiple values are specified, jobs within the search results may be
@@ -3793,12 +3853,18 @@ public Builder addCompanyDisplayNames(java.lang.String value) {
      * 
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
-     * exactly (case sensitive).
-     * Alternatively, if the value being searched for is wrapped in
-     * `SUBSTRING_MATCH([value])`, the company name must contain a case
-     * insensitive substring match of the value. Using this function may increase
-     * latency.
-     * Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]`
+     * exactly.
+     * Alternatively, the value being searched for can be wrapped in different
+     * match operators.
+     * `SUBSTRING_MATCH([value])`
+     * The company name must contain a case insensitive substring match of the
+     * value. Using this function may increase latency.
+     * Sample Value: `SUBSTRING_MATCH(google)`
+     * `MULTI_WORD_TOKEN_MATCH([value])`
+     * The value will be treated as a multi word token and the company name must
+     * contain a case insensitive match of the value. Using this function may
+     * increase latency.
+     * Sample Value: `MULTI_WORD_TOKEN_MATCH(google)`
      * If a value isn't specified, jobs within the search results are
      * associated with any company.
      * If multiple values are specified, jobs within the search results may be
@@ -3823,12 +3889,18 @@ public Builder addAllCompanyDisplayNames(java.lang.Iterable va
      * 
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
-     * exactly (case sensitive).
-     * Alternatively, if the value being searched for is wrapped in
-     * `SUBSTRING_MATCH([value])`, the company name must contain a case
-     * insensitive substring match of the value. Using this function may increase
-     * latency.
-     * Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]`
+     * exactly.
+     * Alternatively, the value being searched for can be wrapped in different
+     * match operators.
+     * `SUBSTRING_MATCH([value])`
+     * The company name must contain a case insensitive substring match of the
+     * value. Using this function may increase latency.
+     * Sample Value: `SUBSTRING_MATCH(google)`
+     * `MULTI_WORD_TOKEN_MATCH([value])`
+     * The value will be treated as a multi word token and the company name must
+     * contain a case insensitive match of the value. Using this function may
+     * increase latency.
+     * Sample Value: `MULTI_WORD_TOKEN_MATCH(google)`
      * If a value isn't specified, jobs within the search results are
      * associated with any company.
      * If multiple values are specified, jobs within the search results may be
@@ -3852,12 +3924,18 @@ public Builder clearCompanyDisplayNames() {
      * 
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
-     * exactly (case sensitive).
-     * Alternatively, if the value being searched for is wrapped in
-     * `SUBSTRING_MATCH([value])`, the company name must contain a case
-     * insensitive substring match of the value. Using this function may increase
-     * latency.
-     * Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]`
+     * exactly.
+     * Alternatively, the value being searched for can be wrapped in different
+     * match operators.
+     * `SUBSTRING_MATCH([value])`
+     * The company name must contain a case insensitive substring match of the
+     * value. Using this function may increase latency.
+     * Sample Value: `SUBSTRING_MATCH(google)`
+     * `MULTI_WORD_TOKEN_MATCH([value])`
+     * The value will be treated as a multi word token and the company name must
+     * contain a case insensitive match of the value. Using this function may
+     * increase latency.
+     * Sample Value: `MULTI_WORD_TOKEN_MATCH(google)`
      * If a value isn't specified, jobs within the search results are
      * associated with any company.
      * If multiple values are specified, jobs within the search results may be
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java
index 59b8031637fa..494d53b6ee06 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java
@@ -400,12 +400,18 @@ public interface JobQueryOrBuilder
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
-   * exactly (case sensitive).
-   * Alternatively, if the value being searched for is wrapped in
-   * `SUBSTRING_MATCH([value])`, the company name must contain a case
-   * insensitive substring match of the value. Using this function may increase
-   * latency.
-   * Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]`
+   * exactly.
+   * Alternatively, the value being searched for can be wrapped in different
+   * match operators.
+   * `SUBSTRING_MATCH([value])`
+   * The company name must contain a case insensitive substring match of the
+   * value. Using this function may increase latency.
+   * Sample Value: `SUBSTRING_MATCH(google)`
+   * `MULTI_WORD_TOKEN_MATCH([value])`
+   * The value will be treated as a multi word token and the company name must
+   * contain a case insensitive match of the value. Using this function may
+   * increase latency.
+   * Sample Value: `MULTI_WORD_TOKEN_MATCH(google)`
    * If a value isn't specified, jobs within the search results are
    * associated with any company.
    * If multiple values are specified, jobs within the search results may be
@@ -424,12 +430,18 @@ public interface JobQueryOrBuilder
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
-   * exactly (case sensitive).
-   * Alternatively, if the value being searched for is wrapped in
-   * `SUBSTRING_MATCH([value])`, the company name must contain a case
-   * insensitive substring match of the value. Using this function may increase
-   * latency.
-   * Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]`
+   * exactly.
+   * Alternatively, the value being searched for can be wrapped in different
+   * match operators.
+   * `SUBSTRING_MATCH([value])`
+   * The company name must contain a case insensitive substring match of the
+   * value. Using this function may increase latency.
+   * Sample Value: `SUBSTRING_MATCH(google)`
+   * `MULTI_WORD_TOKEN_MATCH([value])`
+   * The value will be treated as a multi word token and the company name must
+   * contain a case insensitive match of the value. Using this function may
+   * increase latency.
+   * Sample Value: `MULTI_WORD_TOKEN_MATCH(google)`
    * If a value isn't specified, jobs within the search results are
    * associated with any company.
    * If multiple values are specified, jobs within the search results may be
@@ -448,12 +460,18 @@ public interface JobQueryOrBuilder
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
-   * exactly (case sensitive).
-   * Alternatively, if the value being searched for is wrapped in
-   * `SUBSTRING_MATCH([value])`, the company name must contain a case
-   * insensitive substring match of the value. Using this function may increase
-   * latency.
-   * Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]`
+   * exactly.
+   * Alternatively, the value being searched for can be wrapped in different
+   * match operators.
+   * `SUBSTRING_MATCH([value])`
+   * The company name must contain a case insensitive substring match of the
+   * value. Using this function may increase latency.
+   * Sample Value: `SUBSTRING_MATCH(google)`
+   * `MULTI_WORD_TOKEN_MATCH([value])`
+   * The value will be treated as a multi word token and the company name must
+   * contain a case insensitive match of the value. Using this function may
+   * increase latency.
+   * Sample Value: `MULTI_WORD_TOKEN_MATCH(google)`
    * If a value isn't specified, jobs within the search results are
    * associated with any company.
    * If multiple values are specified, jobs within the search results may be
@@ -473,12 +491,18 @@ public interface JobQueryOrBuilder
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
-   * exactly (case sensitive).
-   * Alternatively, if the value being searched for is wrapped in
-   * `SUBSTRING_MATCH([value])`, the company name must contain a case
-   * insensitive substring match of the value. Using this function may increase
-   * latency.
-   * Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]`
+   * exactly.
+   * Alternatively, the value being searched for can be wrapped in different
+   * match operators.
+   * `SUBSTRING_MATCH([value])`
+   * The company name must contain a case insensitive substring match of the
+   * value. Using this function may increase latency.
+   * Sample Value: `SUBSTRING_MATCH(google)`
+   * `MULTI_WORD_TOKEN_MATCH([value])`
+   * The value will be treated as a multi word token and the company name must
+   * contain a case insensitive match of the value. Using this function may
+   * increase latency.
+   * Sample Value: `MULTI_WORD_TOKEN_MATCH(google)`
    * If a value isn't specified, jobs within the search results are
    * associated with any company.
    * If multiple values are specified, jobs within the search results may be
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java
index 868f5c00525c..b37a136ad0c1 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java
@@ -172,11 +172,13 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage
      *
      *
      * 
-     * Exclude telecommute jobs.
+     * Deprecated: Ignore telecommute status of jobs. Use
+     * TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
      * 
* - * TELECOMMUTE_EXCLUDED = 1; + * TELECOMMUTE_EXCLUDED = 1 [deprecated = true]; */ + @java.lang.Deprecated TELECOMMUTE_EXCLUDED(1), /** * @@ -188,6 +190,16 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage * TELECOMMUTE_ALLOWED = 2; */ TELECOMMUTE_ALLOWED(2), + /** + * + * + *
+     * Exclude telecommute jobs.
+     * 
+ * + * TELECOMMUTE_JOBS_EXCLUDED = 3; + */ + TELECOMMUTE_JOBS_EXCLUDED(3), UNRECOGNIZED(-1), ; @@ -205,12 +217,13 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage * * *
-     * Exclude telecommute jobs.
+     * Deprecated: Ignore telecommute status of jobs. Use
+     * TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
      * 
* - * TELECOMMUTE_EXCLUDED = 1; + * TELECOMMUTE_EXCLUDED = 1 [deprecated = true]; */ - public static final int TELECOMMUTE_EXCLUDED_VALUE = 1; + @java.lang.Deprecated public static final int TELECOMMUTE_EXCLUDED_VALUE = 1; /** * * @@ -221,6 +234,16 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage * TELECOMMUTE_ALLOWED = 2; */ public static final int TELECOMMUTE_ALLOWED_VALUE = 2; + /** + * + * + *
+     * Exclude telecommute jobs.
+     * 
+ * + * TELECOMMUTE_JOBS_EXCLUDED = 3; + */ + public static final int TELECOMMUTE_JOBS_EXCLUDED_VALUE = 3; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -252,6 +275,8 @@ public static TelecommutePreference forNumber(int value) { return TELECOMMUTE_EXCLUDED; case 2: return TELECOMMUTE_ALLOWED; + case 3: + return TELECOMMUTE_JOBS_EXCLUDED; default: return null; } @@ -505,7 +530,7 @@ public double getDistanceInMiles() { *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
-   * by the service as a special location.
+   * by the service as a special location).
    * [Job.posting_region][google.cloud.talent.v4.Job.posting_region] indicates if a job permits telecommuting.
    * If this field is set to [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED],
    * telecommuting jobs are searched, and [address][google.cloud.talent.v4.LocationFilter.address] and [lat_lng][google.cloud.talent.v4.LocationFilter.lat_lng] are
@@ -538,7 +563,7 @@ public int getTelecommutePreferenceValue() {
    * 
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
-   * by the service as a special location.
+   * by the service as a special location).
    * [Job.posting_region][google.cloud.talent.v4.Job.posting_region] indicates if a job permits telecommuting.
    * If this field is set to [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED],
    * telecommuting jobs are searched, and [address][google.cloud.talent.v4.LocationFilter.address] and [lat_lng][google.cloud.talent.v4.LocationFilter.lat_lng] are
@@ -1487,7 +1512,7 @@ public Builder clearDistanceInMiles() {
      * 
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
-     * by the service as a special location.
+     * by the service as a special location).
      * [Job.posting_region][google.cloud.talent.v4.Job.posting_region] indicates if a job permits telecommuting.
      * If this field is set to [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED],
      * telecommuting jobs are searched, and [address][google.cloud.talent.v4.LocationFilter.address] and [lat_lng][google.cloud.talent.v4.LocationFilter.lat_lng] are
@@ -1521,7 +1546,7 @@ public int getTelecommutePreferenceValue() {
      * 
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
-     * by the service as a special location.
+     * by the service as a special location).
      * [Job.posting_region][google.cloud.talent.v4.Job.posting_region] indicates if a job permits telecommuting.
      * If this field is set to [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED],
      * telecommuting jobs are searched, and [address][google.cloud.talent.v4.LocationFilter.address] and [lat_lng][google.cloud.talent.v4.LocationFilter.lat_lng] are
@@ -1558,7 +1583,7 @@ public Builder setTelecommutePreferenceValue(int value) {
      * 
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
-     * by the service as a special location.
+     * by the service as a special location).
      * [Job.posting_region][google.cloud.talent.v4.Job.posting_region] indicates if a job permits telecommuting.
      * If this field is set to [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED],
      * telecommuting jobs are searched, and [address][google.cloud.talent.v4.LocationFilter.address] and [lat_lng][google.cloud.talent.v4.LocationFilter.lat_lng] are
@@ -1599,7 +1624,7 @@ public Builder setTelecommutePreferenceValue(int value) {
      * 
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
-     * by the service as a special location.
+     * by the service as a special location).
      * [Job.posting_region][google.cloud.talent.v4.Job.posting_region] indicates if a job permits telecommuting.
      * If this field is set to [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED],
      * telecommuting jobs are searched, and [address][google.cloud.talent.v4.LocationFilter.address] and [lat_lng][google.cloud.talent.v4.LocationFilter.lat_lng] are
@@ -1640,7 +1665,7 @@ public Builder setTelecommutePreference(
      * 
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
-     * by the service as a special location.
+     * by the service as a special location).
      * [Job.posting_region][google.cloud.talent.v4.Job.posting_region] indicates if a job permits telecommuting.
      * If this field is set to [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED],
      * telecommuting jobs are searched, and [address][google.cloud.talent.v4.LocationFilter.address] and [lat_lng][google.cloud.talent.v4.LocationFilter.lat_lng] are
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java
index f966b35518b1..4d0548ba5596 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java
@@ -154,7 +154,7 @@ public interface LocationFilterOrBuilder
    * 
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
-   * by the service as a special location.
+   * by the service as a special location).
    * [Job.posting_region][google.cloud.talent.v4.Job.posting_region] indicates if a job permits telecommuting.
    * If this field is set to [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED],
    * telecommuting jobs are searched, and [address][google.cloud.talent.v4.LocationFilter.address] and [lat_lng][google.cloud.talent.v4.LocationFilter.lat_lng] are
@@ -184,7 +184,7 @@ public interface LocationFilterOrBuilder
    * 
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
-   * by the service as a special location.
+   * by the service as a special location).
    * [Job.posting_region][google.cloud.talent.v4.Job.posting_region] indicates if a job permits telecommuting.
    * If this field is set to [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED],
    * telecommuting jobs are searched, and [address][google.cloud.talent.v4.LocationFilter.address] and [lat_lng][google.cloud.talent.v4.LocationFilter.lat_lng] are
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto
index c573de0c8ca1..8018dc5516be 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto
@@ -96,14 +96,22 @@ message JobQuery {
 
   // This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
   // of the jobs to search against. The company name must match the value
-  // exactly (case sensitive).
+  // exactly.
   //
-  // Alternatively, if the value being searched for is wrapped in
-  // `SUBSTRING_MATCH([value])`, the company name must contain a case
-  // insensitive substring match of the value. Using this function may increase
-  // latency.
+  // Alternatively, the value being searched for can be wrapped in different
+  // match operators.
+  // `SUBSTRING_MATCH([value])`
+  // The company name must contain a case insensitive substring match of the
+  // value. Using this function may increase latency.
   //
-  // Sample Values: `["Google LLC", "SUBSTRING_MATCH(google)"]`
+  // Sample Value: `SUBSTRING_MATCH(google)`
+  //
+  // `MULTI_WORD_TOKEN_MATCH([value])`
+  // The value will be treated as a multi word token and the company name must
+  // contain a case insensitive match of the value. Using this function may
+  // increase latency.
+  //
+  // Sample Value: `MULTI_WORD_TOKEN_MATCH(google)`
   //
   // If a value isn't specified, jobs within the search results are
   // associated with any company.
@@ -193,11 +201,15 @@ message LocationFilter {
     // Default value if the telecommute preference isn't specified.
     TELECOMMUTE_PREFERENCE_UNSPECIFIED = 0;
 
-    // Exclude telecommute jobs.
-    TELECOMMUTE_EXCLUDED = 1;
+    // Deprecated: Ignore telecommute status of jobs. Use
+    // TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
+    TELECOMMUTE_EXCLUDED = 1 [deprecated = true];
 
     // Allow telecommute jobs.
     TELECOMMUTE_ALLOWED = 2;
+
+    // Exclude telecommute jobs.
+    TELECOMMUTE_JOBS_EXCLUDED = 3;
   }
 
   // The address name, such as "Mountain View" or "Bay Area".
@@ -231,7 +243,7 @@ message LocationFilter {
 
   // Allows the client to return jobs without a
   // set location, specifically, telecommuting jobs (telecommuting is considered
-  // by the service as a special location.
+  // by the service as a special location).
   // [Job.posting_region][google.cloud.talent.v4.Job.posting_region] indicates if a job permits telecommuting.
   // If this field is set to [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED],
   // telecommuting jobs are searched, and [address][google.cloud.talent.v4.LocationFilter.address] and [lat_lng][google.cloud.talent.v4.LocationFilter.lat_lng] are