Class AnalysisResult.CallAnalysisMetadata (2.53.0)

public static final class AnalysisResult.CallAnalysisMetadata extends GeneratedMessageV3 implements AnalysisResult.CallAnalysisMetadataOrBuilder

Call-specific metadata created during analysis.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AnalysisResult.CallAnalysisMetadata

Static Fields

ANNOTATIONS_FIELD_NUMBER

public static final int ANNOTATIONS_FIELD_NUMBER
Field Value
Type Description
int

ENTITIES_FIELD_NUMBER

public static final int ENTITIES_FIELD_NUMBER
Field Value
Type Description
int

INTENTS_FIELD_NUMBER

public static final int INTENTS_FIELD_NUMBER
Field Value
Type Description
int

ISSUE_MODEL_RESULT_FIELD_NUMBER

public static final int ISSUE_MODEL_RESULT_FIELD_NUMBER
Field Value
Type Description
int

PHRASE_MATCHERS_FIELD_NUMBER

public static final int PHRASE_MATCHERS_FIELD_NUMBER
Field Value
Type Description
int

SENTIMENTS_FIELD_NUMBER

public static final int SENTIMENTS_FIELD_NUMBER
Field Value
Type Description
int

SILENCE_FIELD_NUMBER

public static final int SILENCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AnalysisResult.CallAnalysisMetadata getDefaultInstance()
Returns
Type Description
AnalysisResult.CallAnalysisMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AnalysisResult.CallAnalysisMetadata.Builder newBuilder()
Returns
Type Description
AnalysisResult.CallAnalysisMetadata.Builder

newBuilder(AnalysisResult.CallAnalysisMetadata prototype)

public static AnalysisResult.CallAnalysisMetadata.Builder newBuilder(AnalysisResult.CallAnalysisMetadata prototype)
Parameter
Name Description
prototype AnalysisResult.CallAnalysisMetadata
Returns
Type Description
AnalysisResult.CallAnalysisMetadata.Builder

parseDelimitedFrom(InputStream input)

public static AnalysisResult.CallAnalysisMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalysisResult.CallAnalysisMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalysisResult.CallAnalysisMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisResult.CallAnalysisMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AnalysisResult.CallAnalysisMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AnalysisResult.CallAnalysisMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnalysisResult.CallAnalysisMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisResult.CallAnalysisMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnalysisResult.CallAnalysisMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AnalysisResult.CallAnalysisMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnalysisResult.CallAnalysisMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisResult.CallAnalysisMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnalysisResult.CallAnalysisMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AnalysisResult.CallAnalysisMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalysisResult.CallAnalysisMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisResult.CallAnalysisMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AnalysisResult.CallAnalysisMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalysisResult.CallAnalysisMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalysisResult.CallAnalysisMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisResult.CallAnalysisMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AnalysisResult.CallAnalysisMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AnalysisResult.CallAnalysisMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnalysisResult.CallAnalysisMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisResult.CallAnalysisMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AnalysisResult.CallAnalysisMetadata> parser()
Returns
Type Description
Parser<CallAnalysisMetadata>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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

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.

getIssueModelResultOrBuilder()

public IssueModelResultOrBuilder getIssueModelResultOrBuilder()

Overall conversation-level issue modeling result.

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

Returns
Type Description
IssueModelResultOrBuilder

getParserForType()

public Parser<AnalysisResult.CallAnalysisMetadata> getParserForType()
Returns
Type Description
Parser<CallAnalysisMetadata>
Overrides

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

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>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSilence()

public ConversationLevelSilence getSilence()

Overall conversation-level silence during the call.

.google.cloud.contactcenterinsights.v1.ConversationLevelSilence silence = 11;

Returns
Type Description
ConversationLevelSilence

The silence.

getSilenceOrBuilder()

public ConversationLevelSilenceOrBuilder getSilenceOrBuilder()

Overall conversation-level silence during the call.

.google.cloud.contactcenterinsights.v1.ConversationLevelSilence silence = 11;

Returns
Type Description
ConversationLevelSilenceOrBuilder

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.

hasSilence()

public boolean hasSilence()

Overall conversation-level silence during the call.

.google.cloud.contactcenterinsights.v1.ConversationLevelSilence silence = 11;

Returns
Type Description
boolean

Whether the silence field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnalysisResult.CallAnalysisMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AnalysisResult.CallAnalysisMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException