Interface RetrieveContextsRequestOrBuilder (3.54.0)

public interface RetrieveContextsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataSourceCase()

public abstract RetrieveContextsRequest.DataSourceCase getDataSourceCase()
Returns
Type Description
RetrieveContextsRequest.DataSourceCase

getParent()

public abstract String getParent()

Required. The resource name of the Location from which to retrieve RagContexts. The users must have permission to make a call in the project. Format: projects/{project}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The resource name of the Location from which to retrieve RagContexts. The users must have permission to make a call in the project. Format: projects/{project}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getQuery()

public abstract RagQuery getQuery()

Required. Single RAG retrieve query.

.google.cloud.aiplatform.v1beta1.RagQuery query = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagQuery

The query.

getQueryOrBuilder()

public abstract RagQueryOrBuilder getQueryOrBuilder()

Required. Single RAG retrieve query.

.google.cloud.aiplatform.v1beta1.RagQuery query = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagQueryOrBuilder

getVertexRagStore()

public abstract RetrieveContextsRequest.VertexRagStore getVertexRagStore()

The data source for Vertex RagStore.

.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore vertex_rag_store = 2;

Returns
Type Description
RetrieveContextsRequest.VertexRagStore

The vertexRagStore.

getVertexRagStoreOrBuilder()

public abstract RetrieveContextsRequest.VertexRagStoreOrBuilder getVertexRagStoreOrBuilder()

The data source for Vertex RagStore.

.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore vertex_rag_store = 2;

Returns
Type Description
RetrieveContextsRequest.VertexRagStoreOrBuilder

hasQuery()

public abstract boolean hasQuery()

Required. Single RAG retrieve query.

.google.cloud.aiplatform.v1beta1.RagQuery query = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the query field is set.

hasVertexRagStore()

public abstract boolean hasVertexRagStore()

The data source for Vertex RagStore.

.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore vertex_rag_store = 2;

Returns
Type Description
boolean

Whether the vertexRagStore field is set.