Interface JobServiceGrpc.AsyncService (2.38.0)

public static interface JobServiceGrpc.AsyncService

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

Methods

batchCreateJobs(BatchCreateJobsRequest request, StreamObserver<Operation> responseObserver)

public default void batchCreateJobs(BatchCreateJobsRequest request, StreamObserver<Operation> responseObserver)

Begins executing a batch create jobs operation.

Parameters
NameDescription
requestBatchCreateJobsRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

batchDeleteJobs(BatchDeleteJobsRequest request, StreamObserver<Empty> responseObserver)

public default void batchDeleteJobs(BatchDeleteJobsRequest request, StreamObserver<Empty> responseObserver)

Deletes a list of Jobs by filter.

Parameters
NameDescription
requestBatchDeleteJobsRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

batchUpdateJobs(BatchUpdateJobsRequest request, StreamObserver<Operation> responseObserver)

public default void batchUpdateJobs(BatchUpdateJobsRequest request, StreamObserver<Operation> responseObserver)

Begins executing a batch update jobs operation.

Parameters
NameDescription
requestBatchUpdateJobsRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createJob(CreateJobRequest request, StreamObserver<Job> responseObserver)

public default void createJob(CreateJobRequest request, StreamObserver<Job> responseObserver)

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

Parameters
NameDescription
requestCreateJobRequest
responseObserverio.grpc.stub.StreamObserver<Job>

deleteJob(DeleteJobRequest request, StreamObserver<Empty> responseObserver)

public default void deleteJob(DeleteJobRequest request, StreamObserver<Empty> responseObserver)

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

Parameters
NameDescription
requestDeleteJobRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getJob(GetJobRequest request, StreamObserver<Job> responseObserver)

public default void getJob(GetJobRequest request, StreamObserver<Job> responseObserver)

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

Parameters
NameDescription
requestGetJobRequest
responseObserverio.grpc.stub.StreamObserver<Job>

listJobs(ListJobsRequest request, StreamObserver<ListJobsResponse> responseObserver)

public default void listJobs(ListJobsRequest request, StreamObserver<ListJobsResponse> responseObserver)

Lists jobs by filter.

Parameters
NameDescription
requestListJobsRequest
responseObserverio.grpc.stub.StreamObserver<ListJobsResponse>

searchJobs(SearchJobsRequest request, StreamObserver<SearchJobsResponse> responseObserver)

public default void searchJobs(SearchJobsRequest request, StreamObserver<SearchJobsResponse> responseObserver)

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.

Parameters
NameDescription
requestSearchJobsRequest
responseObserverio.grpc.stub.StreamObserver<SearchJobsResponse>

searchJobsForAlert(SearchJobsRequest request, StreamObserver<SearchJobsResponse> responseObserver)

public default void searchJobsForAlert(SearchJobsRequest request, StreamObserver<SearchJobsResponse> responseObserver)

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), and has different algorithmic adjustments that are targeted to 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.

Parameters
NameDescription
requestSearchJobsRequest
responseObserverio.grpc.stub.StreamObserver<SearchJobsResponse>

updateJob(UpdateJobRequest request, StreamObserver<Job> responseObserver)

public default void updateJob(UpdateJobRequest request, StreamObserver<Job> responseObserver)

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

Parameters
NameDescription
requestUpdateJobRequest
responseObserverio.grpc.stub.StreamObserver<Job>