@BetaApi @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,
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,com.google.protobuf.Empty> |
deleteJobCallable() |
com.google.api.gax.rpc.UnaryCallable<GetJobRequest,Job> |
getJobCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
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<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,CloudSchedulerClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
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
IOExceptionprotected GrpcCloudSchedulerStub(CloudSchedulerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcCloudSchedulerStub create(CloudSchedulerStubSettings settings) throws IOException
IOExceptionpublic static final GrpcCloudSchedulerStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcCloudSchedulerStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
listJobsCallable in class CloudSchedulerStubpublic com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,CloudSchedulerClient.ListJobsPagedResponse> listJobsPagedCallable()
listJobsPagedCallable in class CloudSchedulerStubpublic com.google.api.gax.rpc.UnaryCallable<GetJobRequest,Job> getJobCallable()
getJobCallable in class CloudSchedulerStubpublic com.google.api.gax.rpc.UnaryCallable<CreateJobRequest,Job> createJobCallable()
createJobCallable in class CloudSchedulerStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateJobRequest,Job> updateJobCallable()
updateJobCallable in class CloudSchedulerStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteJobRequest,com.google.protobuf.Empty> deleteJobCallable()
deleteJobCallable in class CloudSchedulerStubpublic com.google.api.gax.rpc.UnaryCallable<PauseJobRequest,Job> pauseJobCallable()
pauseJobCallable in class CloudSchedulerStubpublic com.google.api.gax.rpc.UnaryCallable<ResumeJobRequest,Job> resumeJobCallable()
resumeJobCallable in class CloudSchedulerStubpublic com.google.api.gax.rpc.UnaryCallable<RunJobRequest,Job> runJobCallable()
runJobCallable in class CloudSchedulerStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class CloudSchedulerStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,CloudSchedulerClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class CloudSchedulerStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class CloudSchedulerStubpublic final void close()
close in interface AutoCloseableclose in class CloudSchedulerStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.