Interface GenerateGroundedContentRequest.GroundingSourceOrBuilder (0.50.0)

public static interface GenerateGroundedContentRequest.GroundingSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGoogleSearchSource()

public abstract GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource getGoogleSearchSource()

If set, grounding is performed with Google Search.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource google_search_source = 3;

Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource

The googleSearchSource.

getGoogleSearchSourceOrBuilder()

public abstract GenerateGroundedContentRequest.GroundingSource.GoogleSearchSourceOrBuilder getGoogleSearchSourceOrBuilder()

If set, grounding is performed with Google Search.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource google_search_source = 3;

Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSourceOrBuilder

getInlineSource()

public abstract GenerateGroundedContentRequest.GroundingSource.InlineSource getInlineSource()

If set, grounding is performed with inline content.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.InlineSource inline_source = 1;

Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.InlineSource

The inlineSource.

getInlineSourceOrBuilder()

public abstract GenerateGroundedContentRequest.GroundingSource.InlineSourceOrBuilder getInlineSourceOrBuilder()

If set, grounding is performed with inline content.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.InlineSource inline_source = 1;

Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.InlineSourceOrBuilder

getSearchSource()

public abstract GenerateGroundedContentRequest.GroundingSource.SearchSource getSearchSource()

If set, grounding is performed with Vertex AI Search.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.SearchSource search_source = 2;

Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.SearchSource

The searchSource.

getSearchSourceOrBuilder()

public abstract GenerateGroundedContentRequest.GroundingSource.SearchSourceOrBuilder getSearchSourceOrBuilder()

If set, grounding is performed with Vertex AI Search.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.SearchSource search_source = 2;

Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.SearchSourceOrBuilder

getSourceCase()

public abstract GenerateGroundedContentRequest.GroundingSource.SourceCase getSourceCase()
Returns
Type Description
GenerateGroundedContentRequest.GroundingSource.SourceCase

hasGoogleSearchSource()

public abstract boolean hasGoogleSearchSource()

If set, grounding is performed with Google Search.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource google_search_source = 3;

Returns
Type Description
boolean

Whether the googleSearchSource field is set.

hasInlineSource()

public abstract boolean hasInlineSource()

If set, grounding is performed with inline content.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.InlineSource inline_source = 1;

Returns
Type Description
boolean

Whether the inlineSource field is set.

hasSearchSource()

public abstract boolean hasSearchSource()

If set, grounding is performed with Vertex AI Search.

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.SearchSource search_source = 2;

Returns
Type Description
boolean

Whether the searchSource field is set.