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.Builder
addAllWords(Iterable<? extends Conversation.Transcript.TranscriptSegment.WordInfo> values)
A list of the word-specific information for each word in the segment.Conversation.Transcript.TranscriptSegment.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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.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.Conversation.Transcript.TranscriptSegment.Builder
addWords(Conversation.Transcript.TranscriptSegment.WordInfo value)
A list of the word-specific information for each word in the segment.Conversation.Transcript.TranscriptSegment.Builder
addWords(Conversation.Transcript.TranscriptSegment.WordInfo.Builder builderForValue)
A list of the word-specific information for each word in the segment.Conversation.Transcript.TranscriptSegment.WordInfo.Builder
addWordsBuilder()
A list of the word-specific information for each word in the segment.Conversation.Transcript.TranscriptSegment.WordInfo.Builder
addWordsBuilder(int index)
A list of the word-specific information for each word in the segment.Conversation.Transcript.TranscriptSegment
build()
Conversation.Transcript.TranscriptSegment
buildPartial()
Conversation.Transcript.TranscriptSegment.Builder
clear()
Conversation.Transcript.TranscriptSegment.Builder
clearChannelTag()
For conversations derived from multi-channel audio, this is the channel number corresponding to the audio from that channel.Conversation.Transcript.TranscriptSegment.Builder
clearConfidence()
A confidence estimate between 0.0 and 1.0 of the fidelity of this segment.Conversation.Transcript.TranscriptSegment.Builder
clearDialogflowSegmentMetadata()
CCAI metadata relating to the current transcript segment.Conversation.Transcript.TranscriptSegment.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
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.Conversation.Transcript.TranscriptSegment.Builder
clearMessageTime()
The time that the message occurred, if provided.Conversation.Transcript.TranscriptSegment.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Conversation.Transcript.TranscriptSegment.Builder
clearSegmentParticipant()
The participant of this segment.Conversation.Transcript.TranscriptSegment.Builder
clearSentiment()
The sentiment for this transcript segment.Conversation.Transcript.TranscriptSegment.Builder
clearText()
The text of this segment.Conversation.Transcript.TranscriptSegment.Builder
clearWords()
A list of the word-specific information for each word in the segment.Conversation.Transcript.TranscriptSegment.Builder
clone()
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.Conversation.Transcript.TranscriptSegment
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata
getDialogflowSegmentMetadata()
CCAI metadata relating to the current transcript segment.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder
getDialogflowSegmentMetadataBuilder()
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.Timestamp.Builder
getMessageTimeBuilder()
The time that the message occurred, if provided.com.google.protobuf.TimestampOrBuilder
getMessageTimeOrBuilder()
The time that the message occurred, if provided.ConversationParticipant
getSegmentParticipant()
The participant of this segment.ConversationParticipant.Builder
getSegmentParticipantBuilder()
The participant of this segment.ConversationParticipantOrBuilder
getSegmentParticipantOrBuilder()
The participant of this segment.SentimentData
getSentiment()
The sentiment for this transcript segment.SentimentData.Builder
getSentimentBuilder()
The sentiment for this transcript segment.SentimentDataOrBuilder
getSentimentOrBuilder()
The sentiment for this transcript segment.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.Conversation.Transcript.TranscriptSegment.WordInfo.Builder
getWordsBuilder(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.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.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()
Conversation.Transcript.TranscriptSegment.Builder
mergeDialogflowSegmentMetadata(Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata value)
CCAI metadata relating to the current transcript segment.Conversation.Transcript.TranscriptSegment.Builder
mergeFrom(Conversation.Transcript.TranscriptSegment other)
Conversation.Transcript.TranscriptSegment.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Conversation.Transcript.TranscriptSegment.Builder
mergeFrom(com.google.protobuf.Message other)
Conversation.Transcript.TranscriptSegment.Builder
mergeMessageTime(com.google.protobuf.Timestamp value)
The time that the message occurred, if provided.Conversation.Transcript.TranscriptSegment.Builder
mergeSegmentParticipant(ConversationParticipant value)
The participant of this segment.Conversation.Transcript.TranscriptSegment.Builder
mergeSentiment(SentimentData value)
The sentiment for this transcript segment.Conversation.Transcript.TranscriptSegment.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Conversation.Transcript.TranscriptSegment.Builder
removeWords(int index)
A list of the word-specific information for each word in the segment.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.Conversation.Transcript.TranscriptSegment.Builder
setConfidence(float value)
A confidence estimate between 0.0 and 1.0 of the fidelity of this segment.Conversation.Transcript.TranscriptSegment.Builder
setDialogflowSegmentMetadata(Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata value)
CCAI metadata relating to the current transcript segment.Conversation.Transcript.TranscriptSegment.Builder
setDialogflowSegmentMetadata(Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder builderForValue)
CCAI metadata relating to the current transcript segment.Conversation.Transcript.TranscriptSegment.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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.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.Conversation.Transcript.TranscriptSegment.Builder
setMessageTime(com.google.protobuf.Timestamp value)
The time that the message occurred, if provided.Conversation.Transcript.TranscriptSegment.Builder
setMessageTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time that the message occurred, if provided.Conversation.Transcript.TranscriptSegment.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Conversation.Transcript.TranscriptSegment.Builder
setSegmentParticipant(ConversationParticipant value)
The participant of this segment.Conversation.Transcript.TranscriptSegment.Builder
setSegmentParticipant(ConversationParticipant.Builder builderForValue)
The participant of this segment.Conversation.Transcript.TranscriptSegment.Builder
setSentiment(SentimentData value)
The sentiment for this transcript segment.Conversation.Transcript.TranscriptSegment.Builder
setSentiment(SentimentData.Builder builderForValue)
The sentiment for this transcript segment.Conversation.Transcript.TranscriptSegment.Builder
setText(String value)
The text of this segment.Conversation.Transcript.TranscriptSegment.Builder
setTextBytes(com.google.protobuf.ByteString value)
The text of this segment.Conversation.Transcript.TranscriptSegment.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.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.-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
clear
public Conversation.Transcript.TranscriptSegment.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
getDefaultInstanceForType
public Conversation.Transcript.TranscriptSegment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Conversation.Transcript.TranscriptSegment build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Conversation.Transcript.TranscriptSegment buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Conversation.Transcript.TranscriptSegment.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in 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:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
clearField
public Conversation.Transcript.TranscriptSegment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
clearOneof
public Conversation.Transcript.TranscriptSegment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in 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:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
mergeFrom
public Conversation.Transcript.TranscriptSegment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in 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:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasMessageTime
in 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:
getMessageTime
in 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:
getMessageTimeOrBuilder
in interfaceConversation.Transcript.TranscriptSegmentOrBuilder
-
getText
public String getText()
The text of this segment.
string text = 1;
- Specified by:
getText
in interfaceConversation.Transcript.TranscriptSegmentOrBuilder
- Returns:
- The text.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes()
The text of this segment.
string text = 1;
- Specified by:
getTextBytes
in 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:
getConfidence
in 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:
getWordsList
in 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:
getWordsCount
in 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:
getWords
in 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:
getWordsOrBuilder
in 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:
getWordsOrBuilderList
in 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:
getLanguageCode
in 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:
getLanguageCodeBytes
in 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:
getChannelTag
in 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:
hasSegmentParticipant
in 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:
getSegmentParticipant
in 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:
getSegmentParticipantOrBuilder
in 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:
hasDialogflowSegmentMetadata
in 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:
getDialogflowSegmentMetadata
in 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:
getDialogflowSegmentMetadataOrBuilder
in interfaceConversation.Transcript.TranscriptSegmentOrBuilder
-
hasSentiment
public boolean hasSentiment()
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;
- Specified by:
hasSentiment
in 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:
getSentiment
in 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:
getSentimentOrBuilder
in interfaceConversation.Transcript.TranscriptSegmentOrBuilder
-
setUnknownFields
public final Conversation.Transcript.TranscriptSegment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
mergeUnknownFields
public final Conversation.Transcript.TranscriptSegment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder>
-
-