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.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()
Returns
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>
|
Returns
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
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
Returns
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
Returns
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
Returns
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
Returns
public CallAnnotation.Builder addAnnotationsBuilder()
A list of call annotations that apply to this call.
repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;
Returns
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
Returns
public AnalysisResult.CallAnalysisMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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;
Parameter
Returns
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
Returns
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
Returns
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
Returns
public ConversationLevelSentiment.Builder addSentimentsBuilder()
Overall conversation-level sentiment for each channel of the call.
repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;
Returns
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
Returns
public AnalysisResult.CallAnalysisMetadata build()
Returns
public AnalysisResult.CallAnalysisMetadata buildPartial()
Returns
public AnalysisResult.CallAnalysisMetadata.Builder clear()
Returns
Overrides
public AnalysisResult.CallAnalysisMetadata.Builder clearAnnotations()
A list of call annotations that apply to this call.
repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;
Returns
public AnalysisResult.CallAnalysisMetadata.Builder clearEntities()
Returns
public AnalysisResult.CallAnalysisMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public AnalysisResult.CallAnalysisMetadata.Builder clearIntents()
Returns
public AnalysisResult.CallAnalysisMetadata.Builder clearIssueModelResult()
Overall conversation-level issue modeling result.
.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;
Returns
public AnalysisResult.CallAnalysisMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public AnalysisResult.CallAnalysisMetadata.Builder clearPhraseMatchers()
Returns
public AnalysisResult.CallAnalysisMetadata.Builder clearSentiments()
Overall conversation-level sentiment for each channel of the call.
repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;
Returns
public AnalysisResult.CallAnalysisMetadata.Builder clone()
Returns
Overrides
public boolean containsEntities(String key)
All the entities in the call.
map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3;
Parameter
Returns
public boolean containsIntents(String key)
All the matched intents in the call.
map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6;
Parameter
Returns
public boolean containsPhraseMatchers(String key)
All the matched phrase matchers in the call.
map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7;
Parameter
Returns
public CallAnnotation getAnnotations(int index)
A list of call annotations that apply to this call.
repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;
Parameter
Returns
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
Returns
public List<CallAnnotation.Builder> getAnnotationsBuilderList()
A list of call annotations that apply to this call.
repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;
Returns
public int getAnnotationsCount()
A list of call annotations that apply to this call.
repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;
Returns
public List<CallAnnotation> getAnnotationsList()
A list of call annotations that apply to this call.
repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;
Returns
public CallAnnotationOrBuilder getAnnotationsOrBuilder(int index)
A list of call annotations that apply to this call.
repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2;
Parameter
Returns
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()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Map<String,Entity> getEntities()
Returns
public int getEntitiesCount()
All the entities in the call.
map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3;
Returns
public Map<String,Entity> getEntitiesMap()
All the entities in the call.
map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3;
Returns
public Entity getEntitiesOrDefault(String key, Entity defaultValue)
All the entities in the call.
map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3;
Parameters
Returns
public Entity getEntitiesOrThrow(String key)
All the entities in the call.
map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3;
Parameter
Returns
public Map<String,Intent> getIntents()
Returns
public int getIntentsCount()
All the matched intents in the call.
map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6;
Returns
public Map<String,Intent> getIntentsMap()
All the matched intents in the call.
map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6;
Returns
public Intent getIntentsOrDefault(String key, Intent defaultValue)
All the matched intents in the call.
map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6;
Parameters
Returns
public Intent getIntentsOrThrow(String key)
All the matched intents in the call.
map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6;
Parameter
Returns
public IssueModelResult getIssueModelResult()
Overall conversation-level issue modeling result.
.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;
Returns
public IssueModelResult.Builder getIssueModelResultBuilder()
Overall conversation-level issue modeling result.
.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;
Returns
public IssueModelResultOrBuilder getIssueModelResultOrBuilder()
Overall conversation-level issue modeling result.
.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;
Returns
public Map<String,Entity> getMutableEntities()
Use alternate mutation accessors instead.
Returns
public Map<String,Intent> getMutableIntents()
Use alternate mutation accessors instead.
Returns
public Map<String,PhraseMatchData> getMutablePhraseMatchers()
Use alternate mutation accessors instead.
Returns
public Map<String,PhraseMatchData> getPhraseMatchers()
Returns
public int getPhraseMatchersCount()
All the matched phrase matchers in the call.
map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7;
Returns
public Map<String,PhraseMatchData> getPhraseMatchersMap()
All the matched phrase matchers in the call.
map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7;
Returns
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
Returns
public PhraseMatchData getPhraseMatchersOrThrow(String key)
All the matched phrase matchers in the call.
map<string, .google.cloud.contactcenterinsights.v1.PhraseMatchData> phrase_matchers = 7;
Parameter
Returns
public ConversationLevelSentiment getSentiments(int index)
Overall conversation-level sentiment for each channel of the call.
repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;
Parameter
Returns
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
Returns
public List<ConversationLevelSentiment.Builder> getSentimentsBuilderList()
Overall conversation-level sentiment for each channel of the call.
repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;
Returns
public int getSentimentsCount()
Overall conversation-level sentiment for each channel of the call.
repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;
Returns
public List<ConversationLevelSentiment> getSentimentsList()
Overall conversation-level sentiment for each channel of the call.
repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;
Returns
public ConversationLevelSentimentOrBuilder getSentimentsOrBuilder(int index)
Overall conversation-level sentiment for each channel of the call.
repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4;
Parameter
Returns
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()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public AnalysisResult.CallAnalysisMetadata.Builder mergeFrom(AnalysisResult.CallAnalysisMetadata other)
Parameter
Returns
public AnalysisResult.CallAnalysisMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public AnalysisResult.CallAnalysisMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public AnalysisResult.CallAnalysisMetadata.Builder mergeIssueModelResult(IssueModelResult value)
Overall conversation-level issue modeling result.
.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;
Parameter
Returns
public final AnalysisResult.CallAnalysisMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
Returns
public AnalysisResult.CallAnalysisMetadata.Builder removeEntities(String key)
All the entities in the call.
map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3;
Parameter
Returns
public AnalysisResult.CallAnalysisMetadata.Builder removeIntents(String key)
All the matched intents in the call.
map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6;
Parameter
Returns
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
Returns
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
Returns
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
Returns
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
Returns
public AnalysisResult.CallAnalysisMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public AnalysisResult.CallAnalysisMetadata.Builder setIssueModelResult(IssueModelResult value)
Overall conversation-level issue modeling result.
.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;
Parameter
Returns
public AnalysisResult.CallAnalysisMetadata.Builder setIssueModelResult(IssueModelResult.Builder builderForValue)
Overall conversation-level issue modeling result.
.google.cloud.contactcenterinsights.v1.IssueModelResult issue_model_result = 8;
Parameter
Returns
public AnalysisResult.CallAnalysisMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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;
Parameters
Returns
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
Returns
public final AnalysisResult.CallAnalysisMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides