@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
IOExceptionprotected GrpcJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcJobServiceStub create(JobServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcJobServiceStub create(ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcJobServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic UnaryCallable<com.google.cloud.talent.v4beta1.CreateJobRequest,com.google.cloud.talent.v4beta1.Job> createJobCallable()
createJobCallable in class JobServiceStubpublic UnaryCallable<com.google.cloud.talent.v4beta1.GetJobRequest,com.google.cloud.talent.v4beta1.Job> getJobCallable()
getJobCallable in class JobServiceStubpublic UnaryCallable<com.google.cloud.talent.v4beta1.UpdateJobRequest,com.google.cloud.talent.v4beta1.Job> updateJobCallable()
updateJobCallable in class JobServiceStubpublic UnaryCallable<com.google.cloud.talent.v4beta1.DeleteJobRequest,Empty> deleteJobCallable()
deleteJobCallable in class JobServiceStubpublic UnaryCallable<com.google.cloud.talent.v4beta1.ListJobsRequest,JobServiceClient.ListJobsPagedResponse> listJobsPagedCallable()
listJobsPagedCallable in class JobServiceStubpublic UnaryCallable<com.google.cloud.talent.v4beta1.ListJobsRequest,com.google.cloud.talent.v4beta1.ListJobsResponse> listJobsCallable()
listJobsCallable in class JobServiceStubpublic UnaryCallable<com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest,Empty> batchDeleteJobsCallable()
batchDeleteJobsCallable in class JobServiceStubpublic UnaryCallable<com.google.cloud.talent.v4beta1.SearchJobsRequest,JobServiceClient.SearchJobsPagedResponse> searchJobsPagedCallable()
searchJobsPagedCallable in class JobServiceStubpublic UnaryCallable<com.google.cloud.talent.v4beta1.SearchJobsRequest,com.google.cloud.talent.v4beta1.SearchJobsResponse> searchJobsCallable()
searchJobsCallable in class JobServiceStubpublic UnaryCallable<com.google.cloud.talent.v4beta1.SearchJobsRequest,JobServiceClient.SearchJobsForAlertPagedResponse> searchJobsForAlertPagedCallable()
searchJobsForAlertPagedCallable in class JobServiceStubpublic UnaryCallable<com.google.cloud.talent.v4beta1.SearchJobsRequest,com.google.cloud.talent.v4beta1.SearchJobsResponse> searchJobsForAlertCallable()
searchJobsForAlertCallable in class JobServiceStubpublic final void close()
close in interface AutoCloseableclose in class JobServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.