Class VertexRagDataServiceGrpc.VertexRagDataServiceBlockingStub (3.44.0)

public static final class VertexRagDataServiceGrpc.VertexRagDataServiceBlockingStub extends AbstractBlockingStub<VertexRagDataServiceGrpc.VertexRagDataServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service VertexRagDataService.

A service for managing user data for RAG.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > VertexRagDataServiceGrpc.VertexRagDataServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createRagCorpus(CreateRagCorpusRequest request)

public Operation createRagCorpus(CreateRagCorpusRequest request)

Creates a RagCorpus.

Parameter
Name Description
request CreateRagCorpusRequest
Returns
Type Description
Operation

deleteRagCorpus(DeleteRagCorpusRequest request)

public Operation deleteRagCorpus(DeleteRagCorpusRequest request)

Deletes a RagCorpus.

Parameter
Name Description
request DeleteRagCorpusRequest
Returns
Type Description
Operation

deleteRagFile(DeleteRagFileRequest request)

public Operation deleteRagFile(DeleteRagFileRequest request)

Deletes a RagFile.

Parameter
Name Description
request DeleteRagFileRequest
Returns
Type Description
Operation

getRagCorpus(GetRagCorpusRequest request)

public RagCorpus getRagCorpus(GetRagCorpusRequest request)

Gets a RagCorpus.

Parameter
Name Description
request GetRagCorpusRequest
Returns
Type Description
RagCorpus

getRagFile(GetRagFileRequest request)

public RagFile getRagFile(GetRagFileRequest request)

Gets a RagFile.

Parameter
Name Description
request GetRagFileRequest
Returns
Type Description
RagFile

importRagFiles(ImportRagFilesRequest request)

public Operation importRagFiles(ImportRagFilesRequest request)

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

Parameter
Name Description
request ImportRagFilesRequest
Returns
Type Description
Operation

listRagCorpora(ListRagCorporaRequest request)

public ListRagCorporaResponse listRagCorpora(ListRagCorporaRequest request)

Lists RagCorpora in a Location.

Parameter
Name Description
request ListRagCorporaRequest
Returns
Type Description
ListRagCorporaResponse

listRagFiles(ListRagFilesRequest request)

public ListRagFilesResponse listRagFiles(ListRagFilesRequest request)

Lists RagFiles in a RagCorpus.

Parameter
Name Description
request ListRagFilesRequest
Returns
Type Description
ListRagFilesResponse

uploadRagFile(UploadRagFileRequest request)

public UploadRagFileResponse uploadRagFile(UploadRagFileRequest request)

Upload a file into a RagCorpus.

Parameter
Name Description
request UploadRagFileRequest
Returns
Type Description
UploadRagFileResponse