public static final class KnowledgeBasesGrpc.KnowledgeBasesFutureStub extends AbstractFutureStub<KnowledgeBasesGrpc.KnowledgeBasesFutureStub>
Service for managing [KnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBase].
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected KnowledgeBasesGrpc.KnowledgeBasesFutureStub |
build(Channel channel,
CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<KnowledgeBase> |
createKnowledgeBase(CreateKnowledgeBaseRequest request)
Creates a knowledge base.
|
com.google.common.util.concurrent.ListenableFuture<Empty> |
deleteKnowledgeBase(DeleteKnowledgeBaseRequest request)
Deletes the specified knowledge base.
|
com.google.common.util.concurrent.ListenableFuture<KnowledgeBase> |
getKnowledgeBase(GetKnowledgeBaseRequest request)
Retrieves the specified knowledge base.
|
com.google.common.util.concurrent.ListenableFuture<ListKnowledgeBasesResponse> |
listKnowledgeBases(ListKnowledgeBasesRequest request)
Returns the list of all knowledge bases of the specified agent.
|
com.google.common.util.concurrent.ListenableFuture<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.KnowledgeBasesFutureStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<KnowledgeBasesGrpc.KnowledgeBasesFutureStub>
public com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<KnowledgeBase> getKnowledgeBase(GetKnowledgeBaseRequest request)
Retrieves the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
public com.google.common.util.concurrent.ListenableFuture<KnowledgeBase> createKnowledgeBase(CreateKnowledgeBaseRequest request)
Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
public com.google.common.util.concurrent.ListenableFuture<Empty> deleteKnowledgeBase(DeleteKnowledgeBaseRequest request)
Deletes the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
public com.google.common.util.concurrent.ListenableFuture<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.