Class ServicesGrpc (2.24.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
TypeDescription
String

Static Methods

bindService(ServicesGrpc.AsyncService service)

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

getDeleteServiceMethod()

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

getGetServiceMethod()

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

getListServicesMethod()

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

getServiceDescriptor()

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

getUpdateServiceMethod()

public static MethodDescriptor<UpdateServiceRequest,Operation> getUpdateServiceMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ServicesGrpc.ServicesStub