Class KnowledgeBasesStub (4.47.0)

public abstract class KnowledgeBasesStub implements BackgroundResource

Base stub class for the KnowledgeBases service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > KnowledgeBasesStub

Implements

BackgroundResource

Constructors

KnowledgeBasesStub()

public KnowledgeBasesStub()

Methods

close()

public abstract void close()

createKnowledgeBaseCallable()

public UnaryCallable<CreateKnowledgeBaseRequest,KnowledgeBase> createKnowledgeBaseCallable()
Returns
TypeDescription
UnaryCallable<CreateKnowledgeBaseRequest,KnowledgeBase>

deleteKnowledgeBaseCallable()

public UnaryCallable<DeleteKnowledgeBaseRequest,Empty> deleteKnowledgeBaseCallable()
Returns
TypeDescription
UnaryCallable<DeleteKnowledgeBaseRequest,Empty>

getKnowledgeBaseCallable()

public UnaryCallable<GetKnowledgeBaseRequest,KnowledgeBase> getKnowledgeBaseCallable()
Returns
TypeDescription
UnaryCallable<GetKnowledgeBaseRequest,KnowledgeBase>

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

listKnowledgeBasesCallable()

public UnaryCallable<ListKnowledgeBasesRequest,ListKnowledgeBasesResponse> listKnowledgeBasesCallable()
Returns
TypeDescription
UnaryCallable<ListKnowledgeBasesRequest,ListKnowledgeBasesResponse>

listKnowledgeBasesPagedCallable()

public UnaryCallable<ListKnowledgeBasesRequest,KnowledgeBasesClient.ListKnowledgeBasesPagedResponse> listKnowledgeBasesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListKnowledgeBasesRequest,ListKnowledgeBasesPagedResponse>

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,KnowledgeBasesClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>

updateKnowledgeBaseCallable()

public UnaryCallable<UpdateKnowledgeBaseRequest,KnowledgeBase> updateKnowledgeBaseCallable()
Returns
TypeDescription
UnaryCallable<UpdateKnowledgeBaseRequest,KnowledgeBase>