Class VertexRagDataServiceGrpc.VertexRagDataServiceStub (3.56.0)

public static final class VertexRagDataServiceGrpc.VertexRagDataServiceStub extends AbstractAsyncStub<VertexRagDataServiceGrpc.VertexRagDataServiceStub>

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

A service for managing user data for RAG.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > VertexRagDataServiceGrpc.VertexRagDataServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

createRagCorpus(CreateRagCorpusRequest request, StreamObserver<Operation> responseObserver)

public void createRagCorpus(CreateRagCorpusRequest request, StreamObserver<Operation> responseObserver)

Creates a RagCorpus.

Parameters
Name Description
request CreateRagCorpusRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteRagCorpus(DeleteRagCorpusRequest request, StreamObserver<Operation> responseObserver)

public void deleteRagCorpus(DeleteRagCorpusRequest request, StreamObserver<Operation> responseObserver)

Deletes a RagCorpus.

Parameters
Name Description
request DeleteRagCorpusRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteRagFile(DeleteRagFileRequest request, StreamObserver<Operation> responseObserver)

public void deleteRagFile(DeleteRagFileRequest request, StreamObserver<Operation> responseObserver)

Deletes a RagFile.

Parameters
Name Description
request DeleteRagFileRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getRagCorpus(GetRagCorpusRequest request, StreamObserver<RagCorpus> responseObserver)

public void getRagCorpus(GetRagCorpusRequest request, StreamObserver<RagCorpus> responseObserver)

Gets a RagCorpus.

Parameters
Name Description
request GetRagCorpusRequest
responseObserver io.grpc.stub.StreamObserver<RagCorpus>

getRagFile(GetRagFileRequest request, StreamObserver<RagFile> responseObserver)

public void getRagFile(GetRagFileRequest request, StreamObserver<RagFile> responseObserver)

Gets a RagFile.

Parameters
Name Description
request GetRagFileRequest
responseObserver io.grpc.stub.StreamObserver<RagFile>

importRagFiles(ImportRagFilesRequest request, StreamObserver<Operation> responseObserver)

public void importRagFiles(ImportRagFilesRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request ImportRagFilesRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

listRagCorpora(ListRagCorporaRequest request, StreamObserver<ListRagCorporaResponse> responseObserver)

public void listRagCorpora(ListRagCorporaRequest request, StreamObserver<ListRagCorporaResponse> responseObserver)

Lists RagCorpora in a Location.

Parameters
Name Description
request ListRagCorporaRequest
responseObserver io.grpc.stub.StreamObserver<ListRagCorporaResponse>

listRagFiles(ListRagFilesRequest request, StreamObserver<ListRagFilesResponse> responseObserver)

public void listRagFiles(ListRagFilesRequest request, StreamObserver<ListRagFilesResponse> responseObserver)

Lists RagFiles in a RagCorpus.

Parameters
Name Description
request ListRagFilesRequest
responseObserver io.grpc.stub.StreamObserver<ListRagFilesResponse>

updateRagCorpus(UpdateRagCorpusRequest request, StreamObserver<Operation> responseObserver)

public void updateRagCorpus(UpdateRagCorpusRequest request, StreamObserver<Operation> responseObserver)

Updates a RagCorpus.

Parameters
Name Description
request UpdateRagCorpusRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

uploadRagFile(UploadRagFileRequest request, StreamObserver<UploadRagFileResponse> responseObserver)

public void uploadRagFile(UploadRagFileRequest request, StreamObserver<UploadRagFileResponse> responseObserver)

Upload a file into a RagCorpus.

Parameters
Name Description
request UploadRagFileRequest
responseObserver io.grpc.stub.StreamObserver<UploadRagFileResponse>