Interface Conversation.Transcript.TranscriptSegmentOrBuilder

    • Method Detail

      • hasMessageTime

        boolean hasMessageTime()
         The time that the message occurred, if provided.
         
        .google.protobuf.Timestamp message_time = 6;
        Returns:
        Whether the messageTime field is set.
      • getMessageTime

        com.google.protobuf.Timestamp getMessageTime()
         The time that the message occurred, if provided.
         
        .google.protobuf.Timestamp message_time = 6;
        Returns:
        The messageTime.
      • getMessageTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder()
         The time that the message occurred, if provided.
         
        .google.protobuf.Timestamp message_time = 6;
      • getText

        String getText()
         The text of this segment.
         
        string text = 1;
        Returns:
        The text.
      • getTextBytes

        com.google.protobuf.ByteString getTextBytes()
         The text of this segment.
         
        string text = 1;
        Returns:
        The bytes for text.
      • getConfidence

        float getConfidence()
         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.
         
        float confidence = 2;
        Returns:
        The confidence.
      • getWords

        Conversation.Transcript.TranscriptSegment.WordInfo getWords​(int index)
         A list of the word-specific information for each word in the segment.
         
        repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3;
      • getWordsCount

        int getWordsCount()
         A list of the word-specific information for each word in the segment.
         
        repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3;
      • getLanguageCode

        String getLanguageCode()
         The language code of this segment as a
         [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
         Example: "en-US".
         
        string language_code = 4;
        Returns:
        The languageCode.
      • getLanguageCodeBytes

        com.google.protobuf.ByteString getLanguageCodeBytes()
         The language code of this segment as a
         [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
         Example: "en-US".
         
        string language_code = 4;
        Returns:
        The bytes for languageCode.
      • getChannelTag

        int getChannelTag()
         For conversations derived from multi-channel audio, this is the channel
         number corresponding to the audio from that channel. For
         audioChannelCount = N, its output values can range from '1' to 'N'. A
         channel tag of 0 indicates that the audio is mono.
         
        int32 channel_tag = 5;
        Returns:
        The channelTag.
      • hasSegmentParticipant

        boolean hasSegmentParticipant()
         The participant of this segment.
         
        .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
        Returns:
        Whether the segmentParticipant field is set.
      • getSegmentParticipant

        ConversationParticipant getSegmentParticipant()
         The participant of this segment.
         
        .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
        Returns:
        The segmentParticipant.
      • getSegmentParticipantOrBuilder

        ConversationParticipantOrBuilder getSegmentParticipantOrBuilder()
         The participant of this segment.
         
        .google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
      • hasDialogflowSegmentMetadata

        boolean hasDialogflowSegmentMetadata()
         CCAI metadata relating to the current transcript segment.
         
        .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10;
        Returns:
        Whether the dialogflowSegmentMetadata field is set.
      • getDialogflowSegmentMetadata

        Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata getDialogflowSegmentMetadata()
         CCAI metadata relating to the current transcript segment.
         
        .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10;
        Returns:
        The dialogflowSegmentMetadata.
      • hasSentiment

        boolean hasSentiment()
         The sentiment for this transcript segment.
         
        .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;
        Returns:
        Whether the sentiment field is set.
      • getSentiment

        SentimentData getSentiment()
         The sentiment for this transcript segment.
         
        .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;
        Returns:
        The sentiment.
      • getSentimentOrBuilder

        SentimentDataOrBuilder getSentimentOrBuilder()
         The sentiment for this transcript segment.
         
        .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;