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.SearchServiceStubMethods
build(Channel channel, CallOptions callOptions)
protected SearchServiceGrpc.SearchServiceStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
SearchServiceGrpc.SearchServiceStub |
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 | |
---|---|
Name | Description |
request | SearchRequest |
responseObserver | io.grpc.stub.StreamObserver<SearchResponse> |