Class LookupServiceGrpc (2.4.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
TypeDescription
String

Static Methods

getResolveServiceMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
LookupServiceGrpc.LookupServiceStub