public static final class KnowledgeBasesGrpc.KnowledgeBasesStub extends AbstractAsyncStub<KnowledgeBasesGrpc.KnowledgeBasesStub>
Service for managing [KnowledgeBases][google.cloud.dialogflow.v2.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.
public void getKnowledgeBase(GetKnowledgeBaseRequest request, StreamObserver<KnowledgeBase> responseObserver)
Retrieves the specified knowledge base.
public void createKnowledgeBase(CreateKnowledgeBaseRequest request, StreamObserver<KnowledgeBase> responseObserver)
Creates a knowledge base.
public void deleteKnowledgeBase(DeleteKnowledgeBaseRequest request, StreamObserver<Empty> responseObserver)
Deletes the specified knowledge base.
public void updateKnowledgeBase(UpdateKnowledgeBaseRequest request, StreamObserver<KnowledgeBase> responseObserver)
Updates the specified knowledge base.
Copyright © 2022 Google LLC. All rights reserved.