public static final class KnowledgeBasesGrpc.KnowledgeBasesStub extends AbstractAsyncStub<KnowledgeBasesGrpc.KnowledgeBasesStub>
Service for managing [KnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBase].
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected KnowledgeBasesGrpc.KnowledgeBasesStub |
build(Channel channel,
CallOptions callOptions) |
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.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected KnowledgeBasesGrpc.KnowledgeBasesStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<KnowledgeBasesGrpc.KnowledgeBasesStub>
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`.
Copyright © 2022 Google LLC. All rights reserved.