Class SearchServiceGrpc.SearchServiceStub (0.36.0)

public static final class SearchServiceGrpc.SearchServiceStub extends AbstractAsyncStub<SearchServiceGrpc.SearchServiceStub>

A stub to allow clients to do asynchronous rpc calls to service SearchService.

Service for search.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > SearchServiceGrpc.SearchServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

search(SearchRequest request, StreamObserver<SearchResponse> responseObserver)

public void search(SearchRequest request, StreamObserver<SearchResponse> responseObserver)

Performs a search.

Parameters
NameDescription
requestSearchRequest
responseObserverio.grpc.stub.StreamObserver<SearchResponse>