public static final class JobServiceGrpc.JobServiceBlockingStub extends AbstractBlockingStub<JobServiceGrpc.JobServiceBlockingStub>
A stub to allow clients to do synchronous 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.AbstractBlockingStub >
JobServiceGrpc.JobServiceBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
batchCreateJobs(BatchCreateJobsRequest request)
public Operation batchCreateJobs(BatchCreateJobsRequest request)
Begins executing a batch create jobs operation.
batchDeleteJobs(BatchDeleteJobsRequest request)
public Operation batchDeleteJobs(BatchDeleteJobsRequest request)
Begins executing a batch delete jobs operation.
batchUpdateJobs(BatchUpdateJobsRequest request)
public Operation batchUpdateJobs(BatchUpdateJobsRequest request)
Begins executing a batch update jobs operation.
build(Channel channel, CallOptions callOptions)
protected JobServiceGrpc.JobServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters |
---|
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createJob(CreateJobRequest request)
public Job createJob(CreateJobRequest request)
Creates a new job.
Typically, the job becomes searchable within 10 seconds, but it may take
up to 5 minutes.
Returns |
---|
Type | Description |
Job | |
deleteJob(DeleteJobRequest request)
public Empty deleteJob(DeleteJobRequest request)
Deletes the specified job.
Typically, the job becomes unsearchable within 10 seconds, but it may take
up to 5 minutes.
Returns |
---|
Type | Description |
Empty | |
getJob(GetJobRequest request)
public Job getJob(GetJobRequest request)
Retrieves the specified job, whose status is OPEN or recently EXPIRED
within the last 90 days.
Returns |
---|
Type | Description |
Job | |
listJobs(ListJobsRequest request)
public ListJobsResponse listJobs(ListJobsRequest request)
searchJobs(SearchJobsRequest request)
public 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.
searchJobsForAlert(SearchJobsRequest request)
public 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.
updateJob(UpdateJobRequest request)
public 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.
Returns |
---|
Type | Description |
Job | |