Package com.google.genai.types
Class GroundingChunkMaps
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.GroundingChunkMaps
Chunk from Google Maps. This data type is not supported in Gemini API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for GroundingChunkMaps. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GroundingChunkMaps.Builderbuilder()Instantiates a builder for GroundingChunkMaps.static GroundingChunkMapsDeserializes a JSON string to a GroundingChunkMaps object.abstract Optional<GroundingChunkMapsPlaceAnswerSources>Sources used to generate the place answer.placeId()This Place's resource name, in `places/{place_id}` format.text()Text of the place answer.title()Title of the place.abstract GroundingChunkMaps.BuilderCreates a builder with the same values as this instance.uri()URI reference of the place.Methods inherited from class com.google.genai.JsonSerializable
setMaxReadLength, stringToJsonNode, toJson
-
Constructor Details
-
GroundingChunkMaps
public GroundingChunkMaps()
-
-
Method Details
-
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. -
placeId
This Place's resource name, in `places/{place_id}` format. Can be used to look up the Place. -
text
Text of the place answer. -
title
Title of the place. -
uri
URI reference of the place. -
builder
Instantiates a builder for GroundingChunkMaps. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a GroundingChunkMaps object.
-