Package com.google.cloud.talent.v4.stub
Class GrpcJobServiceStub
java.lang.Object
com.google.cloud.talent.v4.stub.JobServiceStub
com.google.cloud.talent.v4.stub.GrpcJobServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
gRPC stub implementation for the JobService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcJobServiceStub, using the given settings.protectedGrpcJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcJobServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcJobServiceStubcreate(ClientContext clientContext) static final GrpcJobServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcJobServiceStubcreate(JobServiceStubSettings settings) UnaryCallable<DeleteJobRequest,com.google.protobuf.Empty> booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.talent.v4.stub.JobServiceStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcJobServiceStub
protected GrpcJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcJobServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
GrpcJobServiceStub
protected GrpcJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcJobServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Details
-
create
- Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcJobServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classJobServiceStub
-
createJobCallable
- Overrides:
createJobCallablein classJobServiceStub
-
batchCreateJobsCallable
- Overrides:
batchCreateJobsCallablein classJobServiceStub
-
batchCreateJobsOperationCallable
public OperationCallable<BatchCreateJobsRequest,BatchCreateJobsResponse, batchCreateJobsOperationCallable()BatchOperationMetadata> - Overrides:
batchCreateJobsOperationCallablein classJobServiceStub
-
getJobCallable
- Overrides:
getJobCallablein classJobServiceStub
-
updateJobCallable
- Overrides:
updateJobCallablein classJobServiceStub
-
batchUpdateJobsCallable
- Overrides:
batchUpdateJobsCallablein classJobServiceStub
-
batchUpdateJobsOperationCallable
public OperationCallable<BatchUpdateJobsRequest,BatchUpdateJobsResponse, batchUpdateJobsOperationCallable()BatchOperationMetadata> - Overrides:
batchUpdateJobsOperationCallablein classJobServiceStub
-
deleteJobCallable
- Overrides:
deleteJobCallablein classJobServiceStub
-
batchDeleteJobsCallable
- Overrides:
batchDeleteJobsCallablein classJobServiceStub
-
batchDeleteJobsOperationCallable
public OperationCallable<BatchDeleteJobsRequest,BatchDeleteJobsResponse, batchDeleteJobsOperationCallable()BatchOperationMetadata> - Overrides:
batchDeleteJobsOperationCallablein classJobServiceStub
-
listJobsCallable
- Overrides:
listJobsCallablein classJobServiceStub
-
listJobsPagedCallable
public UnaryCallable<ListJobsRequest,JobServiceClient.ListJobsPagedResponse> listJobsPagedCallable()- Overrides:
listJobsPagedCallablein classJobServiceStub
-
searchJobsCallable
- Overrides:
searchJobsCallablein classJobServiceStub
-
searchJobsForAlertCallable
- Overrides:
searchJobsForAlertCallablein classJobServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classJobServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-