- 2.49.0 (latest)
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.6
- 2.2.9
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.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonJobServiceStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonJobServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonJobServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonJobServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(JobServiceStubSettings settings)
public static final HttpJsonJobServiceStub create(JobServiceStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
JobServiceStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonJobServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext)
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.
Parameters | |
---|---|
Name | Description |
settings |
JobServiceStubSettings |
clientContext |
ClientContext |
HttpJsonJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
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.
Parameters | |
---|---|
Name | Description |
settings |
JobServiceStubSettings |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration |
long |
unit |
TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
batchCreateJobsCallable()
public UnaryCallable<BatchCreateJobsRequest,Operation> batchCreateJobsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<BatchCreateJobsRequest,Operation> |
batchCreateJobsOperationCallable()
public OperationCallable<BatchCreateJobsRequest,JobOperationResult,BatchOperationMetadata> batchCreateJobsOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<BatchCreateJobsRequest,JobOperationResult,BatchOperationMetadata> |
batchDeleteJobsCallable()
public UnaryCallable<BatchDeleteJobsRequest,Empty> batchDeleteJobsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<BatchDeleteJobsRequest,Empty> |
batchUpdateJobsCallable()
public UnaryCallable<BatchUpdateJobsRequest,Operation> batchUpdateJobsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<BatchUpdateJobsRequest,Operation> |
batchUpdateJobsOperationCallable()
public OperationCallable<BatchUpdateJobsRequest,JobOperationResult,BatchOperationMetadata> batchUpdateJobsOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<BatchUpdateJobsRequest,JobOperationResult,BatchOperationMetadata> |
close()
public final void close()
createJobCallable()
public UnaryCallable<CreateJobRequest,Job> createJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateJobRequest,Job> |
deleteJobCallable()
public UnaryCallable<DeleteJobRequest,Empty> deleteJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteJobRequest,Empty> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getJobCallable()
public UnaryCallable<GetJobRequest,Job> getJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetJobRequest,Job> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listJobsCallable()
public UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListJobsRequest,ListJobsResponse> |
listJobsPagedCallable()
public UnaryCallable<ListJobsRequest,JobServiceClient.ListJobsPagedResponse> listJobsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListJobsRequest,ListJobsPagedResponse> |
searchJobsCallable()
public UnaryCallable<SearchJobsRequest,SearchJobsResponse> searchJobsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SearchJobsRequest,SearchJobsResponse> |
searchJobsForAlertCallable()
public UnaryCallable<SearchJobsRequest,SearchJobsResponse> searchJobsForAlertCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SearchJobsRequest,SearchJobsResponse> |
searchJobsForAlertPagedCallable()
public UnaryCallable<SearchJobsRequest,JobServiceClient.SearchJobsForAlertPagedResponse> searchJobsForAlertPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SearchJobsRequest,SearchJobsForAlertPagedResponse> |
searchJobsPagedCallable()
public UnaryCallable<SearchJobsRequest,JobServiceClient.SearchJobsPagedResponse> searchJobsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SearchJobsRequest,SearchJobsPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateJobCallable()
public UnaryCallable<UpdateJobRequest,Job> updateJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateJobRequest,Job> |