Class SearchServiceGrpc.SearchServiceBlockingStub (2.41.0)

public static final class SearchServiceGrpc.SearchServiceBlockingStub extends AbstractBlockingStub<SearchServiceGrpc.SearchServiceBlockingStub>

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

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.AbstractBlockingStub > SearchServiceGrpc.SearchServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

search(SearchRequest request)

public SearchResponse search(SearchRequest request)

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.

Parameter
NameDescription
requestSearchRequest
Returns
TypeDescription
SearchResponse