confidence = $confidence; } /** * @return float */ public function getConfidence() { return $this->confidence; } /** * @param string */ public function setTranscript($transcript) { $this->transcript = $transcript; } /** * @return string */ public function getTranscript() { return $this->transcript; } /** * @param GoogleCloudVideointelligenceV1p2beta1WordInfo[] */ public function setWords($words) { $this->words = $words; } /** * @return GoogleCloudVideointelligenceV1p2beta1WordInfo[] */ public function getWords() { return $this->words; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative');