@Generated(value="by gapic-generator-java") 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.
|
getHttpJsonOperationsStub
protected GrpcJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcJobServiceStub create(JobServiceStubSettings settings) throws IOException
IOException
public static final GrpcJobServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcJobServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
getOperationsStub
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.