SpeechConfig class final
The speech generation config.
- Inheritance
-
- Object
- ProtoMessage
- SpeechConfig
Constructors
- SpeechConfig({VoiceConfig? voiceConfig, MultiSpeakerVoiceConfig? multiSpeakerVoiceConfig, String languageCode = ''})
-
SpeechConfig.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- languageCode → String
-
Optional. Language code (in BCP 47 format, e.g. "en-US") for speech
synthesis.
final
- multiSpeakerVoiceConfig → MultiSpeakerVoiceConfig?
-
Optional. The configuration for the multi-speaker setup.
It is mutually exclusive with the voice_config field.
final
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- voiceConfig → VoiceConfig?
-
The configuration in case of single-voice output.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String