Class VertexRagDataServiceGrpc.VertexRagDataServiceFutureStub (3.47.0)

public static final class VertexRagDataServiceGrpc.VertexRagDataServiceFutureStub extends AbstractFutureStub<VertexRagDataServiceGrpc.VertexRagDataServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service VertexRagDataService.

A service for managing user data for RAG.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > VertexRagDataServiceGrpc.VertexRagDataServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected VertexRagDataServiceGrpc.VertexRagDataServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
VertexRagDataServiceGrpc.VertexRagDataServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createRagCorpus(CreateRagCorpusRequest request)

public ListenableFuture<Operation> createRagCorpus(CreateRagCorpusRequest request)

Creates a RagCorpus.

Parameter
Name Description
request CreateRagCorpusRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteRagCorpus(DeleteRagCorpusRequest request)

public ListenableFuture<Operation> deleteRagCorpus(DeleteRagCorpusRequest request)

Deletes a RagCorpus.

Parameter
Name Description
request DeleteRagCorpusRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteRagFile(DeleteRagFileRequest request)

public ListenableFuture<Operation> deleteRagFile(DeleteRagFileRequest request)

Deletes a RagFile.

Parameter
Name Description
request DeleteRagFileRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getRagCorpus(GetRagCorpusRequest request)

public ListenableFuture<RagCorpus> getRagCorpus(GetRagCorpusRequest request)

Gets a RagCorpus.

Parameter
Name Description
request GetRagCorpusRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<RagCorpus>

getRagFile(GetRagFileRequest request)

public ListenableFuture<RagFile> getRagFile(GetRagFileRequest request)

Gets a RagFile.

Parameter
Name Description
request GetRagFileRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<RagFile>

importRagFiles(ImportRagFilesRequest request)

public ListenableFuture<Operation> importRagFiles(ImportRagFilesRequest request)

Import files from Google Cloud Storage or Google Drive into a RagCorpus.

Parameter
Name Description
request ImportRagFilesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

listRagCorpora(ListRagCorporaRequest request)

public ListenableFuture<ListRagCorporaResponse> listRagCorpora(ListRagCorporaRequest request)

Lists RagCorpora in a Location.

Parameter
Name Description
request ListRagCorporaRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListRagCorporaResponse>

listRagFiles(ListRagFilesRequest request)

public ListenableFuture<ListRagFilesResponse> listRagFiles(ListRagFilesRequest request)

Lists RagFiles in a RagCorpus.

Parameter
Name Description
request ListRagFilesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListRagFilesResponse>

uploadRagFile(UploadRagFileRequest request)

public ListenableFuture<UploadRagFileResponse> uploadRagFile(UploadRagFileRequest request)

Upload a file into a RagCorpus.

Parameter
Name Description
request UploadRagFileRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<UploadRagFileResponse>