Class CloudSchedulerGrpc (2.44.0)

public final class CloudSchedulerGrpc

The Cloud Scheduler API allows external entities to reliably schedule asynchronous jobs.

Inheritance

java.lang.Object > CloudSchedulerGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(CloudSchedulerGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(CloudSchedulerGrpc.AsyncService service)
Parameter
Name Description
service CloudSchedulerGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateJobMethod()

public static MethodDescriptor<CreateJobRequest,Job> getCreateJobMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateJobRequest,Job>

getDeleteJobMethod()

public static MethodDescriptor<DeleteJobRequest,Empty> getDeleteJobMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteJobRequest,Empty>

getGetJobMethod()

public static MethodDescriptor<GetJobRequest,Job> getGetJobMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetJobRequest,Job>

getListJobsMethod()

public static MethodDescriptor<ListJobsRequest,ListJobsResponse> getListJobsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListJobsRequest,ListJobsResponse>

getPauseJobMethod()

public static MethodDescriptor<PauseJobRequest,Job> getPauseJobMethod()
Returns
Type Description
io.grpc.MethodDescriptor<PauseJobRequest,Job>

getResumeJobMethod()

public static MethodDescriptor<ResumeJobRequest,Job> getResumeJobMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ResumeJobRequest,Job>

getRunJobMethod()

public static MethodDescriptor<RunJobRequest,Job> getRunJobMethod()
Returns
Type Description
io.grpc.MethodDescriptor<RunJobRequest,Job>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateJobMethod()

public static MethodDescriptor<UpdateJobRequest,Job> getUpdateJobMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateJobRequest,Job>

newBlockingStub(Channel channel)

public static CloudSchedulerGrpc.CloudSchedulerBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
CloudSchedulerGrpc.CloudSchedulerBlockingStub

newFutureStub(Channel channel)

public static CloudSchedulerGrpc.CloudSchedulerFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
CloudSchedulerGrpc.CloudSchedulerFutureStub

newStub(Channel channel)

public static CloudSchedulerGrpc.CloudSchedulerStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
CloudSchedulerGrpc.CloudSchedulerStub