Interface Conversation.Transcript.TranscriptSegmentOrBuilder (2.3.10)

public static interface Conversation.Transcript.TranscriptSegmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Timestamp

The messageTime.

getMessageTimeOrBuilder()

public abstract TimestampOrBuilder getMessageTimeOrBuilder()

The time that the message occurred, if provided.

.google.protobuf.Timestamp message_time = 6;

Returns
TypeDescription
TimestampOrBuilder

getSegmentParticipant()

public abstract ConversationParticipant getSegmentParticipant()

The participant of this segment.

.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;

Returns
TypeDescription
ConversationParticipant

The segmentParticipant.

getSegmentParticipantOrBuilder()

public abstract ConversationParticipantOrBuilder getSegmentParticipantOrBuilder()

The participant of this segment.

.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;

Returns
TypeDescription
ConversationParticipantOrBuilder

getSentiment()

public abstract SentimentData getSentiment()

The sentiment for this transcript segment.

.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;

Returns
TypeDescription
SentimentData

The sentiment.

getSentimentOrBuilder()

public abstract SentimentDataOrBuilder getSentimentOrBuilder()

The sentiment for this transcript segment.

.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;

Returns
TypeDescription
SentimentDataOrBuilder

getText()

public abstract String getText()

The text of this segment.

string text = 1;

Returns
TypeDescription
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

The text of this segment.

string text = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the sentiment field is set.