public static final class KnowledgeBasesGrpc.KnowledgeBasesBlockingStub extends AbstractBlockingStub<KnowledgeBasesGrpc.KnowledgeBasesBlockingStub>
Service for managing [KnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBase].
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected KnowledgeBasesGrpc.KnowledgeBasesBlockingStub |
build(Channel channel,
CallOptions callOptions) |
KnowledgeBase |
createKnowledgeBase(CreateKnowledgeBaseRequest request)
Creates a knowledge base.
|
Empty |
deleteKnowledgeBase(DeleteKnowledgeBaseRequest request)
Deletes the specified knowledge base.
|
KnowledgeBase |
getKnowledgeBase(GetKnowledgeBaseRequest request)
Retrieves the specified knowledge base.
|
ListKnowledgeBasesResponse |
listKnowledgeBases(ListKnowledgeBasesRequest request)
Returns the list of all knowledge bases of the specified agent.
|
KnowledgeBase |
updateKnowledgeBase(UpdateKnowledgeBaseRequest request)
Updates the specified knowledge base.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected KnowledgeBasesGrpc.KnowledgeBasesBlockingStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<KnowledgeBasesGrpc.KnowledgeBasesBlockingStub>
public ListKnowledgeBasesResponse listKnowledgeBases(ListKnowledgeBasesRequest request)
Returns the list of all knowledge bases of the specified agent. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
public KnowledgeBase getKnowledgeBase(GetKnowledgeBaseRequest request)
Retrieves the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
public KnowledgeBase createKnowledgeBase(CreateKnowledgeBaseRequest request)
Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
public Empty deleteKnowledgeBase(DeleteKnowledgeBaseRequest request)
Deletes the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
public KnowledgeBase updateKnowledgeBase(UpdateKnowledgeBaseRequest request)
Updates the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
Copyright © 2022 Google LLC. All rights reserved.