Package com.google.genai.types
Class RetrievalConfig
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.RetrievalConfig
Retrieval config.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for RetrievalConfig. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RetrievalConfig.Builder
builder()
Instantiates a builder for RetrievalConfig.static RetrievalConfig
Deserializes a JSON string to a RetrievalConfig object.The language code of the user.latLng()
Optional.abstract RetrievalConfig.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
RetrievalConfig
public RetrievalConfig()
-
-
Method Details
-
latLng
Optional. The location of the user. -
languageCode
The language code of the user. -
builder
Instantiates a builder for RetrievalConfig. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a RetrievalConfig object.
-