Package com.google.cloud.talent.v4beta1
Class JobServiceGrpc.JobServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<JobServiceGrpc.JobServiceBlockingV2Stub>
com.google.cloud.talent.v4beta1.JobServiceGrpc.JobServiceBlockingV2Stub
- Enclosing class:
- JobServiceGrpc
public static final class JobServiceGrpc.JobServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<JobServiceGrpc.JobServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service JobService.
A service handles job management, including job CRUD, enumeration and search.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbatchCreateJobs(BatchCreateJobsRequest request) Begins executing a batch create jobs operation.com.google.protobuf.EmptybatchDeleteJobs(BatchDeleteJobsRequest request) Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.batchUpdateJobs(BatchUpdateJobsRequest request) Begins executing a batch update jobs operation.protected JobServiceGrpc.JobServiceBlockingV2Stubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createJob(CreateJobRequest request) Creates a new job.com.google.protobuf.EmptydeleteJob(DeleteJobRequest request) Deletes the specified job.getJob(GetJobRequest request) Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days.listJobs(ListJobsRequest request) Lists jobs by filter.searchJobs(SearchJobsRequest request) Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].searchJobsForAlert(SearchJobsRequest request) Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].updateJob(UpdateJobRequest request) Updates specified job.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected JobServiceGrpc.JobServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<JobServiceGrpc.JobServiceBlockingV2Stub>
-
createJob
Creates a new job. Typically, the job becomes searchable within 10 seconds, but it may take up to 5 minutes.
- Throws:
io.grpc.StatusException
-
batchCreateJobs
Begins executing a batch create jobs operation.
- Throws:
io.grpc.StatusException
-
getJob
Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days.
- Throws:
io.grpc.StatusException
-
updateJob
Updates specified job. Typically, updated contents become visible in search results within 10 seconds, but it may take up to 5 minutes.
- Throws:
io.grpc.StatusException
-
batchUpdateJobs
Begins executing a batch update jobs operation.
- Throws:
io.grpc.StatusException
-
deleteJob
Deletes the specified job. Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes.
- Throws:
io.grpc.StatusException
-
batchDeleteJobs
public com.google.protobuf.Empty batchDeleteJobs(BatchDeleteJobsRequest request) throws io.grpc.StatusException Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
- Throws:
io.grpc.StatusException
-
listJobs
Lists jobs by filter.
- Throws:
io.grpc.StatusException
-
searchJobs
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.
- Throws:
io.grpc.StatusException
-
searchJobsForAlert
public SearchJobsResponse searchJobsForAlert(SearchJobsRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-