Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

feat: Add a new operator on companyDisplayNames filter to further support fuzzy match by treating input value as a multi word token #788

Merged
merged 4 commits into from
May 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-talent</artifactId>
<version>2.2.10</version>
<version>2.3.0</version>
</dependency>
```

If you are using Gradle without BOM, add this to your dependencies

```Groovy
implementation 'com.google.cloud:google-cloud-talent:2.2.10'
implementation 'com.google.cloud:google-cloud-talent:2.3.0'
```

If you are using SBT, add this to your dependencies

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-talent" % "2.2.10"
libraryDependencies += "com.google.cloud" % "google-cloud-talent" % "2.3.0"
```

## Authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
Expand All @@ -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;
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
Expand All @@ -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;
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
Expand All @@ -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;
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
Expand All @@ -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;
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
Expand All @@ -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;
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ public UnaryCallSettings<DeleteCompanyRequest, Empty> 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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ public UnaryCallSettings<CompleteQueryRequest, CompleteQueryResponse> 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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ public UnaryCallSettings<CreateClientEventRequest, ClientEvent> 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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ public UnaryCallSettings<SearchJobsRequest, SearchJobsResponse> 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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ public UnaryCallSettings<DeleteTenantRequest, Empty> 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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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;
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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;
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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;
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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;
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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;
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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;
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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;
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ public UnaryCallSettings<DeleteApplicationRequest, Empty> 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()
Expand Down
Loading