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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getChannelTag()
For conversations derived from multi-channel audio, this is the channel number corresponding to the audio from that channel.float
getConfidence()
A confidence estimate between 0.0 and 1.0 of the fidelity of this segment.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata
getDialogflowSegmentMetadata()
CCAI metadata relating to the current transcript segment.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder
getDialogflowSegmentMetadataOrBuilder()
CCAI metadata relating to the current transcript segment.String
getLanguageCode()
The language code of this segment as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.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.com.google.protobuf.Timestamp
getMessageTime()
The time that the message occurred, if provided.com.google.protobuf.TimestampOrBuilder
getMessageTimeOrBuilder()
The time that the message occurred, if provided.ConversationParticipant
getSegmentParticipant()
The participant of this segment.ConversationParticipantOrBuilder
getSegmentParticipantOrBuilder()
The participant of this segment.SentimentData
getSentiment()
The sentiment for this transcript segment.SentimentDataOrBuilder
getSentimentOrBuilder()
The sentiment for this transcript segment.String
getText()
The text of this segment.com.google.protobuf.ByteString
getTextBytes()
The text of this segment.Conversation.Transcript.TranscriptSegment.WordInfo
getWords(int index)
A list of the word-specific information for each word in the segment.int
getWordsCount()
A list of the word-specific information for each word in the segment.List<Conversation.Transcript.TranscriptSegment.WordInfo>
getWordsList()
A list of the word-specific information for each word in the segment.Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder
getWordsOrBuilder(int index)
A list of the word-specific information for each word in the segment.List<? extends Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder>
getWordsOrBuilderList()
A list of the word-specific information for each word in the segment.boolean
hasDialogflowSegmentMetadata()
CCAI metadata relating to the current transcript segment.boolean
hasMessageTime()
The time that the message occurred, if provided.boolean
hasSegmentParticipant()
The participant of this segment.boolean
hasSentiment()
The sentiment for this transcript segment.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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.
-
getWordsList
List<Conversation.Transcript.TranscriptSegment.WordInfo> 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
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;
-
getWordsOrBuilderList
List<? extends Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder> 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
Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder getWordsOrBuilder(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;
-
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.
-
getDialogflowSegmentMetadataOrBuilder
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder 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;
-
-