Interface CompleteQueryResponse.QuerySuggestionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CompleteQueryResponse.QuerySuggestion,CompleteQueryResponse.QuerySuggestion.Builder
- Enclosing class:
- CompleteQueryResponse
public static interface CompleteQueryResponse.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.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.
-