Class IssueModelLabelStats.Builder (2.44.0)

public static final class IssueModelLabelStats.Builder extends GeneratedMessageV3.Builder<IssueModelLabelStats.Builder> implements IssueModelLabelStatsOrBuilder

Aggregated statistics about an issue model.

Protobuf type google.cloud.contactcenterinsights.v1.IssueModelLabelStats

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IssueModelLabelStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IssueModelLabelStats.Builder
Overrides

build()

public IssueModelLabelStats build()
Returns
Type Description
IssueModelLabelStats

buildPartial()

public IssueModelLabelStats buildPartial()
Returns
Type Description
IssueModelLabelStats

clear()

public IssueModelLabelStats.Builder clear()
Returns
Type Description
IssueModelLabelStats.Builder
Overrides

clearAnalyzedConversationsCount()

public IssueModelLabelStats.Builder clearAnalyzedConversationsCount()

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

int64 analyzed_conversations_count = 1;

Returns
Type Description
IssueModelLabelStats.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public IssueModelLabelStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
IssueModelLabelStats.Builder
Overrides

clearIssueStats()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public IssueModelLabelStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
IssueModelLabelStats.Builder
Overrides

clearUnclassifiedConversationsCount()

public IssueModelLabelStats.Builder clearUnclassifiedConversationsCount()

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

int64 unclassified_conversations_count = 2;

Returns
Type Description
IssueModelLabelStats.Builder

This builder for chaining.

clone()

public IssueModelLabelStats.Builder clone()
Returns
Type Description
IssueModelLabelStats.Builder
Overrides

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

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getMutableIssueStats() (deprecated)

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

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,IssueStats>

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.

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

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IssueModelLabelStats other)

public IssueModelLabelStats.Builder mergeFrom(IssueModelLabelStats other)
Parameter
Name Description
other IssueModelLabelStats
Returns
Type Description
IssueModelLabelStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IssueModelLabelStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IssueModelLabelStats.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IssueModelLabelStats.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IssueModelLabelStats.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IssueModelLabelStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IssueModelLabelStats.Builder
Overrides

putAllIssueStats(Map<String,IssueModelLabelStats.IssueStats> values)

public IssueModelLabelStats.Builder putAllIssueStats(Map<String,IssueModelLabelStats.IssueStats> values)

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
values Map<String,IssueStats>
Returns
Type Description
IssueModelLabelStats.Builder

putIssueStats(String key, IssueModelLabelStats.IssueStats value)

public IssueModelLabelStats.Builder putIssueStats(String key, IssueModelLabelStats.IssueStats value)

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
value IssueModelLabelStats.IssueStats
Returns
Type Description
IssueModelLabelStats.Builder

putIssueStatsBuilderIfAbsent(String key)

public IssueModelLabelStats.IssueStats.Builder putIssueStatsBuilderIfAbsent(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.Builder

removeIssueStats(String key)

public IssueModelLabelStats.Builder removeIssueStats(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.Builder

setAnalyzedConversationsCount(long value)

public IssueModelLabelStats.Builder setAnalyzedConversationsCount(long value)

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

int64 analyzed_conversations_count = 1;

Parameter
Name Description
value long

The analyzedConversationsCount to set.

Returns
Type Description
IssueModelLabelStats.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public IssueModelLabelStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IssueModelLabelStats.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IssueModelLabelStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
IssueModelLabelStats.Builder
Overrides

setUnclassifiedConversationsCount(long value)

public IssueModelLabelStats.Builder setUnclassifiedConversationsCount(long value)

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

int64 unclassified_conversations_count = 2;

Parameter
Name Description
value long

The unclassifiedConversationsCount to set.

Returns
Type Description
IssueModelLabelStats.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final IssueModelLabelStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IssueModelLabelStats.Builder
Overrides