Class LookupServiceGrpc.LookupServiceFutureStub (2.21.0)

public static final class LookupServiceGrpc.LookupServiceFutureStub extends AbstractFutureStub<LookupServiceGrpc.LookupServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service LookupService.

Service Directory API for looking up service data at runtime.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > LookupServiceGrpc.LookupServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected LookupServiceGrpc.LookupServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
LookupServiceGrpc.LookupServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

resolveService(ResolveServiceRequest request)

public ListenableFuture<ResolveServiceResponse> resolveService(ResolveServiceRequest request)

Returns a service and its associated endpoints. Resolving a service is not considered an active developer method.

Parameter
NameDescription
requestResolveServiceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ResolveServiceResponse>