Interface RetrieveContextsRequest.VertexRagStoreOrBuilder (3.43.0)

public static interface RetrieveContextsRequest.VertexRagStoreOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRagCorpora(int index)

public abstract String getRagCorpora(int index)

Required. RagCorpora resource name. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus} Currently only one corpus is allowed. In the future we may open up multiple corpora support. However, they should be from the same project and location.

repeated string rag_corpora = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The ragCorpora at the given index.

getRagCorporaBytes(int index)

public abstract ByteString getRagCorporaBytes(int index)

Required. RagCorpora resource name. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus} Currently only one corpus is allowed. In the future we may open up multiple corpora support. However, they should be from the same project and location.

repeated string rag_corpora = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the ragCorpora at the given index.

getRagCorporaCount()

public abstract int getRagCorporaCount()

Required. RagCorpora resource name. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus} Currently only one corpus is allowed. In the future we may open up multiple corpora support. However, they should be from the same project and location.

repeated string rag_corpora = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of ragCorpora.

getRagCorporaList()

public abstract List<String> getRagCorporaList()

Required. RagCorpora resource name. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus} Currently only one corpus is allowed. In the future we may open up multiple corpora support. However, they should be from the same project and location.

repeated string rag_corpora = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the ragCorpora.