Class SearchServiceGrpc.SearchServiceFutureStub (2.4.0)

public static final class SearchServiceGrpc.SearchServiceFutureStub extends AbstractFutureStub<SearchServiceGrpc.SearchServiceFutureStub>

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

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > SearchServiceGrpc.SearchServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

search(SearchRequest request)

public ListenableFuture<SearchResponse> search(SearchRequest request)

Performs a search. This feature is only available for users who have Retail Search enabled. Please enable Retail Search on Cloud Console before using this feature.

Parameter
NameDescription
requestSearchRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<SearchResponse>