Package com.google.genai.types
Class MultiSpeakerVoiceConfig
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.MultiSpeakerVoiceConfig
The configuration for the multi-speaker setup. This data type is not supported in Vertex AI.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for MultiSpeakerVoiceConfig. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Instantiates a builder for MultiSpeakerVoiceConfig.static MultiSpeakerVoiceConfigDeserializes a JSON string to a MultiSpeakerVoiceConfig object.abstract Optional<List<SpeakerVoiceConfig>>Required.abstract MultiSpeakerVoiceConfig.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
setMaxReadLength, stringToJsonNode, toJson
-
Constructor Details
-
MultiSpeakerVoiceConfig
public MultiSpeakerVoiceConfig()
-
-
Method Details
-
speakerVoiceConfigs
Required. All the enabled speaker voices. -
builder
Instantiates a builder for MultiSpeakerVoiceConfig. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a MultiSpeakerVoiceConfig object.
-