public static final class Conversation.Transcript.TranscriptSegment extends com.google.protobuf.GeneratedMessageV3 implements Conversation.Transcript.TranscriptSegmentOrBuilder
A segment of a full transcript.Protobuf type
google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment| Modifier and Type | Class and Description |
|---|---|
static class |
Conversation.Transcript.TranscriptSegment.Builder
A segment of a full transcript.
|
static class |
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata
Metadata from Dialogflow relating to the current transcript segment.
|
static interface |
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder |
static class |
Conversation.Transcript.TranscriptSegment.WordInfo
Word-level info for words in a transcript.
|
static interface |
Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CHANNEL_TAG_FIELD_NUMBER |
static int |
CONFIDENCE_FIELD_NUMBER |
static int |
DIALOGFLOW_SEGMENT_METADATA_FIELD_NUMBER |
static int |
LANGUAGE_CODE_FIELD_NUMBER |
static int |
MESSAGE_TIME_FIELD_NUMBER |
static int |
SEGMENT_PARTICIPANT_FIELD_NUMBER |
static int |
SENTIMENT_FIELD_NUMBER |
static int |
TEXT_FIELD_NUMBER |
static int |
WORDS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
static Conversation.Transcript.TranscriptSegment |
getDefaultInstance() |
Conversation.Transcript.TranscriptSegment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<Conversation.Transcript.TranscriptSegment> |
getParserForType() |
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.
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Conversation.Transcript.TranscriptSegment.Builder |
newBuilder() |
static Conversation.Transcript.TranscriptSegment.Builder |
newBuilder(Conversation.Transcript.TranscriptSegment prototype) |
Conversation.Transcript.TranscriptSegment.Builder |
newBuilderForType() |
protected Conversation.Transcript.TranscriptSegment.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Conversation.Transcript.TranscriptSegment |
parseDelimitedFrom(InputStream input) |
static Conversation.Transcript.TranscriptSegment |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation.Transcript.TranscriptSegment |
parseFrom(byte[] data) |
static Conversation.Transcript.TranscriptSegment |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation.Transcript.TranscriptSegment |
parseFrom(ByteBuffer data) |
static Conversation.Transcript.TranscriptSegment |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation.Transcript.TranscriptSegment |
parseFrom(com.google.protobuf.ByteString data) |
static Conversation.Transcript.TranscriptSegment |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation.Transcript.TranscriptSegment |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Conversation.Transcript.TranscriptSegment |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation.Transcript.TranscriptSegment |
parseFrom(InputStream input) |
static Conversation.Transcript.TranscriptSegment |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Conversation.Transcript.TranscriptSegment> |
parser() |
Conversation.Transcript.TranscriptSegment.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MESSAGE_TIME_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
public static final int CONFIDENCE_FIELD_NUMBER
public static final int WORDS_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
public static final int CHANNEL_TAG_FIELD_NUMBER
public static final int SEGMENT_PARTICIPANT_FIELD_NUMBER
public static final int DIALOGFLOW_SEGMENT_METADATA_FIELD_NUMBER
public static final int SENTIMENT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasMessageTime()
The time that the message occurred, if provided.
.google.protobuf.Timestamp message_time = 6;hasMessageTime in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic com.google.protobuf.Timestamp getMessageTime()
The time that the message occurred, if provided.
.google.protobuf.Timestamp message_time = 6;getMessageTime in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder()
The time that the message occurred, if provided.
.google.protobuf.Timestamp message_time = 6;getMessageTimeOrBuilder in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic String getText()
The text of this segment.
string text = 1;getText in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic com.google.protobuf.ByteString getTextBytes()
The text of this segment.
string text = 1;getTextBytes in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic 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;getConfidence in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic 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;
getWordsList in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic 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;
getWordsOrBuilderList in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic 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;
getWordsCount in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic 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;
getWords in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic 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;
getWordsOrBuilder in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic 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;getLanguageCode in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic 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;getLanguageCodeBytes in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic 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;getChannelTag in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic boolean hasSegmentParticipant()
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
hasSegmentParticipant in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic ConversationParticipant getSegmentParticipant()
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
getSegmentParticipant in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic ConversationParticipantOrBuilder getSegmentParticipantOrBuilder()
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
getSegmentParticipantOrBuilder in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic boolean hasDialogflowSegmentMetadata()
CCAI metadata relating to the current transcript segment.
.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10;
hasDialogflowSegmentMetadata in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic 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;
getDialogflowSegmentMetadata in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic 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;
getDialogflowSegmentMetadataOrBuilder in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic boolean hasSentiment()
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;hasSentiment in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic SentimentData getSentiment()
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;getSentiment in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic SentimentDataOrBuilder getSentimentOrBuilder()
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;getSentimentOrBuilder in interface Conversation.Transcript.TranscriptSegmentOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Conversation.Transcript.TranscriptSegment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation.Transcript.TranscriptSegment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation.Transcript.TranscriptSegment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation.Transcript.TranscriptSegment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation.Transcript.TranscriptSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation.Transcript.TranscriptSegment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation.Transcript.TranscriptSegment parseFrom(InputStream input) throws IOException
IOExceptionpublic static Conversation.Transcript.TranscriptSegment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Conversation.Transcript.TranscriptSegment parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Conversation.Transcript.TranscriptSegment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Conversation.Transcript.TranscriptSegment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Conversation.Transcript.TranscriptSegment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Conversation.Transcript.TranscriptSegment.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Conversation.Transcript.TranscriptSegment.Builder newBuilder()
public static Conversation.Transcript.TranscriptSegment.Builder newBuilder(Conversation.Transcript.TranscriptSegment prototype)
public Conversation.Transcript.TranscriptSegment.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Conversation.Transcript.TranscriptSegment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Conversation.Transcript.TranscriptSegment getDefaultInstance()
public static com.google.protobuf.Parser<Conversation.Transcript.TranscriptSegment> parser()
public com.google.protobuf.Parser<Conversation.Transcript.TranscriptSegment> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Conversation.Transcript.TranscriptSegment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.