Class KnowledgeBasesGrpc.KnowledgeBasesBlockingStub (4.7.4)

public static final class KnowledgeBasesGrpc.KnowledgeBasesBlockingStub extends AbstractBlockingStub<KnowledgeBasesGrpc.KnowledgeBasesBlockingStub>

Service for managing KnowledgeBases.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > KnowledgeBasesGrpc.KnowledgeBasesBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected KnowledgeBasesGrpc.KnowledgeBasesBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
KnowledgeBasesGrpc.KnowledgeBasesBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createKnowledgeBase(CreateKnowledgeBaseRequest request)

public KnowledgeBase createKnowledgeBase(CreateKnowledgeBaseRequest request)

Creates a knowledge base. Note: The projects.agent.knowledgeBases resource is deprecated; only use projects.knowledgeBases.

Parameter
NameDescription
requestCreateKnowledgeBaseRequest
Returns
TypeDescription
KnowledgeBase

deleteKnowledgeBase(DeleteKnowledgeBaseRequest request)

public Empty deleteKnowledgeBase(DeleteKnowledgeBaseRequest request)

Deletes the specified knowledge base. Note: The projects.agent.knowledgeBases resource is deprecated; only use projects.knowledgeBases.

Parameter
NameDescription
requestDeleteKnowledgeBaseRequest
Returns
TypeDescription
Empty

getKnowledgeBase(GetKnowledgeBaseRequest request)

public KnowledgeBase getKnowledgeBase(GetKnowledgeBaseRequest request)

Retrieves the specified knowledge base. Note: The projects.agent.knowledgeBases resource is deprecated; only use projects.knowledgeBases.

Parameter
NameDescription
requestGetKnowledgeBaseRequest
Returns
TypeDescription
KnowledgeBase

listKnowledgeBases(ListKnowledgeBasesRequest request)

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.

Parameter
NameDescription
requestListKnowledgeBasesRequest
Returns
TypeDescription
ListKnowledgeBasesResponse

updateKnowledgeBase(UpdateKnowledgeBaseRequest request)

public KnowledgeBase updateKnowledgeBase(UpdateKnowledgeBaseRequest request)

Updates the specified knowledge base. Note: The projects.agent.knowledgeBases resource is deprecated; only use projects.knowledgeBases.

Parameter
NameDescription
requestUpdateKnowledgeBaseRequest
Returns
TypeDescription
KnowledgeBase