- 2.83.0 (latest)
- 2.82.0
- 2.81.0
- 2.80.0
- 2.78.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
public static final class CalculateStatsResponse.Builder extends GeneratedMessage.Builder<CalculateStatsResponse.Builder> implements CalculateStatsResponseOrBuilderThe response for calculating conversation statistics.
Protobuf type google.cloud.contactcenterinsights.v1.CalculateStatsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CalculateStatsResponse.BuilderImplements
CalculateStatsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CalculateStatsResponse build()| Returns | |
|---|---|
| Type | Description |
CalculateStatsResponse |
|
buildPartial()
public CalculateStatsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
CalculateStatsResponse |
|
clear()
public CalculateStatsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
CalculateStatsResponse.Builder |
|
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 | |
|---|---|
| Type | Description |
CalculateStatsResponse.Builder |
|
clearAverageTurnCount()
public CalculateStatsResponse.Builder clearAverageTurnCount()The average number of turns per conversation.
int32 average_turn_count = 2;
| Returns | |
|---|---|
| Type | Description |
CalculateStatsResponse.Builder |
This builder for chaining. |
clearConversationCount()
public CalculateStatsResponse.Builder clearConversationCount()The total number of conversations.
int32 conversation_count = 3;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
CalculateStatsResponse.Builder |
|
clearCustomHighlighterMatches()
public CalculateStatsResponse.Builder clearCustomHighlighterMatches()| Returns | |
|---|---|
| Type | Description |
CalculateStatsResponse.Builder |
|
clearIssueMatches() (deprecated)
public CalculateStatsResponse.Builder clearIssueMatches()| Returns | |
|---|---|
| Type | Description |
CalculateStatsResponse.Builder |
|
clearIssueMatchesStats()
public CalculateStatsResponse.Builder clearIssueMatchesStats()| Returns | |
|---|---|
| Type | Description |
CalculateStatsResponse.Builder |
|
clearSmartHighlighterMatches()
public CalculateStatsResponse.Builder clearSmartHighlighterMatches()| Returns | |
|---|---|
| Type | Description |
CalculateStatsResponse.Builder |
|
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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getAverageTurnCount()
public int getAverageTurnCount()The average number of turns per conversation.
int32 average_turn_count = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The averageTurnCount. |
getConversationCount()
public int getConversationCount()The total number of conversations.
int32 conversation_count = 3;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
CalculateStatsResponse.TimeSeriesOrBuilder |
|
getCustomHighlighterMatches() (deprecated)
public Map<String,Integer> getCustomHighlighterMatches()Use #getCustomHighlighterMatchesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
Map<String,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 | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
int |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
int |
|
getDefaultInstanceForType()
public CalculateStatsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CalculateStatsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIssueMatches() (deprecated)
public Map<String,Integer> getIssueMatches()Use #getIssueMatchesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
Map<String,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 | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
int |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
int |
|
getIssueMatchesStats() (deprecated)
public Map<String,IssueModelLabelStats.IssueStats> getIssueMatchesStats()Use #getIssueMatchesStatsMap() instead.
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
IssueModelLabelStats.IssueStats |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
IssueModelLabelStats.IssueStats |
|
getMutableCustomHighlighterMatches() (deprecated)
public Map<String,Integer> getMutableCustomHighlighterMatches()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,Integer> |
|
getMutableIssueMatches() (deprecated)
public Map<String,Integer> getMutableIssueMatches()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,Integer> |
|
getMutableIssueMatchesStats() (deprecated)
public Map<String,IssueModelLabelStats.IssueStats> getMutableIssueMatchesStats()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,IssueStats> |
|
getMutableSmartHighlighterMatches() (deprecated)
public Map<String,Integer> getMutableSmartHighlighterMatches()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,Integer> |
|
getSmartHighlighterMatches() (deprecated)
public Map<String,Integer> getSmartHighlighterMatches()Use #getSmartHighlighterMatchesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
Map<String,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 | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
int |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the conversationCountTimeSeries field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
CalculateStatsResponse.TimeSeries |
| Returns | |
|---|---|
| Type | Description |
CalculateStatsResponse.Builder |
|
mergeFrom(CalculateStatsResponse other)
public CalculateStatsResponse.Builder mergeFrom(CalculateStatsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
CalculateStatsResponse |
| Returns | |
|---|---|
| Type | Description |
CalculateStatsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CalculateStatsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CalculateStatsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CalculateStatsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CalculateStatsResponse.Builder |
|
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 | |
|---|---|
| Name | Description |
values |
Map<String,Integer> |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
values |
Map<String,Integer> |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
values |
Map<String,IssueStats> |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
values |
Map<String,Integer> |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
key |
String |
value |
int |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
key |
String |
value |
int |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
key |
String |
value |
IssueModelLabelStats.IssueStats |
| Returns | |
|---|---|
| Type | Description |
CalculateStatsResponse.Builder |
|
putIssueMatchesStatsBuilderIfAbsent(String key)
public IssueModelLabelStats.IssueStats.Builder putIssueMatchesStatsBuilderIfAbsent(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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
IssueModelLabelStats.IssueStats.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 | |
|---|---|
| Name | Description |
key |
String |
value |
int |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
CalculateStatsResponse.Builder |
|
setAverageTurnCount(int value)
public CalculateStatsResponse.Builder setAverageTurnCount(int value)The average number of turns per conversation.
int32 average_turn_count = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe averageTurnCount to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
intThe conversationCount to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
CalculateStatsResponse.TimeSeries |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
builderForValue |
CalculateStatsResponse.TimeSeries.Builder |
| Returns | |
|---|---|
| Type | Description |
CalculateStatsResponse.Builder |
|