Class SearchServiceGrpc.SearchServiceStub (2.6.0)

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

Service for search. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.

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. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.

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