Class SearchServiceGrpc.SearchServiceStub (2.56.0)

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. 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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request SearchRequest
responseObserver io.grpc.stub.StreamObserver<SearchResponse>