Class LookupServiceGrpc (2.54.0)

public final class LookupServiceGrpc

Service Directory API for looking up service data at runtime.

Inheritance

java.lang.Object > LookupServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(LookupServiceGrpc.AsyncService service)

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

getResolveServiceMethod()

public static MethodDescriptor<ResolveServiceRequest,ResolveServiceResponse> getResolveServiceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ResolveServiceRequest,ResolveServiceResponse>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static LookupServiceGrpc.LookupServiceBlockingStub 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
LookupServiceGrpc.LookupServiceBlockingStub

newFutureStub(Channel channel)

public static LookupServiceGrpc.LookupServiceFutureStub 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
LookupServiceGrpc.LookupServiceFutureStub

newStub(Channel channel)

public static LookupServiceGrpc.LookupServiceStub 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
LookupServiceGrpc.LookupServiceStub