public abstract static class KnowledgeBasesGrpc.KnowledgeBasesImplBase extends Object implements BindableService
Service for managing [KnowledgeBases][google.cloud.dialogflow.v2.KnowledgeBase].
Constructor and Description |
---|
KnowledgeBasesImplBase() |
Modifier and Type | Method and Description |
---|---|
ServerServiceDefinition |
bindService() |
void |
createKnowledgeBase(CreateKnowledgeBaseRequest request,
StreamObserver<KnowledgeBase> responseObserver)
Creates a knowledge base.
|
void |
deleteKnowledgeBase(DeleteKnowledgeBaseRequest request,
StreamObserver<Empty> responseObserver)
Deletes the specified knowledge base.
|
void |
getKnowledgeBase(GetKnowledgeBaseRequest request,
StreamObserver<KnowledgeBase> responseObserver)
Retrieves the specified knowledge base.
|
void |
listKnowledgeBases(ListKnowledgeBasesRequest request,
StreamObserver<ListKnowledgeBasesResponse> responseObserver)
Returns the list of all knowledge bases of the specified agent.
|
void |
updateKnowledgeBase(UpdateKnowledgeBaseRequest request,
StreamObserver<KnowledgeBase> responseObserver)
Updates the specified knowledge base.
|
public void listKnowledgeBases(ListKnowledgeBasesRequest request, StreamObserver<ListKnowledgeBasesResponse> responseObserver)
Returns the list of all knowledge bases of the specified agent.
public void getKnowledgeBase(GetKnowledgeBaseRequest request, StreamObserver<KnowledgeBase> responseObserver)
Retrieves the specified knowledge base.
public void createKnowledgeBase(CreateKnowledgeBaseRequest request, StreamObserver<KnowledgeBase> responseObserver)
Creates a knowledge base.
public void deleteKnowledgeBase(DeleteKnowledgeBaseRequest request, StreamObserver<Empty> responseObserver)
Deletes the specified knowledge base.
public void updateKnowledgeBase(UpdateKnowledgeBaseRequest request, StreamObserver<KnowledgeBase> responseObserver)
Updates the specified knowledge base.
public final ServerServiceDefinition bindService()
bindService
in interface BindableService
Copyright © 2022 Google LLC. All rights reserved.