public abstract static class KnowledgeBasesGrpc.KnowledgeBasesImplBase extends Object implements BindableService
Service for managing [KnowledgeBases][google.cloud.dialogflow.v2beta1.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. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
public void getKnowledgeBase(GetKnowledgeBaseRequest request, StreamObserver<KnowledgeBase> responseObserver)
Retrieves the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
public void createKnowledgeBase(CreateKnowledgeBaseRequest request, StreamObserver<KnowledgeBase> responseObserver)
Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
public void deleteKnowledgeBase(DeleteKnowledgeBaseRequest request, StreamObserver<Empty> responseObserver)
Deletes the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
public void updateKnowledgeBase(UpdateKnowledgeBaseRequest request, StreamObserver<KnowledgeBase> responseObserver)
Updates the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
public final ServerServiceDefinition bindService()
bindService
in interface BindableService
Copyright © 2022 Google LLC. All rights reserved.