Class HttpJsonJobServiceStub
java.lang.Object
com.google.cloud.talent.v4beta1.stub.JobServiceStub
com.google.cloud.talent.v4beta1.stub.HttpJsonJobServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class HttpJsonJobServiceStub
extends JobServiceStub
REST stub implementation for the JobService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonJobServiceStub, using the given settings.protectedHttpJsonJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonJobServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) UnaryCallable<BatchDeleteJobsRequest,com.google.protobuf.Empty> final voidclose()static final HttpJsonJobServiceStubcreate(ClientContext clientContext) static final HttpJsonJobServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonJobServiceStubcreate(JobServiceStubSettings settings) UnaryCallable<DeleteJobRequest,com.google.protobuf.Empty> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.talent.v4beta1.stub.JobServiceStub
getOperationsStub
-
Constructor Details
-
HttpJsonJobServiceStub
protected HttpJsonJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonJobServiceStub, 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
-
HttpJsonJobServiceStub
protected HttpJsonJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonJobServiceStub, 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
public static final HttpJsonJobServiceStub create(JobServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final HttpJsonJobServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classJobServiceStub
-
createJobCallable
- Overrides:
createJobCallablein classJobServiceStub
-
batchCreateJobsCallable
- Overrides:
batchCreateJobsCallablein classJobServiceStub
-
batchCreateJobsOperationCallable
public OperationCallable<BatchCreateJobsRequest,JobOperationResult, batchCreateJobsOperationCallable()BatchOperationMetadata> - Overrides:
batchCreateJobsOperationCallablein classJobServiceStub
-
getJobCallable
- Overrides:
getJobCallablein classJobServiceStub
-
updateJobCallable
- Overrides:
updateJobCallablein classJobServiceStub
-
batchUpdateJobsCallable
- Overrides:
batchUpdateJobsCallablein classJobServiceStub
-
batchUpdateJobsOperationCallable
public OperationCallable<BatchUpdateJobsRequest,JobOperationResult, batchUpdateJobsOperationCallable()BatchOperationMetadata> - Overrides:
batchUpdateJobsOperationCallablein classJobServiceStub
-
deleteJobCallable
- Overrides:
deleteJobCallablein classJobServiceStub
-
batchDeleteJobsCallable
- Overrides:
batchDeleteJobsCallablein classJobServiceStub
-
listJobsCallable
- Overrides:
listJobsCallablein classJobServiceStub
-
listJobsPagedCallable
public UnaryCallable<ListJobsRequest,JobServiceClient.ListJobsPagedResponse> listJobsPagedCallable()- Overrides:
listJobsPagedCallablein classJobServiceStub
-
searchJobsCallable
- Overrides:
searchJobsCallablein classJobServiceStub
-
searchJobsPagedCallable
public UnaryCallable<SearchJobsRequest,JobServiceClient.SearchJobsPagedResponse> searchJobsPagedCallable()- Overrides:
searchJobsPagedCallablein classJobServiceStub
-
searchJobsForAlertCallable
- Overrides:
searchJobsForAlertCallablein classJobServiceStub
-
searchJobsForAlertPagedCallable
public UnaryCallable<SearchJobsRequest,JobServiceClient.SearchJobsForAlertPagedResponse> searchJobsForAlertPagedCallable()- Overrides:
searchJobsForAlertPagedCallablein 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
-