Class Conversation.Transcript.TranscriptSegment.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
- com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.Builder
-
- All Implemented Interfaces:
Conversation.Transcript.TranscriptSegmentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Conversation.Transcript.TranscriptSegment
public static final class Conversation.Transcript.TranscriptSegment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder> implements Conversation.Transcript.TranscriptSegmentOrBuilder
A segment of a full transcript.
Protobuf typegoogle.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Conversation.Transcript.TranscriptSegment.BuilderaddAllWords(Iterable<? extends Conversation.Transcript.TranscriptSegment.WordInfo> values)A list of the word-specific information for each word in the segment.Conversation.Transcript.TranscriptSegment.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Conversation.Transcript.TranscriptSegment.BuilderaddWords(int index, Conversation.Transcript.TranscriptSegment.WordInfo value)A list of the word-specific information for each word in the segment.Conversation.Transcript.TranscriptSegment.BuilderaddWords(int index, Conversation.Transcript.TranscriptSegment.WordInfo.Builder builderForValue)A list of the word-specific information for each word in the segment.Conversation.Transcript.TranscriptSegment.BuilderaddWords(Conversation.Transcript.TranscriptSegment.WordInfo value)A list of the word-specific information for each word in the segment.Conversation.Transcript.TranscriptSegment.BuilderaddWords(Conversation.Transcript.TranscriptSegment.WordInfo.Builder builderForValue)A list of the word-specific information for each word in the segment.Conversation.Transcript.TranscriptSegment.WordInfo.BuilderaddWordsBuilder()A list of the word-specific information for each word in the segment.Conversation.Transcript.TranscriptSegment.WordInfo.BuilderaddWordsBuilder(int index)A list of the word-specific information for each word in the segment.Conversation.Transcript.TranscriptSegmentbuild()Conversation.Transcript.TranscriptSegmentbuildPartial()Conversation.Transcript.TranscriptSegment.Builderclear()Conversation.Transcript.TranscriptSegment.BuilderclearChannelTag()For conversations derived from multi-channel audio, this is the channel number corresponding to the audio from that channel.Conversation.Transcript.TranscriptSegment.BuilderclearConfidence()A confidence estimate between 0.0 and 1.0 of the fidelity of this segment.Conversation.Transcript.TranscriptSegment.BuilderclearDialogflowSegmentMetadata()CCAI metadata relating to the current transcript segment.Conversation.Transcript.TranscriptSegment.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Conversation.Transcript.TranscriptSegment.BuilderclearLanguageCode()The language code of this segment as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.Conversation.Transcript.TranscriptSegment.BuilderclearMessageTime()The time that the message occurred, if provided.Conversation.Transcript.TranscriptSegment.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Conversation.Transcript.TranscriptSegment.BuilderclearSegmentParticipant()The participant of this segment.Conversation.Transcript.TranscriptSegment.BuilderclearSentiment()The sentiment for this transcript segment.Conversation.Transcript.TranscriptSegment.BuilderclearText()The text of this segment.Conversation.Transcript.TranscriptSegment.BuilderclearWords()A list of the word-specific information for each word in the segment.Conversation.Transcript.TranscriptSegment.Builderclone()intgetChannelTag()For conversations derived from multi-channel audio, this is the channel number corresponding to the audio from that channel.floatgetConfidence()A confidence estimate between 0.0 and 1.0 of the fidelity of this segment.Conversation.Transcript.TranscriptSegmentgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadatagetDialogflowSegmentMetadata()CCAI metadata relating to the current transcript segment.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.BuildergetDialogflowSegmentMetadataBuilder()CCAI metadata relating to the current transcript segment.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuildergetDialogflowSegmentMetadataOrBuilder()CCAI metadata relating to the current transcript segment.StringgetLanguageCode()The language code of this segment as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.com.google.protobuf.ByteStringgetLanguageCodeBytes()The language code of this segment as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.com.google.protobuf.TimestampgetMessageTime()The time that the message occurred, if provided.com.google.protobuf.Timestamp.BuildergetMessageTimeBuilder()The time that the message occurred, if provided.com.google.protobuf.TimestampOrBuildergetMessageTimeOrBuilder()The time that the message occurred, if provided.ConversationParticipantgetSegmentParticipant()The participant of this segment.ConversationParticipant.BuildergetSegmentParticipantBuilder()The participant of this segment.ConversationParticipantOrBuildergetSegmentParticipantOrBuilder()The participant of this segment.SentimentDatagetSentiment()The sentiment for this transcript segment.SentimentData.BuildergetSentimentBuilder()The sentiment for this transcript segment.SentimentDataOrBuildergetSentimentOrBuilder()The sentiment for this transcript segment.StringgetText()The text of this segment.com.google.protobuf.ByteStringgetTextBytes()The text of this segment.Conversation.Transcript.TranscriptSegment.WordInfogetWords(int index)A list of the word-specific information for each word in the segment.Conversation.Transcript.TranscriptSegment.WordInfo.BuildergetWordsBuilder(int index)A list of the word-specific information for each word in the segment.List<Conversation.Transcript.TranscriptSegment.WordInfo.Builder>getWordsBuilderList()A list of the word-specific information for each word in the segment.intgetWordsCount()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.WordInfoOrBuildergetWordsOrBuilder(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.booleanhasDialogflowSegmentMetadata()CCAI metadata relating to the current transcript segment.booleanhasMessageTime()The time that the message occurred, if provided.booleanhasSegmentParticipant()The participant of this segment.booleanhasSentiment()The sentiment for this transcript segment.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Conversation.Transcript.TranscriptSegment.BuildermergeDialogflowSegmentMetadata(Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata value)CCAI metadata relating to the current transcript segment.Conversation.Transcript.TranscriptSegment.BuildermergeFrom(Conversation.Transcript.TranscriptSegment other)Conversation.Transcript.TranscriptSegment.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Conversation.Transcript.TranscriptSegment.BuildermergeFrom(com.google.protobuf.Message other)Conversation.Transcript.TranscriptSegment.BuildermergeMessageTime(com.google.protobuf.Timestamp value)The time that the message occurred, if provided.Conversation.Transcript.TranscriptSegment.BuildermergeSegmentParticipant(ConversationParticipant value)The participant of this segment.Conversation.Transcript.TranscriptSegment.BuildermergeSentiment(SentimentData value)The sentiment for this transcript segment.Conversation.Transcript.TranscriptSegment.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Conversation.Transcript.TranscriptSegment.BuilderremoveWords(int index)A list of the word-specific information for each word in the segment.Conversation.Transcript.TranscriptSegment.BuildersetChannelTag(int value)For conversations derived from multi-channel audio, this is the channel number corresponding to the audio from that channel.Conversation.Transcript.TranscriptSegment.BuildersetConfidence(float value)A confidence estimate between 0.0 and 1.0 of the fidelity of this segment.Conversation.Transcript.TranscriptSegment.BuildersetDialogflowSegmentMetadata(Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata value)CCAI metadata relating to the current transcript segment.Conversation.Transcript.TranscriptSegment.BuildersetDialogflowSegmentMetadata(Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder builderForValue)CCAI metadata relating to the current transcript segment.Conversation.Transcript.TranscriptSegment.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Conversation.Transcript.TranscriptSegment.BuildersetLanguageCode(String value)The language code of this segment as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.Conversation.Transcript.TranscriptSegment.BuildersetLanguageCodeBytes(com.google.protobuf.ByteString value)The language code of this segment as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.Conversation.Transcript.TranscriptSegment.BuildersetMessageTime(com.google.protobuf.Timestamp value)The time that the message occurred, if provided.Conversation.Transcript.TranscriptSegment.BuildersetMessageTime(com.google.protobuf.Timestamp.Builder builderForValue)The time that the message occurred, if provided.Conversation.Transcript.TranscriptSegment.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Conversation.Transcript.TranscriptSegment.BuildersetSegmentParticipant(ConversationParticipant value)The participant of this segment.Conversation.Transcript.TranscriptSegment.BuildersetSegmentParticipant(ConversationParticipant.Builder builderForValue)The participant of this segment.Conversation.Transcript.TranscriptSegment.BuildersetSentiment(SentimentData value)The sentiment for this transcript segment.Conversation.Transcript.TranscriptSegment.BuildersetSentiment(SentimentData.Builder builderForValue)The sentiment for this transcript segment.Conversation.Transcript.TranscriptSegment.BuildersetText(String value)The text of this segment.Conversation.Transcript.TranscriptSegment.BuildersetTextBytes(com.google.protobuf.ByteString value)The text of this segment.Conversation.Transcript.TranscriptSegment.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Conversation.Transcript.TranscriptSegment.BuildersetWords(int index, Conversation.Transcript.TranscriptSegment.WordInfo value)A list of the word-specific information for each word in the segment.Conversation.Transcript.TranscriptSegment.BuildersetWords(int index, Conversation.Transcript.TranscriptSegment.WordInfo.Builder builderForValue)A list of the word-specific information for each word in the segment.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
clear
public Conversation.Transcript.TranscriptSegment.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
getDefaultInstanceForType
public Conversation.Transcript.TranscriptSegment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Conversation.Transcript.TranscriptSegment build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Conversation.Transcript.TranscriptSegment buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Conversation.Transcript.TranscriptSegment.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
setField
public Conversation.Transcript.TranscriptSegment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
clearField
public Conversation.Transcript.TranscriptSegment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
clearOneof
public Conversation.Transcript.TranscriptSegment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
setRepeatedField
public Conversation.Transcript.TranscriptSegment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
addRepeatedField
public Conversation.Transcript.TranscriptSegment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
mergeFrom
public Conversation.Transcript.TranscriptSegment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
mergeFrom
public Conversation.Transcript.TranscriptSegment.Builder mergeFrom(Conversation.Transcript.TranscriptSegment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
mergeFrom
public Conversation.Transcript.TranscriptSegment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Conversation.Transcript.TranscriptSegment.Builder>- Throws:
IOException
-
hasMessageTime
public boolean hasMessageTime()
The time that the message occurred, if provided.
.google.protobuf.Timestamp message_time = 6;- Specified by:
hasMessageTimein interfaceConversation.Transcript.TranscriptSegmentOrBuilder- Returns:
- Whether the messageTime field is set.
-
getMessageTime
public com.google.protobuf.Timestamp getMessageTime()
The time that the message occurred, if provided.
.google.protobuf.Timestamp message_time = 6;- Specified by:
getMessageTimein interfaceConversation.Transcript.TranscriptSegmentOrBuilder- Returns:
- The messageTime.
-
setMessageTime
public Conversation.Transcript.TranscriptSegment.Builder setMessageTime(com.google.protobuf.Timestamp value)
The time that the message occurred, if provided.
.google.protobuf.Timestamp message_time = 6;
-
setMessageTime
public Conversation.Transcript.TranscriptSegment.Builder setMessageTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time that the message occurred, if provided.
.google.protobuf.Timestamp message_time = 6;
-
mergeMessageTime
public Conversation.Transcript.TranscriptSegment.Builder mergeMessageTime(com.google.protobuf.Timestamp value)
The time that the message occurred, if provided.
.google.protobuf.Timestamp message_time = 6;
-
clearMessageTime
public Conversation.Transcript.TranscriptSegment.Builder clearMessageTime()
The time that the message occurred, if provided.
.google.protobuf.Timestamp message_time = 6;
-
getMessageTimeBuilder
public com.google.protobuf.Timestamp.Builder getMessageTimeBuilder()
The time that the message occurred, if provided.
.google.protobuf.Timestamp message_time = 6;
-
getMessageTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder()
The time that the message occurred, if provided.
.google.protobuf.Timestamp message_time = 6;- Specified by:
getMessageTimeOrBuilderin interfaceConversation.Transcript.TranscriptSegmentOrBuilder
-
getText
public String getText()
The text of this segment.
string text = 1;- Specified by:
getTextin interfaceConversation.Transcript.TranscriptSegmentOrBuilder- Returns:
- The text.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes()
The text of this segment.
string text = 1;- Specified by:
getTextBytesin interfaceConversation.Transcript.TranscriptSegmentOrBuilder- Returns:
- The bytes for text.
-
setText
public Conversation.Transcript.TranscriptSegment.Builder setText(String value)
The text of this segment.
string text = 1;- Parameters:
value- The text to set.- Returns:
- This builder for chaining.
-
clearText
public Conversation.Transcript.TranscriptSegment.Builder clearText()
The text of this segment.
string text = 1;- Returns:
- This builder for chaining.
-
setTextBytes
public Conversation.Transcript.TranscriptSegment.Builder setTextBytes(com.google.protobuf.ByteString value)
The text of this segment.
string text = 1;- Parameters:
value- The bytes for text to set.- Returns:
- This builder for chaining.
-
getConfidence
public 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;- Specified by:
getConfidencein interfaceConversation.Transcript.TranscriptSegmentOrBuilder- Returns:
- The confidence.
-
setConfidence
public Conversation.Transcript.TranscriptSegment.Builder setConfidence(float value)
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;- Parameters:
value- The confidence to set.- Returns:
- This builder for chaining.
-
clearConfidence
public Conversation.Transcript.TranscriptSegment.Builder clearConfidence()
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:
- This builder for chaining.
-
getWordsList
public 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;- Specified by:
getWordsListin interfaceConversation.Transcript.TranscriptSegmentOrBuilder
-
getWordsCount
public 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;- Specified by:
getWordsCountin interfaceConversation.Transcript.TranscriptSegmentOrBuilder
-
getWords
public 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;- Specified by:
getWordsin interfaceConversation.Transcript.TranscriptSegmentOrBuilder
-
setWords
public Conversation.Transcript.TranscriptSegment.Builder setWords(int index, Conversation.Transcript.TranscriptSegment.WordInfo value)
A list of the word-specific information for each word in the segment.
repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3;
-
setWords
public Conversation.Transcript.TranscriptSegment.Builder setWords(int index, Conversation.Transcript.TranscriptSegment.WordInfo.Builder builderForValue)
A list of the word-specific information for each word in the segment.
repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3;
-
addWords
public Conversation.Transcript.TranscriptSegment.Builder addWords(Conversation.Transcript.TranscriptSegment.WordInfo value)
A list of the word-specific information for each word in the segment.
repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3;
-
addWords
public Conversation.Transcript.TranscriptSegment.Builder addWords(int index, Conversation.Transcript.TranscriptSegment.WordInfo value)
A list of the word-specific information for each word in the segment.
repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3;
-
addWords
public Conversation.Transcript.TranscriptSegment.Builder addWords(Conversation.Transcript.TranscriptSegment.WordInfo.Builder builderForValue)
A list of the word-specific information for each word in the segment.
repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3;
-
addWords
public Conversation.Transcript.TranscriptSegment.Builder addWords(int index, Conversation.Transcript.TranscriptSegment.WordInfo.Builder builderForValue)
A list of the word-specific information for each word in the segment.
repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3;
-
addAllWords
public Conversation.Transcript.TranscriptSegment.Builder addAllWords(Iterable<? extends Conversation.Transcript.TranscriptSegment.WordInfo> values)
A list of the word-specific information for each word in the segment.
repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3;
-
clearWords
public Conversation.Transcript.TranscriptSegment.Builder clearWords()
A list of the word-specific information for each word in the segment.
repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3;
-
removeWords
public Conversation.Transcript.TranscriptSegment.Builder removeWords(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;
-
getWordsBuilder
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder getWordsBuilder(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
public 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;- Specified by:
getWordsOrBuilderin interfaceConversation.Transcript.TranscriptSegmentOrBuilder
-
getWordsOrBuilderList
public 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;- Specified by:
getWordsOrBuilderListin interfaceConversation.Transcript.TranscriptSegmentOrBuilder
-
addWordsBuilder
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder addWordsBuilder()
A list of the word-specific information for each word in the segment.
repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3;
-
addWordsBuilder
public Conversation.Transcript.TranscriptSegment.WordInfo.Builder addWordsBuilder(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;
-
getWordsBuilderList
public List<Conversation.Transcript.TranscriptSegment.WordInfo.Builder> getWordsBuilderList()
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
public 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;- Specified by:
getLanguageCodein interfaceConversation.Transcript.TranscriptSegmentOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public 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;- Specified by:
getLanguageCodeBytesin interfaceConversation.Transcript.TranscriptSegmentOrBuilder- Returns:
- The bytes for languageCode.
-
setLanguageCode
public Conversation.Transcript.TranscriptSegment.Builder setLanguageCode(String value)
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;- Parameters:
value- The languageCode to set.- Returns:
- This builder for chaining.
-
clearLanguageCode
public Conversation.Transcript.TranscriptSegment.Builder clearLanguageCode()
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:
- This builder for chaining.
-
setLanguageCodeBytes
public Conversation.Transcript.TranscriptSegment.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-
getChannelTag
public 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;- Specified by:
getChannelTagin interfaceConversation.Transcript.TranscriptSegmentOrBuilder- Returns:
- The channelTag.
-
setChannelTag
public Conversation.Transcript.TranscriptSegment.Builder setChannelTag(int value)
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;- Parameters:
value- The channelTag to set.- Returns:
- This builder for chaining.
-
clearChannelTag
public Conversation.Transcript.TranscriptSegment.Builder clearChannelTag()
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:
- This builder for chaining.
-
hasSegmentParticipant
public boolean hasSegmentParticipant()
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;- Specified by:
hasSegmentParticipantin interfaceConversation.Transcript.TranscriptSegmentOrBuilder- Returns:
- Whether the segmentParticipant field is set.
-
getSegmentParticipant
public ConversationParticipant getSegmentParticipant()
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;- Specified by:
getSegmentParticipantin interfaceConversation.Transcript.TranscriptSegmentOrBuilder- Returns:
- The segmentParticipant.
-
setSegmentParticipant
public Conversation.Transcript.TranscriptSegment.Builder setSegmentParticipant(ConversationParticipant value)
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
-
setSegmentParticipant
public Conversation.Transcript.TranscriptSegment.Builder setSegmentParticipant(ConversationParticipant.Builder builderForValue)
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
-
mergeSegmentParticipant
public Conversation.Transcript.TranscriptSegment.Builder mergeSegmentParticipant(ConversationParticipant value)
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
-
clearSegmentParticipant
public Conversation.Transcript.TranscriptSegment.Builder clearSegmentParticipant()
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
-
getSegmentParticipantBuilder
public ConversationParticipant.Builder getSegmentParticipantBuilder()
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
-
getSegmentParticipantOrBuilder
public ConversationParticipantOrBuilder getSegmentParticipantOrBuilder()
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;- Specified by:
getSegmentParticipantOrBuilderin interfaceConversation.Transcript.TranscriptSegmentOrBuilder
-
hasDialogflowSegmentMetadata
public boolean hasDialogflowSegmentMetadata()
CCAI metadata relating to the current transcript segment.
.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10;- Specified by:
hasDialogflowSegmentMetadatain interfaceConversation.Transcript.TranscriptSegmentOrBuilder- Returns:
- Whether the dialogflowSegmentMetadata field is set.
-
getDialogflowSegmentMetadata
public 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;- Specified by:
getDialogflowSegmentMetadatain interfaceConversation.Transcript.TranscriptSegmentOrBuilder- Returns:
- The dialogflowSegmentMetadata.
-
setDialogflowSegmentMetadata
public Conversation.Transcript.TranscriptSegment.Builder setDialogflowSegmentMetadata(Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata value)
CCAI metadata relating to the current transcript segment.
.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10;
-
setDialogflowSegmentMetadata
public Conversation.Transcript.TranscriptSegment.Builder setDialogflowSegmentMetadata(Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder builderForValue)
CCAI metadata relating to the current transcript segment.
.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10;
-
mergeDialogflowSegmentMetadata
public Conversation.Transcript.TranscriptSegment.Builder mergeDialogflowSegmentMetadata(Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata value)
CCAI metadata relating to the current transcript segment.
.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10;
-
clearDialogflowSegmentMetadata
public Conversation.Transcript.TranscriptSegment.Builder clearDialogflowSegmentMetadata()
CCAI metadata relating to the current transcript segment.
.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10;
-
getDialogflowSegmentMetadataBuilder
public Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder getDialogflowSegmentMetadataBuilder()
CCAI metadata relating to the current transcript segment.
.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10;
-
getDialogflowSegmentMetadataOrBuilder
public 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;- Specified by:
getDialogflowSegmentMetadataOrBuilderin interfaceConversation.Transcript.TranscriptSegmentOrBuilder
-
hasSentiment
public boolean hasSentiment()
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;- Specified by:
hasSentimentin interfaceConversation.Transcript.TranscriptSegmentOrBuilder- Returns:
- Whether the sentiment field is set.
-
getSentiment
public SentimentData getSentiment()
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;- Specified by:
getSentimentin interfaceConversation.Transcript.TranscriptSegmentOrBuilder- Returns:
- The sentiment.
-
setSentiment
public Conversation.Transcript.TranscriptSegment.Builder setSentiment(SentimentData value)
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;
-
setSentiment
public Conversation.Transcript.TranscriptSegment.Builder setSentiment(SentimentData.Builder builderForValue)
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;
-
mergeSentiment
public Conversation.Transcript.TranscriptSegment.Builder mergeSentiment(SentimentData value)
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;
-
clearSentiment
public Conversation.Transcript.TranscriptSegment.Builder clearSentiment()
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;
-
getSentimentBuilder
public SentimentData.Builder getSentimentBuilder()
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;
-
getSentimentOrBuilder
public SentimentDataOrBuilder getSentimentOrBuilder()
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;- Specified by:
getSentimentOrBuilderin interfaceConversation.Transcript.TranscriptSegmentOrBuilder
-
setUnknownFields
public final Conversation.Transcript.TranscriptSegment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
mergeUnknownFields
public final Conversation.Transcript.TranscriptSegment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
-