Class Conversation.Transcript.TranscriptSegment.Builder (2.58.0)

public static final class Conversation.Transcript.TranscriptSegment.Builder extends GeneratedMessageV3.Builder<Conversation.Transcript.TranscriptSegment.Builder> implements Conversation.Transcript.TranscriptSegmentOrBuilder

A segment of a full transcript.

Protobuf type google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllWords(Iterable<? extends Conversation.Transcript.TranscriptSegment.WordInfo> values)

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;

Parameter
Name Description
values Iterable<? extends com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo>

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Conversation.Transcript.TranscriptSegment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

addWords(Conversation.Transcript.TranscriptSegment.WordInfo value)

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;

Parameter
Name Description
value Conversation.Transcript.TranscriptSegment.WordInfo

addWords(Conversation.Transcript.TranscriptSegment.WordInfo.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Conversation.Transcript.TranscriptSegment.WordInfo.Builder

addWords(int index, Conversation.Transcript.TranscriptSegment.WordInfo value)

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;

Parameters
Name Description
index int
value Conversation.Transcript.TranscriptSegment.WordInfo

addWords(int index, Conversation.Transcript.TranscriptSegment.WordInfo.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Conversation.Transcript.TranscriptSegment.WordInfo.Builder

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(int index)

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;

Parameter
Name Description
index int

build()

public Conversation.Transcript.TranscriptSegment build()

buildPartial()

public Conversation.Transcript.TranscriptSegment buildPartial()

clear()

public Conversation.Transcript.TranscriptSegment.Builder clear()
Overrides

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
Type Description
Conversation.Transcript.TranscriptSegment.Builder

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
Type Description
Conversation.Transcript.TranscriptSegment.Builder

This builder for chaining.

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;

clearField(Descriptors.FieldDescriptor field)

public Conversation.Transcript.TranscriptSegment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Overrides

clearLanguageCode()

public Conversation.Transcript.TranscriptSegment.Builder clearLanguageCode()

The language code of this segment as a BCP-47 language tag. Example: "en-US".

string language_code = 4;

Returns
Type Description
Conversation.Transcript.TranscriptSegment.Builder

This builder for chaining.

clearMessageTime()

public Conversation.Transcript.TranscriptSegment.Builder clearMessageTime()

The time that the message occurred, if provided.

.google.protobuf.Timestamp message_time = 6;

clearOneof(Descriptors.OneofDescriptor oneof)

public Conversation.Transcript.TranscriptSegment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Overrides

clearSegmentParticipant()

public Conversation.Transcript.TranscriptSegment.Builder clearSegmentParticipant()

The participant of this segment.

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

clearSentiment()

public Conversation.Transcript.TranscriptSegment.Builder clearSentiment()

The sentiment for this transcript segment.

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

clearText()

public Conversation.Transcript.TranscriptSegment.Builder clearText()

The text of this segment.

string text = 1;

Returns
Type Description
Conversation.Transcript.TranscriptSegment.Builder

This builder for chaining.

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;

clone()

public Conversation.Transcript.TranscriptSegment.Builder clone()
Overrides

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;

Returns
Type Description
int

The channelTag.

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;

Returns
Type Description
float

The confidence.

getDefaultInstanceForType()

public Conversation.Transcript.TranscriptSegment getDefaultInstanceForType()

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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;

Returns
Type Description
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata

The dialogflowSegmentMetadata.

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;

getLanguageCode()

public String getLanguageCode()

The language code of this segment as a BCP-47 language tag. Example: "en-US".

string language_code = 4;

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public ByteString getLanguageCodeBytes()

The language code of this segment as a BCP-47 language tag. Example: "en-US".

string language_code = 4;

Returns
Type Description
ByteString

The bytes for languageCode.

getMessageTime()

public Timestamp getMessageTime()

The time that the message occurred, if provided.

.google.protobuf.Timestamp message_time = 6;

Returns
Type Description
Timestamp

The messageTime.

getMessageTimeBuilder()

public Timestamp.Builder getMessageTimeBuilder()

The time that the message occurred, if provided.

.google.protobuf.Timestamp message_time = 6;

Returns
Type Description
Builder

getMessageTimeOrBuilder()

public TimestampOrBuilder getMessageTimeOrBuilder()

The time that the message occurred, if provided.

.google.protobuf.Timestamp message_time = 6;

Returns
Type Description
TimestampOrBuilder

getSegmentParticipant()

public ConversationParticipant getSegmentParticipant()

The participant of this segment.

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

Returns
Type Description
ConversationParticipant

The segmentParticipant.

getSegmentParticipantBuilder()

public ConversationParticipant.Builder getSegmentParticipantBuilder()

The participant of this segment.

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

Returns
Type Description
ConversationParticipant.Builder

getSegmentParticipantOrBuilder()

public ConversationParticipantOrBuilder getSegmentParticipantOrBuilder()

The participant of this segment.

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

Returns
Type Description
ConversationParticipantOrBuilder

getSentiment()

public SentimentData getSentiment()

The sentiment for this transcript segment.

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

Returns
Type Description
SentimentData

The sentiment.

getSentimentBuilder()

public SentimentData.Builder getSentimentBuilder()

The sentiment for this transcript segment.

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

Returns
Type Description
SentimentData.Builder

getSentimentOrBuilder()

public SentimentDataOrBuilder getSentimentOrBuilder()

The sentiment for this transcript segment.

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

Returns
Type Description
SentimentDataOrBuilder

getText()

public String getText()

The text of this segment.

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public ByteString getTextBytes()

The text of this segment.

string text = 1;

Returns
Type Description
ByteString

The bytes for text.

getWords(int index)

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;

Parameter
Name Description
index int

getWordsBuilder(int index)

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;

Parameter
Name Description
index int

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;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
int

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;

Returns
Type Description
List<WordInfo>

getWordsOrBuilder(int index)

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;

Parameter
Name Description
index int

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;

Returns
Type Description
List<? extends com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder>

hasDialogflowSegmentMetadata()

public boolean hasDialogflowSegmentMetadata()

CCAI metadata relating to the current transcript segment.

.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata dialogflow_segment_metadata = 10;

Returns
Type Description
boolean

Whether the dialogflowSegmentMetadata field is set.

hasMessageTime()

public boolean hasMessageTime()

The time that the message occurred, if provided.

.google.protobuf.Timestamp message_time = 6;

Returns
Type Description
boolean

Whether the messageTime field is set.

hasSegmentParticipant()

public boolean hasSegmentParticipant()

The participant of this segment.

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

Returns
Type Description
boolean

Whether the segmentParticipant field is set.

hasSentiment()

public boolean hasSentiment()

The sentiment for this transcript segment.

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

Returns
Type Description
boolean

Whether the sentiment field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDialogflowSegmentMetadata(Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata value)

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;

mergeFrom(Conversation.Transcript.TranscriptSegment other)

public Conversation.Transcript.TranscriptSegment.Builder mergeFrom(Conversation.Transcript.TranscriptSegment other)
Parameter
Name Description
other Conversation.Transcript.TranscriptSegment

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Conversation.Transcript.TranscriptSegment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Conversation.Transcript.TranscriptSegment.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Overrides

mergeMessageTime(Timestamp value)

public Conversation.Transcript.TranscriptSegment.Builder mergeMessageTime(Timestamp value)

The time that the message occurred, if provided.

.google.protobuf.Timestamp message_time = 6;

Parameter
Name Description
value Timestamp

mergeSegmentParticipant(ConversationParticipant value)

public Conversation.Transcript.TranscriptSegment.Builder mergeSegmentParticipant(ConversationParticipant value)

The participant of this segment.

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

Parameter
Name Description
value ConversationParticipant

mergeSentiment(SentimentData value)

public Conversation.Transcript.TranscriptSegment.Builder mergeSentiment(SentimentData value)

The sentiment for this transcript segment.

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

Parameter
Name Description
value SentimentData

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.Transcript.TranscriptSegment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

removeWords(int index)

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;

Parameter
Name Description
index int

setChannelTag(int value)

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;

Parameter
Name Description
value int

The channelTag to set.

Returns
Type Description
Conversation.Transcript.TranscriptSegment.Builder

This builder for chaining.

setConfidence(float value)

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;

Parameter
Name Description
value float

The confidence to set.

Returns
Type Description
Conversation.Transcript.TranscriptSegment.Builder

This builder for chaining.

setDialogflowSegmentMetadata(Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata value)

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(Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder builderForValue)

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;

setField(Descriptors.FieldDescriptor field, Object value)

public Conversation.Transcript.TranscriptSegment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

setLanguageCode(String value)

public Conversation.Transcript.TranscriptSegment.Builder setLanguageCode(String value)

The language code of this segment as a BCP-47 language tag. Example: "en-US".

string language_code = 4;

Parameter
Name Description
value String

The languageCode to set.

Returns
Type Description
Conversation.Transcript.TranscriptSegment.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public Conversation.Transcript.TranscriptSegment.Builder setLanguageCodeBytes(ByteString value)

The language code of this segment as a BCP-47 language tag. Example: "en-US".

string language_code = 4;

Parameter
Name Description
value ByteString

The bytes for languageCode to set.

Returns
Type Description
Conversation.Transcript.TranscriptSegment.Builder

This builder for chaining.

setMessageTime(Timestamp value)

public Conversation.Transcript.TranscriptSegment.Builder setMessageTime(Timestamp value)

The time that the message occurred, if provided.

.google.protobuf.Timestamp message_time = 6;

Parameter
Name Description
value Timestamp

setMessageTime(Timestamp.Builder builderForValue)

public Conversation.Transcript.TranscriptSegment.Builder setMessageTime(Timestamp.Builder builderForValue)

The time that the message occurred, if provided.

.google.protobuf.Timestamp message_time = 6;

Parameter
Name Description
builderForValue Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Conversation.Transcript.TranscriptSegment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Overrides

setSegmentParticipant(ConversationParticipant value)

public Conversation.Transcript.TranscriptSegment.Builder setSegmentParticipant(ConversationParticipant value)

The participant of this segment.

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

Parameter
Name Description
value ConversationParticipant

setSegmentParticipant(ConversationParticipant.Builder builderForValue)

public Conversation.Transcript.TranscriptSegment.Builder setSegmentParticipant(ConversationParticipant.Builder builderForValue)

The participant of this segment.

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

Parameter
Name Description
builderForValue ConversationParticipant.Builder

setSentiment(SentimentData value)

public Conversation.Transcript.TranscriptSegment.Builder setSentiment(SentimentData value)

The sentiment for this transcript segment.

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

Parameter
Name Description
value SentimentData

setSentiment(SentimentData.Builder builderForValue)

public Conversation.Transcript.TranscriptSegment.Builder setSentiment(SentimentData.Builder builderForValue)

The sentiment for this transcript segment.

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

Parameter
Name Description
builderForValue SentimentData.Builder

setText(String value)

public Conversation.Transcript.TranscriptSegment.Builder setText(String value)

The text of this segment.

string text = 1;

Parameter
Name Description
value String

The text to set.

Returns
Type Description
Conversation.Transcript.TranscriptSegment.Builder

This builder for chaining.

setTextBytes(ByteString value)

public Conversation.Transcript.TranscriptSegment.Builder setTextBytes(ByteString value)

The text of this segment.

string text = 1;

Parameter
Name Description
value ByteString

The bytes for text to set.

Returns
Type Description
Conversation.Transcript.TranscriptSegment.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.Transcript.TranscriptSegment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

setWords(int index, Conversation.Transcript.TranscriptSegment.WordInfo value)

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;

Parameters
Name Description
index int
value Conversation.Transcript.TranscriptSegment.WordInfo

setWords(int index, Conversation.Transcript.TranscriptSegment.WordInfo.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Conversation.Transcript.TranscriptSegment.WordInfo.Builder