alternatives = $alternatives; } /** * @return SpeechRecognitionAlternative[] */ public function getAlternatives() { return $this->alternatives; } public function setChannelTag($channelTag) { $this->channelTag = $channelTag; } public function getChannelTag() { return $this->channelTag; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SpeechRecognitionResult::class, 'Google_Service_Speech_SpeechRecognitionResult');