public static interface CompleteQueryResponse.CompletionResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAttributes(String key)
Custom attributes for the suggestion term.
|
Map<String,CustomAttribute> |
getAttributes()
Deprecated.
|
int |
getAttributesCount()
Custom attributes for the suggestion term.
|
Map<String,CustomAttribute> |
getAttributesMap()
Custom attributes for the suggestion term.
|
CustomAttribute |
getAttributesOrDefault(String key,
CustomAttribute defaultValue)
Custom attributes for the suggestion term.
|
CustomAttribute |
getAttributesOrThrow(String key)
Custom attributes for the suggestion term.
|
SearchResponse.Facet |
getFacets(int index)
Facet information for the suggestion term.
|
int |
getFacetsCount()
Facet information for the suggestion term.
|
List<SearchResponse.Facet> |
getFacetsList()
Facet information for the suggestion term.
|
SearchResponse.FacetOrBuilder |
getFacetsOrBuilder(int index)
Facet information for the suggestion term.
|
List<? extends SearchResponse.FacetOrBuilder> |
getFacetsOrBuilderList()
Facet information for the suggestion term.
|
String |
getSuggestion()
The suggestion for the query.
|
com.google.protobuf.ByteString |
getSuggestionBytes()
The suggestion for the query.
|
int |
getTotalProductCount()
Total number of products associated with a search with this suggestion.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getSuggestion()
The suggestion for the query.
string suggestion = 1;com.google.protobuf.ByteString getSuggestionBytes()
The suggestion for the query.
string suggestion = 1;int getAttributesCount()
Custom attributes for the suggestion term. * For "user-data", the attributes are additional custom attributes ingested through BigQuery. * For "cloud-retail", the attributes are product attributes generated by Cloud Retail. It requires [UserEvent.product_details][google.cloud.retail.v2alpha.UserEvent.product_details] is imported properly.
map<string, .google.cloud.retail.v2alpha.CustomAttribute> attributes = 2;boolean containsAttributes(String key)
Custom attributes for the suggestion term. * For "user-data", the attributes are additional custom attributes ingested through BigQuery. * For "cloud-retail", the attributes are product attributes generated by Cloud Retail. It requires [UserEvent.product_details][google.cloud.retail.v2alpha.UserEvent.product_details] is imported properly.
map<string, .google.cloud.retail.v2alpha.CustomAttribute> attributes = 2;@Deprecated Map<String,CustomAttribute> getAttributes()
getAttributesMap() instead.Map<String,CustomAttribute> getAttributesMap()
Custom attributes for the suggestion term. * For "user-data", the attributes are additional custom attributes ingested through BigQuery. * For "cloud-retail", the attributes are product attributes generated by Cloud Retail. It requires [UserEvent.product_details][google.cloud.retail.v2alpha.UserEvent.product_details] is imported properly.
map<string, .google.cloud.retail.v2alpha.CustomAttribute> attributes = 2;CustomAttribute getAttributesOrDefault(String key, CustomAttribute defaultValue)
Custom attributes for the suggestion term. * For "user-data", the attributes are additional custom attributes ingested through BigQuery. * For "cloud-retail", the attributes are product attributes generated by Cloud Retail. It requires [UserEvent.product_details][google.cloud.retail.v2alpha.UserEvent.product_details] is imported properly.
map<string, .google.cloud.retail.v2alpha.CustomAttribute> attributes = 2;CustomAttribute getAttributesOrThrow(String key)
Custom attributes for the suggestion term. * For "user-data", the attributes are additional custom attributes ingested through BigQuery. * For "cloud-retail", the attributes are product attributes generated by Cloud Retail. It requires [UserEvent.product_details][google.cloud.retail.v2alpha.UserEvent.product_details] is imported properly.
map<string, .google.cloud.retail.v2alpha.CustomAttribute> attributes = 2;List<SearchResponse.Facet> getFacetsList()
Facet information for the suggestion term. Gives the number of items resulting from a search with this suggestion term for each facet. This is an experimental feature for limited customers. Please reach out to the support team if you would like to receive this information.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 3;SearchResponse.Facet getFacets(int index)
Facet information for the suggestion term. Gives the number of items resulting from a search with this suggestion term for each facet. This is an experimental feature for limited customers. Please reach out to the support team if you would like to receive this information.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 3;int getFacetsCount()
Facet information for the suggestion term. Gives the number of items resulting from a search with this suggestion term for each facet. This is an experimental feature for limited customers. Please reach out to the support team if you would like to receive this information.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 3;List<? extends SearchResponse.FacetOrBuilder> getFacetsOrBuilderList()
Facet information for the suggestion term. Gives the number of items resulting from a search with this suggestion term for each facet. This is an experimental feature for limited customers. Please reach out to the support team if you would like to receive this information.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 3;SearchResponse.FacetOrBuilder getFacetsOrBuilder(int index)
Facet information for the suggestion term. Gives the number of items resulting from a search with this suggestion term for each facet. This is an experimental feature for limited customers. Please reach out to the support team if you would like to receive this information.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 3;int getTotalProductCount()
Total number of products associated with a search with this suggestion. This is an experimental feature for limited customers. Please reach out to the support team if you would like to receive this information.
int32 total_product_count = 4;Copyright © 2024 Google LLC. All rights reserved.