Package com.google.cloud.dialogflow.v2
Class KnowledgeBasesGrpc.KnowledgeBasesFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<KnowledgeBasesGrpc.KnowledgeBasesFutureStub>
com.google.cloud.dialogflow.v2.KnowledgeBasesGrpc.KnowledgeBasesFutureStub
- Enclosing class:
- KnowledgeBasesGrpc
public static final class KnowledgeBasesGrpc.KnowledgeBasesFutureStub
extends io.grpc.stub.AbstractFutureStub<KnowledgeBasesGrpc.KnowledgeBasesFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service KnowledgeBases.
Service for managing [KnowledgeBases][google.cloud.dialogflow.v2.KnowledgeBase].
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<KnowledgeBase>Creates a knowledge base.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>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>Returns the list of all knowledge bases of the specified agent.com.google.common.util.concurrent.ListenableFuture<KnowledgeBase>Updates the specified knowledge base.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected KnowledgeBasesGrpc.KnowledgeBasesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<KnowledgeBasesGrpc.KnowledgeBasesFutureStub>
-
listKnowledgeBases
public com.google.common.util.concurrent.ListenableFuture<ListKnowledgeBasesResponse> listKnowledgeBases(ListKnowledgeBasesRequest request) Returns the list of all knowledge bases of the specified agent.
-
getKnowledgeBase
public com.google.common.util.concurrent.ListenableFuture<KnowledgeBase> getKnowledgeBase(GetKnowledgeBaseRequest request) Retrieves the specified knowledge base.
-
createKnowledgeBase
public com.google.common.util.concurrent.ListenableFuture<KnowledgeBase> createKnowledgeBase(CreateKnowledgeBaseRequest request) Creates a knowledge base.
-
deleteKnowledgeBase
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteKnowledgeBase(DeleteKnowledgeBaseRequest request) Deletes the specified knowledge base.
-
updateKnowledgeBase
public com.google.common.util.concurrent.ListenableFuture<KnowledgeBase> updateKnowledgeBase(UpdateKnowledgeBaseRequest request) Updates the specified knowledge base.
-