Class AnalysisResult.CallAnalysisMetadata.Builder (2.15.0)

public static final class AnalysisResult.CallAnalysisMetadata.Builder extends GeneratedMessageV3.Builder<AnalysisResult.CallAnalysisMetadata.Builder> implements AnalysisResult.CallAnalysisMetadataOrBuilder

Call-specific metadata created during analysis.

Protobuf type google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllAnnotations(Iterable<? extends CallAnnotation> values)

public AnalysisResult.CallAnalysisMetadata.Builder addAllAnnotations(Iterable<? extends CallAnnotation> values)

A list of call annotations that apply to this call.

repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.contactcenterinsights.v1.CallAnnotation>
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

addAllSentiments(Iterable<? extends ConversationLevelSentiment> values)

public AnalysisResult.CallAnalysisMetadata.Builder addAllSentiments(Iterable<? extends ConversationLevelSentiment> values)

Overall conversation-level sentiment for each channel of the call.

repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment>
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

addAnnotations(CallAnnotation value)

public AnalysisResult.CallAnalysisMetadata.Builder addAnnotations(CallAnnotation value)

A list of call annotations that apply to this call.

repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;

Parameter
NameDescription
valueCallAnnotation
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

addAnnotations(CallAnnotation.Builder builderForValue)

public AnalysisResult.CallAnalysisMetadata.Builder addAnnotations(CallAnnotation.Builder builderForValue)

A list of call annotations that apply to this call.

repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;

Parameter
NameDescription
builderForValueCallAnnotation.Builder
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

addAnnotations(int index, CallAnnotation value)

public AnalysisResult.CallAnalysisMetadata.Builder addAnnotations(int index, CallAnnotation value)

A list of call annotations that apply to this call.

repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;

Parameters
NameDescription
indexint
valueCallAnnotation
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

addAnnotations(int index, CallAnnotation.Builder builderForValue)

public AnalysisResult.CallAnalysisMetadata.Builder addAnnotations(int index, CallAnnotation.Builder builderForValue)

A list of call annotations that apply to this call.

repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;

Parameters
NameDescription
indexint
builderForValueCallAnnotation.Builder
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

addAnnotationsBuilder()

public CallAnnotation.Builder addAnnotationsBuilder()

A list of call annotations that apply to this call.

repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;

Returns
TypeDescription
CallAnnotation.Builder

addAnnotationsBuilder(int index)

public CallAnnotation.Builder addAnnotationsBuilder(int index)

A list of call annotations that apply to this call.

repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
CallAnnotation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalysisResult.CallAnalysisMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder
Overrides

addSentiments(ConversationLevelSentiment value)

public AnalysisResult.CallAnalysisMetadata.Builder addSentiments(ConversationLevelSentiment value)

Overall conversation-level sentiment for each channel of the call.

repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;

Parameter
NameDescription
valueConversationLevelSentiment
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

addSentiments(ConversationLevelSentiment.Builder builderForValue)

public AnalysisResult.CallAnalysisMetadata.Builder addSentiments(ConversationLevelSentiment.Builder builderForValue)

Overall conversation-level sentiment for each channel of the call.

repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;

Parameter
NameDescription
builderForValueConversationLevelSentiment.Builder
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

addSentiments(int index, ConversationLevelSentiment value)

public AnalysisResult.CallAnalysisMetadata.Builder addSentiments(int index, ConversationLevelSentiment value)

Overall conversation-level sentiment for each channel of the call.

repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;

Parameters
NameDescription
indexint
valueConversationLevelSentiment
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

addSentiments(int index, ConversationLevelSentiment.Builder builderForValue)

public AnalysisResult.CallAnalysisMetadata.Builder addSentiments(int index, ConversationLevelSentiment.Builder builderForValue)

Overall conversation-level sentiment for each channel of the call.

repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;

Parameters
NameDescription
indexint
builderForValueConversationLevelSentiment.Builder
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

addSentimentsBuilder()

public ConversationLevelSentiment.Builder addSentimentsBuilder()

Overall conversation-level sentiment for each channel of the call.

repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;

Returns
TypeDescription
ConversationLevelSentiment.Builder

addSentimentsBuilder(int index)

public ConversationLevelSentiment.Builder addSentimentsBuilder(int index)

Overall conversation-level sentiment for each channel of the call.

repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConversationLevelSentiment.Builder

build()

public AnalysisResult.CallAnalysisMetadata build()
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata

buildPartial()

public AnalysisResult.CallAnalysisMetadata buildPartial()
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata

clear()

public AnalysisResult.CallAnalysisMetadata.Builder clear()
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder
Overrides

clearAnnotations()

public AnalysisResult.CallAnalysisMetadata.Builder clearAnnotations()

A list of call annotations that apply to this call.

repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;

Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

clearEntities()

public AnalysisResult.CallAnalysisMetadata.Builder clearEntities()
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public AnalysisResult.CallAnalysisMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder
Overrides

clearIntents()

public AnalysisResult.CallAnalysisMetadata.Builder clearIntents()
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

clearIssueModelResult()

public AnalysisResult.CallAnalysisMetadata.Builder clearIssueModelResult()

Overall conversation-level issue modeling result.

.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;

Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalysisResult.CallAnalysisMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder
Overrides

clearPhraseMatchers()

public AnalysisResult.CallAnalysisMetadata.Builder clearPhraseMatchers()
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

clearSentiments()

public AnalysisResult.CallAnalysisMetadata.Builder clearSentiments()

Overall conversation-level sentiment for each channel of the call.

repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;

Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

clone()

public AnalysisResult.CallAnalysisMetadata.Builder clone()
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder
Overrides

containsEntities(String key)

public boolean containsEntities(String key)

All the entities in the call.

map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsIntents(String key)

public boolean containsIntents(String key)

All the matched intents in the call.

map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsPhraseMatchers(String key)

public boolean containsPhraseMatchers(String key)

All the matched phrase matchers in the call.

map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAnnotations(int index)

public CallAnnotation getAnnotations(int index)

A list of call annotations that apply to this call.

repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
CallAnnotation

getAnnotationsBuilder(int index)

public CallAnnotation.Builder getAnnotationsBuilder(int index)

A list of call annotations that apply to this call.

repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
CallAnnotation.Builder

getAnnotationsBuilderList()

public List<CallAnnotation.Builder> getAnnotationsBuilderList()

A list of call annotations that apply to this call.

repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;

Returns
TypeDescription
List<Builder>

getAnnotationsCount()

public int getAnnotationsCount()

A list of call annotations that apply to this call.

repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;

Returns
TypeDescription
int

getAnnotationsList()

public List<CallAnnotation> getAnnotationsList()

A list of call annotations that apply to this call.

repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;

Returns
TypeDescription
List<CallAnnotation>

getAnnotationsOrBuilder(int index)

public CallAnnotationOrBuilder getAnnotationsOrBuilder(int index)

A list of call annotations that apply to this call.

repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
CallAnnotationOrBuilder

getAnnotationsOrBuilderList()

public List<? extends CallAnnotationOrBuilder> getAnnotationsOrBuilderList()

A list of call annotations that apply to this call.

repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;

Returns
TypeDescription
List<? extends com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder>

getDefaultInstanceForType()

public AnalysisResult.CallAnalysisMetadata getDefaultInstanceForType()
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntities()

public Map<String,Entity> getEntities()

Use #getEntitiesMap() instead.

Returns
TypeDescription
Map<String,Entity>

getEntitiesCount()

public int getEntitiesCount()

All the entities in the call.

map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3;

Returns
TypeDescription
int

getEntitiesMap()

public Map<String,Entity> getEntitiesMap()

All the entities in the call.

map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3;

Returns
TypeDescription
Map<String,Entity>

getEntitiesOrDefault(String key, Entity defaultValue)

public Entity getEntitiesOrDefault(String key, Entity defaultValue)

All the entities in the call.

map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3;

Parameters
NameDescription
keyString
defaultValueEntity
Returns
TypeDescription
Entity

getEntitiesOrThrow(String key)

public Entity getEntitiesOrThrow(String key)

All the entities in the call.

map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3;

Parameter
NameDescription
keyString
Returns
TypeDescription
Entity

getIntents()

public Map<String,Intent> getIntents()

Use #getIntentsMap() instead.

Returns
TypeDescription
Map<String,Intent>

getIntentsCount()

public int getIntentsCount()

All the matched intents in the call.

map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6;

Returns
TypeDescription
int

getIntentsMap()

public Map<String,Intent> getIntentsMap()

All the matched intents in the call.

map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6;

Returns
TypeDescription
Map<String,Intent>

getIntentsOrDefault(String key, Intent defaultValue)

public Intent getIntentsOrDefault(String key, Intent defaultValue)

All the matched intents in the call.

map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6;

Parameters
NameDescription
keyString
defaultValueIntent
Returns
TypeDescription
Intent

getIntentsOrThrow(String key)

public Intent getIntentsOrThrow(String key)

All the matched intents in the call.

map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
Intent

getIssueModelResult()

public IssueModelResult getIssueModelResult()

Overall conversation-level issue modeling result.

.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;

Returns
TypeDescription
IssueModelResult

The issueModelResult.

getIssueModelResultBuilder()

public IssueModelResult.Builder getIssueModelResultBuilder()

Overall conversation-level issue modeling result.

.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;

Returns
TypeDescription
IssueModelResult.Builder

getIssueModelResultOrBuilder()

public IssueModelResultOrBuilder getIssueModelResultOrBuilder()

Overall conversation-level issue modeling result.

.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;

Returns
TypeDescription
IssueModelResultOrBuilder

getMutableEntities()

public Map<String,Entity> getMutableEntities()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,Entity>

getMutableIntents()

public Map<String,Intent> getMutableIntents()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,Intent>

getMutablePhraseMatchers()

public Map<String,PhraseMatchData> getMutablePhraseMatchers()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,PhraseMatchData>

getPhraseMatchers()

public Map<String,PhraseMatchData> getPhraseMatchers()
Returns
TypeDescription
Map<String,PhraseMatchData>

getPhraseMatchersCount()

public int getPhraseMatchersCount()

All the matched phrase matchers in the call.

map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7;

Returns
TypeDescription
int

getPhraseMatchersMap()

public Map<String,PhraseMatchData> getPhraseMatchersMap()

All the matched phrase matchers in the call.

map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7;

Returns
TypeDescription
Map<String,PhraseMatchData>

getPhraseMatchersOrDefault(String key, PhraseMatchData defaultValue)

public PhraseMatchData getPhraseMatchersOrDefault(String key, PhraseMatchData defaultValue)

All the matched phrase matchers in the call.

map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7;

Parameters
NameDescription
keyString
defaultValuePhraseMatchData
Returns
TypeDescription
PhraseMatchData

getPhraseMatchersOrThrow(String key)

public PhraseMatchData getPhraseMatchersOrThrow(String key)

All the matched phrase matchers in the call.

map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7;

Parameter
NameDescription
keyString
Returns
TypeDescription
PhraseMatchData

getSentiments(int index)

public ConversationLevelSentiment getSentiments(int index)

Overall conversation-level sentiment for each channel of the call.

repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConversationLevelSentiment

getSentimentsBuilder(int index)

public ConversationLevelSentiment.Builder getSentimentsBuilder(int index)

Overall conversation-level sentiment for each channel of the call.

repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConversationLevelSentiment.Builder

getSentimentsBuilderList()

public List<ConversationLevelSentiment.Builder> getSentimentsBuilderList()

Overall conversation-level sentiment for each channel of the call.

repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;

Returns
TypeDescription
List<Builder>

getSentimentsCount()

public int getSentimentsCount()

Overall conversation-level sentiment for each channel of the call.

repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;

Returns
TypeDescription
int

getSentimentsList()

public List<ConversationLevelSentiment> getSentimentsList()

Overall conversation-level sentiment for each channel of the call.

repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;

Returns
TypeDescription
List<ConversationLevelSentiment>

getSentimentsOrBuilder(int index)

public ConversationLevelSentimentOrBuilder getSentimentsOrBuilder(int index)

Overall conversation-level sentiment for each channel of the call.

repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConversationLevelSentimentOrBuilder

getSentimentsOrBuilderList()

public List<? extends ConversationLevelSentimentOrBuilder> getSentimentsOrBuilderList()

Overall conversation-level sentiment for each channel of the call.

repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;

Returns
TypeDescription
List<? extends com.google.cloud.contactcenterinsights.v1.ConversationLevelSentimentOrBuilder>

hasIssueModelResult()

public boolean hasIssueModelResult()

Overall conversation-level issue modeling result.

.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;

Returns
TypeDescription
boolean

Whether the issueModelResult field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AnalysisResult.CallAnalysisMetadata other)

public AnalysisResult.CallAnalysisMetadata.Builder mergeFrom(AnalysisResult.CallAnalysisMetadata other)
Parameter
NameDescription
otherAnalysisResult.CallAnalysisMetadata
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnalysisResult.CallAnalysisMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AnalysisResult.CallAnalysisMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder
Overrides

mergeIssueModelResult(IssueModelResult value)

public AnalysisResult.CallAnalysisMetadata.Builder mergeIssueModelResult(IssueModelResult value)

Overall conversation-level issue modeling result.

.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;

Parameter
NameDescription
valueIssueModelResult
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalysisResult.CallAnalysisMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder
Overrides

putAllEntities(Map<String,Entity> values)

public AnalysisResult.CallAnalysisMetadata.Builder putAllEntities(Map<String,Entity> values)

All the entities in the call.

map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3;

Parameter
NameDescription
valuesMap<String,Entity>
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

putAllIntents(Map<String,Intent> values)

public AnalysisResult.CallAnalysisMetadata.Builder putAllIntents(Map<String,Intent> values)

All the matched intents in the call.

map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6;

Parameter
NameDescription
valuesMap<String,Intent>
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

putAllPhraseMatchers(Map<String,PhraseMatchData> values)

public AnalysisResult.CallAnalysisMetadata.Builder putAllPhraseMatchers(Map<String,PhraseMatchData> values)

All the matched phrase matchers in the call.

map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7;

Parameter
NameDescription
valuesMap<String,PhraseMatchData>
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

putEntities(String key, Entity value)

public AnalysisResult.CallAnalysisMetadata.Builder putEntities(String key, Entity value)

All the entities in the call.

map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3;

Parameters
NameDescription
keyString
valueEntity
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

putIntents(String key, Intent value)

public AnalysisResult.CallAnalysisMetadata.Builder putIntents(String key, Intent value)

All the matched intents in the call.

map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6;

Parameters
NameDescription
keyString
valueIntent
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

putPhraseMatchers(String key, PhraseMatchData value)

public AnalysisResult.CallAnalysisMetadata.Builder putPhraseMatchers(String key, PhraseMatchData value)

All the matched phrase matchers in the call.

map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7;

Parameters
NameDescription
keyString
valuePhraseMatchData
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

removeAnnotations(int index)

public AnalysisResult.CallAnalysisMetadata.Builder removeAnnotations(int index)

A list of call annotations that apply to this call.

repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

removeEntities(String key)

public AnalysisResult.CallAnalysisMetadata.Builder removeEntities(String key)

All the entities in the call.

map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3;

Parameter
NameDescription
keyString
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

removeIntents(String key)

public AnalysisResult.CallAnalysisMetadata.Builder removeIntents(String key)

All the matched intents in the call.

map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

removePhraseMatchers(String key)

public AnalysisResult.CallAnalysisMetadata.Builder removePhraseMatchers(String key)

All the matched phrase matchers in the call.

map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7;

Parameter
NameDescription
keyString
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

removeSentiments(int index)

public AnalysisResult.CallAnalysisMetadata.Builder removeSentiments(int index)

Overall conversation-level sentiment for each channel of the call.

repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

setAnnotations(int index, CallAnnotation value)

public AnalysisResult.CallAnalysisMetadata.Builder setAnnotations(int index, CallAnnotation value)

A list of call annotations that apply to this call.

repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;

Parameters
NameDescription
indexint
valueCallAnnotation
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

setAnnotations(int index, CallAnnotation.Builder builderForValue)

public AnalysisResult.CallAnalysisMetadata.Builder setAnnotations(int index, CallAnnotation.Builder builderForValue)

A list of call annotations that apply to this call.

repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;

Parameters
NameDescription
indexint
builderForValueCallAnnotation.Builder
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AnalysisResult.CallAnalysisMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder
Overrides

setIssueModelResult(IssueModelResult value)

public AnalysisResult.CallAnalysisMetadata.Builder setIssueModelResult(IssueModelResult value)

Overall conversation-level issue modeling result.

.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;

Parameter
NameDescription
valueIssueModelResult
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

setIssueModelResult(IssueModelResult.Builder builderForValue)

public AnalysisResult.CallAnalysisMetadata.Builder setIssueModelResult(IssueModelResult.Builder builderForValue)

Overall conversation-level issue modeling result.

.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;

Parameter
NameDescription
builderForValueIssueModelResult.Builder
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

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

public AnalysisResult.CallAnalysisMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder
Overrides

setSentiments(int index, ConversationLevelSentiment value)

public AnalysisResult.CallAnalysisMetadata.Builder setSentiments(int index, ConversationLevelSentiment value)

Overall conversation-level sentiment for each channel of the call.

repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;

Parameters
NameDescription
indexint
valueConversationLevelSentiment
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

setSentiments(int index, ConversationLevelSentiment.Builder builderForValue)

public AnalysisResult.CallAnalysisMetadata.Builder setSentiments(int index, ConversationLevelSentiment.Builder builderForValue)

Overall conversation-level sentiment for each channel of the call.

repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;

Parameters
NameDescription
indexint
builderForValueConversationLevelSentiment.Builder
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalysisResult.CallAnalysisMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder
Overrides