Interface AdvancedCompleteQueryResponse.QuerySuggestionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AdvancedCompleteQueryResponse.QuerySuggestion, AdvancedCompleteQueryResponse.QuerySuggestion.Builder
Enclosing class:
AdvancedCompleteQueryResponse

public static interface AdvancedCompleteQueryResponse.QuerySuggestionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The unique document field paths that serve as the source of this suggestion if it was generated from completable fields.
    com.google.protobuf.ByteString
    The unique document field paths that serve as the source of this suggestion if it was generated from completable fields.
    int
    The unique document field paths that serve as the source of this suggestion if it was generated from completable fields.
    The unique document field paths that serve as the source of this suggestion if it was generated from completable fields.
    getDataStore(int index)
    The name of the dataStore that this suggestion belongs to.
    com.google.protobuf.ByteString
    getDataStoreBytes(int index)
    The name of the dataStore that this suggestion belongs to.
    int
    The name of the dataStore that this suggestion belongs to.
    The name of the dataStore that this suggestion belongs to.
    The suggestion for the query.
    com.google.protobuf.ByteString
    The suggestion for the query.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getSuggestion

      String getSuggestion()
       The suggestion for the query.
       
      string suggestion = 1;
      Returns:
      The suggestion.
    • getSuggestionBytes

      com.google.protobuf.ByteString getSuggestionBytes()
       The suggestion for the query.
       
      string suggestion = 1;
      Returns:
      The bytes for suggestion.
    • getCompletableFieldPathsList

      List<String> getCompletableFieldPathsList()
       The unique document field paths that serve as the source of this
       suggestion if it was generated from completable fields.
      
       This field is only populated for the document-completable model.
       
      repeated string completable_field_paths = 2;
      Returns:
      A list containing the completableFieldPaths.
    • getCompletableFieldPathsCount

      int getCompletableFieldPathsCount()
       The unique document field paths that serve as the source of this
       suggestion if it was generated from completable fields.
      
       This field is only populated for the document-completable model.
       
      repeated string completable_field_paths = 2;
      Returns:
      The count of completableFieldPaths.
    • getCompletableFieldPaths

      String getCompletableFieldPaths(int index)
       The unique document field paths that serve as the source of this
       suggestion if it was generated from completable fields.
      
       This field is only populated for the document-completable model.
       
      repeated string completable_field_paths = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The completableFieldPaths at the given index.
    • getCompletableFieldPathsBytes

      com.google.protobuf.ByteString getCompletableFieldPathsBytes(int index)
       The unique document field paths that serve as the source of this
       suggestion if it was generated from completable fields.
      
       This field is only populated for the document-completable model.
       
      repeated string completable_field_paths = 2;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the completableFieldPaths at the given index.
    • getDataStoreList

      List<String> getDataStoreList()
       The name of the dataStore that this suggestion belongs to.
       
      repeated string data_store = 3;
      Returns:
      A list containing the dataStore.
    • getDataStoreCount

      int getDataStoreCount()
       The name of the dataStore that this suggestion belongs to.
       
      repeated string data_store = 3;
      Returns:
      The count of dataStore.
    • getDataStore

      String getDataStore(int index)
       The name of the dataStore that this suggestion belongs to.
       
      repeated string data_store = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The dataStore at the given index.
    • getDataStoreBytes

      com.google.protobuf.ByteString getDataStoreBytes(int index)
       The name of the dataStore that this suggestion belongs to.
       
      repeated string data_store = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the dataStore at the given index.