Class GroundingChunkMaps.Builder
-
- All Implemented Interfaces:
public abstract class GroundingChunkMaps.BuilderBuilder for GroundingChunkMaps.
-
-
Constructor Summary
Constructors Constructor Description GroundingChunkMaps.Builder()
-
Method Summary
-
-
Method Detail
-
placeAnswerSources
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() 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
@CanIgnoreReturnValue() GroundingChunkMaps.Builder clearPlaceAnswerSources()
Clears the value of placeAnswerSources field.
-
placeId
abstract GroundingChunkMaps.Builder placeId(String 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
@CanIgnoreReturnValue() GroundingChunkMaps.Builder clearPlaceId()
Clears the value of placeId field.
-
text
abstract GroundingChunkMaps.Builder text(String text)
Setter for text.
text: The text of the place answer.
-
clearText
@CanIgnoreReturnValue() GroundingChunkMaps.Builder clearText()
Clears the value of text field.
-
title
abstract GroundingChunkMaps.Builder title(String title)
Setter for title.
title: The title of the place.
-
clearTitle
@CanIgnoreReturnValue() GroundingChunkMaps.Builder clearTitle()
Clears the value of title field.
-
uri
abstract GroundingChunkMaps.Builder uri(String uri)
Setter for uri.
uri: The URI of the place.
-
clearUri
@CanIgnoreReturnValue() GroundingChunkMaps.Builder clearUri()
Clears the value of uri field.
-
route
abstract GroundingChunkMaps.Builder route(GroundingChunkMapsRoute route)
Setter for route.
route: Output only. Route information.
-
route
@CanIgnoreReturnValue() GroundingChunkMaps.Builder route(GroundingChunkMapsRoute.Builder routeBuilder)
Setter for route builder.
route: Output only. Route information.
-
clearRoute
@CanIgnoreReturnValue() GroundingChunkMaps.Builder clearRoute()
Clears the value of route field.
-
build
abstract GroundingChunkMaps build()
-
-
-
-