Class IssueModelLabelStats.Builder (2.10.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IssueModelLabelStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IssueModelLabelStats.Builder
Overrides

build()

public IssueModelLabelStats build()
Returns
TypeDescription
IssueModelLabelStats

buildPartial()

public IssueModelLabelStats buildPartial()
Returns
TypeDescription
IssueModelLabelStats

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public IssueModelLabelStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IssueModelLabelStats.Builder
Overrides

clearIssueStats()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public IssueModelLabelStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
IssueModelLabelStats.Builder

This builder for chaining.

clone()

public IssueModelLabelStats.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

getMutableIssueStats()

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

Use alternate mutation accessors instead.

Returns
TypeDescription
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
TypeDescription
long

The unclassifiedConversationsCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

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

internalGetMutableMapField(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(IssueModelLabelStats other)

public IssueModelLabelStats.Builder mergeFrom(IssueModelLabelStats other)
Parameter
NameDescription
otherIssueModelLabelStats
Returns
TypeDescription
IssueModelLabelStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IssueModelLabelStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IssueModelLabelStats.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public IssueModelLabelStats.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
IssueModelLabelStats.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IssueModelLabelStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuesMap<String,IssueStats>
Returns
TypeDescription
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
NameDescription
keyString
valueIssueModelLabelStats.IssueStats
Returns
TypeDescription
IssueModelLabelStats.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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
valuelong

The analyzedConversationsCount to set.

Returns
TypeDescription
IssueModelLabelStats.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public IssueModelLabelStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IssueModelLabelStats.Builder
Overrides

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

public IssueModelLabelStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The unclassifiedConversationsCount to set.

Returns
TypeDescription
IssueModelLabelStats.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final IssueModelLabelStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IssueModelLabelStats.Builder
Overrides