Class SearchResponse.GuidedSearchResult (0.42.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.42.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  SearchResponse . GuidedSearchResult   extends   GeneratedMessageV3   implements   SearchResponse . GuidedSearchResultOrBuilder  
   Guided search result. The guided search helps user to refine the search
 results and narrow down to the real needs from a broaded search results.
 Protobuf type google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult
    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
   
  FOLLOW_UP_QUESTIONS_FIELD_NUMBER 
  
    
public   static   final   int   FOLLOW_UP_QUESTIONS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  REFINEMENT_ATTRIBUTES_FIELD_NUMBER 
  
    
public   static   final   int   REFINEMENT_ATTRIBUTES_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   SearchResponse . GuidedSearchResult   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   SearchResponse . GuidedSearchResult . Builder   newBuilder ()  
  
  newBuilder(SearchResponse.GuidedSearchResult prototype) 
  
    
public   static   SearchResponse . GuidedSearchResult . Builder   newBuilder ( SearchResponse . GuidedSearchResult   prototype )  
  
  
  
    
public   static   SearchResponse . GuidedSearchResult   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   SearchResponse . GuidedSearchResult   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   SearchResponse . GuidedSearchResult   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   SearchResponse . GuidedSearchResult   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   SearchResponse . GuidedSearchResult   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   SearchResponse . GuidedSearchResult   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   SearchResponse . GuidedSearchResult   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   SearchResponse . GuidedSearchResult   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   SearchResponse . GuidedSearchResult   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   SearchResponse . GuidedSearchResult   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   SearchResponse . GuidedSearchResult   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   SearchResponse . GuidedSearchResult   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<SearchResponse . GuidedSearchResult >  parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   SearchResponse . GuidedSearchResult   getDefaultInstanceForType ()  
  
  getFollowUpQuestions(int index) 
  
    
public   String   getFollowUpQuestions ( int   index )  
   Suggested follow-up questions.
 repeated string follow_up_questions = 2;
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String The followUpQuestions at the given index.
 
     
  
  getFollowUpQuestionsBytes(int index) 
  
    
public   ByteString   getFollowUpQuestionsBytes ( int   index )  
   Suggested follow-up questions.
 repeated string follow_up_questions = 2;
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the value to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes of the followUpQuestions at the given index.
 
     
  
  getFollowUpQuestionsCount() 
  
    
public   int   getFollowUpQuestionsCount ()  
   Suggested follow-up questions.
 repeated string follow_up_questions = 2;
    
      
        Returns  
      
        Type Description  
      
        int The count of followUpQuestions.
 
     
  
  getFollowUpQuestionsList() 
  
    
public   ProtocolStringList   getFollowUpQuestionsList ()  
   Suggested follow-up questions.
 repeated string follow_up_questions = 2;
getParserForType() 
  
    
public   Parser<SearchResponse . GuidedSearchResult >  getParserForType ()  
  
  Overrides 
  
  getRefinementAttributes(int index) 
  
    
public   SearchResponse . GuidedSearchResult . RefinementAttribute   getRefinementAttributes ( int   index )  
   A list of ranked refinement attributes.
 
 repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult.RefinementAttribute refinement_attributes = 1;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getRefinementAttributesCount() 
  
    
public   int   getRefinementAttributesCount ()  
   A list of ranked refinement attributes.
 
 repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult.RefinementAttribute refinement_attributes = 1;
 
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getRefinementAttributesList() 
  
    
public   List<SearchResponse . GuidedSearchResult . RefinementAttribute >  getRefinementAttributesList ()  
   A list of ranked refinement attributes.
 
 repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult.RefinementAttribute refinement_attributes = 1;
 
getRefinementAttributesOrBuilder(int index) 
  
    
public   SearchResponse . GuidedSearchResult . RefinementAttributeOrBuilder   getRefinementAttributesOrBuilder ( int   index )  
   A list of ranked refinement attributes.
 
 repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult.RefinementAttribute refinement_attributes = 1;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getRefinementAttributesOrBuilderList() 
  
    
public   List <?   extends   SearchResponse . GuidedSearchResult . RefinementAttributeOrBuilder >  getRefinementAttributesOrBuilderList ()  
   A list of ranked refinement attributes.
 
 repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult.RefinementAttribute refinement_attributes = 1;
 
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult.RefinementAttributeOrBuilder > 
     
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   SearchResponse . GuidedSearchResult . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   SearchResponse . GuidedSearchResult . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   SearchResponse . GuidedSearchResult . 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."],[],[]]