Class QaAnswer.AnswerSource (2.64.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 2.64.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  QaAnswer . AnswerSource   extends   GeneratedMessageV3   implements   QaAnswer . AnswerSourceOrBuilder  
   
   A question may have multiple answers from varying sources, one of which
 becomes the "main" answer above. AnswerSource represents each individual
 answer.
 Protobuf type google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource
 
  
  
  
    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
   
  
  
    
public   static   final   int   ANSWER_VALUE_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  
  
    
public   static   final   int   SOURCE_TYPE_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Static Methods
   
   
  
  
    
public   static   QaAnswer . AnswerSource   getDefaultInstance ()  
   
  
   
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
   
  
  
    
public   static   QaAnswer . AnswerSource . Builder   newBuilder ()  
   
  
   
  
  
    
public   static   QaAnswer . AnswerSource . Builder   newBuilder ( QaAnswer . AnswerSource   prototype )  
   
  
  
   
  
  
    
public   static   QaAnswer . AnswerSource   parseDelimitedFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   QaAnswer . AnswerSource   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   QaAnswer . AnswerSource   parseFrom ( byte []   data )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  
  
   
  
  
    
public   static   QaAnswer . AnswerSource   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   QaAnswer . AnswerSource   parseFrom ( ByteString   data )  
   
  
  
  
   
  
  
    
public   static   QaAnswer . AnswerSource   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   QaAnswer . AnswerSource   parseFrom ( CodedInputStream   input )  
   
  
  
  
   
  
  
    
public   static   QaAnswer . AnswerSource   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   QaAnswer . AnswerSource   parseFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   QaAnswer . AnswerSource   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   QaAnswer . AnswerSource   parseFrom ( ByteBuffer   data )  
   
  
  
  
   
  
  
    
public   static   QaAnswer . AnswerSource   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   Parser<QaAnswer . AnswerSource >  parser ()  
   
  
  Methods
   
   
  
  
    
public   boolean   equals ( Object   obj )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        obj 
        Object  
       
     
  
  
  Overrides 
  
   
  
  
    
public   QaAnswer . AnswerValue   getAnswerValue ()  
   
   The answer value from this source.
 .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 2;
 
  
   
  
  
    
public   QaAnswer . AnswerValueOrBuilder   getAnswerValueOrBuilder ()  
   
   The answer value from this source.
 .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 2;
 
  
   
  
  
    
public   QaAnswer . AnswerSource   getDefaultInstanceForType ()  
   
  
   
  
  
    
public   Parser<QaAnswer . AnswerSource >  getParserForType ()  
   
  
  Overrides 
  
   
  
  
    
public   int   getSerializedSize ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  
  
    
public   QaAnswer . AnswerSource . SourceType   getSourceType ()  
   
   What created the answer.
 
 .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource.SourceType source_type = 1;
 
 
  
   
  
  
    
public   int   getSourceTypeValue ()  
   
   What created the answer.
 
 .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource.SourceType source_type = 1;
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
        The enum numeric value on the wire for sourceType.
 
       
     
  
   
  
  
    
public   boolean   hasAnswerValue ()  
   
   The answer value from this source.
 .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 2;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the answerValue field is set.
 
       
     
  
   
  
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  
  
    
public   QaAnswer . AnswerSource . Builder   newBuilderForType ()  
   
  
   
  
  
    
protected   QaAnswer . AnswerSource . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  
  
  Overrides 
  
   
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Object  
         
       
     
  
  Overrides 
  
   
  
  
    
public   QaAnswer . AnswerSource . Builder   toBuilder ()  
   
  
   
  
  
    
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-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."],[],[]]