adaptation = $adaptation; } /** * @return SpeechAdaptation */ public function getAdaptation() { return $this->adaptation; } /** * @param string[] */ public function setAlternativeLanguageCodes($alternativeLanguageCodes) { $this->alternativeLanguageCodes = $alternativeLanguageCodes; } /** * @return string[] */ public function getAlternativeLanguageCodes() { return $this->alternativeLanguageCodes; } /** * @param int */ public function setAudioChannelCount($audioChannelCount) { $this->audioChannelCount = $audioChannelCount; } /** * @return int */ public function getAudioChannelCount() { return $this->audioChannelCount; } /** * @param SpeakerDiarizationConfig */ public function setDiarizationConfig(SpeakerDiarizationConfig $diarizationConfig) { $this->diarizationConfig = $diarizationConfig; } /** * @return SpeakerDiarizationConfig */ public function getDiarizationConfig() { return $this->diarizationConfig; } /** * @param bool */ public function setEnableAutomaticPunctuation($enableAutomaticPunctuation) { $this->enableAutomaticPunctuation = $enableAutomaticPunctuation; } /** * @return bool */ public function getEnableAutomaticPunctuation() { return $this->enableAutomaticPunctuation; } /** * @param bool */ public function setEnableSeparateRecognitionPerChannel($enableSeparateRecognitionPerChannel) { $this->enableSeparateRecognitionPerChannel = $enableSeparateRecognitionPerChannel; } /** * @return bool */ public function getEnableSeparateRecognitionPerChannel() { return $this->enableSeparateRecognitionPerChannel; } /** * @param bool */ public function setEnableSpokenEmojis($enableSpokenEmojis) { $this->enableSpokenEmojis = $enableSpokenEmojis; } /** * @return bool */ public function getEnableSpokenEmojis() { return $this->enableSpokenEmojis; } /** * @param bool */ public function setEnableSpokenPunctuation($enableSpokenPunctuation) { $this->enableSpokenPunctuation = $enableSpokenPunctuation; } /** * @return bool */ public function getEnableSpokenPunctuation() { return $this->enableSpokenPunctuation; } /** * @param bool */ public function setEnableWordConfidence($enableWordConfidence) { $this->enableWordConfidence = $enableWordConfidence; } /** * @return bool */ public function getEnableWordConfidence() { return $this->enableWordConfidence; } /** * @param bool */ public function setEnableWordTimeOffsets($enableWordTimeOffsets) { $this->enableWordTimeOffsets = $enableWordTimeOffsets; } /** * @return bool */ public function getEnableWordTimeOffsets() { return $this->enableWordTimeOffsets; } /** * @param string */ public function setEncoding($encoding) { $this->encoding = $encoding; } /** * @return string */ public function getEncoding() { return $this->encoding; } /** * @param string */ public function setLanguageCode($languageCode) { $this->languageCode = $languageCode; } /** * @return string */ public function getLanguageCode() { return $this->languageCode; } /** * @param int */ public function setMaxAlternatives($maxAlternatives) { $this->maxAlternatives = $maxAlternatives; } /** * @return int */ public function getMaxAlternatives() { return $this->maxAlternatives; } /** * @param RecognitionMetadata */ public function setMetadata(RecognitionMetadata $metadata) { $this->metadata = $metadata; } /** * @return RecognitionMetadata */ public function getMetadata() { return $this->metadata; } /** * @param string */ public function setModel($model) { $this->model = $model; } /** * @return string */ public function getModel() { return $this->model; } /** * @param bool */ public function setProfanityFilter($profanityFilter) { $this->profanityFilter = $profanityFilter; } /** * @return bool */ public function getProfanityFilter() { return $this->profanityFilter; } /** * @param int */ public function setSampleRateHertz($sampleRateHertz) { $this->sampleRateHertz = $sampleRateHertz; } /** * @return int */ public function getSampleRateHertz() { return $this->sampleRateHertz; } /** * @param SpeechContext[] */ public function setSpeechContexts($speechContexts) { $this->speechContexts = $speechContexts; } /** * @return SpeechContext[] */ public function getSpeechContexts() { return $this->speechContexts; } /** * @param bool */ public function setUseEnhanced($useEnhanced) { $this->useEnhanced = $useEnhanced; } /** * @return bool */ public function getUseEnhanced() { return $this->useEnhanced; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(RecognitionConfig::class, 'Google_Service_Speech_RecognitionConfig');