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
Modifier and TypeMethodDescriptiongetSuggestions(int index) The list of suggestions for the attribute.com.google.protobuf.ByteStringgetSuggestionsBytes(int index) The list of suggestions for the attribute.intThe list of suggestions for the attribute.The list of suggestions for the attribute.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
-
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
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.
-