Class ServicesGrpc (2.54.0)

public final class ServicesGrpc

Manages services of an application.

Inheritance

java.lang.Object > ServicesGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(ServicesGrpc.AsyncService service)

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

getDeleteServiceMethod()

public static MethodDescriptor<DeleteServiceRequest,Operation> getDeleteServiceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteServiceRequest,Operation>

getGetServiceMethod()

public static MethodDescriptor<GetServiceRequest,Service> getGetServiceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetServiceRequest,Service>

getListServicesMethod()

public static MethodDescriptor<ListServicesRequest,ListServicesResponse> getListServicesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListServicesRequest,ListServicesResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateServiceMethod()

public static MethodDescriptor<UpdateServiceRequest,Operation> getUpdateServiceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateServiceRequest,Operation>

newBlockingStub(Channel channel)

public static ServicesGrpc.ServicesBlockingStub 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
ServicesGrpc.ServicesBlockingStub

newFutureStub(Channel channel)

public static ServicesGrpc.ServicesFutureStub 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
ServicesGrpc.ServicesFutureStub

newStub(Channel channel)

public static ServicesGrpc.ServicesStub 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
ServicesGrpc.ServicesStub