Class IssueModelLabelStats (2.17.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
TypeDescription
int

ISSUE_STATS_FIELD_NUMBER

public static final int ISSUE_STATS_FIELD_NUMBER
Field Value
TypeDescription
int

UNCLASSIFIED_CONVERSATIONS_COUNT_FIELD_NUMBER

public static final int UNCLASSIFIED_CONVERSATIONS_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static IssueModelLabelStats getDefaultInstance()
Returns
TypeDescription
IssueModelLabelStats

getDescriptor()

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

newBuilder()

public static IssueModelLabelStats.Builder newBuilder()
Returns
TypeDescription
IssueModelLabelStats.Builder

newBuilder(IssueModelLabelStats prototype)

public static IssueModelLabelStats.Builder newBuilder(IssueModelLabelStats prototype)
Parameter
NameDescription
prototypeIssueModelLabelStats
Returns
TypeDescription
IssueModelLabelStats.Builder

parseDelimitedFrom(InputStream input)

public static IssueModelLabelStats parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IssueModelLabelStats
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static IssueModelLabelStats parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
IssueModelLabelStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static IssueModelLabelStats parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
IssueModelLabelStats
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static IssueModelLabelStats parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IssueModelLabelStats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static IssueModelLabelStats parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
IssueModelLabelStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<IssueModelLabelStats> parser()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

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

The analyzedConversationsCount.

getDefaultInstanceForType()

public IssueModelLabelStats getDefaultInstanceForType()
Returns
TypeDescription
IssueModelLabelStats

getIssueStats()

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

Use #getIssueStatsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueIssueModelLabelStats.IssueStats
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
IssueModelLabelStats.IssueStats

getParserForType()

public Parser<IssueModelLabelStats> getParserForType()
Returns
TypeDescription
Parser<IssueModelLabelStats>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
long

The unclassifiedConversationsCount.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public IssueModelLabelStats.Builder toBuilder()
Returns
TypeDescription
IssueModelLabelStats.Builder

writeTo(CodedOutputStream output)

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