- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
public static interface Conversation.Transcript.TranscriptSegmentOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getChannelTag()
public abstract 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 | |
---|---|
Type | Description |
int |
The channelTag. |
getConfidence()
public abstract 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 | |
---|---|
Type | Description |
float |
The confidence. |
getDialogflowSegmentMetadata()
public abstract 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 | |
---|---|
Type | Description |
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata |
The dialogflowSegmentMetadata. |
getDialogflowSegmentMetadataOrBuilder()
public abstract 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;
Returns | |
---|---|
Type | Description |
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder |
getLanguageCode()
public abstract String getLanguageCode()
The language code of this segment as a BCP-47 language tag. Example: "en-US".
string language_code = 4;
Returns | |
---|---|
Type | Description |
String |
The languageCode. |
getLanguageCodeBytes()
public abstract ByteString getLanguageCodeBytes()
The language code of this segment as a BCP-47 language tag. Example: "en-US".
string language_code = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for languageCode. |
getMessageTime()
public abstract Timestamp getMessageTime()
The time that the message occurred, if provided.
.google.protobuf.Timestamp message_time = 6;
Returns | |
---|---|
Type | Description |
Timestamp |
The messageTime. |
getMessageTimeOrBuilder()
public abstract TimestampOrBuilder getMessageTimeOrBuilder()
The time that the message occurred, if provided.
.google.protobuf.Timestamp message_time = 6;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getSegmentParticipant()
public abstract ConversationParticipant getSegmentParticipant()
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
Returns | |
---|---|
Type | Description |
ConversationParticipant |
The segmentParticipant. |
getSegmentParticipantOrBuilder()
public abstract ConversationParticipantOrBuilder getSegmentParticipantOrBuilder()
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
Returns | |
---|---|
Type | Description |
ConversationParticipantOrBuilder |
getSentiment()
public abstract SentimentData getSentiment()
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;
Returns | |
---|---|
Type | Description |
SentimentData |
The sentiment. |
getSentimentOrBuilder()
public abstract SentimentDataOrBuilder getSentimentOrBuilder()
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;
Returns | |
---|---|
Type | Description |
SentimentDataOrBuilder |
getText()
public abstract String getText()
The text of this segment.
string text = 1;
Returns | |
---|---|
Type | Description |
String |
The text. |
getTextBytes()
public abstract ByteString getTextBytes()
The text of this segment.
string text = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for text. |
getWords(int index)
public abstract 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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Conversation.Transcript.TranscriptSegment.WordInfo |
getWordsCount()
public abstract 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;
Returns | |
---|---|
Type | Description |
int |
getWordsList()
public abstract 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;
Returns | |
---|---|
Type | Description |
List<WordInfo> |
getWordsOrBuilder(int index)
public abstract 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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder |
getWordsOrBuilderList()
public abstract 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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder> |
hasDialogflowSegmentMetadata()
public abstract boolean hasDialogflowSegmentMetadata()
CCAI metadata relating to the current transcript segment.
.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10;
Returns | |
---|---|
Type | Description |
boolean |
Whether the dialogflowSegmentMetadata field is set. |
hasMessageTime()
public abstract boolean hasMessageTime()
The time that the message occurred, if provided.
.google.protobuf.Timestamp message_time = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the messageTime field is set. |
hasSegmentParticipant()
public abstract boolean hasSegmentParticipant()
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
Returns | |
---|---|
Type | Description |
boolean |
Whether the segmentParticipant field is set. |
hasSentiment()
public abstract boolean hasSentiment()
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;
Returns | |
---|---|
Type | Description |
boolean |
Whether the sentiment field is set. |