Package com.google.genai.types
Class GroundingChunkMaps.Builder
java.lang.Object
com.google.genai.types.GroundingChunkMaps.Builder
- Enclosing class:
- GroundingChunkMaps
Builder for GroundingChunkMaps.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract GroundingChunkMapsbuild()Clears the value of placeAnswerSources field.Clears the value of placeId field.Clears the value of text field.Clears the value of title field.clearUri()Clears the value of uri field.abstract GroundingChunkMaps.BuilderplaceAnswerSources(GroundingChunkMapsPlaceAnswerSources placeAnswerSources) Setter for placeAnswerSources.placeAnswerSources(GroundingChunkMapsPlaceAnswerSources.Builder placeAnswerSourcesBuilder) Setter for placeAnswerSources builder.abstract GroundingChunkMaps.BuilderSetter for placeId.abstract GroundingChunkMaps.BuilderSetter for text.abstract GroundingChunkMaps.BuilderSetter for title.abstract GroundingChunkMaps.BuilderSetter for uri.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
placeAnswerSources
public abstract GroundingChunkMaps.Builder placeAnswerSources(GroundingChunkMapsPlaceAnswerSources placeAnswerSources) Setter for placeAnswerSources.placeAnswerSources: The sources that were used to generate the place answer.
This includes review snippets and photos that were used to generate the answer, as well as URIs to flag content.
-
placeAnswerSources
@CanIgnoreReturnValue public GroundingChunkMaps.Builder placeAnswerSources(GroundingChunkMapsPlaceAnswerSources.Builder placeAnswerSourcesBuilder) Setter for placeAnswerSources builder.placeAnswerSources: The sources that were used to generate the place answer.
This includes review snippets and photos that were used to generate the answer, as well as URIs to flag content.
-
clearPlaceAnswerSources
Clears the value of placeAnswerSources field. -
placeId
Setter for placeId.placeId: This Place's resource name, in `places/{place_id}` format.
This can be used to look up the place in the Google Maps API.
-
clearPlaceId
Clears the value of placeId field. -
text
Setter for text.text: The text of the place answer.
-
clearText
Clears the value of text field. -
title
Setter for title.title: The title of the place.
-
clearTitle
Clears the value of title field. -
uri
Setter for uri.uri: The URI of the place.
-
clearUri
Clears the value of uri field. -
build
-