Class CloudSchedulerGrpc (2.15.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
TypeDescription
String

Static Methods

bindService(CloudSchedulerGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(CloudSchedulerGrpc.AsyncService service)
Parameter
NameDescription
serviceCloudSchedulerGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateJobMethod()

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

getDeleteJobMethod()

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

getGetJobMethod()

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

getListJobsMethod()

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

getPauseJobMethod()

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

getResumeJobMethod()

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

getRunJobMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateJobMethod()

public static MethodDescriptor<UpdateJobRequest,Job> getUpdateJobMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
CloudSchedulerGrpc.CloudSchedulerStub