Class CalculateStatsResponse.Builder (2.32.0)

public static final class CalculateStatsResponse.Builder extends GeneratedMessageV3.Builder<CalculateStatsResponse.Builder> implements CalculateStatsResponseOrBuilder

The response for calculating conversation statistics.

Protobuf type google.cloud.contactcenterinsights.v1.CalculateStatsResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CalculateStatsResponse build()
Returns
TypeDescription
CalculateStatsResponse

buildPartial()

public CalculateStatsResponse buildPartial()
Returns
TypeDescription
CalculateStatsResponse

clear()

public CalculateStatsResponse.Builder clear()
Returns
TypeDescription
CalculateStatsResponse.Builder
Overrides

clearAverageDuration()

public CalculateStatsResponse.Builder clearAverageDuration()

The average duration of all conversations. The average is calculated using only conversations that have a time duration.

.google.protobuf.Duration average_duration = 1;

Returns
TypeDescription
CalculateStatsResponse.Builder

clearAverageTurnCount()

public CalculateStatsResponse.Builder clearAverageTurnCount()

The average number of turns per conversation.

int32 average_turn_count = 2;

Returns
TypeDescription
CalculateStatsResponse.Builder

This builder for chaining.

clearConversationCount()

public CalculateStatsResponse.Builder clearConversationCount()

The total number of conversations.

int32 conversation_count = 3;

Returns
TypeDescription
CalculateStatsResponse.Builder

This builder for chaining.

clearConversationCountTimeSeries()

public CalculateStatsResponse.Builder clearConversationCountTimeSeries()

A time series representing the count of conversations created over time that match that requested filter criteria.

.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7;

Returns
TypeDescription
CalculateStatsResponse.Builder

clearCustomHighlighterMatches()

public CalculateStatsResponse.Builder clearCustomHighlighterMatches()
Returns
TypeDescription
CalculateStatsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearIssueMatches() (deprecated)

public CalculateStatsResponse.Builder clearIssueMatches()
Returns
TypeDescription
CalculateStatsResponse.Builder

clearIssueMatchesStats()

public CalculateStatsResponse.Builder clearIssueMatchesStats()
Returns
TypeDescription
CalculateStatsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CalculateStatsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CalculateStatsResponse.Builder
Overrides

clearSmartHighlighterMatches()

public CalculateStatsResponse.Builder clearSmartHighlighterMatches()
Returns
TypeDescription
CalculateStatsResponse.Builder

clone()

public CalculateStatsResponse.Builder clone()
Returns
TypeDescription
CalculateStatsResponse.Builder
Overrides

containsCustomHighlighterMatches(String key)

public boolean containsCustomHighlighterMatches(String key)

A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.

map<string, int32> custom_highlighter_matches = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsIssueMatches(String key) (deprecated)

public boolean containsIssueMatches(String key)

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID> Deprecated, use issue_matches_stats field instead.

map<string, int32> issue_matches = 6 [deprecated = true];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsIssueMatchesStats(String key)

public boolean containsIssueMatchesStats(String key)

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>

map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsSmartHighlighterMatches(String key)

public boolean containsSmartHighlighterMatches(String key)

A map associating each smart highlighter display name with its respective number of matches in the set of conversations.

map<string, int32> smart_highlighter_matches = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAverageDuration()

public Duration getAverageDuration()

The average duration of all conversations. The average is calculated using only conversations that have a time duration.

.google.protobuf.Duration average_duration = 1;

Returns
TypeDescription
Duration

The averageDuration.

getAverageDurationBuilder()

public Duration.Builder getAverageDurationBuilder()

The average duration of all conversations. The average is calculated using only conversations that have a time duration.

.google.protobuf.Duration average_duration = 1;

Returns
TypeDescription
Builder

getAverageDurationOrBuilder()

public DurationOrBuilder getAverageDurationOrBuilder()

The average duration of all conversations. The average is calculated using only conversations that have a time duration.

.google.protobuf.Duration average_duration = 1;

Returns
TypeDescription
DurationOrBuilder

getAverageTurnCount()

public int getAverageTurnCount()

The average number of turns per conversation.

int32 average_turn_count = 2;

Returns
TypeDescription
int

The averageTurnCount.

getConversationCount()

public int getConversationCount()

The total number of conversations.

int32 conversation_count = 3;

Returns
TypeDescription
int

The conversationCount.

getConversationCountTimeSeries()

public CalculateStatsResponse.TimeSeries getConversationCountTimeSeries()

A time series representing the count of conversations created over time that match that requested filter criteria.

.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7;

Returns
TypeDescription
CalculateStatsResponse.TimeSeries

The conversationCountTimeSeries.

getConversationCountTimeSeriesBuilder()

public CalculateStatsResponse.TimeSeries.Builder getConversationCountTimeSeriesBuilder()

A time series representing the count of conversations created over time that match that requested filter criteria.

.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7;

Returns
TypeDescription
CalculateStatsResponse.TimeSeries.Builder

getConversationCountTimeSeriesOrBuilder()

public CalculateStatsResponse.TimeSeriesOrBuilder getConversationCountTimeSeriesOrBuilder()

A time series representing the count of conversations created over time that match that requested filter criteria.

.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7;

Returns
TypeDescription
CalculateStatsResponse.TimeSeriesOrBuilder

getCustomHighlighterMatches() (deprecated)

public Map<String,Integer> getCustomHighlighterMatches()
Returns
TypeDescription
Map<String,java.lang.Integer>

getCustomHighlighterMatchesCount()

public int getCustomHighlighterMatchesCount()

A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.

map<string, int32> custom_highlighter_matches = 5;

Returns
TypeDescription
int

getCustomHighlighterMatchesMap()

public Map<String,Integer> getCustomHighlighterMatchesMap()

A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.

map<string, int32> custom_highlighter_matches = 5;

Returns
TypeDescription
Map<String,java.lang.Integer>

getCustomHighlighterMatchesOrDefault(String key, int defaultValue)

public int getCustomHighlighterMatchesOrDefault(String key, int defaultValue)

A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.

map<string, int32> custom_highlighter_matches = 5;

Parameters
NameDescription
keyString
defaultValueint
Returns
TypeDescription
int

getCustomHighlighterMatchesOrThrow(String key)

public int getCustomHighlighterMatchesOrThrow(String key)

A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.

map<string, int32> custom_highlighter_matches = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
int

getDefaultInstanceForType()

public CalculateStatsResponse getDefaultInstanceForType()
Returns
TypeDescription
CalculateStatsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIssueMatches() (deprecated)

public Map<String,Integer> getIssueMatches()

Use #getIssueMatchesMap() instead.

Returns
TypeDescription
Map<String,java.lang.Integer>

getIssueMatchesCount() (deprecated)

public int getIssueMatchesCount()

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID> Deprecated, use issue_matches_stats field instead.

map<string, int32> issue_matches = 6 [deprecated = true];

Returns
TypeDescription
int

getIssueMatchesMap() (deprecated)

public Map<String,Integer> getIssueMatchesMap()

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID> Deprecated, use issue_matches_stats field instead.

map<string, int32> issue_matches = 6 [deprecated = true];

Returns
TypeDescription
Map<String,java.lang.Integer>

getIssueMatchesOrDefault(String key, int defaultValue) (deprecated)

public int getIssueMatchesOrDefault(String key, int defaultValue)

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID> Deprecated, use issue_matches_stats field instead.

map<string, int32> issue_matches = 6 [deprecated = true];

Parameters
NameDescription
keyString
defaultValueint
Returns
TypeDescription
int

getIssueMatchesOrThrow(String key) (deprecated)

public int getIssueMatchesOrThrow(String key)

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID> Deprecated, use issue_matches_stats field instead.

map<string, int32> issue_matches = 6 [deprecated = true];

Parameter
NameDescription
keyString
Returns
TypeDescription
int

getIssueMatchesStats() (deprecated)

public Map<String,IssueModelLabelStats.IssueStats> getIssueMatchesStats()
Returns
TypeDescription
Map<String,IssueStats>

getIssueMatchesStatsCount()

public int getIssueMatchesStatsCount()

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>

map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8;

Returns
TypeDescription
int

getIssueMatchesStatsMap()

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

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>

map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8;

Returns
TypeDescription
Map<String,IssueStats>

getIssueMatchesStatsOrDefault(String key, IssueModelLabelStats.IssueStats defaultValue)

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

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>

map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8;

Parameters
NameDescription
keyString
defaultValueIssueModelLabelStats.IssueStats
Returns
TypeDescription
IssueModelLabelStats.IssueStats

getIssueMatchesStatsOrThrow(String key)

public IssueModelLabelStats.IssueStats getIssueMatchesStatsOrThrow(String key)

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>

map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8;

Parameter
NameDescription
keyString
Returns
TypeDescription
IssueModelLabelStats.IssueStats

getMutableCustomHighlighterMatches() (deprecated)

public Map<String,Integer> getMutableCustomHighlighterMatches()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,java.lang.Integer>

getMutableIssueMatches() (deprecated)

public Map<String,Integer> getMutableIssueMatches()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,java.lang.Integer>

getMutableIssueMatchesStats() (deprecated)

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

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,IssueStats>

getMutableSmartHighlighterMatches() (deprecated)

public Map<String,Integer> getMutableSmartHighlighterMatches()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,java.lang.Integer>

getSmartHighlighterMatches() (deprecated)

public Map<String,Integer> getSmartHighlighterMatches()
Returns
TypeDescription
Map<String,java.lang.Integer>

getSmartHighlighterMatchesCount()

public int getSmartHighlighterMatchesCount()

A map associating each smart highlighter display name with its respective number of matches in the set of conversations.

map<string, int32> smart_highlighter_matches = 4;

Returns
TypeDescription
int

getSmartHighlighterMatchesMap()

public Map<String,Integer> getSmartHighlighterMatchesMap()

A map associating each smart highlighter display name with its respective number of matches in the set of conversations.

map<string, int32> smart_highlighter_matches = 4;

Returns
TypeDescription
Map<String,java.lang.Integer>

getSmartHighlighterMatchesOrDefault(String key, int defaultValue)

public int getSmartHighlighterMatchesOrDefault(String key, int defaultValue)

A map associating each smart highlighter display name with its respective number of matches in the set of conversations.

map<string, int32> smart_highlighter_matches = 4;

Parameters
NameDescription
keyString
defaultValueint
Returns
TypeDescription
int

getSmartHighlighterMatchesOrThrow(String key)

public int getSmartHighlighterMatchesOrThrow(String key)

A map associating each smart highlighter display name with its respective number of matches in the set of conversations.

map<string, int32> smart_highlighter_matches = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
int

hasAverageDuration()

public boolean hasAverageDuration()

The average duration of all conversations. The average is calculated using only conversations that have a time duration.

.google.protobuf.Duration average_duration = 1;

Returns
TypeDescription
boolean

Whether the averageDuration field is set.

hasConversationCountTimeSeries()

public boolean hasConversationCountTimeSeries()

A time series representing the count of conversations created over time that match that requested filter criteria.

.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7;

Returns
TypeDescription
boolean

Whether the conversationCountTimeSeries field is set.

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

mergeAverageDuration(Duration value)

public CalculateStatsResponse.Builder mergeAverageDuration(Duration value)

The average duration of all conversations. The average is calculated using only conversations that have a time duration.

.google.protobuf.Duration average_duration = 1;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
CalculateStatsResponse.Builder

mergeConversationCountTimeSeries(CalculateStatsResponse.TimeSeries value)

public CalculateStatsResponse.Builder mergeConversationCountTimeSeries(CalculateStatsResponse.TimeSeries value)

A time series representing the count of conversations created over time that match that requested filter criteria.

.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7;

Parameter
NameDescription
valueCalculateStatsResponse.TimeSeries
Returns
TypeDescription
CalculateStatsResponse.Builder

mergeFrom(CalculateStatsResponse other)

public CalculateStatsResponse.Builder mergeFrom(CalculateStatsResponse other)
Parameter
NameDescription
otherCalculateStatsResponse
Returns
TypeDescription
CalculateStatsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CalculateStatsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CalculateStatsResponse.Builder
Overrides

putAllCustomHighlighterMatches(Map<String,Integer> values)

public CalculateStatsResponse.Builder putAllCustomHighlighterMatches(Map<String,Integer> values)

A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.

map<string, int32> custom_highlighter_matches = 5;

Parameter
NameDescription
valuesMap<String,java.lang.Integer>
Returns
TypeDescription
CalculateStatsResponse.Builder

putAllIssueMatches(Map<String,Integer> values) (deprecated)

public CalculateStatsResponse.Builder putAllIssueMatches(Map<String,Integer> values)

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID> Deprecated, use issue_matches_stats field instead.

map<string, int32> issue_matches = 6 [deprecated = true];

Parameter
NameDescription
valuesMap<String,java.lang.Integer>
Returns
TypeDescription
CalculateStatsResponse.Builder

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

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

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>

map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8;

Parameter
NameDescription
valuesMap<String,IssueStats>
Returns
TypeDescription
CalculateStatsResponse.Builder

putAllSmartHighlighterMatches(Map<String,Integer> values)

public CalculateStatsResponse.Builder putAllSmartHighlighterMatches(Map<String,Integer> values)

A map associating each smart highlighter display name with its respective number of matches in the set of conversations.

map<string, int32> smart_highlighter_matches = 4;

Parameter
NameDescription
valuesMap<String,java.lang.Integer>
Returns
TypeDescription
CalculateStatsResponse.Builder

putCustomHighlighterMatches(String key, int value)

public CalculateStatsResponse.Builder putCustomHighlighterMatches(String key, int value)

A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.

map<string, int32> custom_highlighter_matches = 5;

Parameters
NameDescription
keyString
valueint
Returns
TypeDescription
CalculateStatsResponse.Builder

putIssueMatches(String key, int value) (deprecated)

public CalculateStatsResponse.Builder putIssueMatches(String key, int value)

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID> Deprecated, use issue_matches_stats field instead.

map<string, int32> issue_matches = 6 [deprecated = true];

Parameters
NameDescription
keyString
valueint
Returns
TypeDescription
CalculateStatsResponse.Builder

putIssueMatchesStats(String key, IssueModelLabelStats.IssueStats value)

public CalculateStatsResponse.Builder putIssueMatchesStats(String key, IssueModelLabelStats.IssueStats value)

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>

map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8;

Parameters
NameDescription
keyString
valueIssueModelLabelStats.IssueStats
Returns
TypeDescription
CalculateStatsResponse.Builder

putSmartHighlighterMatches(String key, int value)

public CalculateStatsResponse.Builder putSmartHighlighterMatches(String key, int value)

A map associating each smart highlighter display name with its respective number of matches in the set of conversations.

map<string, int32> smart_highlighter_matches = 4;

Parameters
NameDescription
keyString
valueint
Returns
TypeDescription
CalculateStatsResponse.Builder

removeCustomHighlighterMatches(String key)

public CalculateStatsResponse.Builder removeCustomHighlighterMatches(String key)

A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.

map<string, int32> custom_highlighter_matches = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
CalculateStatsResponse.Builder

removeIssueMatches(String key) (deprecated)

public CalculateStatsResponse.Builder removeIssueMatches(String key)

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID> Deprecated, use issue_matches_stats field instead.

map<string, int32> issue_matches = 6 [deprecated = true];

Parameter
NameDescription
keyString
Returns
TypeDescription
CalculateStatsResponse.Builder

removeIssueMatchesStats(String key)

public CalculateStatsResponse.Builder removeIssueMatchesStats(String key)

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>

map<string, .google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> issue_matches_stats = 8;

Parameter
NameDescription
keyString
Returns
TypeDescription
CalculateStatsResponse.Builder

removeSmartHighlighterMatches(String key)

public CalculateStatsResponse.Builder removeSmartHighlighterMatches(String key)

A map associating each smart highlighter display name with its respective number of matches in the set of conversations.

map<string, int32> smart_highlighter_matches = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
CalculateStatsResponse.Builder

setAverageDuration(Duration value)

public CalculateStatsResponse.Builder setAverageDuration(Duration value)

The average duration of all conversations. The average is calculated using only conversations that have a time duration.

.google.protobuf.Duration average_duration = 1;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
CalculateStatsResponse.Builder

setAverageDuration(Duration.Builder builderForValue)

public CalculateStatsResponse.Builder setAverageDuration(Duration.Builder builderForValue)

The average duration of all conversations. The average is calculated using only conversations that have a time duration.

.google.protobuf.Duration average_duration = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CalculateStatsResponse.Builder

setAverageTurnCount(int value)

public CalculateStatsResponse.Builder setAverageTurnCount(int value)

The average number of turns per conversation.

int32 average_turn_count = 2;

Parameter
NameDescription
valueint

The averageTurnCount to set.

Returns
TypeDescription
CalculateStatsResponse.Builder

This builder for chaining.

setConversationCount(int value)

public CalculateStatsResponse.Builder setConversationCount(int value)

The total number of conversations.

int32 conversation_count = 3;

Parameter
NameDescription
valueint

The conversationCount to set.

Returns
TypeDescription
CalculateStatsResponse.Builder

This builder for chaining.

setConversationCountTimeSeries(CalculateStatsResponse.TimeSeries value)

public CalculateStatsResponse.Builder setConversationCountTimeSeries(CalculateStatsResponse.TimeSeries value)

A time series representing the count of conversations created over time that match that requested filter criteria.

.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7;

Parameter
NameDescription
valueCalculateStatsResponse.TimeSeries
Returns
TypeDescription
CalculateStatsResponse.Builder

setConversationCountTimeSeries(CalculateStatsResponse.TimeSeries.Builder builderForValue)

public CalculateStatsResponse.Builder setConversationCountTimeSeries(CalculateStatsResponse.TimeSeries.Builder builderForValue)

A time series representing the count of conversations created over time that match that requested filter criteria.

.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries conversation_count_time_series = 7;

Parameter
NameDescription
builderForValueCalculateStatsResponse.TimeSeries.Builder
Returns
TypeDescription
CalculateStatsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public CalculateStatsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CalculateStatsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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