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
Inherited Members
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
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
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>
|
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;
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;
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;
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;
public CallAnnotation.Builder addAnnotationsBuilder()
A list of call annotations that apply to this call.
repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;
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
|
public AnalysisResult.CallAnalysisMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
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;
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;
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;
public ConversationLevelSentiment.Builder addSentimentsBuilder()
Overall conversation-level sentiment for each channel of the call.
repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;
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
|
public AnalysisResult.CallAnalysisMetadata build()
public AnalysisResult.CallAnalysisMetadata buildPartial()
public AnalysisResult.CallAnalysisMetadata.Builder clear()
Overrides
public AnalysisResult.CallAnalysisMetadata.Builder clearAnnotations()
A list of call annotations that apply to this call.
repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;
public AnalysisResult.CallAnalysisMetadata.Builder clearEntities()
public AnalysisResult.CallAnalysisMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AnalysisResult.CallAnalysisMetadata.Builder clearIntents()
public AnalysisResult.CallAnalysisMetadata.Builder clearIssueModelResult()
Overall conversation-level issue modeling result.
.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;
public AnalysisResult.CallAnalysisMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AnalysisResult.CallAnalysisMetadata.Builder clearPhraseMatchers()
public AnalysisResult.CallAnalysisMetadata.Builder clearSentiments()
Overall conversation-level sentiment for each channel of the call.
repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;
public AnalysisResult.CallAnalysisMetadata.Builder clone()
Overrides
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
|
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
|
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
|
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
|
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
|
public List<CallAnnotation.Builder> getAnnotationsBuilderList()
A list of call annotations that apply to this call.
repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;
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 | |
public List<CallAnnotation> getAnnotationsList()
A list of call annotations that apply to this call.
repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;
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
|
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> | |
public AnalysisResult.CallAnalysisMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Map<String,Entity> getEntities()
public int getEntitiesCount()
All the entities in the call.
map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3;
Returns |
---|
Type | Description |
int | |
public Map<String,Entity> getEntitiesMap()
All the entities in the call.
map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3;
public Entity getEntitiesOrDefault(String key, Entity defaultValue)
All the entities in the call.
map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3;
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
|
public Map<String,Intent> getIntents()
public int getIntentsCount()
All the matched intents in the call.
map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6;
Returns |
---|
Type | Description |
int | |
public Map<String,Intent> getIntentsMap()
All the matched intents in the call.
map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6;
public Intent getIntentsOrDefault(String key, Intent defaultValue)
All the matched intents in the call.
map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6;
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
|
public IssueModelResult getIssueModelResult()
Overall conversation-level issue modeling result.
.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;
public IssueModelResult.Builder getIssueModelResultBuilder()
Overall conversation-level issue modeling result.
.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;
public IssueModelResultOrBuilder getIssueModelResultOrBuilder()
Overall conversation-level issue modeling result.
.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;
public Map<String,Entity> getMutableEntities()
Use alternate mutation accessors instead.
public Map<String,Intent> getMutableIntents()
Use alternate mutation accessors instead.
public Map<String,PhraseMatchData> getMutablePhraseMatchers()
Use alternate mutation accessors instead.
public Map<String,PhraseMatchData> getPhraseMatchers()
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 | |
public Map<String,PhraseMatchData> getPhraseMatchersMap()
All the matched phrase matchers in the call.
map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7;
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;
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
|
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
|
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
|
public List<ConversationLevelSentiment.Builder> getSentimentsBuilderList()
Overall conversation-level sentiment for each channel of the call.
repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;
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 | |
public List<ConversationLevelSentiment> getSentimentsList()
Overall conversation-level sentiment for each channel of the call.
repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;
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
|
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> | |
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
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)
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)
public final boolean isInitialized()
Overrides
public AnalysisResult.CallAnalysisMetadata.Builder mergeFrom(AnalysisResult.CallAnalysisMetadata other)
public AnalysisResult.CallAnalysisMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AnalysisResult.CallAnalysisMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public AnalysisResult.CallAnalysisMetadata.Builder mergeIssueModelResult(IssueModelResult value)
Overall conversation-level issue modeling result.
.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;
public final AnalysisResult.CallAnalysisMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public AnalysisResult.CallAnalysisMetadata.Builder putAllEntities(Map<String,Entity> values)
All the entities in the call.
map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3;
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;
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;
public AnalysisResult.CallAnalysisMetadata.Builder putEntities(String key, Entity value)
All the entities in the call.
map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3;
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
|
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;
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
|
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;
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
|
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
|
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
|
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
|
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
|
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
|
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;
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;
public AnalysisResult.CallAnalysisMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AnalysisResult.CallAnalysisMetadata.Builder setIssueModelResult(IssueModelResult value)
Overall conversation-level issue modeling result.
.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;
public AnalysisResult.CallAnalysisMetadata.Builder setIssueModelResult(IssueModelResult.Builder builderForValue)
Overall conversation-level issue modeling result.
.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;
public AnalysisResult.CallAnalysisMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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;
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;
public final AnalysisResult.CallAnalysisMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides