Class JobControllerGrpc (4.20.0)

public final class JobControllerGrpc

The JobController provides methods to manage jobs.

Inheritance

java.lang.Object > JobControllerGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(JobControllerGrpc.AsyncService service)

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

getCancelJobMethod()

public static MethodDescriptor<CancelJobRequest,Job> getCancelJobMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CancelJobRequest,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>

getServiceDescriptor()

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

getSubmitJobAsOperationMethod()

public static MethodDescriptor<SubmitJobRequest,Operation> getSubmitJobAsOperationMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<SubmitJobRequest,Operation>

getSubmitJobMethod()

public static MethodDescriptor<SubmitJobRequest,Job> getSubmitJobMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<SubmitJobRequest,Job>

getUpdateJobMethod()

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

newBlockingStub(Channel channel)

public static JobControllerGrpc.JobControllerBlockingStub 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
JobControllerGrpc.JobControllerBlockingStub

newFutureStub(Channel channel)

public static JobControllerGrpc.JobControllerFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
JobControllerGrpc.JobControllerFutureStub

newStub(Channel channel)

public static JobControllerGrpc.JobControllerStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
JobControllerGrpc.JobControllerStub