channelTag = $channelTag; } /** * @return int */ public function getChannelTag() { return $this->channelTag; } /** * A confidence estimate between 0.0 and 1.0 of the fidelity of this segment. * A default value of 0.0 indicates that the value is unset. * * @param float $confidence */ public function setConfidence($confidence) { $this->confidence = $confidence; } /** * @return float */ public function getConfidence() { return $this->confidence; } /** * CCAI metadata relating to the current transcript segment. * * @param GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata $dialogflowSegmentMetadata */ public function setDialogflowSegmentMetadata(GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata $dialogflowSegmentMetadata) { $this->dialogflowSegmentMetadata = $dialogflowSegmentMetadata; } /** * @return GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata */ public function getDialogflowSegmentMetadata() { return $this->dialogflowSegmentMetadata; } /** * The language code of this segment as a [BCP-47](https://www.rfc- * editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US". * * @param string $languageCode */ public function setLanguageCode($languageCode) { $this->languageCode = $languageCode; } /** * @return string */ public function getLanguageCode() { return $this->languageCode; } /** * The time that the message occurred, if provided. * * @param string $messageTime */ public function setMessageTime($messageTime) { $this->messageTime = $messageTime; } /** * @return string */ public function getMessageTime() { return $this->messageTime; } /** * The participant of this segment. * * @param GoogleCloudContactcenterinsightsV1ConversationParticipant $segmentParticipant */ public function setSegmentParticipant(GoogleCloudContactcenterinsightsV1ConversationParticipant $segmentParticipant) { $this->segmentParticipant = $segmentParticipant; } /** * @return GoogleCloudContactcenterinsightsV1ConversationParticipant */ public function getSegmentParticipant() { return $this->segmentParticipant; } /** * The sentiment for this transcript segment. * * @param GoogleCloudContactcenterinsightsV1SentimentData $sentiment */ public function setSentiment(GoogleCloudContactcenterinsightsV1SentimentData $sentiment) { $this->sentiment = $sentiment; } /** * @return GoogleCloudContactcenterinsightsV1SentimentData */ public function getSentiment() { return $this->sentiment; } /** * The text of this segment. * * @param string $text */ public function setText($text) { $this->text = $text; } /** * @return string */ public function getText() { return $this->text; } /** * A list of the word-specific information for each word in the segment. * * @param GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo[] $words */ public function setWords($words) { $this->words = $words; } /** * @return GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo[] */ public function getWords() { return $this->words; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment');