Package com.google.cloud.dialogflow.v2
Interface SmartReplyMetricsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SmartReplyMetrics
,SmartReplyMetrics.Builder
public interface SmartReplyMetricsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getAllowlistCoverage()
Percentage of target participant messages in the evaluation dataset for which similar messages have appeared at least once in the allowlist.long
getConversationCount()
Total number of conversations used to generate this metric.SmartReplyMetrics.TopNMetrics
getTopNMetrics(int index)
Metrics of top n smart replies, sorted by [TopNMetric.n][].int
getTopNMetricsCount()
Metrics of top n smart replies, sorted by [TopNMetric.n][].List<SmartReplyMetrics.TopNMetrics>
getTopNMetricsList()
Metrics of top n smart replies, sorted by [TopNMetric.n][].SmartReplyMetrics.TopNMetricsOrBuilder
getTopNMetricsOrBuilder(int index)
Metrics of top n smart replies, sorted by [TopNMetric.n][].List<? extends SmartReplyMetrics.TopNMetricsOrBuilder>
getTopNMetricsOrBuilderList()
Metrics of top n smart replies, sorted by [TopNMetric.n][].-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAllowlistCoverage
float getAllowlistCoverage()
Percentage of target participant messages in the evaluation dataset for which similar messages have appeared at least once in the allowlist. Should be [0, 1].
float allowlist_coverage = 1;
- Returns:
- The allowlistCoverage.
-
getTopNMetricsList
List<SmartReplyMetrics.TopNMetrics> getTopNMetricsList()
Metrics of top n smart replies, sorted by [TopNMetric.n][].
repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
-
getTopNMetrics
SmartReplyMetrics.TopNMetrics getTopNMetrics(int index)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
-
getTopNMetricsCount
int getTopNMetricsCount()
Metrics of top n smart replies, sorted by [TopNMetric.n][].
repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
-
getTopNMetricsOrBuilderList
List<? extends SmartReplyMetrics.TopNMetricsOrBuilder> getTopNMetricsOrBuilderList()
Metrics of top n smart replies, sorted by [TopNMetric.n][].
repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
-
getTopNMetricsOrBuilder
SmartReplyMetrics.TopNMetricsOrBuilder getTopNMetricsOrBuilder(int index)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
-
getConversationCount
long getConversationCount()
Total number of conversations used to generate this metric.
int64 conversation_count = 3;
- Returns:
- The conversationCount.
-
-