Package com.google.genai.types
Class GroundingChunk.Builder
java.lang.Object
com.google.genai.types.GroundingChunk.Builder
- Enclosing class:
- GroundingChunk
Builder for GroundingChunk.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract GroundingChunkbuild()abstract GroundingChunk.Buildermaps(GroundingChunkMaps maps) Setter for maps.maps(GroundingChunkMaps.Builder mapsBuilder) Setter for maps builder.abstract GroundingChunk.BuilderretrievedContext(GroundingChunkRetrievedContext retrievedContext) Setter for retrievedContext.retrievedContext(GroundingChunkRetrievedContext.Builder retrievedContextBuilder) Setter for retrievedContext builder.abstract GroundingChunk.Builderweb(GroundingChunkWeb web) Setter for web.web(GroundingChunkWeb.Builder webBuilder) Setter for web builder.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maps
Setter for maps.maps: Grounding chunk from Google Maps. This field is not supported in Gemini API.
-
maps
Setter for maps builder.maps: Grounding chunk from Google Maps. This field is not supported in Gemini API.
-
retrievedContext
public abstract GroundingChunk.Builder retrievedContext(GroundingChunkRetrievedContext retrievedContext) Setter for retrievedContext.retrievedContext: Grounding chunk from context retrieved by the retrieval tools. This field is not supported in Gemini API.
-
retrievedContext
public GroundingChunk.Builder retrievedContext(GroundingChunkRetrievedContext.Builder retrievedContextBuilder) Setter for retrievedContext builder.retrievedContext: Grounding chunk from context retrieved by the retrieval tools. This field is not supported in Gemini API.
-
web
Setter for web.web: Grounding chunk from the web.
-
web
Setter for web builder.web: Grounding chunk from the web.
-
build
-