Class JobServiceGrpc (2.46.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
Type Description
String

Static Methods

bindService(JobServiceGrpc.AsyncService service)

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

getBatchCreateJobsMethod()

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

getBatchDeleteJobsMethod()

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

getBatchUpdateJobsMethod()

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

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>

getSearchJobsForAlertMethod()

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

getSearchJobsMethod()

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

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 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
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
JobServiceGrpc.JobServiceStub