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: Sources 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: Sources 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. Can be used to look up the Place.
-
clearPlaceId
Clears the value of placeId field. -
text
Setter for text.text: Text of the place answer.
-
clearText
Clears the value of text field. -
title
Setter for title.title: Title of the place.
-
clearTitle
Clears the value of title field. -
uri
Setter for uri.uri: URI reference of the place.
-
clearUri
Clears the value of uri field. -
build
-