public static interface SearchResponse.FacetOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDynamicFacet()
Whether the facet is dynamically generated.
|
String |
getKey()
The key for this facet.
|
com.google.protobuf.ByteString |
getKeyBytes()
The key for this facet.
|
SearchResponse.Facet.FacetValue |
getValues(int index)
The facet values for this field.
|
int |
getValuesCount()
The facet values for this field.
|
List<SearchResponse.Facet.FacetValue> |
getValuesList()
The facet values for this field.
|
SearchResponse.Facet.FacetValueOrBuilder |
getValuesOrBuilder(int index)
The facet values for this field.
|
List<? extends SearchResponse.Facet.FacetValueOrBuilder> |
getValuesOrBuilderList()
The facet values for this field.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getKey()
The key for this facet. E.g., "colorFamilies" or "price" or "attributes.attr1".
string key = 1;com.google.protobuf.ByteString getKeyBytes()
The key for this facet. E.g., "colorFamilies" or "price" or "attributes.attr1".
string key = 1;List<SearchResponse.Facet.FacetValue> getValuesList()
The facet values for this field.
repeated .google.cloud.retail.v2.SearchResponse.Facet.FacetValue values = 2;SearchResponse.Facet.FacetValue getValues(int index)
The facet values for this field.
repeated .google.cloud.retail.v2.SearchResponse.Facet.FacetValue values = 2;int getValuesCount()
The facet values for this field.
repeated .google.cloud.retail.v2.SearchResponse.Facet.FacetValue values = 2;List<? extends SearchResponse.Facet.FacetValueOrBuilder> getValuesOrBuilderList()
The facet values for this field.
repeated .google.cloud.retail.v2.SearchResponse.Facet.FacetValue values = 2;SearchResponse.Facet.FacetValueOrBuilder getValuesOrBuilder(int index)
The facet values for this field.
repeated .google.cloud.retail.v2.SearchResponse.Facet.FacetValue values = 2;boolean getDynamicFacet()
Whether the facet is dynamically generated.
bool dynamic_facet = 3;Copyright © 2023 Google LLC. All rights reserved.