@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") 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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcCloudSchedulerStub |
create(ClientContext clientContext) |
static GrpcCloudSchedulerStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcCloudSchedulerStub |
create(CloudSchedulerStubSettings settings) |
UnaryCallable<com.google.cloud.scheduler.v1.CreateJobRequest,com.google.cloud.scheduler.v1.Job> |
createJobCallable() |
UnaryCallable<com.google.cloud.scheduler.v1.DeleteJobRequest,Empty> |
deleteJobCallable() |
UnaryCallable<com.google.cloud.scheduler.v1.GetJobRequest,com.google.cloud.scheduler.v1.Job> |
getJobCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.cloud.scheduler.v1.ListJobsRequest,com.google.cloud.scheduler.v1.ListJobsResponse> |
listJobsCallable() |
UnaryCallable<com.google.cloud.scheduler.v1.ListJobsRequest,CloudSchedulerClient.ListJobsPagedResponse> |
listJobsPagedCallable() |
UnaryCallable<com.google.cloud.scheduler.v1.PauseJobRequest,com.google.cloud.scheduler.v1.Job> |
pauseJobCallable() |
UnaryCallable<com.google.cloud.scheduler.v1.ResumeJobRequest,com.google.cloud.scheduler.v1.Job> |
resumeJobCallable() |
UnaryCallable<com.google.cloud.scheduler.v1.RunJobRequest,com.google.cloud.scheduler.v1.Job> |
runJobCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.cloud.scheduler.v1.UpdateJobRequest,com.google.cloud.scheduler.v1.Job> |
updateJobCallable() |
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 UnaryCallable<com.google.cloud.scheduler.v1.ListJobsRequest,CloudSchedulerClient.ListJobsPagedResponse> listJobsPagedCallable()
listJobsPagedCallable
in class CloudSchedulerStub
public UnaryCallable<com.google.cloud.scheduler.v1.ListJobsRequest,com.google.cloud.scheduler.v1.ListJobsResponse> listJobsCallable()
listJobsCallable
in class CloudSchedulerStub
public UnaryCallable<com.google.cloud.scheduler.v1.GetJobRequest,com.google.cloud.scheduler.v1.Job> getJobCallable()
getJobCallable
in class CloudSchedulerStub
public UnaryCallable<com.google.cloud.scheduler.v1.CreateJobRequest,com.google.cloud.scheduler.v1.Job> createJobCallable()
createJobCallable
in class CloudSchedulerStub
public UnaryCallable<com.google.cloud.scheduler.v1.UpdateJobRequest,com.google.cloud.scheduler.v1.Job> updateJobCallable()
updateJobCallable
in class CloudSchedulerStub
public UnaryCallable<com.google.cloud.scheduler.v1.DeleteJobRequest,Empty> deleteJobCallable()
deleteJobCallable
in class CloudSchedulerStub
public UnaryCallable<com.google.cloud.scheduler.v1.PauseJobRequest,com.google.cloud.scheduler.v1.Job> pauseJobCallable()
pauseJobCallable
in class CloudSchedulerStub
public UnaryCallable<com.google.cloud.scheduler.v1.ResumeJobRequest,com.google.cloud.scheduler.v1.Job> resumeJobCallable()
resumeJobCallable
in class CloudSchedulerStub
public UnaryCallable<com.google.cloud.scheduler.v1.RunJobRequest,com.google.cloud.scheduler.v1.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 © 2019 Google LLC. All rights reserved.