Package com.google.genai.types
Class GroundingChunkMaps
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.GroundingChunkMaps
Chunk from Google Maps.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for GroundingChunkMaps. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GroundingChunkMaps.Builder
builder()
Instantiates a builder for GroundingChunkMaps.static GroundingChunkMaps
Deserializes 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 chunk.title()
Title of the chunk.abstract GroundingChunkMaps.Builder
Creates a builder with the same values as this instance.uri()
URI reference of the chunk.Methods inherited from class com.google.genai.JsonSerializable
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 chunk. -
title
Title of the chunk. -
uri
URI reference of the chunk. -
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.
-