@Generated(value="by gapic-generator-java") public class GrpcCloudSchedulerStub extends CloudSchedulerStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcCloudSchedulerStub(CloudSchedulerStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcCloudSchedulerStub, using the given settings.
|
protected |
GrpcCloudSchedulerStub(CloudSchedulerStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcCloudSchedulerStub, using the given settings.
|
protected GrpcCloudSchedulerStub(CloudSchedulerStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcCloudSchedulerStub(CloudSchedulerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcCloudSchedulerStub create(CloudSchedulerStubSettings settings) throws IOException
IOException
public static final GrpcCloudSchedulerStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcCloudSchedulerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
public UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
listJobsCallable
in class CloudSchedulerStub
public UnaryCallable<ListJobsRequest,CloudSchedulerClient.ListJobsPagedResponse> listJobsPagedCallable()
listJobsPagedCallable
in class CloudSchedulerStub
public UnaryCallable<GetJobRequest,Job> getJobCallable()
getJobCallable
in class CloudSchedulerStub
public UnaryCallable<CreateJobRequest,Job> createJobCallable()
createJobCallable
in class CloudSchedulerStub
public UnaryCallable<UpdateJobRequest,Job> updateJobCallable()
updateJobCallable
in class CloudSchedulerStub
public UnaryCallable<DeleteJobRequest,Empty> deleteJobCallable()
deleteJobCallable
in class CloudSchedulerStub
public UnaryCallable<PauseJobRequest,Job> pauseJobCallable()
pauseJobCallable
in class CloudSchedulerStub
public UnaryCallable<ResumeJobRequest,Job> resumeJobCallable()
resumeJobCallable
in class CloudSchedulerStub
public UnaryCallable<RunJobRequest,Job> runJobCallable()
runJobCallable
in class CloudSchedulerStub
public final void close()
close
in interface AutoCloseable
close
in class CloudSchedulerStub
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.