@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,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcCloudSchedulerStub, using the given settings.
|
protected |
GrpcCloudSchedulerStub(CloudSchedulerStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.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(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcCloudSchedulerStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcCloudSchedulerStub |
create(CloudSchedulerStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateJobRequest,Job> |
createJobCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteJobRequest,Empty> |
deleteJobCallable() |
com.google.api.gax.rpc.UnaryCallable<GetJobRequest,Job> |
getJobCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,ListJobsResponse> |
listJobsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,CloudSchedulerClient.ListJobsPagedResponse> |
listJobsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<PauseJobRequest,Job> |
pauseJobCallable() |
com.google.api.gax.rpc.UnaryCallable<ResumeJobRequest,Job> |
resumeJobCallable() |
com.google.api.gax.rpc.UnaryCallable<RunJobRequest,Job> |
runJobCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateJobRequest,Job> |
updateJobCallable() |
protected GrpcCloudSchedulerStub(CloudSchedulerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcCloudSchedulerStub(CloudSchedulerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcCloudSchedulerStub create(CloudSchedulerStubSettings settings) throws IOException
IOException
public static final GrpcCloudSchedulerStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcCloudSchedulerStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,CloudSchedulerClient.ListJobsPagedResponse> listJobsPagedCallable()
listJobsPagedCallable
in class CloudSchedulerStub
public com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
listJobsCallable
in class CloudSchedulerStub
public com.google.api.gax.rpc.UnaryCallable<GetJobRequest,Job> getJobCallable()
getJobCallable
in class CloudSchedulerStub
public com.google.api.gax.rpc.UnaryCallable<CreateJobRequest,Job> createJobCallable()
createJobCallable
in class CloudSchedulerStub
public com.google.api.gax.rpc.UnaryCallable<UpdateJobRequest,Job> updateJobCallable()
updateJobCallable
in class CloudSchedulerStub
public com.google.api.gax.rpc.UnaryCallable<DeleteJobRequest,Empty> deleteJobCallable()
deleteJobCallable
in class CloudSchedulerStub
public com.google.api.gax.rpc.UnaryCallable<PauseJobRequest,Job> pauseJobCallable()
pauseJobCallable
in class CloudSchedulerStub
public com.google.api.gax.rpc.UnaryCallable<ResumeJobRequest,Job> resumeJobCallable()
resumeJobCallable
in class CloudSchedulerStub
public com.google.api.gax.rpc.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 © 2019 Google LLC. All rights reserved.