Class KnowledgeBasesStub (4.18.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
Type Description
UnaryCallable<CreateKnowledgeBaseRequest,KnowledgeBase>

deleteKnowledgeBaseCallable()

public UnaryCallable<DeleteKnowledgeBaseRequest,Empty> deleteKnowledgeBaseCallable()
Returns
Type Description
UnaryCallable<DeleteKnowledgeBaseRequest,Empty>

getKnowledgeBaseCallable()

public UnaryCallable<GetKnowledgeBaseRequest,KnowledgeBase> getKnowledgeBaseCallable()
Returns
Type Description
UnaryCallable<GetKnowledgeBaseRequest,KnowledgeBase>

getLocationCallable()

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

listKnowledgeBasesCallable()

public UnaryCallable<ListKnowledgeBasesRequest,ListKnowledgeBasesResponse> listKnowledgeBasesCallable()
Returns
Type Description
UnaryCallable<ListKnowledgeBasesRequest,ListKnowledgeBasesResponse>

listKnowledgeBasesPagedCallable()

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

listLocationsCallable()

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

listLocationsPagedCallable()

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

updateKnowledgeBaseCallable()

public UnaryCallable<UpdateKnowledgeBaseRequest,KnowledgeBase> updateKnowledgeBaseCallable()
Returns
Type Description
UnaryCallable<UpdateKnowledgeBaseRequest,KnowledgeBase>