Class CompletionServiceGrpc.CompletionServiceFutureStub (0.37.0)

public static final class CompletionServiceGrpc.CompletionServiceFutureStub extends AbstractFutureStub<CompletionServiceGrpc.CompletionServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service CompletionService.

Service for Auto-Completion.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > CompletionServiceGrpc.CompletionServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected CompletionServiceGrpc.CompletionServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
CompletionServiceGrpc.CompletionServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

completeQuery(CompleteQueryRequest request)

public ListenableFuture<CompleteQueryResponse> completeQuery(CompleteQueryRequest request)

Completes the specified user input with keyword suggestions.

Parameter
NameDescription
requestCompleteQueryRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<CompleteQueryResponse>

importSuggestionDenyListEntries(ImportSuggestionDenyListEntriesRequest request)

public ListenableFuture<Operation> importSuggestionDenyListEntries(ImportSuggestionDenyListEntriesRequest request)

Imports all SuggestionDenyListEntry for a DataStore.

Parameter
NameDescription
requestImportSuggestionDenyListEntriesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

purgeSuggestionDenyListEntries(PurgeSuggestionDenyListEntriesRequest request)

public ListenableFuture<Operation> purgeSuggestionDenyListEntries(PurgeSuggestionDenyListEntriesRequest request)

Permanently deletes all SuggestionDenyListEntry for a DataStore.

Parameter
NameDescription
requestPurgeSuggestionDenyListEntriesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>