public static final class SmartReplyMetrics.Builder extends GeneratedMessageV3.Builder<SmartReplyMetrics.Builder> implements SmartReplyMetricsOrBuilder
The evaluation metrics for smart reply model.Protobuf type
google.cloud.dialogflow.v2.SmartReplyMetrics
Modifier and Type | Method and Description |
---|---|
SmartReplyMetrics.Builder |
addAllTopNMetrics(Iterable<? extends SmartReplyMetrics.TopNMetrics> values)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
|
SmartReplyMetrics.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
SmartReplyMetrics.Builder |
addTopNMetrics(int index,
SmartReplyMetrics.TopNMetrics.Builder builderForValue)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
|
SmartReplyMetrics.Builder |
addTopNMetrics(int index,
SmartReplyMetrics.TopNMetrics value)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
|
SmartReplyMetrics.Builder |
addTopNMetrics(SmartReplyMetrics.TopNMetrics.Builder builderForValue)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
|
SmartReplyMetrics.Builder |
addTopNMetrics(SmartReplyMetrics.TopNMetrics value)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
|
SmartReplyMetrics.TopNMetrics.Builder |
addTopNMetricsBuilder()
Metrics of top n smart replies, sorted by [TopNMetric.n][].
|
SmartReplyMetrics.TopNMetrics.Builder |
addTopNMetricsBuilder(int index)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
|
SmartReplyMetrics |
build() |
SmartReplyMetrics |
buildPartial() |
SmartReplyMetrics.Builder |
clear() |
SmartReplyMetrics.Builder |
clearAllowlistCoverage()
Percentage of target participant messages in the evaluation dataset for
which similar messages have appeared at least once in the allowlist.
|
SmartReplyMetrics.Builder |
clearConversationCount()
Total number of conversations used to generate this metric.
|
SmartReplyMetrics.Builder |
clearField(Descriptors.FieldDescriptor field) |
SmartReplyMetrics.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
SmartReplyMetrics.Builder |
clearTopNMetrics()
Metrics of top n smart replies, sorted by [TopNMetric.n][].
|
SmartReplyMetrics.Builder |
clone() |
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 |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
SmartReplyMetrics.TopNMetrics |
getTopNMetrics(int index)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
|
SmartReplyMetrics.TopNMetrics.Builder |
getTopNMetricsBuilder(int index)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
|
List<SmartReplyMetrics.TopNMetrics.Builder> |
getTopNMetricsBuilderList()
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][].
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SmartReplyMetrics.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
SmartReplyMetrics.Builder |
mergeFrom(Message other) |
SmartReplyMetrics.Builder |
mergeFrom(SmartReplyMetrics other) |
SmartReplyMetrics.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
SmartReplyMetrics.Builder |
removeTopNMetrics(int index)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
|
SmartReplyMetrics.Builder |
setAllowlistCoverage(float value)
Percentage of target participant messages in the evaluation dataset for
which similar messages have appeared at least once in the allowlist.
|
SmartReplyMetrics.Builder |
setConversationCount(long value)
Total number of conversations used to generate this metric.
|
SmartReplyMetrics.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
SmartReplyMetrics.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
SmartReplyMetrics.Builder |
setTopNMetrics(int index,
SmartReplyMetrics.TopNMetrics.Builder builderForValue)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
|
SmartReplyMetrics.Builder |
setTopNMetrics(int index,
SmartReplyMetrics.TopNMetrics value)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
|
SmartReplyMetrics.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<SmartReplyMetrics.Builder>
public SmartReplyMetrics.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<SmartReplyMetrics.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<SmartReplyMetrics.Builder>
public SmartReplyMetrics getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public SmartReplyMetrics build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public SmartReplyMetrics buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public SmartReplyMetrics.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<SmartReplyMetrics.Builder>
public SmartReplyMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<SmartReplyMetrics.Builder>
public SmartReplyMetrics.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<SmartReplyMetrics.Builder>
public SmartReplyMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<SmartReplyMetrics.Builder>
public SmartReplyMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<SmartReplyMetrics.Builder>
public SmartReplyMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<SmartReplyMetrics.Builder>
public SmartReplyMetrics.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<SmartReplyMetrics.Builder>
public SmartReplyMetrics.Builder mergeFrom(SmartReplyMetrics other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<SmartReplyMetrics.Builder>
public SmartReplyMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<SmartReplyMetrics.Builder>
IOException
public 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;
getAllowlistCoverage
in interface SmartReplyMetricsOrBuilder
public SmartReplyMetrics.Builder setAllowlistCoverage(float value)
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;
value
- The allowlistCoverage to set.public SmartReplyMetrics.Builder clearAllowlistCoverage()
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;
public 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;
getTopNMetricsList
in interface SmartReplyMetricsOrBuilder
public int getTopNMetricsCount()
Metrics of top n smart replies, sorted by [TopNMetric.n][].
repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
getTopNMetricsCount
in interface SmartReplyMetricsOrBuilder
public 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;
getTopNMetrics
in interface SmartReplyMetricsOrBuilder
public SmartReplyMetrics.Builder setTopNMetrics(int index, SmartReplyMetrics.TopNMetrics value)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
public SmartReplyMetrics.Builder setTopNMetrics(int index, SmartReplyMetrics.TopNMetrics.Builder builderForValue)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
public SmartReplyMetrics.Builder addTopNMetrics(SmartReplyMetrics.TopNMetrics value)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
public SmartReplyMetrics.Builder addTopNMetrics(int index, SmartReplyMetrics.TopNMetrics value)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
public SmartReplyMetrics.Builder addTopNMetrics(SmartReplyMetrics.TopNMetrics.Builder builderForValue)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
public SmartReplyMetrics.Builder addTopNMetrics(int index, SmartReplyMetrics.TopNMetrics.Builder builderForValue)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
public SmartReplyMetrics.Builder addAllTopNMetrics(Iterable<? extends SmartReplyMetrics.TopNMetrics> values)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
public SmartReplyMetrics.Builder clearTopNMetrics()
Metrics of top n smart replies, sorted by [TopNMetric.n][].
repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
public SmartReplyMetrics.Builder removeTopNMetrics(int index)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
public SmartReplyMetrics.TopNMetrics.Builder getTopNMetricsBuilder(int index)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
public 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;
getTopNMetricsOrBuilder
in interface SmartReplyMetricsOrBuilder
public 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;
getTopNMetricsOrBuilderList
in interface SmartReplyMetricsOrBuilder
public SmartReplyMetrics.TopNMetrics.Builder addTopNMetricsBuilder()
Metrics of top n smart replies, sorted by [TopNMetric.n][].
repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
public SmartReplyMetrics.TopNMetrics.Builder addTopNMetricsBuilder(int index)
Metrics of top n smart replies, sorted by [TopNMetric.n][].
repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
public List<SmartReplyMetrics.TopNMetrics.Builder> getTopNMetricsBuilderList()
Metrics of top n smart replies, sorted by [TopNMetric.n][].
repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
public long getConversationCount()
Total number of conversations used to generate this metric.
int64 conversation_count = 3;
getConversationCount
in interface SmartReplyMetricsOrBuilder
public SmartReplyMetrics.Builder setConversationCount(long value)
Total number of conversations used to generate this metric.
int64 conversation_count = 3;
value
- The conversationCount to set.public SmartReplyMetrics.Builder clearConversationCount()
Total number of conversations used to generate this metric.
int64 conversation_count = 3;
public final SmartReplyMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<SmartReplyMetrics.Builder>
public final SmartReplyMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<SmartReplyMetrics.Builder>
Copyright © 2022 Google LLC. All rights reserved.