Class KnowledgeBasesStub (4.8.6)

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

deleteKnowledgeBaseCallable()

public UnaryCallable<DeleteKnowledgeBaseRequest,Empty> deleteKnowledgeBaseCallable()
Returns

getKnowledgeBaseCallable()

public UnaryCallable<GetKnowledgeBaseRequest,KnowledgeBase> getKnowledgeBaseCallable()
Returns

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

listKnowledgeBasesPagedCallable()

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

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