Class IssueModelLabelStats (2.47.0)

public final class IssueModelLabelStats extends GeneratedMessageV3 implements IssueModelLabelStatsOrBuilder

Aggregated statistics about an issue model.

Protobuf type google.cloud.contactcenterinsights.v1.IssueModelLabelStats

Static Fields

ANALYZED_CONVERSATIONS_COUNT_FIELD_NUMBER

public static final int ANALYZED_CONVERSATIONS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

ISSUE_STATS_FIELD_NUMBER

public static final int ISSUE_STATS_FIELD_NUMBER
Field Value
Type Description
int

UNCLASSIFIED_CONVERSATIONS_COUNT_FIELD_NUMBER

public static final int UNCLASSIFIED_CONVERSATIONS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IssueModelLabelStats getDefaultInstance()
Returns
Type Description
IssueModelLabelStats

getDescriptor()

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

newBuilder()

public static IssueModelLabelStats.Builder newBuilder()
Returns
Type Description
IssueModelLabelStats.Builder

newBuilder(IssueModelLabelStats prototype)

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

parseDelimitedFrom(InputStream input)

public static IssueModelLabelStats parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IssueModelLabelStats
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static IssueModelLabelStats parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IssueModelLabelStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static IssueModelLabelStats parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IssueModelLabelStats
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static IssueModelLabelStats parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IssueModelLabelStats
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static IssueModelLabelStats parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IssueModelLabelStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<IssueModelLabelStats> parser()
Returns
Type Description
Parser<IssueModelLabelStats>

Methods

containsIssueStats(String key)

public boolean containsIssueStats(String key)

Statistics on each issue. Key is the issue's resource name.

map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;

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

getAnalyzedConversationsCount()

public long getAnalyzedConversationsCount()

Number of conversations the issue model has analyzed at this point in time.

int64 analyzed_conversations_count = 1;

Returns
Type Description
long

The analyzedConversationsCount.

getDefaultInstanceForType()

public IssueModelLabelStats getDefaultInstanceForType()
Returns
Type Description
IssueModelLabelStats

getIssueStats() (deprecated)

public Map<String,IssueModelLabelStats.IssueStats> getIssueStats()

Use #getIssueStatsMap() instead.

Returns
Type Description
Map<String,IssueStats>

getIssueStatsCount()

public int getIssueStatsCount()

Statistics on each issue. Key is the issue's resource name.

map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;

Returns
Type Description
int

getIssueStatsMap()

public Map<String,IssueModelLabelStats.IssueStats> getIssueStatsMap()

Statistics on each issue. Key is the issue's resource name.

map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;

Returns
Type Description
Map<String,IssueStats>

getIssueStatsOrDefault(String key, IssueModelLabelStats.IssueStats defaultValue)

public IssueModelLabelStats.IssueStats getIssueStatsOrDefault(String key, IssueModelLabelStats.IssueStats defaultValue)

Statistics on each issue. Key is the issue's resource name.

map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;

Parameters
Name Description
key String
defaultValue IssueModelLabelStats.IssueStats
Returns
Type Description
IssueModelLabelStats.IssueStats

getIssueStatsOrThrow(String key)

public IssueModelLabelStats.IssueStats getIssueStatsOrThrow(String key)

Statistics on each issue. Key is the issue's resource name.

map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_stats = 3;

Parameter
Name Description
key String
Returns
Type Description
IssueModelLabelStats.IssueStats

getParserForType()

public Parser<IssueModelLabelStats> getParserForType()
Returns
Type Description
Parser<IssueModelLabelStats>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnclassifiedConversationsCount()

public long getUnclassifiedConversationsCount()

Number of analyzed conversations for which no issue was applicable at this point in time.

int64 unclassified_conversations_count = 2;

Returns
Type Description
long

The unclassifiedConversationsCount.

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 IssueModelLabelStats.Builder newBuilderForType()
Returns
Type Description
IssueModelLabelStats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public IssueModelLabelStats.Builder toBuilder()
Returns
Type Description
IssueModelLabelStats.Builder

writeTo(CodedOutputStream output)

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