Class CompletionServiceGrpc.CompletionServiceStub (0.35.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCompleteQueryRequest
responseObserverio.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
NameDescription
requestImportSuggestionDenyListEntriesRequest
responseObserverio.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
NameDescription
requestPurgeSuggestionDenyListEntriesRequest
responseObserverio.grpc.stub.StreamObserver<Operation>