Class SearchServiceGrpc (2.5.1)

public final class SearchServiceGrpc

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 > SearchServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getSearchMethod()

public static MethodDescriptor<SearchRequest,SearchResponse> getSearchMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<SearchRequest,SearchResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static SearchServiceGrpc.SearchServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SearchServiceGrpc.SearchServiceBlockingStub

newFutureStub(Channel channel)

public static SearchServiceGrpc.SearchServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SearchServiceGrpc.SearchServiceFutureStub

newStub(Channel channel)

public static SearchServiceGrpc.SearchServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SearchServiceGrpc.SearchServiceStub