Class LookupServiceGrpc.LookupServiceStub (2.49.0)

public static final class LookupServiceGrpc.LookupServiceStub extends AbstractAsyncStub<LookupServiceGrpc.LookupServiceStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > LookupServiceGrpc.LookupServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected LookupServiceGrpc.LookupServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
LookupServiceGrpc.LookupServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

resolveService(ResolveServiceRequest request, StreamObserver<ResolveServiceResponse> responseObserver)

public void resolveService(ResolveServiceRequest request, StreamObserver<ResolveServiceResponse> responseObserver)

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

Parameters
Name Description
request ResolveServiceRequest
responseObserver io.grpc.stub.StreamObserver<ResolveServiceResponse>