public final class CalculateStatsResponse extends GeneratedMessageV3 implements CalculateStatsResponseOrBuilder
   
   The response for calculating conversation statistics.
 Protobuf type google.cloud.contactcenterinsights.v1.CalculateStatsResponse
Static Fields
  
  
  
    public static final int AVERAGE_DURATION_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int AVERAGE_TURN_COUNT_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int CONVERSATION_COUNT_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int CONVERSATION_COUNT_TIME_SERIES_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int CUSTOM_HIGHLIGHTER_MATCHES_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int ISSUE_MATCHES_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int ISSUE_MATCHES_STATS_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int SMART_HIGHLIGHTER_MATCHES_FIELD_NUMBER
   
  Field Value
  
  Static Methods
  
  
  
  
    public static CalculateStatsResponse getDefaultInstance()
   
  Returns
  
  
  
  
    public static final Descriptors.Descriptor getDescriptor()
   
  Returns
  
  
  
  
    public static CalculateStatsResponse.Builder newBuilder()
   
  Returns
  
  
  
  
    public static CalculateStatsResponse.Builder newBuilder(CalculateStatsResponse prototype)
   
  Parameter
  
  Returns
  
  
  
  
    public static CalculateStatsResponse parseDelimitedFrom(InputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static CalculateStatsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static CalculateStatsResponse parseFrom(byte[] data)
   
  Parameter
  
    
      
        | Name | Description | 
      
        | data | byte[]
 | 
    
  
  Returns
  
  Exceptions
  
  
  
  
    public static CalculateStatsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static CalculateStatsResponse parseFrom(ByteString data)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static CalculateStatsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static CalculateStatsResponse parseFrom(CodedInputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static CalculateStatsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static CalculateStatsResponse parseFrom(InputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static CalculateStatsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static CalculateStatsResponse parseFrom(ByteBuffer data)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static CalculateStatsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Parser<CalculateStatsResponse> parser()
   
  Returns
  
  Methods
  
  
  
  
    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;
    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];
    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;
 
    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;
    public boolean equals(Object obj)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  
  
    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;
    
      
        | Type | Description | 
      
        | Duration | The averageDuration. | 
    
  
  
  
  
    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;
    public int getAverageTurnCount()
   
   The average number of turns per conversation.
 int32 average_turn_count = 2;
    
      
        | Type | Description | 
      
        | int | The averageTurnCount. | 
    
  
  
  
  
    public int getConversationCount()
   
   The total number of conversations.
 int32 conversation_count = 3;
    
      
        | Type | Description | 
      
        | int | The conversationCount. | 
    
  
  
  
  
    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;
 
    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;
 
    public Map<String,Integer> getCustomHighlighterMatches()
   
  
  Returns
  
    
      
        | Type | Description | 
      
        | Map<String,java.lang.Integer> |  | 
    
  
  
  
  
    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;
    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;
    
      
        | Type | Description | 
      
        | Map<String,java.lang.Integer> |  | 
    
  
  
  
  
    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;
    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;
    public CalculateStatsResponse getDefaultInstanceForType()
   
  Returns
  
  
  
  
    public Map<String,Integer> getIssueMatches()
   
  
  Returns
  
    
      
        | Type | Description | 
      
        | Map<String,java.lang.Integer> |  | 
    
  
  
  
  
    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];
    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];
    
      
        | Type | Description | 
      
        | Map<String,java.lang.Integer> |  | 
    
  
  
  
  
    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];
    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];
    public Map<String,IssueModelLabelStats.IssueStats> getIssueMatchesStats()
   
  
  Returns
  
  
  
  
    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;
 
    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;
 
    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;
 
    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;
 
    public Parser<CalculateStatsResponse> getParserForType()
   
  Returns
  
  Overrides
  
  
  
  
    public int getSerializedSize()
   
  Returns
  
  Overrides
  
  
  
  
    public Map<String,Integer> getSmartHighlighterMatches()
   
  
  Returns
  
    
      
        | Type | Description | 
      
        | Map<String,java.lang.Integer> |  | 
    
  
  
  
  
    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;
    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;
    
      
        | Type | Description | 
      
        | Map<String,java.lang.Integer> |  | 
    
  
  
  
  
    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;
    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;
    public final UnknownFieldSet getUnknownFields()
   
  Returns
  
  Overrides
  
  
  
  
    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;
    
      
        | Type | Description | 
      
        | boolean | Whether the averageDuration field is set. | 
    
  
  
  
  
    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;
 
    
      
        | Type | Description | 
      
        | boolean | Whether the conversationCountTimeSeries field is set. | 
    
  
  
  
  
  Returns
  
  Overrides
  
  
  
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  Returns
  
  Overrides
  
  
  
  
    protected MapField internalGetMapField(int number)
   
  Parameter
  
    
      
        | Name | Description | 
      
        | number | int
 | 
    
  
  Returns
  
  Overrides
  
  
  
  
    public final boolean isInitialized()
   
  Returns
  
  Overrides
  
  
  
  
    public CalculateStatsResponse.Builder newBuilderForType()
   
  Returns
  
  
  
  
    protected CalculateStatsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  
  
    public CalculateStatsResponse.Builder toBuilder()
   
  Returns
  
  
  
  
    public void writeTo(CodedOutputStream output)
   
  Parameter
  
  Overrides
  
  Exceptions