Class SearchServiceGrpc.SearchServiceBlockingStub (2.50.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request SearchRequest
Returns
Type Description
SearchResponse