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
@Generated
public interface SmartReplyMetricsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionfloatPercentage of target participant messages in the evaluation dataset for which similar messages have appeared at least once in the allowlist.longTotal number of conversations used to generate this metric.getTopNMetrics(int index) Metrics of top n smart replies, sorted by [TopNMetric.n][].intMetrics of top n smart replies, sorted by [TopNMetric.n][].Metrics of top n smart replies, sorted by [TopNMetric.n][].getTopNMetricsOrBuilder(int index) Metrics of top n smart replies, sorted by [TopNMetric.n][].List<? extends SmartReplyMetrics.TopNMetricsOrBuilder>Metrics of top n smart replies, sorted by [TopNMetric.n][].Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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.
-