Interface AnalyticsIntentMetricResult.Builder

    • Method Detail

      • name

        AnalyticsIntentMetricResult.Builder name​(String name)

        The metric that you requested. See Key definitions for more details about these metrics.

        • Count – The number of times the intent was invoked.

        • Success – The number of times the intent succeeded.

        • Failure – The number of times the intent failed.

        • Switched – The number of times there was a switch to a different intent.

        • Dropped – The number of times the user dropped the intent.

        Parameters:
        name - The metric that you requested. See Key definitions for more details about these metrics.

        • Count – The number of times the intent was invoked.

        • Success – The number of times the intent succeeded.

        • Failure – The number of times the intent failed.

        • Switched – The number of times there was a switch to a different intent.

        • Dropped – The number of times the user dropped the intent.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnalyticsIntentMetricName, AnalyticsIntentMetricName
      • name

        AnalyticsIntentMetricResult.Builder name​(AnalyticsIntentMetricName name)

        The metric that you requested. See Key definitions for more details about these metrics.

        • Count – The number of times the intent was invoked.

        • Success – The number of times the intent succeeded.

        • Failure – The number of times the intent failed.

        • Switched – The number of times there was a switch to a different intent.

        • Dropped – The number of times the user dropped the intent.

        Parameters:
        name - The metric that you requested. See Key definitions for more details about these metrics.

        • Count – The number of times the intent was invoked.

        • Success – The number of times the intent succeeded.

        • Failure – The number of times the intent failed.

        • Switched – The number of times there was a switch to a different intent.

        • Dropped – The number of times the user dropped the intent.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnalyticsIntentMetricName, AnalyticsIntentMetricName
      • statistic

        AnalyticsIntentMetricResult.Builder statistic​(String statistic)

        The statistic that you requested to calculate.

        • Sum – The total count for the category you provide in name.

        • Average – The total count divided by the number of intents in the category you provide in name.

        • Max – The highest count in the category you provide in name.

        Parameters:
        statistic - The statistic that you requested to calculate.

        • Sum – The total count for the category you provide in name.

        • Average – The total count divided by the number of intents in the category you provide in name.

        • Max – The highest count in the category you provide in name.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnalyticsMetricStatistic, AnalyticsMetricStatistic
      • statistic

        AnalyticsIntentMetricResult.Builder statistic​(AnalyticsMetricStatistic statistic)

        The statistic that you requested to calculate.

        • Sum – The total count for the category you provide in name.

        • Average – The total count divided by the number of intents in the category you provide in name.

        • Max – The highest count in the category you provide in name.

        Parameters:
        statistic - The statistic that you requested to calculate.

        • Sum – The total count for the category you provide in name.

        • Average – The total count divided by the number of intents in the category you provide in name.

        • Max – The highest count in the category you provide in name.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnalyticsMetricStatistic, AnalyticsMetricStatistic
      • value

        AnalyticsIntentMetricResult.Builder value​(Double value)

        The value of the summary statistic for the metric that you requested.

        Parameters:
        value - The value of the summary statistic for the metric that you requested.
        Returns:
        Returns a reference to this object so that method calls can be chained together.