Class JobServiceGrpc.JobServiceFutureStub (2.19.0)

public static final class JobServiceGrpc.JobServiceFutureStub extends AbstractFutureStub<JobServiceGrpc.JobServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service JobService.

A service handles job management, including job CRUD, enumeration and search.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > JobServiceGrpc.JobServiceFutureStub

Methods

batchCreateJobs(BatchCreateJobsRequest request)

public ListenableFuture<Operation> batchCreateJobs(BatchCreateJobsRequest request)

Begins executing a batch create jobs operation.

Parameter
NameDescription
requestBatchCreateJobsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

batchDeleteJobs(BatchDeleteJobsRequest request)

public ListenableFuture<Operation> batchDeleteJobs(BatchDeleteJobsRequest request)

Begins executing a batch delete jobs operation.

Parameter
NameDescription
requestBatchDeleteJobsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

batchUpdateJobs(BatchUpdateJobsRequest request)

public ListenableFuture<Operation> batchUpdateJobs(BatchUpdateJobsRequest request)

Begins executing a batch update jobs operation.

Parameter
NameDescription
requestBatchUpdateJobsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

build(Channel channel, CallOptions callOptions)

protected JobServiceGrpc.JobServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
JobServiceGrpc.JobServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createJob(CreateJobRequest request)

public ListenableFuture<Job> createJob(CreateJobRequest request)

Creates a new job. Typically, the job becomes searchable within 10 seconds, but it may take up to 5 minutes.

Parameter
NameDescription
requestCreateJobRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Job>

deleteJob(DeleteJobRequest request)

public ListenableFuture<Empty> deleteJob(DeleteJobRequest request)

Deletes the specified job. Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes.

Parameter
NameDescription
requestDeleteJobRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

getJob(GetJobRequest request)

public ListenableFuture<Job> getJob(GetJobRequest request)

Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days.

Parameter
NameDescription
requestGetJobRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Job>

listJobs(ListJobsRequest request)

public ListenableFuture<ListJobsResponse> listJobs(ListJobsRequest request)

Lists jobs by filter.

Parameter
NameDescription
requestListJobsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListJobsResponse>

searchJobs(SearchJobsRequest request)

public ListenableFuture<SearchJobsResponse> searchJobs(SearchJobsRequest request)

Searches for jobs using the provided SearchJobsRequest. This call constrains the visibility of jobs present in the database, and only returns jobs that the caller has permission to search against.

Parameter
NameDescription
requestSearchJobsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<SearchJobsResponse>

searchJobsForAlert(SearchJobsRequest request)

public ListenableFuture<SearchJobsResponse> searchJobsForAlert(SearchJobsRequest request)

Searches for jobs using the provided SearchJobsRequest. This API call is intended for the use case of targeting passive job seekers (for example, job seekers who have signed up to receive email alerts about potential job opportunities), it has different algorithmic adjustments that are designed to specifically target passive job seekers. This call constrains the visibility of jobs present in the database, and only returns jobs the caller has permission to search against.

Parameter
NameDescription
requestSearchJobsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<SearchJobsResponse>

updateJob(UpdateJobRequest request)

public ListenableFuture<Job> updateJob(UpdateJobRequest request)

Updates specified job. Typically, updated contents become visible in search results within 10 seconds, but it may take up to 5 minutes.

Parameter
NameDescription
requestUpdateJobRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Job>