Class CompletionServiceGrpc.CompletionServiceStub (0.42.0)

public static final class CompletionServiceGrpc.CompletionServiceStub extends AbstractAsyncStub<CompletionServiceGrpc.CompletionServiceStub>

A stub to allow clients to do asynchronous rpc calls to service CompletionService.

Service for Auto-Completion.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > CompletionServiceGrpc.CompletionServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected CompletionServiceGrpc.CompletionServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
CompletionServiceGrpc.CompletionServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

completeQuery(CompleteQueryRequest request, StreamObserver<CompleteQueryResponse> responseObserver)

public void completeQuery(CompleteQueryRequest request, StreamObserver<CompleteQueryResponse> responseObserver)

Completes the specified user input with keyword suggestions.

Parameters
Name Description
request CompleteQueryRequest
responseObserver io.grpc.stub.StreamObserver<CompleteQueryResponse>

importSuggestionDenyListEntries(ImportSuggestionDenyListEntriesRequest request, StreamObserver<Operation> responseObserver)

public void importSuggestionDenyListEntries(ImportSuggestionDenyListEntriesRequest request, StreamObserver<Operation> responseObserver)

Imports all SuggestionDenyListEntry for a DataStore.

Parameters
Name Description
request ImportSuggestionDenyListEntriesRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

purgeSuggestionDenyListEntries(PurgeSuggestionDenyListEntriesRequest request, StreamObserver<Operation> responseObserver)

public void purgeSuggestionDenyListEntries(PurgeSuggestionDenyListEntriesRequest request, StreamObserver<Operation> responseObserver)

Permanently deletes all SuggestionDenyListEntry for a DataStore.

Parameters
Name Description
request PurgeSuggestionDenyListEntriesRequest
responseObserver io.grpc.stub.StreamObserver<Operation>