Class JobServiceGrpc (2.16.0)

public final class JobServiceGrpc

A service handles job management, including job CRUD, enumeration and search.

Inheritance

java.lang.Object > JobServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(JobServiceGrpc.AsyncService service)

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

getBatchCreateJobsMethod()

public static MethodDescriptor<BatchCreateJobsRequest,Operation> getBatchCreateJobsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<BatchCreateJobsRequest,Operation>

getBatchDeleteJobsMethod()

public static MethodDescriptor<BatchDeleteJobsRequest,Operation> getBatchDeleteJobsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<BatchDeleteJobsRequest,Operation>

getBatchUpdateJobsMethod()

public static MethodDescriptor<BatchUpdateJobsRequest,Operation> getBatchUpdateJobsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<BatchUpdateJobsRequest,Operation>

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>

getSearchJobsForAlertMethod()

public static MethodDescriptor<SearchJobsRequest,SearchJobsResponse> getSearchJobsForAlertMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<SearchJobsRequest,SearchJobsResponse>

getSearchJobsMethod()

public static MethodDescriptor<SearchJobsRequest,SearchJobsResponse> getSearchJobsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<SearchJobsRequest,SearchJobsResponse>

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 JobServiceGrpc.JobServiceBlockingStub 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
JobServiceGrpc.JobServiceBlockingStub

newFutureStub(Channel channel)

public static JobServiceGrpc.JobServiceFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
JobServiceGrpc.JobServiceFutureStub

newStub(Channel channel)

public static JobServiceGrpc.JobServiceStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
JobServiceGrpc.JobServiceStub