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.
|
String |
getSuggestion()
The suggestion for the query.
|
com.google.protobuf.ByteString |
getSuggestionBytes()
The suggestion for the query.
|
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.v2beta.UserEvent.product_details] is imported properly.
map<string, .google.cloud.retail.v2beta.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.v2beta.UserEvent.product_details] is imported properly.
map<string, .google.cloud.retail.v2beta.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.v2beta.UserEvent.product_details] is imported properly.
map<string, .google.cloud.retail.v2beta.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.v2beta.UserEvent.product_details] is imported properly.
map<string, .google.cloud.retail.v2beta.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.v2beta.UserEvent.product_details] is imported properly.
map<string, .google.cloud.retail.v2beta.CustomAttribute> attributes = 2;Copyright © 2024 Google LLC. All rights reserved.