Interface Conversation.Transcript.TranscriptSegmentOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Conversation.Transcript.TranscriptSegment, Conversation.Transcript.TranscriptSegment.Builder
Enclosing class:
Conversation.Transcript

public static interface Conversation.Transcript.TranscriptSegmentOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • 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.
    • getWordsList

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

       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;
    • getWordsOrBuilderList

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

       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

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

       CCAI metadata relating to the current transcript segment.
       
      .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10;
    • 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;