Class CompletionGrpc (2.38.0)

public final class CompletionGrpc

A service handles auto completion.

Inheritance

java.lang.Object > CompletionGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(CompletionGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(CompletionGrpc.AsyncService service)
Parameter
NameDescription
serviceCompletionGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCompleteQueryMethod()

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

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static CompletionGrpc.CompletionBlockingStub 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
CompletionGrpc.CompletionBlockingStub

newFutureStub(Channel channel)

public static CompletionGrpc.CompletionFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
CompletionGrpc.CompletionFutureStub

newStub(Channel channel)

public static CompletionGrpc.CompletionStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
CompletionGrpc.CompletionStub