Class CompletionServiceGrpc.CompletionServiceBlockingStub (0.50.0)

public static final class CompletionServiceGrpc.CompletionServiceBlockingStub extends AbstractBlockingStub<CompletionServiceGrpc.CompletionServiceBlockingStub>

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

Service for Auto-Completion.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > CompletionServiceGrpc.CompletionServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

completeQuery(CompleteQueryRequest request)

public CompleteQueryResponse completeQuery(CompleteQueryRequest request)

Completes the specified user input with keyword suggestions.

Parameter
Name Description
request CompleteQueryRequest
Returns
Type Description
CompleteQueryResponse

importCompletionSuggestions(ImportCompletionSuggestionsRequest request)

public Operation importCompletionSuggestions(ImportCompletionSuggestionsRequest request)

Imports CompletionSuggestions for a DataStore.

Parameter
Name Description
request ImportCompletionSuggestionsRequest
Returns
Type Description
Operation

importSuggestionDenyListEntries(ImportSuggestionDenyListEntriesRequest request)

public Operation importSuggestionDenyListEntries(ImportSuggestionDenyListEntriesRequest request)

Imports all SuggestionDenyListEntry for a DataStore.

Parameter
Name Description
request ImportSuggestionDenyListEntriesRequest
Returns
Type Description
Operation

purgeCompletionSuggestions(PurgeCompletionSuggestionsRequest request)

public Operation purgeCompletionSuggestions(PurgeCompletionSuggestionsRequest request)

Permanently deletes all CompletionSuggestions for a DataStore.

Parameter
Name Description
request PurgeCompletionSuggestionsRequest
Returns
Type Description
Operation

purgeSuggestionDenyListEntries(PurgeSuggestionDenyListEntriesRequest request)

public Operation purgeSuggestionDenyListEntries(PurgeSuggestionDenyListEntriesRequest request)

Permanently deletes all SuggestionDenyListEntry for a DataStore.

Parameter
Name Description
request PurgeSuggestionDenyListEntriesRequest
Returns
Type Description
Operation