Class CompletionServiceGrpc (0.51.0)

public final class CompletionServiceGrpc

Service for Auto-Completion.

Inheritance

java.lang.Object > CompletionServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(CompletionServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(CompletionServiceGrpc.AsyncService service)
Parameter
Name Description
service CompletionServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCompleteQueryMethod()

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

getImportCompletionSuggestionsMethod()

public static MethodDescriptor<ImportCompletionSuggestionsRequest,Operation> getImportCompletionSuggestionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ImportCompletionSuggestionsRequest,Operation>

getImportSuggestionDenyListEntriesMethod()

public static MethodDescriptor<ImportSuggestionDenyListEntriesRequest,Operation> getImportSuggestionDenyListEntriesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ImportSuggestionDenyListEntriesRequest,Operation>

getPurgeCompletionSuggestionsMethod()

public static MethodDescriptor<PurgeCompletionSuggestionsRequest,Operation> getPurgeCompletionSuggestionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<PurgeCompletionSuggestionsRequest,Operation>

getPurgeSuggestionDenyListEntriesMethod()

public static MethodDescriptor<PurgeSuggestionDenyListEntriesRequest,Operation> getPurgeSuggestionDenyListEntriesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<PurgeSuggestionDenyListEntriesRequest,Operation>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
CompletionServiceGrpc.CompletionServiceStub