Class Conversation.Transcript.TranscriptSegment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<Conversation.Transcript.TranscriptSegment.Builder>
implements Conversation.Transcript.TranscriptSegmentOrBuilder
A segment of a full transcript.Protobuf type
google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment-
Method Summary
Modifier and TypeMethodDescriptionaddAllWords(Iterable<? extends Conversation.Transcript.TranscriptSegment.WordInfo> values) A list of the word-specific information for each word in the segment.addWords(int index, Conversation.Transcript.TranscriptSegment.WordInfo value) A list of the word-specific information for each word in the segment.addWords(int index, Conversation.Transcript.TranscriptSegment.WordInfo.Builder builderForValue) A list of the word-specific information for each word in the segment.A list of the word-specific information for each word in the segment.addWords(Conversation.Transcript.TranscriptSegment.WordInfo.Builder builderForValue) A list of the word-specific information for each word in the segment.A list of the word-specific information for each word in the segment.addWordsBuilder(int index) A list of the word-specific information for each word in the segment.build()clear()For conversations derived from multi-channel audio, this is the channel number corresponding to the audio from that channel.A confidence estimate between 0.0 and 1.0 of the fidelity of this segment.CCAI metadata relating to the current transcript segment.The language code of this segment as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.The time that the message occurred, if provided.The participant of this segment.The sentiment for this transcript segment.The text of this segment.A list of the word-specific information for each word in the segment.intFor conversations derived from multi-channel audio, this is the channel number corresponding to the audio from that channel.floatA confidence estimate between 0.0 and 1.0 of the fidelity of this segment.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorCCAI metadata relating to the current transcript segment.CCAI metadata relating to the current transcript segment.CCAI metadata relating to the current transcript segment.The language code of this segment as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.com.google.protobuf.ByteStringThe language code of this segment as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.com.google.protobuf.TimestampThe time that the message occurred, if provided.com.google.protobuf.Timestamp.BuilderThe time that the message occurred, if provided.com.google.protobuf.TimestampOrBuilderThe time that the message occurred, if provided.The participant of this segment.The participant of this segment.The participant of this segment.The sentiment for this transcript segment.The sentiment for this transcript segment.The sentiment for this transcript segment.getText()The text of this segment.com.google.protobuf.ByteStringThe text of this segment.getWords(int index) A list of the word-specific information for each word in the segment.getWordsBuilder(int index) A list of the word-specific information for each word in the segment.A list of the word-specific information for each word in the segment.intA list of the word-specific information for each word in the segment.A list of the word-specific information for each word in the segment.getWordsOrBuilder(int index) A list of the word-specific information for each word in the segment.A list of the word-specific information for each word in the segment.booleanCCAI metadata relating to the current transcript segment.booleanThe time that the message occurred, if provided.booleanThe participant of this segment.booleanThe sentiment for this transcript segment.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeDialogflowSegmentMetadata(Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata value) CCAI metadata relating to the current transcript segment.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMessageTime(com.google.protobuf.Timestamp value) The time that the message occurred, if provided.The participant of this segment.mergeSentiment(SentimentData value) The sentiment for this transcript segment.removeWords(int index) A list of the word-specific information for each word in the segment.setChannelTag(int value) For conversations derived from multi-channel audio, this is the channel number corresponding to the audio from that channel.setConfidence(float value) A confidence estimate between 0.0 and 1.0 of the fidelity of this segment.setDialogflowSegmentMetadata(Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata value) CCAI metadata relating to the current transcript segment.setDialogflowSegmentMetadata(Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder builderForValue) CCAI metadata relating to the current transcript segment.setLanguageCode(String value) The language code of this segment as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.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.setMessageTime(com.google.protobuf.Timestamp value) The time that the message occurred, if provided.setMessageTime(com.google.protobuf.Timestamp.Builder builderForValue) The time that the message occurred, if provided.The participant of this segment.setSegmentParticipant(ConversationParticipant.Builder builderForValue) The participant of this segment.setSentiment(SentimentData value) The sentiment for this transcript segment.setSentiment(SentimentData.Builder builderForValue) The sentiment for this transcript segment.The text of this segment.setTextBytes(com.google.protobuf.ByteString value) The text of this segment.setWords(int index, Conversation.Transcript.TranscriptSegment.WordInfo value) A list of the word-specific information for each word in the segment.setWords(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.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<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.GeneratedMessage.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.GeneratedMessage.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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.GeneratedMessage.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
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
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
The text of this segment.
string text = 1;- Parameters:
value- The text to set.- Returns:
- This builder for chaining.
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; -
getSegmentParticipantBuilder
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9; -
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
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
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;- Specified by:
getSentimentin interfaceConversation.Transcript.TranscriptSegmentOrBuilder- Returns:
- The sentiment.
-
setSentiment
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
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; -
clearSentiment
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; -
getSentimentBuilder
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11; -
getSentimentOrBuilder
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;- Specified by:
getSentimentOrBuilderin interfaceConversation.Transcript.TranscriptSegmentOrBuilder
-