Package com.google.cloud.retail.v2alpha
Interface CompleteQueryResponse.AttributeResultOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CompleteQueryResponse.AttributeResult,CompleteQueryResponse.AttributeResult.Builder
- Enclosing class:
- CompleteQueryResponse
public static interface CompleteQueryResponse.AttributeResultOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetSuggestions(int index)The list of suggestions for the attribute.com.google.protobuf.ByteStringgetSuggestionsBytes(int index)The list of suggestions for the attribute.intgetSuggestionsCount()The list of suggestions for the attribute.List<String>getSuggestionsList()The list of suggestions for the attribute.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSuggestionsList
List<String> getSuggestionsList()
The list of suggestions for the attribute.
repeated string suggestions = 1;- Returns:
- A list containing the suggestions.
-
getSuggestionsCount
int getSuggestionsCount()
The list of suggestions for the attribute.
repeated string suggestions = 1;- Returns:
- The count of suggestions.
-
getSuggestions
String getSuggestions(int index)
The list of suggestions for the attribute.
repeated string suggestions = 1;- Parameters:
index- The index of the element to return.- Returns:
- The suggestions at the given index.
-
getSuggestionsBytes
com.google.protobuf.ByteString getSuggestionsBytes(int index)
The list of suggestions for the attribute.
repeated string suggestions = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the suggestions at the given index.
-
-