Class GoogleMaps.Builder
- Enclosing class:
- GoogleMaps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract GoogleMaps.BuilderauthConfig(AuthConfig authConfig) Setter for authConfig.authConfig(AuthConfig.Builder authConfigBuilder) Setter for authConfig builder.abstract GoogleMapsbuild()Clears the value of authConfig field.Clears the value of enableWidget field.Clears the value of groundingTypes field.abstract GoogleMaps.BuilderenableWidget(boolean enableWidget) Setter for enableWidget.abstract GoogleMaps.BuildergroundingTypes(GoogleMapsGroundingTypes groundingTypes) Setter for groundingTypes.groundingTypes(GoogleMapsGroundingTypes.Builder groundingTypesBuilder) Setter for groundingTypes builder.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authConfig
Setter for authConfig.authConfig: The authentication config to access the API. Only API key is supported. This field is not supported in Gemini API.
-
authConfig
Setter for authConfig builder.authConfig: The authentication config to access the API. Only API key is supported. This field is not supported in Gemini API.
-
clearAuthConfig
Clears the value of authConfig field. -
enableWidget
Setter for enableWidget.enableWidget: Deprecated. The Google Maps contextual widget behavior in Grounding with Google Maps is being deprecated; this field is planned for removal and no longer has any effect once removed. Optional. Whether to return a widget context token in the GroundingMetadata of the response.
-
clearEnableWidget
Clears the value of enableWidget field. -
groundingTypes
Setter for groundingTypes.groundingTypes: Optional. Specifies the types of Google Maps grounding to enable. This field is not supported in Gemini API.
-
groundingTypes
@CanIgnoreReturnValue public GoogleMaps.Builder groundingTypes(GoogleMapsGroundingTypes.Builder groundingTypesBuilder) Setter for groundingTypes builder.groundingTypes: Optional. Specifies the types of Google Maps grounding to enable. This field is not supported in Gemini API.
-
clearGroundingTypes
Clears the value of groundingTypes field. -
build
-