Class DeveloperKnowledgeStub (0.3.0)

public abstract class DeveloperKnowledgeStub implements BackgroundResource

Base stub class for the DeveloperKnowledge service API.

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

Inheritance

java.lang.Object > DeveloperKnowledgeStub

Implements

com.google.api.gax.core.BackgroundResource

Constructors

DeveloperKnowledgeStub()

public DeveloperKnowledgeStub()

Methods

answerQueryCallable()

public UnaryCallable<AnswerQueryRequest,AnswerQueryResponse> answerQueryCallable()
Returns
Type Description
com.google.api.gax.rpc.UnaryCallable<AnswerQueryRequest,AnswerQueryResponse>

batchGetDocumentsCallable()

public UnaryCallable<BatchGetDocumentsRequest,BatchGetDocumentsResponse> batchGetDocumentsCallable()
Returns
Type Description
com.google.api.gax.rpc.UnaryCallable<BatchGetDocumentsRequest,BatchGetDocumentsResponse>

close()

public abstract void close()

getDocumentCallable()

public UnaryCallable<GetDocumentRequest,Document> getDocumentCallable()
Returns
Type Description
com.google.api.gax.rpc.UnaryCallable<GetDocumentRequest,Document>

searchDocumentChunksCallable()

public UnaryCallable<SearchDocumentChunksRequest,SearchDocumentChunksResponse> searchDocumentChunksCallable()
Returns
Type Description
com.google.api.gax.rpc.UnaryCallable<SearchDocumentChunksRequest,SearchDocumentChunksResponse>

searchDocumentChunksPagedCallable()

public UnaryCallable<SearchDocumentChunksRequest,DeveloperKnowledgeClient.SearchDocumentChunksPagedResponse> searchDocumentChunksPagedCallable()
Returns
Type Description
com.google.api.gax.rpc.UnaryCallable<SearchDocumentChunksRequest,SearchDocumentChunksPagedResponse>