@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonCloudSchedulerStub extends CloudSchedulerStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonCloudSchedulerStub(CloudSchedulerStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonCloudSchedulerStub, using the given settings.
|
protected |
HttpJsonCloudSchedulerStub(CloudSchedulerStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonCloudSchedulerStub, using the given settings.
|
protected HttpJsonCloudSchedulerStub(CloudSchedulerStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonCloudSchedulerStub(CloudSchedulerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonCloudSchedulerStub create(CloudSchedulerStubSettings settings) throws IOException
IOException
public static final HttpJsonCloudSchedulerStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonCloudSchedulerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
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.