Interface RetrievalOrBuilder (3.41.0)

public interface RetrievalOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisableAttribution()

public abstract boolean getDisableAttribution()

Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.

bool disable_attribution = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The disableAttribution.

getSourceCase()

public abstract Retrieval.SourceCase getSourceCase()
Returns
TypeDescription
Retrieval.SourceCase

getVertexAiSearch()

public abstract VertexAISearch getVertexAiSearch()

Set to use data source powered by Vertex AI Search.

.google.cloud.aiplatform.v1beta1.VertexAISearch vertex_ai_search = 2;

Returns
TypeDescription
VertexAISearch

The vertexAiSearch.

getVertexAiSearchOrBuilder()

public abstract VertexAISearchOrBuilder getVertexAiSearchOrBuilder()

Set to use data source powered by Vertex AI Search.

.google.cloud.aiplatform.v1beta1.VertexAISearch vertex_ai_search = 2;

Returns
TypeDescription
VertexAISearchOrBuilder

hasVertexAiSearch()

public abstract boolean hasVertexAiSearch()

Set to use data source powered by Vertex AI Search.

.google.cloud.aiplatform.v1beta1.VertexAISearch vertex_ai_search = 2;

Returns
TypeDescription
boolean

Whether the vertexAiSearch field is set.