Class AnalysisResult.CallAnalysisMetadata (2.31.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
TypeDescription
int

ENTITIES_FIELD_NUMBER

public static final int ENTITIES_FIELD_NUMBER
Field Value
TypeDescription
int

INTENTS_FIELD_NUMBER

public static final int INTENTS_FIELD_NUMBER
Field Value
TypeDescription
int

ISSUE_MODEL_RESULT_FIELD_NUMBER

public static final int ISSUE_MODEL_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

PHRASE_MATCHERS_FIELD_NUMBER

public static final int PHRASE_MATCHERS_FIELD_NUMBER
Field Value
TypeDescription
int

SENTIMENTS_FIELD_NUMBER

public static final int SENTIMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AnalysisResult.CallAnalysisMetadata getDefaultInstance()
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata

getDescriptor()

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

newBuilder()

public static AnalysisResult.CallAnalysisMetadata.Builder newBuilder()
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

newBuilder(AnalysisResult.CallAnalysisMetadata prototype)

public static AnalysisResult.CallAnalysisMetadata.Builder newBuilder(AnalysisResult.CallAnalysisMetadata prototype)
Parameter
NameDescription
prototypeAnalysisResult.CallAnalysisMetadata
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder

parseDelimitedFrom(InputStream input)

public static AnalysisResult.CallAnalysisMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalysisResult.CallAnalysisMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AnalysisResult.CallAnalysisMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnalysisResult.CallAnalysisMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnalysisResult.CallAnalysisMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnalysisResult.CallAnalysisMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnalysisResult.CallAnalysisMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalysisResult.CallAnalysisMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AnalysisResult.CallAnalysisMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalysisResult.CallAnalysisMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AnalysisResult.CallAnalysisMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnalysisResult.CallAnalysisMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AnalysisResult.CallAnalysisMetadata> parser()
Returns
TypeDescription
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
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

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
CallAnnotation

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

getEntities() (deprecated)

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() (deprecated)

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.

getIssueModelResultOrBuilder()

public IssueModelResultOrBuilder getIssueModelResultOrBuilder()

Overall conversation-level issue modeling result.

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

Returns
TypeDescription
IssueModelResultOrBuilder

getParserForType()

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

getPhraseMatchers() (deprecated)

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

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>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnalysisResult.CallAnalysisMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AnalysisResult.CallAnalysisMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException