confidence = $confidence; } /** * @return float */ public function getConfidence() { return $this->confidence; } /** * Transcript text representing the words that the user spoke. * * @param string $transcript */ public function setTranscript($transcript) { $this->transcript = $transcript; } /** * @return string */ public function getTranscript() { return $this->transcript; } /** * Output only. A list of word-specific information for each recognized word. * Note: When `enable_speaker_diarization` is set to true, you will see all * the words from the beginning of the audio. * * @param GoogleCloudVideointelligenceV1p1beta1WordInfo[] $words */ public function setWords($words) { $this->words = $words; } /** * @return GoogleCloudVideointelligenceV1p1beta1WordInfo[] */ public function getWords() { return $this->words; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative');