Class CalculateStatsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CalculateStatsResponse.Builder>
-
- com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.Builder
-
- All Implemented Interfaces:
CalculateStatsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- CalculateStatsResponse
public static final class CalculateStatsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CalculateStatsResponse.Builder> implements CalculateStatsResponseOrBuilder
The response for calculating conversation statistics.
Protobuf typegoogle.cloud.contactcenterinsights.v1.CalculateStatsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CalculateStatsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CalculateStatsResponse
build()
CalculateStatsResponse
buildPartial()
CalculateStatsResponse.Builder
clear()
CalculateStatsResponse.Builder
clearAverageDuration()
The average duration of all conversations.CalculateStatsResponse.Builder
clearAverageTurnCount()
The average number of turns per conversation.CalculateStatsResponse.Builder
clearConversationCount()
The total number of conversations.CalculateStatsResponse.Builder
clearConversationCountTimeSeries()
A time series representing the count of conversations created over time that match that requested filter criteria.CalculateStatsResponse.Builder
clearCustomHighlighterMatches()
CalculateStatsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CalculateStatsResponse.Builder
clearIssueMatches()
Deprecated.CalculateStatsResponse.Builder
clearIssueMatchesStats()
CalculateStatsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CalculateStatsResponse.Builder
clearSmartHighlighterMatches()
CalculateStatsResponse.Builder
clone()
boolean
containsCustomHighlighterMatches(String key)
A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.boolean
containsIssueMatches(String key)
Deprecated.boolean
containsIssueMatchesStats(String key)
A map associating each issue resource name with its respective number of matches in the set of conversations.boolean
containsSmartHighlighterMatches(String key)
A map associating each smart highlighter display name with its respective number of matches in the set of conversations.com.google.protobuf.Duration
getAverageDuration()
The average duration of all conversations.com.google.protobuf.Duration.Builder
getAverageDurationBuilder()
The average duration of all conversations.com.google.protobuf.DurationOrBuilder
getAverageDurationOrBuilder()
The average duration of all conversations.int
getAverageTurnCount()
The average number of turns per conversation.int
getConversationCount()
The total number of conversations.CalculateStatsResponse.TimeSeries
getConversationCountTimeSeries()
A time series representing the count of conversations created over time that match that requested filter criteria.CalculateStatsResponse.TimeSeries.Builder
getConversationCountTimeSeriesBuilder()
A time series representing the count of conversations created over time that match that requested filter criteria.CalculateStatsResponse.TimeSeriesOrBuilder
getConversationCountTimeSeriesOrBuilder()
A time series representing the count of conversations created over time that match that requested filter criteria.Map<String,Integer>
getCustomHighlighterMatches()
Deprecated.int
getCustomHighlighterMatchesCount()
A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.Map<String,Integer>
getCustomHighlighterMatchesMap()
A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.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.int
getCustomHighlighterMatchesOrThrow(String key)
A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.CalculateStatsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Map<String,Integer>
getIssueMatches()
Deprecated.int
getIssueMatchesCount()
Deprecated.Map<String,Integer>
getIssueMatchesMap()
Deprecated.int
getIssueMatchesOrDefault(String key, int defaultValue)
Deprecated.int
getIssueMatchesOrThrow(String key)
Deprecated.Map<String,IssueModelLabelStats.IssueStats>
getIssueMatchesStats()
Deprecated.int
getIssueMatchesStatsCount()
A map associating each issue resource name with its respective number of matches in the set of conversations.Map<String,IssueModelLabelStats.IssueStats>
getIssueMatchesStatsMap()
A map associating each issue resource name with its respective number of matches in the set of conversations.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.IssueModelLabelStats.IssueStats
getIssueMatchesStatsOrThrow(String key)
A map associating each issue resource name with its respective number of matches in the set of conversations.Map<String,Integer>
getMutableCustomHighlighterMatches()
Deprecated.Map<String,Integer>
getMutableIssueMatches()
Deprecated.Map<String,IssueModelLabelStats.IssueStats>
getMutableIssueMatchesStats()
Deprecated.Map<String,Integer>
getMutableSmartHighlighterMatches()
Deprecated.Map<String,Integer>
getSmartHighlighterMatches()
Deprecated.int
getSmartHighlighterMatchesCount()
A map associating each smart highlighter display name with its respective number of matches in the set of conversations.Map<String,Integer>
getSmartHighlighterMatchesMap()
A map associating each smart highlighter display name with its respective number of matches in the set of conversations.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.int
getSmartHighlighterMatchesOrThrow(String key)
A map associating each smart highlighter display name with its respective number of matches in the set of conversations.boolean
hasAverageDuration()
The average duration of all conversations.boolean
hasConversationCountTimeSeries()
A time series representing the count of conversations created over time that match that requested filter criteria.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
CalculateStatsResponse.Builder
mergeAverageDuration(com.google.protobuf.Duration value)
The average duration of all conversations.CalculateStatsResponse.Builder
mergeConversationCountTimeSeries(CalculateStatsResponse.TimeSeries value)
A time series representing the count of conversations created over time that match that requested filter criteria.CalculateStatsResponse.Builder
mergeFrom(CalculateStatsResponse other)
CalculateStatsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CalculateStatsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
CalculateStatsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.CalculateStatsResponse.Builder
putAllIssueMatches(Map<String,Integer> values)
Deprecated.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.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.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.CalculateStatsResponse.Builder
putIssueMatches(String key, int value)
Deprecated.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.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.CalculateStatsResponse.Builder
removeCustomHighlighterMatches(String key)
A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.CalculateStatsResponse.Builder
removeIssueMatches(String key)
Deprecated.CalculateStatsResponse.Builder
removeIssueMatchesStats(String key)
A map associating each issue resource name with its respective number of matches in the set of conversations.CalculateStatsResponse.Builder
removeSmartHighlighterMatches(String key)
A map associating each smart highlighter display name with its respective number of matches in the set of conversations.CalculateStatsResponse.Builder
setAverageDuration(com.google.protobuf.Duration value)
The average duration of all conversations.CalculateStatsResponse.Builder
setAverageDuration(com.google.protobuf.Duration.Builder builderForValue)
The average duration of all conversations.CalculateStatsResponse.Builder
setAverageTurnCount(int value)
The average number of turns per conversation.CalculateStatsResponse.Builder
setConversationCount(int value)
The total number of conversations.CalculateStatsResponse.Builder
setConversationCountTimeSeries(CalculateStatsResponse.TimeSeries value)
A time series representing the count of conversations created over time that match that requested filter criteria.CalculateStatsResponse.Builder
setConversationCountTimeSeries(CalculateStatsResponse.TimeSeries.Builder builderForValue)
A time series representing the count of conversations created over time that match that requested filter criteria.CalculateStatsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CalculateStatsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
CalculateStatsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CalculateStatsResponse.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CalculateStatsResponse.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CalculateStatsResponse.Builder>
-
clear
public CalculateStatsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CalculateStatsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CalculateStatsResponse.Builder>
-
getDefaultInstanceForType
public CalculateStatsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CalculateStatsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CalculateStatsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CalculateStatsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CalculateStatsResponse.Builder>
-
setField
public CalculateStatsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CalculateStatsResponse.Builder>
-
clearField
public CalculateStatsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CalculateStatsResponse.Builder>
-
clearOneof
public CalculateStatsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CalculateStatsResponse.Builder>
-
setRepeatedField
public CalculateStatsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CalculateStatsResponse.Builder>
-
addRepeatedField
public CalculateStatsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CalculateStatsResponse.Builder>
-
mergeFrom
public CalculateStatsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CalculateStatsResponse.Builder>
-
mergeFrom
public CalculateStatsResponse.Builder mergeFrom(CalculateStatsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CalculateStatsResponse.Builder>
-
mergeFrom
public CalculateStatsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CalculateStatsResponse.Builder>
- Throws:
IOException
-
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;
- Specified by:
hasAverageDuration
in interfaceCalculateStatsResponseOrBuilder
- Returns:
- Whether the averageDuration field is set.
-
getAverageDuration
public com.google.protobuf.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;
- Specified by:
getAverageDuration
in interfaceCalculateStatsResponseOrBuilder
- Returns:
- The averageDuration.
-
setAverageDuration
public CalculateStatsResponse.Builder setAverageDuration(com.google.protobuf.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;
-
setAverageDuration
public CalculateStatsResponse.Builder setAverageDuration(com.google.protobuf.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;
-
mergeAverageDuration
public CalculateStatsResponse.Builder mergeAverageDuration(com.google.protobuf.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;
-
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;
-
getAverageDurationBuilder
public com.google.protobuf.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;
-
getAverageDurationOrBuilder
public com.google.protobuf.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;
- Specified by:
getAverageDurationOrBuilder
in interfaceCalculateStatsResponseOrBuilder
-
getAverageTurnCount
public int getAverageTurnCount()
The average number of turns per conversation.
int32 average_turn_count = 2;
- Specified by:
getAverageTurnCount
in interfaceCalculateStatsResponseOrBuilder
- Returns:
- The averageTurnCount.
-
setAverageTurnCount
public CalculateStatsResponse.Builder setAverageTurnCount(int value)
The average number of turns per conversation.
int32 average_turn_count = 2;
- Parameters:
value
- The averageTurnCount to set.- Returns:
- This builder for chaining.
-
clearAverageTurnCount
public CalculateStatsResponse.Builder clearAverageTurnCount()
The average number of turns per conversation.
int32 average_turn_count = 2;
- Returns:
- This builder for chaining.
-
getConversationCount
public int getConversationCount()
The total number of conversations.
int32 conversation_count = 3;
- Specified by:
getConversationCount
in interfaceCalculateStatsResponseOrBuilder
- Returns:
- The conversationCount.
-
setConversationCount
public CalculateStatsResponse.Builder setConversationCount(int value)
The total number of conversations.
int32 conversation_count = 3;
- Parameters:
value
- The conversationCount to set.- Returns:
- This builder for chaining.
-
clearConversationCount
public CalculateStatsResponse.Builder clearConversationCount()
The total number of conversations.
int32 conversation_count = 3;
- Returns:
- This builder for chaining.
-
getSmartHighlighterMatchesCount
public int getSmartHighlighterMatchesCount()
Description copied from interface:CalculateStatsResponseOrBuilder
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;
- Specified by:
getSmartHighlighterMatchesCount
in interfaceCalculateStatsResponseOrBuilder
-
containsSmartHighlighterMatches
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;
- Specified by:
containsSmartHighlighterMatches
in interfaceCalculateStatsResponseOrBuilder
-
getSmartHighlighterMatches
@Deprecated public Map<String,Integer> getSmartHighlighterMatches()
Deprecated.UsegetSmartHighlighterMatchesMap()
instead.- Specified by:
getSmartHighlighterMatches
in interfaceCalculateStatsResponseOrBuilder
-
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;
- Specified by:
getSmartHighlighterMatchesMap
in interfaceCalculateStatsResponseOrBuilder
-
getSmartHighlighterMatchesOrDefault
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;
- Specified by:
getSmartHighlighterMatchesOrDefault
in interfaceCalculateStatsResponseOrBuilder
-
getSmartHighlighterMatchesOrThrow
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;
- Specified by:
getSmartHighlighterMatchesOrThrow
in interfaceCalculateStatsResponseOrBuilder
-
clearSmartHighlighterMatches
public CalculateStatsResponse.Builder clearSmartHighlighterMatches()
-
removeSmartHighlighterMatches
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;
-
getMutableSmartHighlighterMatches
@Deprecated public Map<String,Integer> getMutableSmartHighlighterMatches()
Deprecated.Use alternate mutation accessors instead.
-
putSmartHighlighterMatches
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;
-
putAllSmartHighlighterMatches
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;
-
getCustomHighlighterMatchesCount
public int getCustomHighlighterMatchesCount()
Description copied from interface:CalculateStatsResponseOrBuilder
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;
- Specified by:
getCustomHighlighterMatchesCount
in interfaceCalculateStatsResponseOrBuilder
-
containsCustomHighlighterMatches
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;
- Specified by:
containsCustomHighlighterMatches
in interfaceCalculateStatsResponseOrBuilder
-
getCustomHighlighterMatches
@Deprecated public Map<String,Integer> getCustomHighlighterMatches()
Deprecated.UsegetCustomHighlighterMatchesMap()
instead.- Specified by:
getCustomHighlighterMatches
in interfaceCalculateStatsResponseOrBuilder
-
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;
- Specified by:
getCustomHighlighterMatchesMap
in interfaceCalculateStatsResponseOrBuilder
-
getCustomHighlighterMatchesOrDefault
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;
- Specified by:
getCustomHighlighterMatchesOrDefault
in interfaceCalculateStatsResponseOrBuilder
-
getCustomHighlighterMatchesOrThrow
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;
- Specified by:
getCustomHighlighterMatchesOrThrow
in interfaceCalculateStatsResponseOrBuilder
-
clearCustomHighlighterMatches
public CalculateStatsResponse.Builder clearCustomHighlighterMatches()
-
removeCustomHighlighterMatches
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;
-
getMutableCustomHighlighterMatches
@Deprecated public Map<String,Integer> getMutableCustomHighlighterMatches()
Deprecated.Use alternate mutation accessors instead.
-
putCustomHighlighterMatches
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;
-
putAllCustomHighlighterMatches
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;
-
getIssueMatchesCount
@Deprecated public int getIssueMatchesCount()
Deprecated.Description copied from interface:CalculateStatsResponseOrBuilder
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];
- Specified by:
getIssueMatchesCount
in interfaceCalculateStatsResponseOrBuilder
-
containsIssueMatches
@Deprecated public boolean containsIssueMatches(String key)
Deprecated.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];
- Specified by:
containsIssueMatches
in interfaceCalculateStatsResponseOrBuilder
-
getIssueMatches
@Deprecated public Map<String,Integer> getIssueMatches()
Deprecated.UsegetIssueMatchesMap()
instead.- Specified by:
getIssueMatches
in interfaceCalculateStatsResponseOrBuilder
-
getIssueMatchesMap
@Deprecated public Map<String,Integer> getIssueMatchesMap()
Deprecated.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];
- Specified by:
getIssueMatchesMap
in interfaceCalculateStatsResponseOrBuilder
-
getIssueMatchesOrDefault
@Deprecated public int getIssueMatchesOrDefault(String key, int defaultValue)
Deprecated.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];
- Specified by:
getIssueMatchesOrDefault
in interfaceCalculateStatsResponseOrBuilder
-
getIssueMatchesOrThrow
@Deprecated public int getIssueMatchesOrThrow(String key)
Deprecated.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];
- Specified by:
getIssueMatchesOrThrow
in interfaceCalculateStatsResponseOrBuilder
-
clearIssueMatches
@Deprecated public CalculateStatsResponse.Builder clearIssueMatches()
Deprecated.
-
removeIssueMatches
@Deprecated public CalculateStatsResponse.Builder removeIssueMatches(String key)
Deprecated.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];
-
getMutableIssueMatches
@Deprecated public Map<String,Integer> getMutableIssueMatches()
Deprecated.Use alternate mutation accessors instead.
-
putIssueMatches
@Deprecated public CalculateStatsResponse.Builder putIssueMatches(String key, int value)
Deprecated.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];
-
putAllIssueMatches
@Deprecated public CalculateStatsResponse.Builder putAllIssueMatches(Map<String,Integer> values)
Deprecated.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];
-
getIssueMatchesStatsCount
public int getIssueMatchesStatsCount()
Description copied from interface:CalculateStatsResponseOrBuilder
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;
- Specified by:
getIssueMatchesStatsCount
in interfaceCalculateStatsResponseOrBuilder
-
containsIssueMatchesStats
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;
- Specified by:
containsIssueMatchesStats
in interfaceCalculateStatsResponseOrBuilder
-
getIssueMatchesStats
@Deprecated public Map<String,IssueModelLabelStats.IssueStats> getIssueMatchesStats()
Deprecated.UsegetIssueMatchesStatsMap()
instead.- Specified by:
getIssueMatchesStats
in interfaceCalculateStatsResponseOrBuilder
-
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;
- Specified by:
getIssueMatchesStatsMap
in interfaceCalculateStatsResponseOrBuilder
-
getIssueMatchesStatsOrDefault
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;
- Specified by:
getIssueMatchesStatsOrDefault
in interfaceCalculateStatsResponseOrBuilder
-
getIssueMatchesStatsOrThrow
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;
- Specified by:
getIssueMatchesStatsOrThrow
in interfaceCalculateStatsResponseOrBuilder
-
clearIssueMatchesStats
public CalculateStatsResponse.Builder clearIssueMatchesStats()
-
removeIssueMatchesStats
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;
-
getMutableIssueMatchesStats
@Deprecated public Map<String,IssueModelLabelStats.IssueStats> getMutableIssueMatchesStats()
Deprecated.Use alternate mutation accessors instead.
-
putIssueMatchesStats
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;
-
putAllIssueMatchesStats
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;
-
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;
- Specified by:
hasConversationCountTimeSeries
in interfaceCalculateStatsResponseOrBuilder
- Returns:
- Whether the conversationCountTimeSeries field is set.
-
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;
- Specified by:
getConversationCountTimeSeries
in interfaceCalculateStatsResponseOrBuilder
- Returns:
- The conversationCountTimeSeries.
-
setConversationCountTimeSeries
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;
-
setConversationCountTimeSeries
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;
-
mergeConversationCountTimeSeries
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;
-
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;
-
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;
-
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;
- Specified by:
getConversationCountTimeSeriesOrBuilder
in interfaceCalculateStatsResponseOrBuilder
-
setUnknownFields
public final CalculateStatsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CalculateStatsResponse.Builder>
-
mergeUnknownFields
public final CalculateStatsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CalculateStatsResponse.Builder>
-
-