Package com.google.genai.types
Class ModelSelectionConfig
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.ModelSelectionConfig
Config for model selection.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for ModelSelectionConfig. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelSelectionConfig.Builderbuilder()Instantiates a builder for ModelSelectionConfig.abstract Optional<FeatureSelectionPreference>Options for feature selection preference.static ModelSelectionConfigDeserializes a JSON string to a ModelSelectionConfig object.abstract ModelSelectionConfig.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
ModelSelectionConfig
public ModelSelectionConfig()
-
-
Method Details
-
featureSelectionPreference
Options for feature selection preference. -
builder
Instantiates a builder for ModelSelectionConfig. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a ModelSelectionConfig object.
-