Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class SpeakerVoiceConfig.
Configuration for a single speaker in a multi-speaker setup.
Generated from protobuf message google.cloud.aiplatform.v1.SpeakerVoiceConfig
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ speaker |
string
Required. The name of the speaker. This should be the same as the speaker name used in the prompt. |
↳ voice_config |
VoiceConfig
Required. The configuration for the voice of this speaker. |
getSpeaker
Required. The name of the speaker. This should be the same as the speaker name used in the prompt.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSpeaker
Required. The name of the speaker. This should be the same as the speaker name used in the prompt.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVoiceConfig
Required. The configuration for the voice of this speaker.
| Returns | |
|---|---|
| Type | Description |
VoiceConfig|null |
|
hasVoiceConfig
clearVoiceConfig
setVoiceConfig
Required. The configuration for the voice of this speaker.
| Parameter | |
|---|---|
| Name | Description |
var |
VoiceConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|