Class CompletionServiceGrpc

public final class CompletionServiceGrpc

Auto-completion service for retail. This feature is only available for users who have Retail Search enabled. Please submit a form here to contact cloud sales if you are interested in using Retail Search.

Inheritance

java.lang.Object > CompletionServiceGrpc

Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Methods

getCompleteQueryMethod()

public static MethodDescriptor<CompleteQueryRequest,CompleteQueryResponse> getCompleteQueryMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CompleteQueryRequest,CompleteQueryResponse>

getImportCompletionDataMethod()

public static MethodDescriptor<ImportCompletionDataRequest,Operation> getImportCompletionDataMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ImportCompletionDataRequest,Operation>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static CompletionServiceGrpc.CompletionServiceBlockingStub 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
CompletionServiceGrpc.CompletionServiceBlockingStub

newFutureStub(Channel channel)

public static CompletionServiceGrpc.CompletionServiceFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
CompletionServiceGrpc.CompletionServiceFutureStub

newStub(Channel channel)

public static CompletionServiceGrpc.CompletionServiceStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
CompletionServiceGrpc.CompletionServiceStub