Interface SmartReplyMetricsOrBuilder (4.49.0)

public interface SmartReplyMetricsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowlistCoverage()

public abstract 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
Type Description
float

The allowlistCoverage.

getConversationCount()

public abstract long getConversationCount()

Total number of conversations used to generate this metric.

int64 conversation_count = 3;

Returns
Type Description
long

The conversationCount.

getTopNMetrics(int index)

public abstract 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;

Parameter
Name Description
index int
Returns
Type Description
SmartReplyMetrics.TopNMetrics

getTopNMetricsCount()

public abstract int getTopNMetricsCount()

Metrics of top n smart replies, sorted by [TopNMetric.n][].

repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;

Returns
Type Description
int

getTopNMetricsList()

public abstract 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;

Returns
Type Description
List<TopNMetrics>

getTopNMetricsOrBuilder(int index)

public abstract 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;

Parameter
Name Description
index int
Returns
Type Description
SmartReplyMetrics.TopNMetricsOrBuilder

getTopNMetricsOrBuilderList()

public abstract 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;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetricsOrBuilder>