public final class SmartReplyMetrics extends GeneratedMessageV3 implements SmartReplyMetricsOrBuilder
The evaluation metrics for smart reply model.
Protobuf type google.cloud.dialogflow.v2.SmartReplyMetrics
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ALLOWLIST_COVERAGE_FIELD_NUMBER
public static final int ALLOWLIST_COVERAGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CONVERSATION_COUNT_FIELD_NUMBER
public static final int CONVERSATION_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TOP_N_METRICS_FIELD_NUMBER
public static final int TOP_N_METRICS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SmartReplyMetrics getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SmartReplyMetrics.Builder newBuilder()
newBuilder(SmartReplyMetrics prototype)
public static SmartReplyMetrics.Builder newBuilder(SmartReplyMetrics prototype)
public static SmartReplyMetrics parseDelimitedFrom(InputStream input)
public static SmartReplyMetrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SmartReplyMetrics parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SmartReplyMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SmartReplyMetrics parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SmartReplyMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SmartReplyMetrics parseFrom(CodedInputStream input)
public static SmartReplyMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SmartReplyMetrics parseFrom(InputStream input)
public static SmartReplyMetrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SmartReplyMetrics parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SmartReplyMetrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SmartReplyMetrics> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAllowlistCoverage()
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;
Returns |
Type |
Description |
float |
The allowlistCoverage.
|
getConversationCount()
public long getConversationCount()
Total number of conversations used to generate this metric.
int64 conversation_count = 3;
Returns |
Type |
Description |
long |
The conversationCount.
|
getDefaultInstanceForType()
public SmartReplyMetrics getDefaultInstanceForType()
getParserForType()
public Parser<SmartReplyMetrics> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTopNMetrics(int index)
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;
Parameter |
Name |
Description |
index |
int
|
getTopNMetricsCount()
public 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 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;
getTopNMetricsOrBuilder(int index)
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;
Parameter |
Name |
Description |
index |
int
|
getTopNMetricsOrBuilderList()
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;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetricsOrBuilder> |
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SmartReplyMetrics.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SmartReplyMetrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SmartReplyMetrics.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides