Class JobServiceGrpc.JobServiceFutureStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<JobServiceGrpc.JobServiceFutureStub>
com.google.cloud.talent.v4beta1.JobServiceGrpc.JobServiceFutureStub
Enclosing class:
JobServiceGrpc

public static final class JobServiceGrpc.JobServiceFutureStub extends io.grpc.stub.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.
 
  • 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 Type
    Method
    Description
    com.google.common.util.concurrent.ListenableFuture<Operation>
    Begins executing a batch create jobs operation.
    com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
    Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
    com.google.common.util.concurrent.ListenableFuture<Operation>
    Begins executing a batch update jobs operation.
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    com.google.common.util.concurrent.ListenableFuture<Job>
    Creates a new job.
    com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
    Deletes the specified job.
    com.google.common.util.concurrent.ListenableFuture<Job>
    Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days.
    com.google.common.util.concurrent.ListenableFuture<ListJobsResponse>
    Lists jobs by filter.
    com.google.common.util.concurrent.ListenableFuture<SearchJobsResponse>
    Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    com.google.common.util.concurrent.ListenableFuture<SearchJobsResponse>
    Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    com.google.common.util.concurrent.ListenableFuture<Job>
    Updates specified job.

    Methods inherited from class io.grpc.stub.AbstractFutureStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected JobServiceGrpc.JobServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<JobServiceGrpc.JobServiceFutureStub>
    • createJob

      public com.google.common.util.concurrent.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.
       
    • batchCreateJobs

      public com.google.common.util.concurrent.ListenableFuture<Operation> batchCreateJobs(BatchCreateJobsRequest request)
       Begins executing a batch create jobs operation.
       
    • getJob

      public com.google.common.util.concurrent.ListenableFuture<Job> getJob(GetJobRequest request)
       Retrieves the specified job, whose status is OPEN or recently EXPIRED
       within the last 90 days.
       
    • updateJob

      public com.google.common.util.concurrent.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.
       
    • batchUpdateJobs

      public com.google.common.util.concurrent.ListenableFuture<Operation> batchUpdateJobs(BatchUpdateJobsRequest request)
       Begins executing a batch update jobs operation.
       
    • deleteJob

      public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteJob(DeleteJobRequest request)
       Deletes the specified job.
       Typically, the job becomes unsearchable within 10 seconds, but it may take
       up to 5 minutes.
       
    • batchDeleteJobs

      public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> batchDeleteJobs(BatchDeleteJobsRequest request)
       Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
       
    • listJobs

      public com.google.common.util.concurrent.ListenableFuture<ListJobsResponse> listJobs(ListJobsRequest request)
       Lists jobs by filter.
       
    • searchJobs

      public com.google.common.util.concurrent.ListenableFuture<SearchJobsResponse> searchJobs(SearchJobsRequest request)
       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 com.google.common.util.concurrent.ListenableFuture<SearchJobsResponse> searchJobsForAlert(SearchJobsRequest request)
       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.