public final class SmartReplyMetrics extends GeneratedMessageV3 implements SmartReplyMetricsOrBuilder
The evaluation metrics for smart reply model.
Protobuf type google.cloud.dialogflow.v2.SmartReplyMetrics
Static Fields
ALLOWLIST_COVERAGE_FIELD_NUMBER
public static final int ALLOWLIST_COVERAGE_FIELD_NUMBER
Field Value
CONVERSATION_COUNT_FIELD_NUMBER
public static final int CONVERSATION_COUNT_FIELD_NUMBER
Field Value
TOP_N_METRICS_FIELD_NUMBER
public static final int TOP_N_METRICS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SmartReplyMetrics getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SmartReplyMetrics.Builder newBuilder()
Returns
newBuilder(SmartReplyMetrics prototype)
public static SmartReplyMetrics.Builder newBuilder(SmartReplyMetrics prototype)
Parameter
Returns
public static SmartReplyMetrics parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SmartReplyMetrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SmartReplyMetrics parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SmartReplyMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SmartReplyMetrics parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SmartReplyMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SmartReplyMetrics parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SmartReplyMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SmartReplyMetrics parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SmartReplyMetrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SmartReplyMetrics parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SmartReplyMetrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SmartReplyMetrics> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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()
Returns
getParserForType()
public Parser<SmartReplyMetrics> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
Returns
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
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;
Returns
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
Returns
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> | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SmartReplyMetrics.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SmartReplyMetrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SmartReplyMetrics.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions