Class CompletionServiceGrpc.CompletionServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<CompletionServiceGrpc.CompletionServiceBlockingV2Stub>
com.google.cloud.discoveryengine.v1.CompletionServiceGrpc.CompletionServiceBlockingV2Stub
- Enclosing class:
- CompletionServiceGrpc
public static final class CompletionServiceGrpc.CompletionServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<CompletionServiceGrpc.CompletionServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service CompletionService.
Service for Auto-Completion.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) completeQuery(CompleteQueryRequest request) Completes the specified user input with keyword suggestions.Imports [CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s for a DataStore.Imports all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry] for a DataStore.Permanently deletes all [CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s for a DataStore.Permanently deletes all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry] for a DataStore.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected CompletionServiceGrpc.CompletionServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CompletionServiceGrpc.CompletionServiceBlockingV2Stub>
-
completeQuery
public CompleteQueryResponse completeQuery(CompleteQueryRequest request) throws io.grpc.StatusException Completes the specified user input with keyword suggestions.
- Throws:
io.grpc.StatusException
-
importSuggestionDenyListEntries
public Operation importSuggestionDenyListEntries(ImportSuggestionDenyListEntriesRequest request) throws io.grpc.StatusException Imports all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry] for a DataStore.
- Throws:
io.grpc.StatusException
-
purgeSuggestionDenyListEntries
public Operation purgeSuggestionDenyListEntries(PurgeSuggestionDenyListEntriesRequest request) throws io.grpc.StatusException Permanently deletes all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry] for a DataStore.
- Throws:
io.grpc.StatusException
-
importCompletionSuggestions
public Operation importCompletionSuggestions(ImportCompletionSuggestionsRequest request) throws io.grpc.StatusException Imports [CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s for a DataStore.
- Throws:
io.grpc.StatusException
-
purgeCompletionSuggestions
public Operation purgeCompletionSuggestions(PurgeCompletionSuggestionsRequest request) throws io.grpc.StatusException Permanently deletes all [CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s for a DataStore.
- Throws:
io.grpc.StatusException
-