Class ArticleSuggestionData (2.5.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 2.5.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  ArticleSuggestionData   extends   GeneratedMessageV3   implements   ArticleSuggestionDataOrBuilder  
   
   Agent Assist Article Suggestion data.
 Protobuf type google.cloud.contactcenterinsights.v1.ArticleSuggestionData
 
  
  
  
  Static Fields
   
  CONFIDENCE_SCORE_FIELD_NUMBER 
  
    
public   static   final   int   CONFIDENCE_SCORE_FIELD_NUMBER  
   
  Field Value 
  
  METADATA_FIELD_NUMBER 
  
    
public   static   final   int   METADATA_FIELD_NUMBER  
   
  Field Value 
  
  QUERY_RECORD_FIELD_NUMBER 
  
    
public   static   final   int   QUERY_RECORD_FIELD_NUMBER  
   
  Field Value 
  
  SOURCE_FIELD_NUMBER 
  
    
public   static   final   int   SOURCE_FIELD_NUMBER  
   
  Field Value 
  
  TITLE_FIELD_NUMBER 
  
    
public   static   final   int   TITLE_FIELD_NUMBER  
   
  Field Value 
  
  URI_FIELD_NUMBER 
  
    
public   static   final   int   URI_FIELD_NUMBER  
   
  Field Value 
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   ArticleSuggestionData   getDefaultInstance ()  
   
  Returns 
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  Returns 
  
   
  newBuilder() 
  
    
public   static   ArticleSuggestionData . Builder   newBuilder ()  
   
  Returns 
  
   
  newBuilder(ArticleSuggestionData prototype) 
  
    
public   static   ArticleSuggestionData . Builder   newBuilder ( ArticleSuggestionData   prototype )  
   
  Parameter 
  
  Returns 
  
   
  parseDelimitedFrom(InputStream input) 
  
    
public   static   ArticleSuggestionData   parseDelimitedFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ArticleSuggestionData   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(byte[] data) 
  
    
public   static   ArticleSuggestionData   parseFrom ( byte []   data )  
   
  Parameter 
  
    
      
        Name  
        Description  
       
      
        data  
        byte [] 
       
     
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ArticleSuggestionData   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteString data) 
  
    
public   static   ArticleSuggestionData   parseFrom ( ByteString   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ArticleSuggestionData   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(CodedInputStream input) 
  
    
public   static   ArticleSuggestionData   parseFrom ( CodedInputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ArticleSuggestionData   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(InputStream input) 
  
    
public   static   ArticleSuggestionData   parseFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ArticleSuggestionData   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   ArticleSuggestionData   parseFrom ( ByteBuffer   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ArticleSuggestionData   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parser() 
  
    
public   static   Parser<ArticleSuggestionData>   parser ()  
   
  Returns 
  
  Methods
   
   
  containsMetadata(String key) 
  
    
public   boolean   containsMetadata ( String   key )  
   
   Map that contains metadata about the Article Suggestion and the document
 that it originates from.
 map<string, string> metadata = 4;
 
  Parameter 
  
  Returns 
  
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  getConfidenceScore() 
  
    
public   float   getConfidenceScore ()  
   
   The system's confidence score that this article is a good match for this
 conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
 certain).
 float confidence_score = 3;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        float  
        The confidenceScore.
 
       
     
  
   
  getDefaultInstanceForType() 
  
    
public   ArticleSuggestionData   getDefaultInstanceForType ()  
   
  Returns 
  
   
  getMetadata() 
  
    
public   Map<String , String >  getMetadata ()  
   
  
  Returns 
  
   
  getMetadataCount() 
  
    
public   int   getMetadataCount ()  
   
   Map that contains metadata about the Article Suggestion and the document
 that it originates from.
 map<string, string> metadata = 4;
 
  Returns 
  
   
  getMetadataMap() 
  
    
public   Map<String , String >  getMetadataMap ()  
   
   Map that contains metadata about the Article Suggestion and the document
 that it originates from.
 map<string, string> metadata = 4;
 
  Returns 
  
   
  getMetadataOrDefault(String key, String defaultValue) 
  
    
public   String   getMetadataOrDefault ( String   key ,   String   defaultValue )  
   
   Map that contains metadata about the Article Suggestion and the document
 that it originates from.
 map<string, string> metadata = 4;
 
  Parameters 
  
  Returns 
  
   
  getMetadataOrThrow(String key) 
  
    
public   String   getMetadataOrThrow ( String   key )  
   
   Map that contains metadata about the Article Suggestion and the document
 that it originates from.
 map<string, string> metadata = 4;
 
  Parameter 
  
  Returns 
  
   
  getParserForType() 
  
    
public   Parser<ArticleSuggestionData>   getParserForType ()  
   
  Returns 
  
  Overrides 
  
   
  getQueryRecord() 
  
    
public   String   getQueryRecord ()  
   
   The name of the answer record.
 Format:
 projects/{project}/locations/{location}/answerRecords/{answer_record}
 string query_record = 5;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The queryRecord.
 
       
     
  
   
  getQueryRecordBytes() 
  
    
public   ByteString   getQueryRecordBytes ()  
   
   The name of the answer record.
 Format:
 projects/{project}/locations/{location}/answerRecords/{answer_record}
 string query_record = 5;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for queryRecord.
 
       
     
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  Returns 
  
  Overrides 
  
   
  getSource() 
  
    
public   String   getSource ()  
   
   The knowledge document that this answer was extracted from.
 Format:
 projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}
 string source = 6;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The source.
 
       
     
  
   
  getSourceBytes() 
  
    
public   ByteString   getSourceBytes ()  
   
   The knowledge document that this answer was extracted from.
 Format:
 projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}
 string source = 6;
 
  Returns 
  
   
  getTitle() 
  
   Article title.
 string title = 1;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The title.
 
       
     
  
   
  getTitleBytes() 
  
    
public   ByteString   getTitleBytes ()  
   
   Article title.
 string title = 1;
 
  Returns 
  
   
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
   
  Returns 
  
  Overrides 
  
   
  getUri() 
  
   Article URI.
 string uri = 2;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The uri.
 
       
     
  
   
  getUriBytes() 
  
    
public   ByteString   getUriBytes ()  
   
   Article URI.
 string uri = 2;
 
  Returns 
  
   
  hashCode() 
  
  Returns 
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  Returns 
  
  Overrides 
  
   
  internalGetMapField(int number) 
  
    
protected   MapField   internalGetMapField ( int   number )  
   
  Parameter 
  
    
      
        Name  
        Description  
       
      
        number  
        int  
       
     
  
  Returns 
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  Returns 
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   ArticleSuggestionData . Builder   newBuilderForType ()  
   
  Returns 
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   ArticleSuggestionData . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  toBuilder() 
  
    
public   ArticleSuggestionData . Builder   toBuilder ()  
   
  Returns 
  
   
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  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-30 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-30 UTC."],[],[]]