Interface GenerateGroundedContentRequest.GroundingSpecOrBuilder (0.50.0)

public static interface GenerateGroundedContentRequest.GroundingSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGroundingSources(int index)

public abstract GenerateGroundedContentRequest.GroundingSource getGroundingSources(int index)

Grounding sources.

repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSource grounding_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
GenerateGroundedContentRequest.GroundingSource

getGroundingSourcesCount()

public abstract int getGroundingSourcesCount()

Grounding sources.

repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSource grounding_sources = 1;

Returns
Type Description
int

getGroundingSourcesList()

public abstract List<GenerateGroundedContentRequest.GroundingSource> getGroundingSourcesList()

Grounding sources.

repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSource grounding_sources = 1;

Returns
Type Description
List<GroundingSource>

getGroundingSourcesOrBuilder(int index)

public abstract GenerateGroundedContentRequest.GroundingSourceOrBuilder getGroundingSourcesOrBuilder(int index)

Grounding sources.

repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSource grounding_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
GenerateGroundedContentRequest.GroundingSourceOrBuilder

getGroundingSourcesOrBuilderList()

public abstract List<? extends GenerateGroundedContentRequest.GroundingSourceOrBuilder> getGroundingSourcesOrBuilderList()

Grounding sources.

repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSource grounding_sources = 1;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSourceOrBuilder>