Package com.google.cloud.talent.v4beta1
Class JobServiceGrpc.JobServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<JobServiceGrpc.JobServiceStub>
-
- com.google.cloud.talent.v4beta1.JobServiceGrpc.JobServiceStub
-
- Enclosing class:
- JobServiceGrpc
public static final class JobServiceGrpc.JobServiceStub extends io.grpc.stub.AbstractAsyncStub<JobServiceGrpc.JobServiceStub>
A stub to allow clients to do asynchronous rpc calls to service JobService.A service handles job management, including job CRUD, enumeration and search.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
batchCreateJobs(BatchCreateJobsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Begins executing a batch create jobs operation.void
batchDeleteJobs(BatchDeleteJobsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.void
batchUpdateJobs(BatchUpdateJobsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Begins executing a batch update jobs operation.protected JobServiceGrpc.JobServiceStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
createJob(CreateJobRequest request, io.grpc.stub.StreamObserver<Job> responseObserver)
Creates a new job.void
deleteJob(DeleteJobRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified job.void
getJob(GetJobRequest request, io.grpc.stub.StreamObserver<Job> responseObserver)
Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days.void
listJobs(ListJobsRequest request, io.grpc.stub.StreamObserver<ListJobsResponse> responseObserver)
Lists jobs by filter.void
searchJobs(SearchJobsRequest request, io.grpc.stub.StreamObserver<SearchJobsResponse> responseObserver)
Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].void
searchJobsForAlert(SearchJobsRequest request, io.grpc.stub.StreamObserver<SearchJobsResponse> responseObserver)
Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].void
updateJob(UpdateJobRequest request, io.grpc.stub.StreamObserver<Job> responseObserver)
Updates specified job.
-
-
-
Method Detail
-
build
protected JobServiceGrpc.JobServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<JobServiceGrpc.JobServiceStub>
-
createJob
public void createJob(CreateJobRequest request, io.grpc.stub.StreamObserver<Job> responseObserver)
Creates a new job. Typically, the job becomes searchable within 10 seconds, but it may take up to 5 minutes.
-
batchCreateJobs
public void batchCreateJobs(BatchCreateJobsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Begins executing a batch create jobs operation.
-
getJob
public void getJob(GetJobRequest request, io.grpc.stub.StreamObserver<Job> responseObserver)
Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days.
-
updateJob
public void updateJob(UpdateJobRequest request, io.grpc.stub.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.
-
batchUpdateJobs
public void batchUpdateJobs(BatchUpdateJobsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Begins executing a batch update jobs operation.
-
deleteJob
public void deleteJob(DeleteJobRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified job. Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes.
-
batchDeleteJobs
public void batchDeleteJobs(BatchDeleteJobsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
-
listJobs
public void listJobs(ListJobsRequest request, io.grpc.stub.StreamObserver<ListJobsResponse> responseObserver)
Lists jobs by filter.
-
searchJobs
public void searchJobs(SearchJobsRequest request, io.grpc.stub.StreamObserver<SearchJobsResponse> responseObserver)
Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest]. This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs present in the database, and only returns jobs that the caller has permission to search against.
-
searchJobsForAlert
public void searchJobsForAlert(SearchJobsRequest request, io.grpc.stub.StreamObserver<SearchJobsResponse> responseObserver)
Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.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][google.cloud.talent.v4beta1.Job.visibility] of jobs present in the database, and only returns jobs the caller has permission to search against.
-
-