public final class JobServiceGrpc
A service handles job management, including job CRUD, enumeration and search.
Static Fields
SERVICE_NAME
public static final String SERVICE_NAME
Field Value |
Type |
Description |
String |
|
Static Methods
bindService(JobServiceGrpc.AsyncService service)
public static final ServerServiceDefinition bindService(JobServiceGrpc.AsyncService service)
Returns |
Type |
Description |
io.grpc.ServerServiceDefinition |
|
getBatchCreateJobsMethod()
public static MethodDescriptor<BatchCreateJobsRequest,Operation> getBatchCreateJobsMethod()
getBatchDeleteJobsMethod()
public static MethodDescriptor<BatchDeleteJobsRequest,Operation> getBatchDeleteJobsMethod()
getBatchUpdateJobsMethod()
public static MethodDescriptor<BatchUpdateJobsRequest,Operation> getBatchUpdateJobsMethod()
getCreateJobMethod()
public static MethodDescriptor<CreateJobRequest,Job> getCreateJobMethod()
getDeleteJobMethod()
public static MethodDescriptor<DeleteJobRequest,Empty> getDeleteJobMethod()
getGetJobMethod()
public static MethodDescriptor<GetJobRequest,Job> getGetJobMethod()
getListJobsMethod()
public static MethodDescriptor<ListJobsRequest,ListJobsResponse> getListJobsMethod()
getSearchJobsForAlertMethod()
public static MethodDescriptor<SearchJobsRequest,SearchJobsResponse> getSearchJobsForAlertMethod()
getSearchJobsMethod()
public static MethodDescriptor<SearchJobsRequest,SearchJobsResponse> getSearchJobsMethod()
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor()
Returns |
Type |
Description |
io.grpc.ServiceDescriptor |
|
getUpdateJobMethod()
public static MethodDescriptor<UpdateJobRequest,Job> getUpdateJobMethod()
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 |
Name |
Description |
channel |
io.grpc.Channel
|
newFutureStub(Channel channel)
public static JobServiceGrpc.JobServiceFutureStub newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|
newStub(Channel channel)
public static JobServiceGrpc.JobServiceStub newStub(Channel channel)
Creates a new async stub that supports all call types for the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|