- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Conversation.Transcript.TranscriptSegment.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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;
Name | Description |
values | Iterable<? extends com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo> |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Conversation.Transcript.TranscriptSegment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
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;
Name | Description |
value | Conversation.Transcript.TranscriptSegment.WordInfo |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
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;
Name | Description |
builderForValue | Conversation.Transcript.TranscriptSegment.WordInfo.Builder |
Type | Description |
Conversation.Transcript.TranscriptSegment.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;
Name | Description |
index | int |
value | Conversation.Transcript.TranscriptSegment.WordInfo |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
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;
Name | Description |
index | int |
builderForValue | Conversation.Transcript.TranscriptSegment.WordInfo.Builder |
Type | Description |
Conversation.Transcript.TranscriptSegment.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;
Type | Description |
Conversation.Transcript.TranscriptSegment.WordInfo.Builder |
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;
Name | Description |
index | int |
Type | Description |
Conversation.Transcript.TranscriptSegment.WordInfo.Builder |
build()
public Conversation.Transcript.TranscriptSegment build()
Type | Description |
Conversation.Transcript.TranscriptSegment |
buildPartial()
public Conversation.Transcript.TranscriptSegment buildPartial()
Type | Description |
Conversation.Transcript.TranscriptSegment |
clear()
public Conversation.Transcript.TranscriptSegment.Builder clear()
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
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;
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;
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;
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
clearField(Descriptors.FieldDescriptor field)
public Conversation.Transcript.TranscriptSegment.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
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;
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;
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Conversation.Transcript.TranscriptSegment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
clearSegmentParticipant()
public Conversation.Transcript.TranscriptSegment.Builder clearSegmentParticipant()
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
clearSentiment()
public Conversation.Transcript.TranscriptSegment.Builder clearSentiment()
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
clearText()
public Conversation.Transcript.TranscriptSegment.Builder clearText()
The text of this segment.
string text = 1;
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;
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
clone()
public Conversation.Transcript.TranscriptSegment.Builder clone()
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
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;
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;
Type | Description |
float | The confidence. |
getDefaultInstanceForType()
public Conversation.Transcript.TranscriptSegment getDefaultInstanceForType()
Type | Description |
Conversation.Transcript.TranscriptSegment |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
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;
Type | Description |
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder |
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;
Type | Description |
Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder |
getLanguageCode()
public String getLanguageCode()
The language code of this segment as a BCP-47 language tag. Example: "en-US".
string language_code = 4;
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;
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;
Type | Description |
Timestamp | The messageTime. |
getMessageTimeBuilder()
public Timestamp.Builder getMessageTimeBuilder()
The time that the message occurred, if provided.
.google.protobuf.Timestamp message_time = 6;
Type | Description |
Builder |
getMessageTimeOrBuilder()
public TimestampOrBuilder getMessageTimeOrBuilder()
The time that the message occurred, if provided.
.google.protobuf.Timestamp message_time = 6;
Type | Description |
TimestampOrBuilder |
getSegmentParticipant()
public ConversationParticipant getSegmentParticipant()
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
Type | Description |
ConversationParticipant | The segmentParticipant. |
getSegmentParticipantBuilder()
public ConversationParticipant.Builder getSegmentParticipantBuilder()
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
Type | Description |
ConversationParticipant.Builder |
getSegmentParticipantOrBuilder()
public ConversationParticipantOrBuilder getSegmentParticipantOrBuilder()
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
Type | Description |
ConversationParticipantOrBuilder |
getSentiment()
public SentimentData getSentiment()
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;
Type | Description |
SentimentData | The sentiment. |
getSentimentBuilder()
public SentimentData.Builder getSentimentBuilder()
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;
Type | Description |
SentimentData.Builder |
getSentimentOrBuilder()
public SentimentDataOrBuilder getSentimentOrBuilder()
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;
Type | Description |
SentimentDataOrBuilder |
getText()
public String getText()
The text of this segment.
string text = 1;
Type | Description |
String | The text. |
getTextBytes()
public ByteString getTextBytes()
The text of this segment.
string text = 1;
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;
Name | Description |
index | int |
Type | Description |
Conversation.Transcript.TranscriptSegment.WordInfo |
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;
Name | Description |
index | int |
Type | Description |
Conversation.Transcript.TranscriptSegment.WordInfo.Builder |
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;
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;
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;
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;
Name | Description |
index | int |
Type | Description |
Conversation.Transcript.TranscriptSegment.WordInfoOrBuilder |
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;
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;
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;
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;
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;
Type | Description |
boolean | Whether the sentiment field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
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;
Name | Description |
value | Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
mergeFrom(Conversation.Transcript.TranscriptSegment other)
public Conversation.Transcript.TranscriptSegment.Builder mergeFrom(Conversation.Transcript.TranscriptSegment other)
Name | Description |
other | Conversation.Transcript.TranscriptSegment |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Conversation.Transcript.TranscriptSegment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Conversation.Transcript.TranscriptSegment.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
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;
Name | Description |
value | Timestamp |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
mergeSegmentParticipant(ConversationParticipant value)
public Conversation.Transcript.TranscriptSegment.Builder mergeSegmentParticipant(ConversationParticipant value)
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
Name | Description |
value | ConversationParticipant |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
mergeSentiment(SentimentData value)
public Conversation.Transcript.TranscriptSegment.Builder mergeSentiment(SentimentData value)
The sentiment for this transcript segment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment = 11;
Name | Description |
value | SentimentData |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Conversation.Transcript.TranscriptSegment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
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;
Name | Description |
index | int |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
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;
Name | Description |
value | int The channelTag to set. |
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;
Name | Description |
value | float The confidence to set. |
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;
Name | Description |
value | Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
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;
Name | Description |
builderForValue | Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Conversation.Transcript.TranscriptSegment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
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;
Name | Description |
value | String The languageCode to set. |
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;
Name | Description |
value | ByteString The bytes for languageCode to set. |
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;
Name | Description |
value | Timestamp |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
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;
Name | Description |
builderForValue | Builder |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Conversation.Transcript.TranscriptSegment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
setSegmentParticipant(ConversationParticipant value)
public Conversation.Transcript.TranscriptSegment.Builder setSegmentParticipant(ConversationParticipant value)
The participant of this segment.
.google.cloud.contactcenterinsights.v1.ConversationParticipant segment_participant = 9;
Name | Description |
value | ConversationParticipant |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
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;
Name | Description |
builderForValue | ConversationParticipant.Builder |
Type | Description |
Conversation.Transcript.TranscriptSegment.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;
Name | Description |
value | SentimentData |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
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;
Name | Description |
builderForValue | SentimentData.Builder |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
setText(String value)
public Conversation.Transcript.TranscriptSegment.Builder setText(String value)
The text of this segment.
string text = 1;
Name | Description |
value | String The text to set. |
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;
Name | Description |
value | ByteString The bytes for text to set. |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Conversation.Transcript.TranscriptSegment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
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;
Name | Description |
index | int |
value | Conversation.Transcript.TranscriptSegment.WordInfo |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |
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;
Name | Description |
index | int |
builderForValue | Conversation.Transcript.TranscriptSegment.WordInfo.Builder |
Type | Description |
Conversation.Transcript.TranscriptSegment.Builder |