Class LookupServiceGrpc.LookupServiceBlockingStub (2.48.0)

public static final class LookupServiceGrpc.LookupServiceBlockingStub extends AbstractBlockingStub<LookupServiceGrpc.LookupServiceBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > LookupServiceGrpc.LookupServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

resolveService(ResolveServiceRequest request)

public ResolveServiceResponse resolveService(ResolveServiceRequest request)

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

Parameter
Name Description
request ResolveServiceRequest
Returns
Type Description
ResolveServiceResponse