Class AdvancedCompleteQueryResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AdvancedCompleteQueryResponse.Builder>
com.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.Builder
All Implemented Interfaces:
AdvancedCompleteQueryResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AdvancedCompleteQueryResponse

public static final class AdvancedCompleteQueryResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<AdvancedCompleteQueryResponse.Builder> implements AdvancedCompleteQueryResponseOrBuilder
 Response message for
 [CompletionService.AdvancedCompleteQuery][google.cloud.discoveryengine.v1beta.CompletionService.AdvancedCompleteQuery]
 method.
 
Protobuf type google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AdvancedCompleteQueryResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AdvancedCompleteQueryResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AdvancedCompleteQueryResponse.Builder>
    • getDefaultInstanceForType

      public AdvancedCompleteQueryResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AdvancedCompleteQueryResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AdvancedCompleteQueryResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdvancedCompleteQueryResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AdvancedCompleteQueryResponse.Builder>
    • mergeFrom

      public AdvancedCompleteQueryResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdvancedCompleteQueryResponse.Builder>
      Throws:
      IOException
    • getQuerySuggestionsList

      public List<AdvancedCompleteQueryResponse.QuerySuggestion> getQuerySuggestionsList()
       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
      Specified by:
      getQuerySuggestionsList in interface AdvancedCompleteQueryResponseOrBuilder
    • getQuerySuggestionsCount

      public int getQuerySuggestionsCount()
       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
      Specified by:
      getQuerySuggestionsCount in interface AdvancedCompleteQueryResponseOrBuilder
    • getQuerySuggestions

      public AdvancedCompleteQueryResponse.QuerySuggestion getQuerySuggestions(int index)
       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
      Specified by:
      getQuerySuggestions in interface AdvancedCompleteQueryResponseOrBuilder
    • setQuerySuggestions

       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
    • setQuerySuggestions

      public AdvancedCompleteQueryResponse.Builder setQuerySuggestions(int index, AdvancedCompleteQueryResponse.QuerySuggestion.Builder builderForValue)
       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
    • addQuerySuggestions

       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
    • addQuerySuggestions

       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
    • addQuerySuggestions

       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
    • addQuerySuggestions

      public AdvancedCompleteQueryResponse.Builder addQuerySuggestions(int index, AdvancedCompleteQueryResponse.QuerySuggestion.Builder builderForValue)
       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
    • addAllQuerySuggestions

       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
    • clearQuerySuggestions

      public AdvancedCompleteQueryResponse.Builder clearQuerySuggestions()
       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
    • removeQuerySuggestions

      public AdvancedCompleteQueryResponse.Builder removeQuerySuggestions(int index)
       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
    • getQuerySuggestionsBuilder

      public AdvancedCompleteQueryResponse.QuerySuggestion.Builder getQuerySuggestionsBuilder(int index)
       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
    • getQuerySuggestionsOrBuilder

      public AdvancedCompleteQueryResponse.QuerySuggestionOrBuilder getQuerySuggestionsOrBuilder(int index)
       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
      Specified by:
      getQuerySuggestionsOrBuilder in interface AdvancedCompleteQueryResponseOrBuilder
    • getQuerySuggestionsOrBuilderList

      public List<? extends AdvancedCompleteQueryResponse.QuerySuggestionOrBuilder> getQuerySuggestionsOrBuilderList()
       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
      Specified by:
      getQuerySuggestionsOrBuilderList in interface AdvancedCompleteQueryResponseOrBuilder
    • addQuerySuggestionsBuilder

      public AdvancedCompleteQueryResponse.QuerySuggestion.Builder addQuerySuggestionsBuilder()
       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
    • addQuerySuggestionsBuilder

      public AdvancedCompleteQueryResponse.QuerySuggestion.Builder addQuerySuggestionsBuilder(int index)
       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
    • getQuerySuggestionsBuilderList

      public List<AdvancedCompleteQueryResponse.QuerySuggestion.Builder> getQuerySuggestionsBuilderList()
       Results of the matched query suggestions. The result list is ordered and
       the first result is a top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
    • getTailMatchTriggered

      public boolean getTailMatchTriggered()
       True if the returned suggestions are all tail suggestions.
      
       For tail matching to be triggered, include_tail_suggestions in the request
       must be true and there must be no suggestions that match the full query.
       
      bool tail_match_triggered = 2;
      Specified by:
      getTailMatchTriggered in interface AdvancedCompleteQueryResponseOrBuilder
      Returns:
      The tailMatchTriggered.
    • setTailMatchTriggered

      public AdvancedCompleteQueryResponse.Builder setTailMatchTriggered(boolean value)
       True if the returned suggestions are all tail suggestions.
      
       For tail matching to be triggered, include_tail_suggestions in the request
       must be true and there must be no suggestions that match the full query.
       
      bool tail_match_triggered = 2;
      Parameters:
      value - The tailMatchTriggered to set.
      Returns:
      This builder for chaining.
    • clearTailMatchTriggered

      public AdvancedCompleteQueryResponse.Builder clearTailMatchTriggered()
       True if the returned suggestions are all tail suggestions.
      
       For tail matching to be triggered, include_tail_suggestions in the request
       must be true and there must be no suggestions that match the full query.
       
      bool tail_match_triggered = 2;
      Returns:
      This builder for chaining.
    • getPeopleSuggestionsList

      public List<AdvancedCompleteQueryResponse.PersonSuggestion> getPeopleSuggestionsList()
       Results of the matched people suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
      Specified by:
      getPeopleSuggestionsList in interface AdvancedCompleteQueryResponseOrBuilder
    • getPeopleSuggestionsCount

      public int getPeopleSuggestionsCount()
       Results of the matched people suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
      Specified by:
      getPeopleSuggestionsCount in interface AdvancedCompleteQueryResponseOrBuilder
    • getPeopleSuggestions

      public AdvancedCompleteQueryResponse.PersonSuggestion getPeopleSuggestions(int index)
       Results of the matched people suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
      Specified by:
      getPeopleSuggestions in interface AdvancedCompleteQueryResponseOrBuilder
    • setPeopleSuggestions

       Results of the matched people suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
    • setPeopleSuggestions

      public AdvancedCompleteQueryResponse.Builder setPeopleSuggestions(int index, AdvancedCompleteQueryResponse.PersonSuggestion.Builder builderForValue)
       Results of the matched people suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
    • addPeopleSuggestions

       Results of the matched people suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
    • addPeopleSuggestions

       Results of the matched people suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
    • addPeopleSuggestions

       Results of the matched people suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
    • addPeopleSuggestions

      public AdvancedCompleteQueryResponse.Builder addPeopleSuggestions(int index, AdvancedCompleteQueryResponse.PersonSuggestion.Builder builderForValue)
       Results of the matched people suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
    • addAllPeopleSuggestions

       Results of the matched people suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
    • clearPeopleSuggestions

      public AdvancedCompleteQueryResponse.Builder clearPeopleSuggestions()
       Results of the matched people suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
    • removePeopleSuggestions

      public AdvancedCompleteQueryResponse.Builder removePeopleSuggestions(int index)
       Results of the matched people suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
    • getPeopleSuggestionsBuilder

      public AdvancedCompleteQueryResponse.PersonSuggestion.Builder getPeopleSuggestionsBuilder(int index)
       Results of the matched people suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
    • getPeopleSuggestionsOrBuilder

      public AdvancedCompleteQueryResponse.PersonSuggestionOrBuilder getPeopleSuggestionsOrBuilder(int index)
       Results of the matched people suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
      Specified by:
      getPeopleSuggestionsOrBuilder in interface AdvancedCompleteQueryResponseOrBuilder
    • getPeopleSuggestionsOrBuilderList

      public List<? extends AdvancedCompleteQueryResponse.PersonSuggestionOrBuilder> getPeopleSuggestionsOrBuilderList()
       Results of the matched people suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
      Specified by:
      getPeopleSuggestionsOrBuilderList in interface AdvancedCompleteQueryResponseOrBuilder
    • addPeopleSuggestionsBuilder

      public AdvancedCompleteQueryResponse.PersonSuggestion.Builder addPeopleSuggestionsBuilder()
       Results of the matched people suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
    • addPeopleSuggestionsBuilder

      public AdvancedCompleteQueryResponse.PersonSuggestion.Builder addPeopleSuggestionsBuilder(int index)
       Results of the matched people suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
    • getPeopleSuggestionsBuilderList

      public List<AdvancedCompleteQueryResponse.PersonSuggestion.Builder> getPeopleSuggestionsBuilderList()
       Results of the matched people suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
    • getContentSuggestionsList

      public List<AdvancedCompleteQueryResponse.ContentSuggestion> getContentSuggestionsList()
       Results of the matched content suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
      Specified by:
      getContentSuggestionsList in interface AdvancedCompleteQueryResponseOrBuilder
    • getContentSuggestionsCount

      public int getContentSuggestionsCount()
       Results of the matched content suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
      Specified by:
      getContentSuggestionsCount in interface AdvancedCompleteQueryResponseOrBuilder
    • getContentSuggestions

      public AdvancedCompleteQueryResponse.ContentSuggestion getContentSuggestions(int index)
       Results of the matched content suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
      Specified by:
      getContentSuggestions in interface AdvancedCompleteQueryResponseOrBuilder
    • setContentSuggestions

       Results of the matched content suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
    • setContentSuggestions

      public AdvancedCompleteQueryResponse.Builder setContentSuggestions(int index, AdvancedCompleteQueryResponse.ContentSuggestion.Builder builderForValue)
       Results of the matched content suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
    • addContentSuggestions

       Results of the matched content suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
    • addContentSuggestions

       Results of the matched content suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
    • addContentSuggestions

       Results of the matched content suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
    • addContentSuggestions

      public AdvancedCompleteQueryResponse.Builder addContentSuggestions(int index, AdvancedCompleteQueryResponse.ContentSuggestion.Builder builderForValue)
       Results of the matched content suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
    • addAllContentSuggestions

       Results of the matched content suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
    • clearContentSuggestions

      public AdvancedCompleteQueryResponse.Builder clearContentSuggestions()
       Results of the matched content suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
    • removeContentSuggestions

      public AdvancedCompleteQueryResponse.Builder removeContentSuggestions(int index)
       Results of the matched content suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
    • getContentSuggestionsBuilder

      public AdvancedCompleteQueryResponse.ContentSuggestion.Builder getContentSuggestionsBuilder(int index)
       Results of the matched content suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
    • getContentSuggestionsOrBuilder

      public AdvancedCompleteQueryResponse.ContentSuggestionOrBuilder getContentSuggestionsOrBuilder(int index)
       Results of the matched content suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
      Specified by:
      getContentSuggestionsOrBuilder in interface AdvancedCompleteQueryResponseOrBuilder
    • getContentSuggestionsOrBuilderList

      public List<? extends AdvancedCompleteQueryResponse.ContentSuggestionOrBuilder> getContentSuggestionsOrBuilderList()
       Results of the matched content suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
      Specified by:
      getContentSuggestionsOrBuilderList in interface AdvancedCompleteQueryResponseOrBuilder
    • addContentSuggestionsBuilder

      public AdvancedCompleteQueryResponse.ContentSuggestion.Builder addContentSuggestionsBuilder()
       Results of the matched content suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
    • addContentSuggestionsBuilder

      public AdvancedCompleteQueryResponse.ContentSuggestion.Builder addContentSuggestionsBuilder(int index)
       Results of the matched content suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
    • getContentSuggestionsBuilderList

      public List<AdvancedCompleteQueryResponse.ContentSuggestion.Builder> getContentSuggestionsBuilderList()
       Results of the matched content suggestions. The result list is ordered and
       the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
    • getRecentSearchSuggestionsList

      public List<AdvancedCompleteQueryResponse.RecentSearchSuggestion> getRecentSearchSuggestionsList()
       Results of the matched "recent search" suggestions. The result list is
       ordered and the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
      Specified by:
      getRecentSearchSuggestionsList in interface AdvancedCompleteQueryResponseOrBuilder
    • getRecentSearchSuggestionsCount

      public int getRecentSearchSuggestionsCount()
       Results of the matched "recent search" suggestions. The result list is
       ordered and the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
      Specified by:
      getRecentSearchSuggestionsCount in interface AdvancedCompleteQueryResponseOrBuilder
    • getRecentSearchSuggestions

      public AdvancedCompleteQueryResponse.RecentSearchSuggestion getRecentSearchSuggestions(int index)
       Results of the matched "recent search" suggestions. The result list is
       ordered and the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
      Specified by:
      getRecentSearchSuggestions in interface AdvancedCompleteQueryResponseOrBuilder
    • setRecentSearchSuggestions

       Results of the matched "recent search" suggestions. The result list is
       ordered and the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
    • setRecentSearchSuggestions

      public AdvancedCompleteQueryResponse.Builder setRecentSearchSuggestions(int index, AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder builderForValue)
       Results of the matched "recent search" suggestions. The result list is
       ordered and the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
    • addRecentSearchSuggestions

       Results of the matched "recent search" suggestions. The result list is
       ordered and the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
    • addRecentSearchSuggestions

       Results of the matched "recent search" suggestions. The result list is
       ordered and the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
    • addRecentSearchSuggestions

       Results of the matched "recent search" suggestions. The result list is
       ordered and the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
    • addRecentSearchSuggestions

      public AdvancedCompleteQueryResponse.Builder addRecentSearchSuggestions(int index, AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder builderForValue)
       Results of the matched "recent search" suggestions. The result list is
       ordered and the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
    • addAllRecentSearchSuggestions

       Results of the matched "recent search" suggestions. The result list is
       ordered and the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
    • clearRecentSearchSuggestions

      public AdvancedCompleteQueryResponse.Builder clearRecentSearchSuggestions()
       Results of the matched "recent search" suggestions. The result list is
       ordered and the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
    • removeRecentSearchSuggestions

      public AdvancedCompleteQueryResponse.Builder removeRecentSearchSuggestions(int index)
       Results of the matched "recent search" suggestions. The result list is
       ordered and the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
    • getRecentSearchSuggestionsBuilder

      public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder getRecentSearchSuggestionsBuilder(int index)
       Results of the matched "recent search" suggestions. The result list is
       ordered and the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
    • getRecentSearchSuggestionsOrBuilder

      public AdvancedCompleteQueryResponse.RecentSearchSuggestionOrBuilder getRecentSearchSuggestionsOrBuilder(int index)
       Results of the matched "recent search" suggestions. The result list is
       ordered and the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
      Specified by:
      getRecentSearchSuggestionsOrBuilder in interface AdvancedCompleteQueryResponseOrBuilder
    • getRecentSearchSuggestionsOrBuilderList

      public List<? extends AdvancedCompleteQueryResponse.RecentSearchSuggestionOrBuilder> getRecentSearchSuggestionsOrBuilderList()
       Results of the matched "recent search" suggestions. The result list is
       ordered and the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
      Specified by:
      getRecentSearchSuggestionsOrBuilderList in interface AdvancedCompleteQueryResponseOrBuilder
    • addRecentSearchSuggestionsBuilder

      public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder addRecentSearchSuggestionsBuilder()
       Results of the matched "recent search" suggestions. The result list is
       ordered and the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
    • addRecentSearchSuggestionsBuilder

      public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder addRecentSearchSuggestionsBuilder(int index)
       Results of the matched "recent search" suggestions. The result list is
       ordered and the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
    • getRecentSearchSuggestionsBuilderList

      public List<AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder> getRecentSearchSuggestionsBuilderList()
       Results of the matched "recent search" suggestions. The result list is
       ordered and the first result is the top suggestion.
       
      repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;