@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcJobServiceStub extends JobServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcJobServiceStub(JobServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcJobServiceStub, using the given settings.
|
protected |
GrpcJobServiceStub(JobServiceStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcJobServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
UnaryCallable<com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest,Empty> |
batchDeleteJobsCallable() |
void |
close() |
static GrpcJobServiceStub |
create(ClientContext clientContext) |
static GrpcJobServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcJobServiceStub |
create(JobServiceStubSettings settings) |
UnaryCallable<com.google.cloud.talent.v4beta1.CreateJobRequest,com.google.cloud.talent.v4beta1.Job> |
createJobCallable() |
UnaryCallable<com.google.cloud.talent.v4beta1.DeleteJobRequest,Empty> |
deleteJobCallable() |
UnaryCallable<com.google.cloud.talent.v4beta1.GetJobRequest,com.google.cloud.talent.v4beta1.Job> |
getJobCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.cloud.talent.v4beta1.ListJobsRequest,com.google.cloud.talent.v4beta1.ListJobsResponse> |
listJobsCallable() |
UnaryCallable<com.google.cloud.talent.v4beta1.ListJobsRequest,JobServiceClient.ListJobsPagedResponse> |
listJobsPagedCallable() |
UnaryCallable<com.google.cloud.talent.v4beta1.SearchJobsRequest,com.google.cloud.talent.v4beta1.SearchJobsResponse> |
searchJobsCallable() |
UnaryCallable<com.google.cloud.talent.v4beta1.SearchJobsRequest,com.google.cloud.talent.v4beta1.SearchJobsResponse> |
searchJobsForAlertCallable() |
UnaryCallable<com.google.cloud.talent.v4beta1.SearchJobsRequest,JobServiceClient.SearchJobsForAlertPagedResponse> |
searchJobsForAlertPagedCallable() |
UnaryCallable<com.google.cloud.talent.v4beta1.SearchJobsRequest,JobServiceClient.SearchJobsPagedResponse> |
searchJobsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.cloud.talent.v4beta1.UpdateJobRequest,com.google.cloud.talent.v4beta1.Job> |
updateJobCallable() |
protected GrpcJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcJobServiceStub create(JobServiceStubSettings settings) throws IOException
IOException
public static final GrpcJobServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcJobServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public UnaryCallable<com.google.cloud.talent.v4beta1.CreateJobRequest,com.google.cloud.talent.v4beta1.Job> createJobCallable()
createJobCallable
in class JobServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.GetJobRequest,com.google.cloud.talent.v4beta1.Job> getJobCallable()
getJobCallable
in class JobServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.UpdateJobRequest,com.google.cloud.talent.v4beta1.Job> updateJobCallable()
updateJobCallable
in class JobServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.DeleteJobRequest,Empty> deleteJobCallable()
deleteJobCallable
in class JobServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.ListJobsRequest,JobServiceClient.ListJobsPagedResponse> listJobsPagedCallable()
listJobsPagedCallable
in class JobServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.ListJobsRequest,com.google.cloud.talent.v4beta1.ListJobsResponse> listJobsCallable()
listJobsCallable
in class JobServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest,Empty> batchDeleteJobsCallable()
batchDeleteJobsCallable
in class JobServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.SearchJobsRequest,JobServiceClient.SearchJobsPagedResponse> searchJobsPagedCallable()
searchJobsPagedCallable
in class JobServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.SearchJobsRequest,com.google.cloud.talent.v4beta1.SearchJobsResponse> searchJobsCallable()
searchJobsCallable
in class JobServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.SearchJobsRequest,JobServiceClient.SearchJobsForAlertPagedResponse> searchJobsForAlertPagedCallable()
searchJobsForAlertPagedCallable
in class JobServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.SearchJobsRequest,com.google.cloud.talent.v4beta1.SearchJobsResponse> searchJobsForAlertCallable()
searchJobsForAlertCallable
in class JobServiceStub
public final void close()
close
in interface AutoCloseable
close
in class JobServiceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.