Class AnalysisResult.CallAnalysisMetadata.Builder (2.43.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.contactcenterinsights.v1.CallAnnotation>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment>
Returns
Type Description
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
Name Description
value CallAnnotation
Returns
Type Description
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
Name Description
builderForValue CallAnnotation.Builder
Returns
Type Description
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
Name Description
index int
value CallAnnotation
Returns
Type Description
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
Name Description
index int
builderForValue CallAnnotation.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
CallAnnotation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalysisResult.CallAnalysisMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value ConversationLevelSentiment
Returns
Type Description
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
Name Description
builderForValue ConversationLevelSentiment.Builder
Returns
Type Description
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
Name Description
index int
value ConversationLevelSentiment
Returns
Type Description
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
Name Description
index int
builderForValue ConversationLevelSentiment.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
ConversationLevelSentiment.Builder

build()

public AnalysisResult.CallAnalysisMetadata build()
Returns
Type Description
AnalysisResult.CallAnalysisMetadata

buildPartial()

public AnalysisResult.CallAnalysisMetadata buildPartial()
Returns
Type Description
AnalysisResult.CallAnalysisMetadata

clear()

public AnalysisResult.CallAnalysisMetadata.Builder clear()
Returns
Type Description
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
Type Description
AnalysisResult.CallAnalysisMetadata.Builder

clearEntities()

public AnalysisResult.CallAnalysisMetadata.Builder clearEntities()
Returns
Type Description
AnalysisResult.CallAnalysisMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public AnalysisResult.CallAnalysisMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AnalysisResult.CallAnalysisMetadata.Builder
Overrides

clearIntents()

public AnalysisResult.CallAnalysisMetadata.Builder clearIntents()
Returns
Type Description
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
Type Description
AnalysisResult.CallAnalysisMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalysisResult.CallAnalysisMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AnalysisResult.CallAnalysisMetadata.Builder
Overrides

clearPhraseMatchers()

public AnalysisResult.CallAnalysisMetadata.Builder clearPhraseMatchers()
Returns
Type Description
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
Type Description
AnalysisResult.CallAnalysisMetadata.Builder

clone()

public AnalysisResult.CallAnalysisMetadata.Builder clone()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder>

getDefaultInstanceForType()

public AnalysisResult.CallAnalysisMetadata getDefaultInstanceForType()
Returns
Type Description
AnalysisResult.CallAnalysisMetadata

getDescriptorForType()

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

getEntities() (deprecated)

public Map<String,Entity> getEntities()

Use #getEntitiesMap() instead.

Returns
Type Description
Map<String,Entity>

getEntitiesCount()

public int getEntitiesCount()

All the entities in the call.

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

Returns
Type Description
int

getEntitiesMap()

public Map<String,Entity> getEntitiesMap()

All the entities in the call.

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

Returns
Type Description
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
Name Description
key String
defaultValue Entity
Returns
Type Description
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
Name Description
key String
Returns
Type Description
Entity

getIntents() (deprecated)

public Map<String,Intent> getIntents()

Use #getIntentsMap() instead.

Returns
Type Description
Map<String,Intent>

getIntentsCount()

public int getIntentsCount()

All the matched intents in the call.

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

Returns
Type Description
int

getIntentsMap()

public Map<String,Intent> getIntentsMap()

All the matched intents in the call.

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

Returns
Type Description
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
Name Description
key String
defaultValue Intent
Returns
Type Description
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
Name Description
key String
Returns
Type Description
Intent

getIssueModelResult()

public IssueModelResult getIssueModelResult()

Overall conversation-level issue modeling result.

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

Returns
Type Description
IssueModelResult

The issueModelResult.

getIssueModelResultBuilder()

public IssueModelResult.Builder getIssueModelResultBuilder()

Overall conversation-level issue modeling result.

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

Returns
Type Description
IssueModelResult.Builder

getIssueModelResultOrBuilder()

public IssueModelResultOrBuilder getIssueModelResultOrBuilder()

Overall conversation-level issue modeling result.

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

Returns
Type Description
IssueModelResultOrBuilder

getMutableEntities() (deprecated)

public Map<String,Entity> getMutableEntities()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,Entity>

getMutableIntents() (deprecated)

public Map<String,Intent> getMutableIntents()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,Intent>

getMutablePhraseMatchers() (deprecated)

public Map<String,PhraseMatchData> getMutablePhraseMatchers()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,PhraseMatchData>

getPhraseMatchers() (deprecated)

public Map<String,PhraseMatchData> getPhraseMatchers()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue PhraseMatchData
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the issueModelResult field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AnalysisResult.CallAnalysisMetadata other)

public AnalysisResult.CallAnalysisMetadata.Builder mergeFrom(AnalysisResult.CallAnalysisMetadata other)
Parameter
Name Description
other AnalysisResult.CallAnalysisMetadata
Returns
Type Description
AnalysisResult.CallAnalysisMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnalysisResult.CallAnalysisMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisResult.CallAnalysisMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AnalysisResult.CallAnalysisMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value IssueModelResult
Returns
Type Description
AnalysisResult.CallAnalysisMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalysisResult.CallAnalysisMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
values Map<String,Entity>
Returns
Type Description
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
Name Description
values Map<String,Intent>
Returns
Type Description
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
Name Description
values Map<String,PhraseMatchData>
Returns
Type Description
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
Name Description
key String
value Entity
Returns
Type Description
AnalysisResult.CallAnalysisMetadata.Builder

putEntitiesBuilderIfAbsent(String key)

public Entity.Builder putEntitiesBuilderIfAbsent(String key)

All the entities in the call.

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

Parameter
Name Description
key String
Returns
Type Description
Entity.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
Name Description
key String
value Intent
Returns
Type Description
AnalysisResult.CallAnalysisMetadata.Builder

putIntentsBuilderIfAbsent(String key)

public Intent.Builder putIntentsBuilderIfAbsent(String key)

All the matched intents in the call.

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

Parameter
Name Description
key String
Returns
Type Description
Intent.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
Name Description
key String
value PhraseMatchData
Returns
Type Description
AnalysisResult.CallAnalysisMetadata.Builder

putPhraseMatchersBuilderIfAbsent(String key)

public PhraseMatchData.Builder putPhraseMatchersBuilderIfAbsent(String key)

All the matched phrase matchers in the call.

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

Parameter
Name Description
key String
Returns
Type Description
PhraseMatchData.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
Name Description
index int
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
value CallAnnotation
Returns
Type Description
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
Name Description
index int
builderForValue CallAnnotation.Builder
Returns
Type Description
AnalysisResult.CallAnalysisMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AnalysisResult.CallAnalysisMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value IssueModelResult
Returns
Type Description
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
Name Description
builderForValue IssueModelResult.Builder
Returns
Type Description
AnalysisResult.CallAnalysisMetadata.Builder

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

public AnalysisResult.CallAnalysisMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
index int
value ConversationLevelSentiment
Returns
Type Description
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
Name Description
index int
builderForValue ConversationLevelSentiment.Builder
Returns
Type Description
AnalysisResult.CallAnalysisMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalysisResult.CallAnalysisMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalysisResult.CallAnalysisMetadata.Builder
Overrides