Class SmartReplyMetrics (4.82.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 4.82.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
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  
      
        databyte [] 
     
  
  
  
  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  
      
        objObject  
     
  
  
  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  
      
        indexint  
     
  
  
  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  
      
        indexint  
     
  
  
  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 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]