Package com.google.genai.types
Class PrebuiltVoiceConfig
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.PrebuiltVoiceConfig
The configuration for the prebuilt speaker to use.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for PrebuiltVoiceConfig. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PrebuiltVoiceConfig.Builder
builder()
Instantiates a builder for PrebuiltVoiceConfig.static PrebuiltVoiceConfig
Deserializes a JSON string to a PrebuiltVoiceConfig object.abstract PrebuiltVoiceConfig.Builder
Creates a builder with the same values as this instance.The name of the prebuilt voice to use.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
PrebuiltVoiceConfig
public PrebuiltVoiceConfig()
-
-
Method Details
-
voiceName
The name of the prebuilt voice to use. -
builder
Instantiates a builder for PrebuiltVoiceConfig. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a PrebuiltVoiceConfig object.
-