[e3d4e0a] | 1 | <?php
|
---|
| 2 | /*
|
---|
| 3 | * Copyright 2014 Google Inc.
|
---|
| 4 | *
|
---|
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
| 6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
| 7 | * the License at
|
---|
| 8 | *
|
---|
| 9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
| 10 | *
|
---|
| 11 | * Unless required by applicable law or agreed to in writing, software
|
---|
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
| 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
| 14 | * License for the specific language governing permissions and limitations under
|
---|
| 15 | * the License.
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | namespace Google\Service\Dialogflow;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudDialogflowCxV3SynthesizeSpeechConfig extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'effectsProfileId';
|
---|
| 23 | /**
|
---|
| 24 | * @var string[]
|
---|
| 25 | */
|
---|
| 26 | public $effectsProfileId;
|
---|
| 27 | public $pitch;
|
---|
| 28 | public $speakingRate;
|
---|
| 29 | protected $voiceType = GoogleCloudDialogflowCxV3VoiceSelectionParams::class;
|
---|
| 30 | protected $voiceDataType = '';
|
---|
| 31 | public $volumeGainDb;
|
---|
| 32 |
|
---|
| 33 | /**
|
---|
| 34 | * @param string[]
|
---|
| 35 | */
|
---|
| 36 | public function setEffectsProfileId($effectsProfileId)
|
---|
| 37 | {
|
---|
| 38 | $this->effectsProfileId = $effectsProfileId;
|
---|
| 39 | }
|
---|
| 40 | /**
|
---|
| 41 | * @return string[]
|
---|
| 42 | */
|
---|
| 43 | public function getEffectsProfileId()
|
---|
| 44 | {
|
---|
| 45 | return $this->effectsProfileId;
|
---|
| 46 | }
|
---|
| 47 | public function setPitch($pitch)
|
---|
| 48 | {
|
---|
| 49 | $this->pitch = $pitch;
|
---|
| 50 | }
|
---|
| 51 | public function getPitch()
|
---|
| 52 | {
|
---|
| 53 | return $this->pitch;
|
---|
| 54 | }
|
---|
| 55 | public function setSpeakingRate($speakingRate)
|
---|
| 56 | {
|
---|
| 57 | $this->speakingRate = $speakingRate;
|
---|
| 58 | }
|
---|
| 59 | public function getSpeakingRate()
|
---|
| 60 | {
|
---|
| 61 | return $this->speakingRate;
|
---|
| 62 | }
|
---|
| 63 | /**
|
---|
| 64 | * @param GoogleCloudDialogflowCxV3VoiceSelectionParams
|
---|
| 65 | */
|
---|
| 66 | public function setVoice(GoogleCloudDialogflowCxV3VoiceSelectionParams $voice)
|
---|
| 67 | {
|
---|
| 68 | $this->voice = $voice;
|
---|
| 69 | }
|
---|
| 70 | /**
|
---|
| 71 | * @return GoogleCloudDialogflowCxV3VoiceSelectionParams
|
---|
| 72 | */
|
---|
| 73 | public function getVoice()
|
---|
| 74 | {
|
---|
| 75 | return $this->voice;
|
---|
| 76 | }
|
---|
| 77 | public function setVolumeGainDb($volumeGainDb)
|
---|
| 78 | {
|
---|
| 79 | $this->volumeGainDb = $volumeGainDb;
|
---|
| 80 | }
|
---|
| 81 | public function getVolumeGainDb()
|
---|
| 82 | {
|
---|
| 83 | return $this->volumeGainDb;
|
---|
| 84 | }
|
---|
| 85 | }
|
---|
| 86 |
|
---|
| 87 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 88 | class_alias(GoogleCloudDialogflowCxV3SynthesizeSpeechConfig::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3SynthesizeSpeechConfig');
|
---|