Interface RetrieveContextsRequest.VertexRagStore.RagResourceOrBuilder (3.55.0)

public static interface RetrieveContextsRequest.VertexRagStore.RagResourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRagCorpus()

public abstract String getRagCorpus()

Optional. RagCorpora resource name. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}

string rag_corpus = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The ragCorpus.

getRagCorpusBytes()

public abstract ByteString getRagCorpusBytes()

Optional. RagCorpora resource name. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}

string rag_corpus = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for ragCorpus.

getRagFileIds(int index)

public abstract String getRagFileIds(int index)

Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.

repeated string rag_file_ids = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The ragFileIds at the given index.

getRagFileIdsBytes(int index)

public abstract ByteString getRagFileIdsBytes(int index)

Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.

repeated string rag_file_ids = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the ragFileIds at the given index.

getRagFileIdsCount()

public abstract int getRagFileIdsCount()

Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.

repeated string rag_file_ids = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of ragFileIds.

getRagFileIdsList()

public abstract List<String> getRagFileIdsList()

Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.

repeated string rag_file_ids = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the ragFileIds.