@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonJobServiceStub extends JobServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonJobServiceStub(JobServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonJobServiceStub, using the given settings.
|
protected |
HttpJsonJobServiceStub(JobServiceStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonJobServiceStub, using the given settings.
|
getOperationsStub
protected HttpJsonJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonJobServiceStub create(JobServiceStubSettings settings) throws IOException
IOException
public static final HttpJsonJobServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonJobServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
getHttpJsonOperationsStub
in class JobServiceStub
public UnaryCallable<CreateJobRequest,Job> createJobCallable()
createJobCallable
in class JobServiceStub
public UnaryCallable<BatchCreateJobsRequest,Operation> batchCreateJobsCallable()
batchCreateJobsCallable
in class JobServiceStub
public OperationCallable<BatchCreateJobsRequest,BatchCreateJobsResponse,BatchOperationMetadata> batchCreateJobsOperationCallable()
batchCreateJobsOperationCallable
in class JobServiceStub
public UnaryCallable<GetJobRequest,Job> getJobCallable()
getJobCallable
in class JobServiceStub
public UnaryCallable<UpdateJobRequest,Job> updateJobCallable()
updateJobCallable
in class JobServiceStub
public UnaryCallable<BatchUpdateJobsRequest,Operation> batchUpdateJobsCallable()
batchUpdateJobsCallable
in class JobServiceStub
public OperationCallable<BatchUpdateJobsRequest,BatchUpdateJobsResponse,BatchOperationMetadata> batchUpdateJobsOperationCallable()
batchUpdateJobsOperationCallable
in class JobServiceStub
public UnaryCallable<DeleteJobRequest,Empty> deleteJobCallable()
deleteJobCallable
in class JobServiceStub
public UnaryCallable<BatchDeleteJobsRequest,Operation> batchDeleteJobsCallable()
batchDeleteJobsCallable
in class JobServiceStub
public OperationCallable<BatchDeleteJobsRequest,BatchDeleteJobsResponse,BatchOperationMetadata> batchDeleteJobsOperationCallable()
batchDeleteJobsOperationCallable
in class JobServiceStub
public UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
listJobsCallable
in class JobServiceStub
public UnaryCallable<ListJobsRequest,JobServiceClient.ListJobsPagedResponse> listJobsPagedCallable()
listJobsPagedCallable
in class JobServiceStub
public UnaryCallable<SearchJobsRequest,SearchJobsResponse> searchJobsCallable()
searchJobsCallable
in class JobServiceStub
public UnaryCallable<SearchJobsRequest,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 © 2022 Google LLC. All rights reserved.