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 TypeMethodDescriptiongetCompletableFieldPaths(int index) The unique document field paths that serve as the source of this suggestion if it was generated from completable fields.com.google.protobuf.ByteStringgetCompletableFieldPathsBytes(int index) The unique document field paths that serve as the source of this suggestion if it was generated from completable fields.intThe 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.ByteStringgetDataStoreBytes(int index) The name of the dataStore that this suggestion belongs to.intThe 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.ByteStringThe suggestion for the query.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
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
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
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
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.
-