// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.33.2
// source: google/cloud/retail/v2alpha/search_service.proto

package retailpb

import (
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"

	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	structpb "google.golang.org/protobuf/types/known/structpb"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// The relevance threshold of the search results. The higher relevance
// threshold is, the higher relevant results are shown and the less number of
// results are returned.
type SearchRequest_RelevanceThreshold int32

const (
	// Default value. In this case, server behavior defaults to
	// [RelevanceThreshold.HIGH][google.cloud.retail.v2alpha.SearchRequest.RelevanceThreshold.HIGH].
	SearchRequest_RELEVANCE_THRESHOLD_UNSPECIFIED SearchRequest_RelevanceThreshold = 0
	// High relevance threshold.
	SearchRequest_HIGH SearchRequest_RelevanceThreshold = 1
	// Medium relevance threshold.
	SearchRequest_MEDIUM SearchRequest_RelevanceThreshold = 2
	// Low relevance threshold.
	SearchRequest_LOW SearchRequest_RelevanceThreshold = 3
	// Lowest relevance threshold.
	SearchRequest_LOWEST SearchRequest_RelevanceThreshold = 4
)

// Enum value maps for SearchRequest_RelevanceThreshold.
var (
	SearchRequest_RelevanceThreshold_name = map[int32]string{
		0: "RELEVANCE_THRESHOLD_UNSPECIFIED",
		1: "HIGH",
		2: "MEDIUM",
		3: "LOW",
		4: "LOWEST",
	}
	SearchRequest_RelevanceThreshold_value = map[string]int32{
		"RELEVANCE_THRESHOLD_UNSPECIFIED": 0,
		"HIGH":                            1,
		"MEDIUM":                          2,
		"LOW":                             3,
		"LOWEST":                          4,
	}
)

func (x SearchRequest_RelevanceThreshold) Enum() *SearchRequest_RelevanceThreshold {
	p := new(SearchRequest_RelevanceThreshold)
	*p = x
	return p
}

func (x SearchRequest_RelevanceThreshold) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (SearchRequest_RelevanceThreshold) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[0].Descriptor()
}

func (SearchRequest_RelevanceThreshold) Type() protoreflect.EnumType {
	return &file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[0]
}

func (x SearchRequest_RelevanceThreshold) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use SearchRequest_RelevanceThreshold.Descriptor instead.
func (SearchRequest_RelevanceThreshold) EnumDescriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 0}
}

// The search mode of each search request.
type SearchRequest_SearchMode int32

const (
	// Default value. In this case both product search and faceted search will
	// be performed. Both
	// [SearchResponse.SearchResult][google.cloud.retail.v2alpha.SearchResponse.SearchResult]
	// and
	// [SearchResponse.Facet][google.cloud.retail.v2alpha.SearchResponse.Facet]
	// will be returned.
	SearchRequest_SEARCH_MODE_UNSPECIFIED SearchRequest_SearchMode = 0
	// Only product search will be performed. The faceted search will be
	// disabled.
	//
	// Only
	// [SearchResponse.SearchResult][google.cloud.retail.v2alpha.SearchResponse.SearchResult]
	// will be returned.
	// [SearchResponse.Facet][google.cloud.retail.v2alpha.SearchResponse.Facet]
	// will not be returned, even if
	// [SearchRequest.facet_specs][google.cloud.retail.v2alpha.SearchRequest.facet_specs]
	// or
	// [SearchRequest.dynamic_facet_spec][google.cloud.retail.v2alpha.SearchRequest.dynamic_facet_spec]
	// is set.
	SearchRequest_PRODUCT_SEARCH_ONLY SearchRequest_SearchMode = 1
	// Only faceted search will be performed. The product search will be
	// disabled.
	//
	// When in this mode, one or both of
	// [SearchRequest.facet_specs][google.cloud.retail.v2alpha.SearchRequest.facet_specs]
	// and
	// [SearchRequest.dynamic_facet_spec][google.cloud.retail.v2alpha.SearchRequest.dynamic_facet_spec]
	// should be set. Otherwise, an INVALID_ARGUMENT error is returned. Only
	// [SearchResponse.Facet][google.cloud.retail.v2alpha.SearchResponse.Facet]
	// will be returned.
	// [SearchResponse.SearchResult][google.cloud.retail.v2alpha.SearchResponse.SearchResult]
	// will not be returned.
	SearchRequest_FACETED_SEARCH_ONLY SearchRequest_SearchMode = 2
)

// Enum value maps for SearchRequest_SearchMode.
var (
	SearchRequest_SearchMode_name = map[int32]string{
		0: "SEARCH_MODE_UNSPECIFIED",
		1: "PRODUCT_SEARCH_ONLY",
		2: "FACETED_SEARCH_ONLY",
	}
	SearchRequest_SearchMode_value = map[string]int32{
		"SEARCH_MODE_UNSPECIFIED": 0,
		"PRODUCT_SEARCH_ONLY":     1,
		"FACETED_SEARCH_ONLY":     2,
	}
)

func (x SearchRequest_SearchMode) Enum() *SearchRequest_SearchMode {
	p := new(SearchRequest_SearchMode)
	*p = x
	return p
}

func (x SearchRequest_SearchMode) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (SearchRequest_SearchMode) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[1].Descriptor()
}

func (SearchRequest_SearchMode) Type() protoreflect.EnumType {
	return &file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[1]
}

func (x SearchRequest_SearchMode) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use SearchRequest_SearchMode.Descriptor instead.
func (SearchRequest_SearchMode) EnumDescriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 1}
}

// Enum to control DynamicFacet mode
type SearchRequest_DynamicFacetSpec_Mode int32

const (
	// Default value.
	SearchRequest_DynamicFacetSpec_MODE_UNSPECIFIED SearchRequest_DynamicFacetSpec_Mode = 0
	// Disable Dynamic Facet.
	SearchRequest_DynamicFacetSpec_DISABLED SearchRequest_DynamicFacetSpec_Mode = 1
	// Automatic mode built by Google Retail Search.
	SearchRequest_DynamicFacetSpec_ENABLED SearchRequest_DynamicFacetSpec_Mode = 2
)

// Enum value maps for SearchRequest_DynamicFacetSpec_Mode.
var (
	SearchRequest_DynamicFacetSpec_Mode_name = map[int32]string{
		0: "MODE_UNSPECIFIED",
		1: "DISABLED",
		2: "ENABLED",
	}
	SearchRequest_DynamicFacetSpec_Mode_value = map[string]int32{
		"MODE_UNSPECIFIED": 0,
		"DISABLED":         1,
		"ENABLED":          2,
	}
)

func (x SearchRequest_DynamicFacetSpec_Mode) Enum() *SearchRequest_DynamicFacetSpec_Mode {
	p := new(SearchRequest_DynamicFacetSpec_Mode)
	*p = x
	return p
}

func (x SearchRequest_DynamicFacetSpec_Mode) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (SearchRequest_DynamicFacetSpec_Mode) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[2].Descriptor()
}

func (SearchRequest_DynamicFacetSpec_Mode) Type() protoreflect.EnumType {
	return &file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[2]
}

func (x SearchRequest_DynamicFacetSpec_Mode) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use SearchRequest_DynamicFacetSpec_Mode.Descriptor instead.
func (SearchRequest_DynamicFacetSpec_Mode) EnumDescriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 1, 0}
}

// Enum describing under which condition query expansion should occur.
type SearchRequest_QueryExpansionSpec_Condition int32

const (
	// Unspecified query expansion condition. In this case, server behavior
	// defaults to
	// [Condition.DISABLED][google.cloud.retail.v2alpha.SearchRequest.QueryExpansionSpec.Condition.DISABLED].
	SearchRequest_QueryExpansionSpec_CONDITION_UNSPECIFIED SearchRequest_QueryExpansionSpec_Condition = 0
	// Disabled query expansion. Only the exact search query is used, even if
	// [SearchResponse.total_size][google.cloud.retail.v2alpha.SearchResponse.total_size]
	// is zero.
	SearchRequest_QueryExpansionSpec_DISABLED SearchRequest_QueryExpansionSpec_Condition = 1
	// Automatic query expansion built by Google Retail Search.
	SearchRequest_QueryExpansionSpec_AUTO SearchRequest_QueryExpansionSpec_Condition = 3
)

// Enum value maps for SearchRequest_QueryExpansionSpec_Condition.
var (
	SearchRequest_QueryExpansionSpec_Condition_name = map[int32]string{
		0: "CONDITION_UNSPECIFIED",
		1: "DISABLED",
		3: "AUTO",
	}
	SearchRequest_QueryExpansionSpec_Condition_value = map[string]int32{
		"CONDITION_UNSPECIFIED": 0,
		"DISABLED":              1,
		"AUTO":                  3,
	}
)

func (x SearchRequest_QueryExpansionSpec_Condition) Enum() *SearchRequest_QueryExpansionSpec_Condition {
	p := new(SearchRequest_QueryExpansionSpec_Condition)
	*p = x
	return p
}

func (x SearchRequest_QueryExpansionSpec_Condition) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (SearchRequest_QueryExpansionSpec_Condition) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[3].Descriptor()
}

func (SearchRequest_QueryExpansionSpec_Condition) Type() protoreflect.EnumType {
	return &file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[3]
}

func (x SearchRequest_QueryExpansionSpec_Condition) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use SearchRequest_QueryExpansionSpec_Condition.Descriptor instead.
func (SearchRequest_QueryExpansionSpec_Condition) EnumDescriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 3, 0}
}

// The personalization mode of each search request.
type SearchRequest_PersonalizationSpec_Mode int32

const (
	// Default value. In this case, server behavior defaults to
	// [Mode.AUTO][google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpec.Mode.AUTO].
	SearchRequest_PersonalizationSpec_MODE_UNSPECIFIED SearchRequest_PersonalizationSpec_Mode = 0
	// Let CRS decide whether to use personalization based on quality of user
	// event data.
	SearchRequest_PersonalizationSpec_AUTO SearchRequest_PersonalizationSpec_Mode = 1
	// Disable personalization.
	SearchRequest_PersonalizationSpec_DISABLED SearchRequest_PersonalizationSpec_Mode = 2
)

// Enum value maps for SearchRequest_PersonalizationSpec_Mode.
var (
	SearchRequest_PersonalizationSpec_Mode_name = map[int32]string{
		0: "MODE_UNSPECIFIED",
		1: "AUTO",
		2: "DISABLED",
	}
	SearchRequest_PersonalizationSpec_Mode_value = map[string]int32{
		"MODE_UNSPECIFIED": 0,
		"AUTO":             1,
		"DISABLED":         2,
	}
)

func (x SearchRequest_PersonalizationSpec_Mode) Enum() *SearchRequest_PersonalizationSpec_Mode {
	p := new(SearchRequest_PersonalizationSpec_Mode)
	*p = x
	return p
}

func (x SearchRequest_PersonalizationSpec_Mode) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (SearchRequest_PersonalizationSpec_Mode) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[4].Descriptor()
}

func (SearchRequest_PersonalizationSpec_Mode) Type() protoreflect.EnumType {
	return &file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[4]
}

func (x SearchRequest_PersonalizationSpec_Mode) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use SearchRequest_PersonalizationSpec_Mode.Descriptor instead.
func (SearchRequest_PersonalizationSpec_Mode) EnumDescriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 4, 0}
}

// Enum describing under which mode spell correction should occur.
type SearchRequest_SpellCorrectionSpec_Mode int32

const (
	// Unspecified spell correction mode. In this case, server behavior
	// defaults to
	// [Mode.AUTO][google.cloud.retail.v2alpha.SearchRequest.SpellCorrectionSpec.Mode.AUTO].
	SearchRequest_SpellCorrectionSpec_MODE_UNSPECIFIED SearchRequest_SpellCorrectionSpec_Mode = 0
	// Google Retail Search will try to find a spell suggestion if there
	// is any and put in the
	// [SearchResponse.corrected_query][google.cloud.retail.v2alpha.SearchResponse.corrected_query].
	// The spell suggestion will not be used as the search query.
	SearchRequest_SpellCorrectionSpec_SUGGESTION_ONLY SearchRequest_SpellCorrectionSpec_Mode = 1
	// Automatic spell correction built by Google Retail Search. Search will
	// be based on the corrected query if found.
	SearchRequest_SpellCorrectionSpec_AUTO SearchRequest_SpellCorrectionSpec_Mode = 2
)

// Enum value maps for SearchRequest_SpellCorrectionSpec_Mode.
var (
	SearchRequest_SpellCorrectionSpec_Mode_name = map[int32]string{
		0: "MODE_UNSPECIFIED",
		1: "SUGGESTION_ONLY",
		2: "AUTO",
	}
	SearchRequest_SpellCorrectionSpec_Mode_value = map[string]int32{
		"MODE_UNSPECIFIED": 0,
		"SUGGESTION_ONLY":  1,
		"AUTO":             2,
	}
)

func (x SearchRequest_SpellCorrectionSpec_Mode) Enum() *SearchRequest_SpellCorrectionSpec_Mode {
	p := new(SearchRequest_SpellCorrectionSpec_Mode)
	*p = x
	return p
}

func (x SearchRequest_SpellCorrectionSpec_Mode) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (SearchRequest_SpellCorrectionSpec_Mode) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[5].Descriptor()
}

func (SearchRequest_SpellCorrectionSpec_Mode) Type() protoreflect.EnumType {
	return &file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[5]
}

func (x SearchRequest_SpellCorrectionSpec_Mode) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use SearchRequest_SpellCorrectionSpec_Mode.Descriptor instead.
func (SearchRequest_SpellCorrectionSpec_Mode) EnumDescriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 5, 0}
}

// Product attribute which structured by an attribute name and value. This
// structure is used in conversational search filters and answers. For example,
// if we have `name=color` and `value=red`, this means that the color is `red`.
type ProductAttributeValue struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The attribute name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The attribute value.
	Value         string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ProductAttributeValue) Reset() {
	*x = ProductAttributeValue{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ProductAttributeValue) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ProductAttributeValue) ProtoMessage() {}

func (x *ProductAttributeValue) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ProductAttributeValue.ProtoReflect.Descriptor instead.
func (*ProductAttributeValue) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{0}
}

func (x *ProductAttributeValue) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *ProductAttributeValue) GetValue() string {
	if x != nil {
		return x.Value
	}
	return ""
}

// Product attribute name and numeric interval.
type ProductAttributeInterval struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The attribute name (e.g. "length")
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The numeric interval (e.g. [10, 20))
	Interval      *Interval `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ProductAttributeInterval) Reset() {
	*x = ProductAttributeInterval{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ProductAttributeInterval) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ProductAttributeInterval) ProtoMessage() {}

func (x *ProductAttributeInterval) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ProductAttributeInterval.ProtoReflect.Descriptor instead.
func (*ProductAttributeInterval) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{1}
}

func (x *ProductAttributeInterval) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *ProductAttributeInterval) GetInterval() *Interval {
	if x != nil {
		return x.Interval
	}
	return nil
}

// This field specifies the tile information including an attribute key,
// attribute value. More fields will be added in the future, eg: product id
// or product counts, etc.
type Tile struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The attribute key and value for the tile.
	//
	// Types that are valid to be assigned to ProductAttribute:
	//
	//	*Tile_ProductAttributeValue
	//	*Tile_ProductAttributeInterval
	ProductAttribute isTile_ProductAttribute `protobuf_oneof:"product_attribute"`
	// The representative product id for this tile.
	RepresentativeProductId string `protobuf:"bytes,3,opt,name=representative_product_id,json=representativeProductId,proto3" json:"representative_product_id,omitempty"`
	unknownFields           protoimpl.UnknownFields
	sizeCache               protoimpl.SizeCache
}

func (x *Tile) Reset() {
	*x = Tile{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Tile) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Tile) ProtoMessage() {}

func (x *Tile) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Tile.ProtoReflect.Descriptor instead.
func (*Tile) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{2}
}

func (x *Tile) GetProductAttribute() isTile_ProductAttribute {
	if x != nil {
		return x.ProductAttribute
	}
	return nil
}

func (x *Tile) GetProductAttributeValue() *ProductAttributeValue {
	if x != nil {
		if x, ok := x.ProductAttribute.(*Tile_ProductAttributeValue); ok {
			return x.ProductAttributeValue
		}
	}
	return nil
}

func (x *Tile) GetProductAttributeInterval() *ProductAttributeInterval {
	if x != nil {
		if x, ok := x.ProductAttribute.(*Tile_ProductAttributeInterval); ok {
			return x.ProductAttributeInterval
		}
	}
	return nil
}

func (x *Tile) GetRepresentativeProductId() string {
	if x != nil {
		return x.RepresentativeProductId
	}
	return ""
}

type isTile_ProductAttribute interface {
	isTile_ProductAttribute()
}

type Tile_ProductAttributeValue struct {
	// The product attribute key-value.
	ProductAttributeValue *ProductAttributeValue `protobuf:"bytes,1,opt,name=product_attribute_value,json=productAttributeValue,proto3,oneof"`
}

type Tile_ProductAttributeInterval struct {
	// The product attribute key-numeric interval.
	ProductAttributeInterval *ProductAttributeInterval `protobuf:"bytes,2,opt,name=product_attribute_interval,json=productAttributeInterval,proto3,oneof"`
}

func (*Tile_ProductAttributeValue) isTile_ProductAttribute() {}

func (*Tile_ProductAttributeInterval) isTile_ProductAttribute() {}

// Request message for
// [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search]
// method.
type SearchRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The resource name of the Retail Search serving config, such as
	// `projects/*/locations/global/catalogs/default_catalog/servingConfigs/default_serving_config`
	// or the name of the legacy placement resource, such as
	// `projects/*/locations/global/catalogs/default_catalog/placements/default_search`.
	// This field is used to identify the serving config name and the set
	// of models that are used to make the search.
	Placement string `protobuf:"bytes,1,opt,name=placement,proto3" json:"placement,omitempty"`
	// The branch resource name, such as
	// `projects/*/locations/global/catalogs/default_catalog/branches/0`.
	//
	// Use "default_branch" as the branch ID or leave this field empty, to search
	// products under the default branch.
	Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
	// Raw search query.
	//
	// If this field is empty, the request is considered a category browsing
	// request and returned results are based on
	// [filter][google.cloud.retail.v2alpha.SearchRequest.filter] and
	// [page_categories][google.cloud.retail.v2alpha.SearchRequest.page_categories].
	Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	// Required. A unique identifier for tracking visitors. For example, this
	// could be implemented with an HTTP cookie, which should be able to uniquely
	// identify a visitor on a single device. This unique identifier should not
	// change if the visitor logs in or out of the website.
	//
	// This should be the same identifier as
	// [UserEvent.visitor_id][google.cloud.retail.v2alpha.UserEvent.visitor_id].
	//
	// The field must be a UTF-8 encoded string with a length limit of 128
	// characters. Otherwise, an INVALID_ARGUMENT error is returned.
	VisitorId string `protobuf:"bytes,4,opt,name=visitor_id,json=visitorId,proto3" json:"visitor_id,omitempty"`
	// User information.
	UserInfo *UserInfo `protobuf:"bytes,5,opt,name=user_info,json=userInfo,proto3" json:"user_info,omitempty"`
	// Maximum number of [Product][google.cloud.retail.v2alpha.Product]s to
	// return. If unspecified, defaults to a reasonable value. The maximum allowed
	// value is 120. Values above 120 will be coerced to 120.
	//
	// If this field is negative, an INVALID_ARGUMENT is returned.
	PageSize int32 `protobuf:"varint,7,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token
	// [SearchResponse.next_page_token][google.cloud.retail.v2alpha.SearchResponse.next_page_token],
	// received from a previous
	// [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search]
	// call. Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to
	// [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search]
	// must match the call that provided the page token. Otherwise, an
	// INVALID_ARGUMENT error is returned.
	PageToken string `protobuf:"bytes,8,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A 0-indexed integer that specifies the current offset (that is, starting
	// result location, amongst the
	// [Product][google.cloud.retail.v2alpha.Product]s deemed by the API as
	// relevant) in search results. This field is only considered if
	// [page_token][google.cloud.retail.v2alpha.SearchRequest.page_token] is
	// unset.
	//
	// If this field is negative, an INVALID_ARGUMENT is returned.
	Offset int32 `protobuf:"varint,9,opt,name=offset,proto3" json:"offset,omitempty"`
	// The filter syntax consists of an expression language for constructing a
	// predicate from one or more fields of the products being filtered. Filter
	// expression is case-sensitive. For more information, see
	// [Filter](https://cloud.google.com/retail/docs/filter-and-order#filter).
	//
	// If this field is unrecognizable, an INVALID_ARGUMENT is returned.
	Filter string `protobuf:"bytes,10,opt,name=filter,proto3" json:"filter,omitempty"`
	// The default filter that is applied when a user performs a search without
	// checking any filters on the search page.
	//
	// The filter applied to every search request when quality improvement such as
	// query expansion is needed. In the case a query does not have a sufficient
	// amount of results this filter will be used to determine whether or not to
	// enable the query expansion flow. The original filter will still be used for
	// the query expanded search.
	// This field is strongly recommended to achieve high search quality.
	//
	// For more information about filter syntax, see
	// [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
	CanonicalFilter string `protobuf:"bytes,28,opt,name=canonical_filter,json=canonicalFilter,proto3" json:"canonical_filter,omitempty"`
	// The order in which products are returned. Products can be ordered by
	// a field in an [Product][google.cloud.retail.v2alpha.Product] object. Leave
	// it unset if ordered by relevance. OrderBy expression is case-sensitive. For
	// more information, see
	// [Order](https://cloud.google.com/retail/docs/filter-and-order#order).
	//
	// If this field is unrecognizable, an INVALID_ARGUMENT is returned.
	OrderBy string `protobuf:"bytes,11,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// Facet specifications for faceted search. If empty, no facets are returned.
	//
	// A maximum of 200 values are allowed. Otherwise, an INVALID_ARGUMENT error
	// is returned.
	FacetSpecs []*SearchRequest_FacetSpec `protobuf:"bytes,12,rep,name=facet_specs,json=facetSpecs,proto3" json:"facet_specs,omitempty"`
	// Deprecated. Refer to https://cloud.google.com/retail/docs/configs#dynamic
	// to enable dynamic facets. Do not set this field.
	//
	// The specification for dynamically generated facets. Notice that only
	// textual facets can be dynamically generated.
	//
	// Deprecated: Marked as deprecated in google/cloud/retail/v2alpha/search_service.proto.
	DynamicFacetSpec *SearchRequest_DynamicFacetSpec `protobuf:"bytes,21,opt,name=dynamic_facet_spec,json=dynamicFacetSpec,proto3" json:"dynamic_facet_spec,omitempty"`
	// Boost specification to boost certain products. For more information, see
	// [Boost results](https://cloud.google.com/retail/docs/boosting).
	//
	// Notice that if both
	// [ServingConfig.boost_control_ids][google.cloud.retail.v2alpha.ServingConfig.boost_control_ids]
	// and
	// [SearchRequest.boost_spec][google.cloud.retail.v2alpha.SearchRequest.boost_spec]
	// are set, the boost conditions from both places are evaluated. If a search
	// request matches multiple boost conditions, the final boost score is equal
	// to the sum of the boost scores from all matched boost conditions.
	BoostSpec *SearchRequest_BoostSpec `protobuf:"bytes,13,opt,name=boost_spec,json=boostSpec,proto3" json:"boost_spec,omitempty"`
	// The query expansion specification that specifies the conditions under which
	// query expansion occurs. For more information, see [Query
	// expansion](https://cloud.google.com/retail/docs/result-size#query_expansion).
	QueryExpansionSpec *SearchRequest_QueryExpansionSpec `protobuf:"bytes,14,opt,name=query_expansion_spec,json=queryExpansionSpec,proto3" json:"query_expansion_spec,omitempty"`
	// The relevance threshold of the search results.
	//
	// Defaults to
	// [RelevanceThreshold.HIGH][google.cloud.retail.v2alpha.SearchRequest.RelevanceThreshold.HIGH],
	// which means only the most relevant results are shown, and the least number
	// of results are returned. For more information, see [Adjust result
	// size](https://cloud.google.com/retail/docs/result-size#relevance_thresholding).
	RelevanceThreshold SearchRequest_RelevanceThreshold `protobuf:"varint,15,opt,name=relevance_threshold,json=relevanceThreshold,proto3,enum=google.cloud.retail.v2alpha.SearchRequest_RelevanceThreshold" json:"relevance_threshold,omitempty"`
	// The keys to fetch and rollup the matching
	// [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
	// [Product][google.cloud.retail.v2alpha.Product]s attributes,
	// [FulfillmentInfo][google.cloud.retail.v2alpha.FulfillmentInfo] or
	// [LocalInventory][google.cloud.retail.v2alpha.LocalInventory]s attributes.
	// The attributes from all the matching
	// [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
	// [Product][google.cloud.retail.v2alpha.Product]s or
	// [LocalInventory][google.cloud.retail.v2alpha.LocalInventory]s are merged
	// and de-duplicated. Notice that rollup attributes will lead to extra query
	// latency. Maximum number of keys is 30.
	//
	// For [FulfillmentInfo][google.cloud.retail.v2alpha.FulfillmentInfo], a
	// fulfillment type and a fulfillment ID must be provided in the format of
	// "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123",
	// "pickupInStore" is fulfillment type and "store123" is the store ID.
	//
	// Supported keys are:
	//
	//   - colorFamilies
	//   - price
	//   - originalPrice
	//   - discount
	//   - variantId
	//   - inventory(place_id,price)
	//   - inventory(place_id,original_price)
	//   - inventory(place_id,attributes.key), where key is any key in the
	//     [Product.local_inventories.attributes][google.cloud.retail.v2alpha.LocalInventory.attributes]
	//     map.
	//   - attributes.key, where key is any key in the
	//     [Product.attributes][google.cloud.retail.v2alpha.Product.attributes] map.
	//   - pickupInStore.id, where id is any
	//
	// [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
	// for
	// [FulfillmentInfo.type][google.cloud.retail.v2alpha.FulfillmentInfo.type]
	//
	//	"pickup-in-store".
	//
	// * shipToStore.id, where id is any
	// [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
	// for
	// [FulfillmentInfo.type][google.cloud.retail.v2alpha.FulfillmentInfo.type]
	//
	//	"ship-to-store".
	//
	// * sameDayDelivery.id, where id is any
	// [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
	// for
	// [FulfillmentInfo.type][google.cloud.retail.v2alpha.FulfillmentInfo.type]
	//
	//	"same-day-delivery".
	//
	// * nextDayDelivery.id, where id is any
	// [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
	// for
	// [FulfillmentInfo.type][google.cloud.retail.v2alpha.FulfillmentInfo.type]
	//
	//	"next-day-delivery".
	//
	// * customFulfillment1.id, where id is any
	// [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
	// for
	// [FulfillmentInfo.type][google.cloud.retail.v2alpha.FulfillmentInfo.type]
	//
	//	"custom-type-1".
	//
	// * customFulfillment2.id, where id is any
	// [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
	// for
	// [FulfillmentInfo.type][google.cloud.retail.v2alpha.FulfillmentInfo.type]
	//
	//	"custom-type-2".
	//
	// * customFulfillment3.id, where id is any
	// [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
	// for
	// [FulfillmentInfo.type][google.cloud.retail.v2alpha.FulfillmentInfo.type]
	//
	//	"custom-type-3".
	//
	// * customFulfillment4.id, where id is any
	// [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
	// for
	// [FulfillmentInfo.type][google.cloud.retail.v2alpha.FulfillmentInfo.type]
	//
	//	"custom-type-4".
	//
	// * customFulfillment5.id, where id is any
	// [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
	// for
	// [FulfillmentInfo.type][google.cloud.retail.v2alpha.FulfillmentInfo.type]
	//
	//	"custom-type-5".
	//
	// If this field is set to an invalid value other than these, an
	// INVALID_ARGUMENT error is returned.
	VariantRollupKeys []string `protobuf:"bytes,17,rep,name=variant_rollup_keys,json=variantRollupKeys,proto3" json:"variant_rollup_keys,omitempty"`
	// Optional. An ID for the experiment group this search belongs to.
	ExperimentId string `protobuf:"bytes,18,opt,name=experiment_id,json=experimentId,proto3" json:"experiment_id,omitempty"`
	// The categories associated with a category page. Must be set for category
	// navigation queries to achieve good search quality. The format should be
	// the same as
	// [UserEvent.page_categories][google.cloud.retail.v2alpha.UserEvent.page_categories];
	//
	// To represent full path of category, use '>' sign to separate different
	// hierarchies. If '>' is part of the category name, replace it with
	// other character(s).
	//
	// Category pages include special pages such as sales or promotions. For
	// instance, a special sale page may have the category hierarchy:
	// "pageCategories" : ["Sales > 2017 Black Friday Deals"].
	PageCategories []string `protobuf:"bytes,23,rep,name=page_categories,json=pageCategories,proto3" json:"page_categories,omitempty"`
	// The search mode of the search request. If not specified, a single search
	// request triggers both product search and faceted search.
	SearchMode SearchRequest_SearchMode `protobuf:"varint,31,opt,name=search_mode,json=searchMode,proto3,enum=google.cloud.retail.v2alpha.SearchRequest_SearchMode" json:"search_mode,omitempty"`
	// The specification for personalization.
	//
	// Notice that if both
	// [ServingConfig.personalization_spec][google.cloud.retail.v2alpha.ServingConfig.personalization_spec]
	// and
	// [SearchRequest.personalization_spec][google.cloud.retail.v2alpha.SearchRequest.personalization_spec]
	// are set.
	// [SearchRequest.personalization_spec][google.cloud.retail.v2alpha.SearchRequest.personalization_spec]
	// will override
	// [ServingConfig.personalization_spec][google.cloud.retail.v2alpha.ServingConfig.personalization_spec].
	PersonalizationSpec *SearchRequest_PersonalizationSpec `protobuf:"bytes,32,opt,name=personalization_spec,json=personalizationSpec,proto3" json:"personalization_spec,omitempty"`
	// The labels applied to a resource must meet the following requirements:
	//
	//   - Each resource can have multiple labels, up to a maximum of 64.
	//   - Each label must be a key-value pair.
	//   - Keys have a minimum length of 1 character and a maximum length of 63
	//     characters and cannot be empty. Values can be empty and have a maximum
	//     length of 63 characters.
	//   - Keys and values can contain only lowercase letters, numeric characters,
	//     underscores, and dashes. All characters must use UTF-8 encoding, and
	//     international characters are allowed.
	//   - The key portion of a label must be unique. However, you can use the same
	//     key with multiple resources.
	//   - Keys must start with a lowercase letter or international character.
	//
	// For more information, see [Requirements for
	// labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements)
	// in the Resource Manager documentation.
	Labels map[string]string `protobuf:"bytes,34,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// The spell correction specification that specifies the mode under
	// which spell correction will take effect.
	SpellCorrectionSpec *SearchRequest_SpellCorrectionSpec `protobuf:"bytes,35,opt,name=spell_correction_spec,json=spellCorrectionSpec,proto3,oneof" json:"spell_correction_spec,omitempty"`
	// The entity for customers that may run multiple different entities, domains,
	// sites or regions, for example, `Google US`, `Google Ads`, `Waymo`,
	// `google.com`, `youtube.com`, etc.
	// If this is set, it should be exactly matched with
	// [UserEvent.entity][google.cloud.retail.v2alpha.UserEvent.entity] to get
	// search results boosted by entity.
	Entity string `protobuf:"bytes,38,opt,name=entity,proto3" json:"entity,omitempty"`
	// Optional. This field specifies all conversational related parameters
	// addition to traditional retail search.
	ConversationalSearchSpec *SearchRequest_ConversationalSearchSpec `protobuf:"bytes,40,opt,name=conversational_search_spec,json=conversationalSearchSpec,proto3" json:"conversational_search_spec,omitempty"`
	// Optional. This field specifies tile navigation related parameters.
	TileNavigationSpec *SearchRequest_TileNavigationSpec `protobuf:"bytes,41,opt,name=tile_navigation_spec,json=tileNavigationSpec,proto3" json:"tile_navigation_spec,omitempty"`
	// Optional. The BCP-47 language code, such as "en-US" or "sr-Latn"
	// [list](https://www.unicode.org/cldr/charts/46/summary/root.html). For more
	// information, see [Standardized codes](https://google.aip.dev/143). This
	// field helps to better interpret the query. If a value isn't specified, the
	// query language code is automatically detected, which may not be accurate.
	LanguageCode string `protobuf:"bytes,43,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// Optional. The Unicode country/region code (CLDR) of a location, such as
	// "US" and "419"
	// [list](https://www.unicode.org/cldr/charts/46/supplemental/territory_information.html).
	// For more information, see [Standardized codes](https://google.aip.dev/143).
	// If set, then results will be boosted based on the region_code provided.
	RegionCode string `protobuf:"bytes,44,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
	// Optional. An id corresponding to a place, such as a store id or region id.
	// When specified, we use the price from the local inventory with the matching
	// product's
	// [LocalInventory.place_id][google.cloud.retail.v2alpha.LocalInventory.place_id]
	// for revenue optimization.
	PlaceId string `protobuf:"bytes,46,opt,name=place_id,json=placeId,proto3" json:"place_id,omitempty"`
	// Optional. The user attributes that could be used for personalization of
	// search results.
	// * Populate at most 100 key-value pairs per query.
	// * Only supports string keys and repeated string values.
	// * Duplicate keys are not allowed within a single query.
	//
	// Example:
	//
	//	user_attributes: [
	//	 { key: "pets"
	//	   value {
	//	     values: "dog"
	//	     values: "cat"
	//	   }
	//	 },
	//	 { key: "state"
	//	   value {
	//	     values: "CA"
	//	   }
	//	 }
	//	]
	UserAttributes map[string]*StringList `protobuf:"bytes,47,rep,name=user_attributes,json=userAttributes,proto3" json:"user_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *SearchRequest) Reset() {
	*x = SearchRequest{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchRequest) ProtoMessage() {}

func (x *SearchRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.
func (*SearchRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3}
}

func (x *SearchRequest) GetPlacement() string {
	if x != nil {
		return x.Placement
	}
	return ""
}

func (x *SearchRequest) GetBranch() string {
	if x != nil {
		return x.Branch
	}
	return ""
}

func (x *SearchRequest) GetQuery() string {
	if x != nil {
		return x.Query
	}
	return ""
}

func (x *SearchRequest) GetVisitorId() string {
	if x != nil {
		return x.VisitorId
	}
	return ""
}

func (x *SearchRequest) GetUserInfo() *UserInfo {
	if x != nil {
		return x.UserInfo
	}
	return nil
}

func (x *SearchRequest) GetPageSize() int32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *SearchRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

func (x *SearchRequest) GetOffset() int32 {
	if x != nil {
		return x.Offset
	}
	return 0
}

func (x *SearchRequest) GetFilter() string {
	if x != nil {
		return x.Filter
	}
	return ""
}

func (x *SearchRequest) GetCanonicalFilter() string {
	if x != nil {
		return x.CanonicalFilter
	}
	return ""
}

func (x *SearchRequest) GetOrderBy() string {
	if x != nil {
		return x.OrderBy
	}
	return ""
}

func (x *SearchRequest) GetFacetSpecs() []*SearchRequest_FacetSpec {
	if x != nil {
		return x.FacetSpecs
	}
	return nil
}

// Deprecated: Marked as deprecated in google/cloud/retail/v2alpha/search_service.proto.
func (x *SearchRequest) GetDynamicFacetSpec() *SearchRequest_DynamicFacetSpec {
	if x != nil {
		return x.DynamicFacetSpec
	}
	return nil
}

func (x *SearchRequest) GetBoostSpec() *SearchRequest_BoostSpec {
	if x != nil {
		return x.BoostSpec
	}
	return nil
}

func (x *SearchRequest) GetQueryExpansionSpec() *SearchRequest_QueryExpansionSpec {
	if x != nil {
		return x.QueryExpansionSpec
	}
	return nil
}

func (x *SearchRequest) GetRelevanceThreshold() SearchRequest_RelevanceThreshold {
	if x != nil {
		return x.RelevanceThreshold
	}
	return SearchRequest_RELEVANCE_THRESHOLD_UNSPECIFIED
}

func (x *SearchRequest) GetVariantRollupKeys() []string {
	if x != nil {
		return x.VariantRollupKeys
	}
	return nil
}

func (x *SearchRequest) GetExperimentId() string {
	if x != nil {
		return x.ExperimentId
	}
	return ""
}

func (x *SearchRequest) GetPageCategories() []string {
	if x != nil {
		return x.PageCategories
	}
	return nil
}

func (x *SearchRequest) GetSearchMode() SearchRequest_SearchMode {
	if x != nil {
		return x.SearchMode
	}
	return SearchRequest_SEARCH_MODE_UNSPECIFIED
}

func (x *SearchRequest) GetPersonalizationSpec() *SearchRequest_PersonalizationSpec {
	if x != nil {
		return x.PersonalizationSpec
	}
	return nil
}

func (x *SearchRequest) GetLabels() map[string]string {
	if x != nil {
		return x.Labels
	}
	return nil
}

func (x *SearchRequest) GetSpellCorrectionSpec() *SearchRequest_SpellCorrectionSpec {
	if x != nil {
		return x.SpellCorrectionSpec
	}
	return nil
}

func (x *SearchRequest) GetEntity() string {
	if x != nil {
		return x.Entity
	}
	return ""
}

func (x *SearchRequest) GetConversationalSearchSpec() *SearchRequest_ConversationalSearchSpec {
	if x != nil {
		return x.ConversationalSearchSpec
	}
	return nil
}

func (x *SearchRequest) GetTileNavigationSpec() *SearchRequest_TileNavigationSpec {
	if x != nil {
		return x.TileNavigationSpec
	}
	return nil
}

func (x *SearchRequest) GetLanguageCode() string {
	if x != nil {
		return x.LanguageCode
	}
	return ""
}

func (x *SearchRequest) GetRegionCode() string {
	if x != nil {
		return x.RegionCode
	}
	return ""
}

func (x *SearchRequest) GetPlaceId() string {
	if x != nil {
		return x.PlaceId
	}
	return ""
}

func (x *SearchRequest) GetUserAttributes() map[string]*StringList {
	if x != nil {
		return x.UserAttributes
	}
	return nil
}

// Response message for
// [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search]
// method.
type SearchResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// A list of matched items. The order represents the ranking.
	Results []*SearchResponse_SearchResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// Results of facets requested by user.
	Facets []*SearchResponse_Facet `protobuf:"bytes,2,rep,name=facets,proto3" json:"facets,omitempty"`
	// The estimated total count of matched items irrespective of pagination. The
	// count of [results][google.cloud.retail.v2alpha.SearchResponse.results]
	// returned by pagination may be less than the
	// [total_size][google.cloud.retail.v2alpha.SearchResponse.total_size] that
	// matches.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// Contains the spell corrected query, if found. If the spell correction type
	// is AUTOMATIC, then the search results are based on corrected_query.
	// Otherwise the original query is used for search.
	CorrectedQuery string `protobuf:"bytes,4,opt,name=corrected_query,json=correctedQuery,proto3" json:"corrected_query,omitempty"`
	// A unique search token. This should be included in the
	// [UserEvent][google.cloud.retail.v2alpha.UserEvent] logs resulting from this
	// search, which enables accurate attribution of search model performance.
	AttributionToken string `protobuf:"bytes,5,opt,name=attribution_token,json=attributionToken,proto3" json:"attribution_token,omitempty"`
	// A token that can be sent as
	// [SearchRequest.page_token][google.cloud.retail.v2alpha.SearchRequest.page_token]
	// to retrieve the next page. If this field is omitted, there are no
	// subsequent pages.
	NextPageToken string `protobuf:"bytes,6,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Query expansion information for the returned results.
	QueryExpansionInfo *SearchResponse_QueryExpansionInfo `protobuf:"bytes,7,opt,name=query_expansion_info,json=queryExpansionInfo,proto3" json:"query_expansion_info,omitempty"`
	// The URI of a customer-defined redirect page. If redirect action is
	// triggered, no search is performed, and only
	// [redirect_uri][google.cloud.retail.v2alpha.SearchResponse.redirect_uri] and
	// [attribution_token][google.cloud.retail.v2alpha.SearchResponse.attribution_token]
	// are set in the response.
	RedirectUri string `protobuf:"bytes,10,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
	// The fully qualified resource name of applied
	// [controls](https://cloud.google.com/retail/docs/serving-control-rules).
	AppliedControls []string `protobuf:"bytes,12,rep,name=applied_controls,json=appliedControls,proto3" json:"applied_controls,omitempty"`
	// Metadata for pin controls which were applicable to the request.
	// This contains two map fields, one for all matched pins and one for pins
	// which were matched but not applied.
	//
	// The two maps are keyed by pin position, and the values are the product ids
	// which were matched to that pin.
	PinControlMetadata *PinControlMetadata `protobuf:"bytes,22,opt,name=pin_control_metadata,json=pinControlMetadata,proto3" json:"pin_control_metadata,omitempty"`
	// The invalid
	// [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs]
	// that are not applied during serving.
	InvalidConditionBoostSpecs []*SearchRequest_BoostSpec_ConditionBoostSpec `protobuf:"bytes,14,rep,name=invalid_condition_boost_specs,json=invalidConditionBoostSpecs,proto3" json:"invalid_condition_boost_specs,omitempty"`
	// Metadata related to A/B testing experiment associated with this
	// response. Only exists when an experiment is triggered.
	ExperimentInfo []*ExperimentInfo `protobuf:"bytes,17,rep,name=experiment_info,json=experimentInfo,proto3" json:"experiment_info,omitempty"`
	// This field specifies all related information that is needed on client
	// side for UI rendering of conversational retail search.
	ConversationalSearchResult *SearchResponse_ConversationalSearchResult `protobuf:"bytes,18,opt,name=conversational_search_result,json=conversationalSearchResult,proto3" json:"conversational_search_result,omitempty"`
	// This field specifies all related information for tile navigation that will
	// be used in client side.
	TileNavigationResult *SearchResponse_TileNavigationResult `protobuf:"bytes,19,opt,name=tile_navigation_result,json=tileNavigationResult,proto3" json:"tile_navigation_result,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

func (x *SearchResponse) Reset() {
	*x = SearchResponse{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchResponse) ProtoMessage() {}

func (x *SearchResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.
func (*SearchResponse) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{4}
}

func (x *SearchResponse) GetResults() []*SearchResponse_SearchResult {
	if x != nil {
		return x.Results
	}
	return nil
}

func (x *SearchResponse) GetFacets() []*SearchResponse_Facet {
	if x != nil {
		return x.Facets
	}
	return nil
}

func (x *SearchResponse) GetTotalSize() int32 {
	if x != nil {
		return x.TotalSize
	}
	return 0
}

func (x *SearchResponse) GetCorrectedQuery() string {
	if x != nil {
		return x.CorrectedQuery
	}
	return ""
}

func (x *SearchResponse) GetAttributionToken() string {
	if x != nil {
		return x.AttributionToken
	}
	return ""
}

func (x *SearchResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

func (x *SearchResponse) GetQueryExpansionInfo() *SearchResponse_QueryExpansionInfo {
	if x != nil {
		return x.QueryExpansionInfo
	}
	return nil
}

func (x *SearchResponse) GetRedirectUri() string {
	if x != nil {
		return x.RedirectUri
	}
	return ""
}

func (x *SearchResponse) GetAppliedControls() []string {
	if x != nil {
		return x.AppliedControls
	}
	return nil
}

func (x *SearchResponse) GetPinControlMetadata() *PinControlMetadata {
	if x != nil {
		return x.PinControlMetadata
	}
	return nil
}

func (x *SearchResponse) GetInvalidConditionBoostSpecs() []*SearchRequest_BoostSpec_ConditionBoostSpec {
	if x != nil {
		return x.InvalidConditionBoostSpecs
	}
	return nil
}

func (x *SearchResponse) GetExperimentInfo() []*ExperimentInfo {
	if x != nil {
		return x.ExperimentInfo
	}
	return nil
}

func (x *SearchResponse) GetConversationalSearchResult() *SearchResponse_ConversationalSearchResult {
	if x != nil {
		return x.ConversationalSearchResult
	}
	return nil
}

func (x *SearchResponse) GetTileNavigationResult() *SearchResponse_TileNavigationResult {
	if x != nil {
		return x.TileNavigationResult
	}
	return nil
}

// Metadata for active A/B testing experiment.
type ExperimentInfo struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Information associated with the specific experiment entity being recorded.
	//
	// Types that are valid to be assigned to ExperimentMetadata:
	//
	//	*ExperimentInfo_ServingConfigExperiment_
	ExperimentMetadata isExperimentInfo_ExperimentMetadata `protobuf_oneof:"experiment_metadata"`
	// The fully qualified resource name of the experiment that provides the
	// serving config under test, should an active experiment exist. For example:
	// `projects/*/locations/global/catalogs/default_catalog/experiments/experiment_id`
	Experiment    string `protobuf:"bytes,1,opt,name=experiment,proto3" json:"experiment,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ExperimentInfo) Reset() {
	*x = ExperimentInfo{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ExperimentInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ExperimentInfo) ProtoMessage() {}

func (x *ExperimentInfo) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[5]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ExperimentInfo.ProtoReflect.Descriptor instead.
func (*ExperimentInfo) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{5}
}

func (x *ExperimentInfo) GetExperimentMetadata() isExperimentInfo_ExperimentMetadata {
	if x != nil {
		return x.ExperimentMetadata
	}
	return nil
}

func (x *ExperimentInfo) GetServingConfigExperiment() *ExperimentInfo_ServingConfigExperiment {
	if x != nil {
		if x, ok := x.ExperimentMetadata.(*ExperimentInfo_ServingConfigExperiment_); ok {
			return x.ServingConfigExperiment
		}
	}
	return nil
}

func (x *ExperimentInfo) GetExperiment() string {
	if x != nil {
		return x.Experiment
	}
	return ""
}

type isExperimentInfo_ExperimentMetadata interface {
	isExperimentInfo_ExperimentMetadata()
}

type ExperimentInfo_ServingConfigExperiment_ struct {
	// A/B test between existing Cloud Retail Search
	// [ServingConfig][google.cloud.retail.v2alpha.ServingConfig]s.
	ServingConfigExperiment *ExperimentInfo_ServingConfigExperiment `protobuf:"bytes,2,opt,name=serving_config_experiment,json=servingConfigExperiment,proto3,oneof"`
}

func (*ExperimentInfo_ServingConfigExperiment_) isExperimentInfo_ExperimentMetadata() {}

// A facet specification to perform faceted search.
type SearchRequest_FacetSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The facet key specification.
	FacetKey *SearchRequest_FacetSpec_FacetKey `protobuf:"bytes,1,opt,name=facet_key,json=facetKey,proto3" json:"facet_key,omitempty"`
	// Maximum of facet values that should be returned for this facet. If
	// unspecified, defaults to 50. The maximum allowed value is 300. Values
	// above 300 will be coerced to 300.
	//
	// If this field is negative, an INVALID_ARGUMENT is returned.
	Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// List of keys to exclude when faceting.
	//
	// By default,
	// [FacetKey.key][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.key]
	// is not excluded from the filter unless it is listed in this field.
	//
	// Listing a facet key in this field allows its values to appear as facet
	// results, even when they are filtered out of search results. Using this
	// field does not affect what search results are returned.
	//
	// For example, suppose there are 100 products with the color facet "Red"
	// and 200 products with the color facet "Blue". A query containing the
	// filter "colorFamilies:ANY("Red")" and having "colorFamilies" as
	// [FacetKey.key][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.key]
	// would by default return only "Red" products in the search results, and
	// also return "Red" with count 100 as the only color facet. Although there
	// are also blue products available, "Blue" would not be shown as an
	// available facet value.
	//
	// If "colorFamilies" is listed in "excludedFilterKeys", then the query
	// returns the facet values "Red" with count 100 and "Blue" with count
	// 200, because the "colorFamilies" key is now excluded from the filter.
	// Because this field doesn't affect search results, the search results
	// are still correctly filtered to return only "Red" products.
	//
	// A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error
	// is returned.
	ExcludedFilterKeys []string `protobuf:"bytes,3,rep,name=excluded_filter_keys,json=excludedFilterKeys,proto3" json:"excluded_filter_keys,omitempty"`
	// Enables dynamic position for this facet. If set to true, the position of
	// this facet among all facets in the response is determined by Google
	// Retail Search. It is ordered together with dynamic facets if dynamic
	// facets is enabled. If set to false, the position of this facet in the
	// response is the same as in the request, and it is ranked before
	// the facets with dynamic position enable and all dynamic facets.
	//
	// For example, you may always want to have rating facet returned in
	// the response, but it's not necessarily to always display the rating facet
	// at the top. In that case, you can set enable_dynamic_position to true so
	// that the position of rating facet in response is determined by
	// Google Retail Search.
	//
	// Another example, assuming you have the following facets in the request:
	//
	// * "rating", enable_dynamic_position = true
	//
	// * "price", enable_dynamic_position = false
	//
	// * "brands", enable_dynamic_position = false
	//
	// And also you have a dynamic facets enable, which generates a facet
	// "gender". Then, the final order of the facets in the response can be
	// ("price", "brands", "rating", "gender") or ("price", "brands", "gender",
	// "rating") depends on how Google Retail Search orders "gender" and
	// "rating" facets. However, notice that "price" and "brands" are always
	// ranked at first and second position because their enable_dynamic_position
	// values are false.
	EnableDynamicPosition bool `protobuf:"varint,4,opt,name=enable_dynamic_position,json=enableDynamicPosition,proto3" json:"enable_dynamic_position,omitempty"`
	unknownFields         protoimpl.UnknownFields
	sizeCache             protoimpl.SizeCache
}

func (x *SearchRequest_FacetSpec) Reset() {
	*x = SearchRequest_FacetSpec{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchRequest_FacetSpec) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchRequest_FacetSpec) ProtoMessage() {}

func (x *SearchRequest_FacetSpec) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[6]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchRequest_FacetSpec.ProtoReflect.Descriptor instead.
func (*SearchRequest_FacetSpec) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 0}
}

func (x *SearchRequest_FacetSpec) GetFacetKey() *SearchRequest_FacetSpec_FacetKey {
	if x != nil {
		return x.FacetKey
	}
	return nil
}

func (x *SearchRequest_FacetSpec) GetLimit() int32 {
	if x != nil {
		return x.Limit
	}
	return 0
}

func (x *SearchRequest_FacetSpec) GetExcludedFilterKeys() []string {
	if x != nil {
		return x.ExcludedFilterKeys
	}
	return nil
}

func (x *SearchRequest_FacetSpec) GetEnableDynamicPosition() bool {
	if x != nil {
		return x.EnableDynamicPosition
	}
	return false
}

// The specifications of dynamically generated facets.
type SearchRequest_DynamicFacetSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Mode of the DynamicFacet feature.
	// Defaults to
	// [Mode.DISABLED][google.cloud.retail.v2alpha.SearchRequest.DynamicFacetSpec.Mode.DISABLED]
	// if it's unset.
	Mode          SearchRequest_DynamicFacetSpec_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=google.cloud.retail.v2alpha.SearchRequest_DynamicFacetSpec_Mode" json:"mode,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SearchRequest_DynamicFacetSpec) Reset() {
	*x = SearchRequest_DynamicFacetSpec{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchRequest_DynamicFacetSpec) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchRequest_DynamicFacetSpec) ProtoMessage() {}

func (x *SearchRequest_DynamicFacetSpec) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[7]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchRequest_DynamicFacetSpec.ProtoReflect.Descriptor instead.
func (*SearchRequest_DynamicFacetSpec) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 1}
}

func (x *SearchRequest_DynamicFacetSpec) GetMode() SearchRequest_DynamicFacetSpec_Mode {
	if x != nil {
		return x.Mode
	}
	return SearchRequest_DynamicFacetSpec_MODE_UNSPECIFIED
}

// Boost specification to boost certain items.
type SearchRequest_BoostSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Condition boost specifications. If a product matches multiple conditions
	// in the specifications, boost scores from these specifications are all
	// applied and combined in a non-linear way. Maximum number of
	// specifications is 20.
	ConditionBoostSpecs []*SearchRequest_BoostSpec_ConditionBoostSpec `protobuf:"bytes,1,rep,name=condition_boost_specs,json=conditionBoostSpecs,proto3" json:"condition_boost_specs,omitempty"`
	// Whether to skip boostspec validation. If this field is set to true,
	// invalid
	// [BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs]
	// will be ignored and valid
	// [BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs]
	// will still be applied.
	SkipBoostSpecValidation *bool `protobuf:"varint,2,opt,name=skip_boost_spec_validation,json=skipBoostSpecValidation,proto3,oneof" json:"skip_boost_spec_validation,omitempty"`
	unknownFields           protoimpl.UnknownFields
	sizeCache               protoimpl.SizeCache
}

func (x *SearchRequest_BoostSpec) Reset() {
	*x = SearchRequest_BoostSpec{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchRequest_BoostSpec) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchRequest_BoostSpec) ProtoMessage() {}

func (x *SearchRequest_BoostSpec) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[8]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchRequest_BoostSpec.ProtoReflect.Descriptor instead.
func (*SearchRequest_BoostSpec) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 2}
}

func (x *SearchRequest_BoostSpec) GetConditionBoostSpecs() []*SearchRequest_BoostSpec_ConditionBoostSpec {
	if x != nil {
		return x.ConditionBoostSpecs
	}
	return nil
}

func (x *SearchRequest_BoostSpec) GetSkipBoostSpecValidation() bool {
	if x != nil && x.SkipBoostSpecValidation != nil {
		return *x.SkipBoostSpecValidation
	}
	return false
}

// Specification to determine under which conditions query expansion should
// occur.
type SearchRequest_QueryExpansionSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The condition under which query expansion should occur. Default to
	// [Condition.DISABLED][google.cloud.retail.v2alpha.SearchRequest.QueryExpansionSpec.Condition.DISABLED].
	Condition SearchRequest_QueryExpansionSpec_Condition `protobuf:"varint,1,opt,name=condition,proto3,enum=google.cloud.retail.v2alpha.SearchRequest_QueryExpansionSpec_Condition" json:"condition,omitempty"`
	// Whether to pin unexpanded results. The default value is false. If this
	// field is set to true, unexpanded products are always at the top of the
	// search results, followed by the expanded results.
	PinUnexpandedResults bool `protobuf:"varint,2,opt,name=pin_unexpanded_results,json=pinUnexpandedResults,proto3" json:"pin_unexpanded_results,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

func (x *SearchRequest_QueryExpansionSpec) Reset() {
	*x = SearchRequest_QueryExpansionSpec{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchRequest_QueryExpansionSpec) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchRequest_QueryExpansionSpec) ProtoMessage() {}

func (x *SearchRequest_QueryExpansionSpec) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[9]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchRequest_QueryExpansionSpec.ProtoReflect.Descriptor instead.
func (*SearchRequest_QueryExpansionSpec) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 3}
}

func (x *SearchRequest_QueryExpansionSpec) GetCondition() SearchRequest_QueryExpansionSpec_Condition {
	if x != nil {
		return x.Condition
	}
	return SearchRequest_QueryExpansionSpec_CONDITION_UNSPECIFIED
}

func (x *SearchRequest_QueryExpansionSpec) GetPinUnexpandedResults() bool {
	if x != nil {
		return x.PinUnexpandedResults
	}
	return false
}

// The specification for personalization.
type SearchRequest_PersonalizationSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Defaults to
	// [Mode.AUTO][google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpec.Mode.AUTO].
	Mode          SearchRequest_PersonalizationSpec_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=google.cloud.retail.v2alpha.SearchRequest_PersonalizationSpec_Mode" json:"mode,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SearchRequest_PersonalizationSpec) Reset() {
	*x = SearchRequest_PersonalizationSpec{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchRequest_PersonalizationSpec) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchRequest_PersonalizationSpec) ProtoMessage() {}

func (x *SearchRequest_PersonalizationSpec) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[10]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchRequest_PersonalizationSpec.ProtoReflect.Descriptor instead.
func (*SearchRequest_PersonalizationSpec) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 4}
}

func (x *SearchRequest_PersonalizationSpec) GetMode() SearchRequest_PersonalizationSpec_Mode {
	if x != nil {
		return x.Mode
	}
	return SearchRequest_PersonalizationSpec_MODE_UNSPECIFIED
}

// The specification for query spell correction.
type SearchRequest_SpellCorrectionSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The mode under which spell correction should take effect to
	// replace the original search query. Default to
	// [Mode.AUTO][google.cloud.retail.v2alpha.SearchRequest.SpellCorrectionSpec.Mode.AUTO].
	Mode          SearchRequest_SpellCorrectionSpec_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=google.cloud.retail.v2alpha.SearchRequest_SpellCorrectionSpec_Mode" json:"mode,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SearchRequest_SpellCorrectionSpec) Reset() {
	*x = SearchRequest_SpellCorrectionSpec{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[11]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchRequest_SpellCorrectionSpec) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchRequest_SpellCorrectionSpec) ProtoMessage() {}

func (x *SearchRequest_SpellCorrectionSpec) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[11]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchRequest_SpellCorrectionSpec.ProtoReflect.Descriptor instead.
func (*SearchRequest_SpellCorrectionSpec) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 5}
}

func (x *SearchRequest_SpellCorrectionSpec) GetMode() SearchRequest_SpellCorrectionSpec_Mode {
	if x != nil {
		return x.Mode
	}
	return SearchRequest_SpellCorrectionSpec_MODE_UNSPECIFIED
}

// This field specifies all conversational related parameters addition to
// traditional retail search.
type SearchRequest_ConversationalSearchSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// This field specifies whether the customer would like to do conversational
	// search. If this field is set to true, conversational related extra
	// information will be returned from server side, including follow-up
	// question, answer options, etc.
	FollowupConversationRequested bool `protobuf:"varint,1,opt,name=followup_conversation_requested,json=followupConversationRequested,proto3" json:"followup_conversation_requested,omitempty"`
	// This field specifies the conversation id, which maintains the state of
	// the conversation between client side and server side. Use the value from
	// the previous [ConversationalSearchResult.conversation_id][]. For the
	// initial request, this should be empty.
	ConversationId string `protobuf:"bytes,2,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
	// This field specifies the current user answer during the conversational
	// search. This can be either user selected from suggested answers or user
	// input plain text.
	UserAnswer    *SearchRequest_ConversationalSearchSpec_UserAnswer `protobuf:"bytes,3,opt,name=user_answer,json=userAnswer,proto3" json:"user_answer,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SearchRequest_ConversationalSearchSpec) Reset() {
	*x = SearchRequest_ConversationalSearchSpec{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[12]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchRequest_ConversationalSearchSpec) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchRequest_ConversationalSearchSpec) ProtoMessage() {}

func (x *SearchRequest_ConversationalSearchSpec) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[12]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchRequest_ConversationalSearchSpec.ProtoReflect.Descriptor instead.
func (*SearchRequest_ConversationalSearchSpec) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 6}
}

func (x *SearchRequest_ConversationalSearchSpec) GetFollowupConversationRequested() bool {
	if x != nil {
		return x.FollowupConversationRequested
	}
	return false
}

func (x *SearchRequest_ConversationalSearchSpec) GetConversationId() string {
	if x != nil {
		return x.ConversationId
	}
	return ""
}

func (x *SearchRequest_ConversationalSearchSpec) GetUserAnswer() *SearchRequest_ConversationalSearchSpec_UserAnswer {
	if x != nil {
		return x.UserAnswer
	}
	return nil
}

// This field specifies tile navigation related parameters.
type SearchRequest_TileNavigationSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// This field specifies whether the customer would like to request tile
	// navigation.
	TileNavigationRequested bool `protobuf:"varint,1,opt,name=tile_navigation_requested,json=tileNavigationRequested,proto3" json:"tile_navigation_requested,omitempty"`
	// This optional field specifies the tiles which are already clicked in
	// client side. While the feature works without this field set, particularly
	// for an initial query, it is highly recommended to set this field because
	// it can improve the quality of the search response and removes possible
	// duplicate tiles.
	//
	// NOTE: This field is not being used for filtering search
	// products. Client side should also put all the applied tiles in
	// [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
	AppliedTiles  []*Tile `protobuf:"bytes,2,rep,name=applied_tiles,json=appliedTiles,proto3" json:"applied_tiles,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SearchRequest_TileNavigationSpec) Reset() {
	*x = SearchRequest_TileNavigationSpec{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[13]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchRequest_TileNavigationSpec) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchRequest_TileNavigationSpec) ProtoMessage() {}

func (x *SearchRequest_TileNavigationSpec) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[13]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchRequest_TileNavigationSpec.ProtoReflect.Descriptor instead.
func (*SearchRequest_TileNavigationSpec) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 7}
}

func (x *SearchRequest_TileNavigationSpec) GetTileNavigationRequested() bool {
	if x != nil {
		return x.TileNavigationRequested
	}
	return false
}

func (x *SearchRequest_TileNavigationSpec) GetAppliedTiles() []*Tile {
	if x != nil {
		return x.AppliedTiles
	}
	return nil
}

// Specifies how a facet is computed.
type SearchRequest_FacetSpec_FacetKey struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Supported textual and numerical facet keys in
	// [Product][google.cloud.retail.v2alpha.Product] object, over which the
	// facet values are computed. Facet key is case-sensitive.
	//
	// Allowed facet keys when
	// [FacetKey.query][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.query]
	// is not specified:
	//
	// * textual_field =
	//   - "brands"
	//   - "categories"
	//   - "genders"
	//   - "ageGroups"
	//   - "availability"
	//   - "colorFamilies"
	//   - "colors"
	//   - "sizes"
	//   - "materials"
	//   - "patterns"
	//   - "conditions"
	//   - "attributes.key"
	//   - "pickupInStore"
	//   - "shipToStore"
	//   - "sameDayDelivery"
	//   - "nextDayDelivery"
	//   - "customFulfillment1"
	//   - "customFulfillment2"
	//   - "customFulfillment3"
	//   - "customFulfillment4"
	//   - "customFulfillment5"
	//   - "inventory(place_id,attributes.key)"
	//
	// * numerical_field =
	//   - "price"
	//   - "discount"
	//   - "rating"
	//   - "ratingCount"
	//   - "attributes.key"
	//   - "inventory(place_id,price)"
	//   - "inventory(place_id,original_price)"
	//   - "inventory(place_id,attributes.key)"
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Set only if values should be bucketized into intervals. Must be set
	// for facets with numerical values. Must not be set for facet with text
	// values. Maximum number of intervals is 40.
	//
	// For all numerical facet keys that appear in the list of products from
	// the catalog, the percentiles 0, 10, 30, 50, 70, 90, and 100 are
	// computed from their distribution weekly. If the model assigns a high
	// score to a numerical facet key and its intervals are not specified in
	// the search request, these percentiles become the bounds
	// for its intervals and are returned in the response. If the
	// facet key intervals are specified in the request, then the specified
	// intervals are returned instead.
	Intervals []*Interval `protobuf:"bytes,2,rep,name=intervals,proto3" json:"intervals,omitempty"`
	// Only get facet for the given restricted values. For example, when using
	// "pickupInStore" as key and set restricted values to
	// ["store123", "store456"], only facets for "store123" and "store456" are
	// returned. Only supported on predefined textual fields, custom textual
	// attributes and fulfillments. Maximum is 20.
	//
	// Must be set for the fulfillment facet keys:
	//
	// * pickupInStore
	//
	// * shipToStore
	//
	// * sameDayDelivery
	//
	// * nextDayDelivery
	//
	// * customFulfillment1
	//
	// * customFulfillment2
	//
	// * customFulfillment3
	//
	// * customFulfillment4
	//
	// * customFulfillment5
	RestrictedValues []string `protobuf:"bytes,3,rep,name=restricted_values,json=restrictedValues,proto3" json:"restricted_values,omitempty"`
	// Only get facet values that start with the given string prefix. For
	// example, suppose "categories" has three values "Women > Shoe",
	// "Women > Dress" and "Men > Shoe". If set "prefixes" to "Women", the
	// "categories" facet gives only "Women > Shoe" and "Women > Dress".
	// Only supported on textual fields. Maximum is 10.
	Prefixes []string `protobuf:"bytes,8,rep,name=prefixes,proto3" json:"prefixes,omitempty"`
	// Only get facet values that contains the given strings. For example,
	// suppose "categories" has three values "Women > Shoe",
	// "Women > Dress" and "Men > Shoe". If set "contains" to "Shoe", the
	// "categories" facet gives only "Women > Shoe" and "Men > Shoe".
	// Only supported on textual fields. Maximum is 10.
	Contains []string `protobuf:"bytes,9,rep,name=contains,proto3" json:"contains,omitempty"`
	// True to make facet keys case insensitive when getting faceting
	// values with prefixes or contains; false otherwise.
	CaseInsensitive bool `protobuf:"varint,10,opt,name=case_insensitive,json=caseInsensitive,proto3" json:"case_insensitive,omitempty"`
	// The order in which
	// [SearchResponse.Facet.values][google.cloud.retail.v2alpha.SearchResponse.Facet.values]
	// are returned.
	//
	// Allowed values are:
	//
	// * "count desc", which means order by
	// [SearchResponse.Facet.values.count][google.cloud.retail.v2alpha.SearchResponse.Facet.FacetValue.count]
	// descending.
	//
	// * "value desc", which means order by
	// [SearchResponse.Facet.values.value][google.cloud.retail.v2alpha.SearchResponse.Facet.FacetValue.value]
	// descending.
	//
	//	Only applies to textual facets.
	//
	// If not set, textual values are sorted in [natural
	// order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical
	// intervals are sorted in the order given by
	// [FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.intervals];
	// [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
	// are sorted in the order given by
	// [FacetSpec.FacetKey.restricted_values][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.restricted_values].
	OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// The query that is used to compute facet for the given facet key.
	// When provided, it overrides the default behavior of facet
	// computation. The query syntax is the same as a filter expression. See
	// [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter]
	// for detail syntax and limitations. Notice that there is no limitation
	// on
	// [FacetKey.key][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.key]
	// when query is specified.
	//
	// In the response,
	// [SearchResponse.Facet.values.value][google.cloud.retail.v2alpha.SearchResponse.Facet.FacetValue.value]
	// is always "1" and
	// [SearchResponse.Facet.values.count][google.cloud.retail.v2alpha.SearchResponse.Facet.FacetValue.count]
	// is the number of results that match the query.
	//
	// For example, you can set a customized facet for "shipToStore",
	// where
	// [FacetKey.key][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.key]
	// is "customizedShipToStore", and
	// [FacetKey.query][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.query]
	// is "availability: ANY(\"IN_STOCK\") AND shipToStore: ANY(\"123\")".
	// Then the facet counts the products that are both in stock and ship
	// to store "123".
	Query string `protobuf:"bytes,5,opt,name=query,proto3" json:"query,omitempty"`
	// Returns the min and max value for each numerical facet intervals.
	// Ignored for textual facets.
	ReturnMinMax  bool `protobuf:"varint,11,opt,name=return_min_max,json=returnMinMax,proto3" json:"return_min_max,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SearchRequest_FacetSpec_FacetKey) Reset() {
	*x = SearchRequest_FacetSpec_FacetKey{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[16]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchRequest_FacetSpec_FacetKey) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchRequest_FacetSpec_FacetKey) ProtoMessage() {}

func (x *SearchRequest_FacetSpec_FacetKey) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[16]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchRequest_FacetSpec_FacetKey.ProtoReflect.Descriptor instead.
func (*SearchRequest_FacetSpec_FacetKey) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 0, 0}
}

func (x *SearchRequest_FacetSpec_FacetKey) GetKey() string {
	if x != nil {
		return x.Key
	}
	return ""
}

func (x *SearchRequest_FacetSpec_FacetKey) GetIntervals() []*Interval {
	if x != nil {
		return x.Intervals
	}
	return nil
}

func (x *SearchRequest_FacetSpec_FacetKey) GetRestrictedValues() []string {
	if x != nil {
		return x.RestrictedValues
	}
	return nil
}

func (x *SearchRequest_FacetSpec_FacetKey) GetPrefixes() []string {
	if x != nil {
		return x.Prefixes
	}
	return nil
}

func (x *SearchRequest_FacetSpec_FacetKey) GetContains() []string {
	if x != nil {
		return x.Contains
	}
	return nil
}

func (x *SearchRequest_FacetSpec_FacetKey) GetCaseInsensitive() bool {
	if x != nil {
		return x.CaseInsensitive
	}
	return false
}

func (x *SearchRequest_FacetSpec_FacetKey) GetOrderBy() string {
	if x != nil {
		return x.OrderBy
	}
	return ""
}

func (x *SearchRequest_FacetSpec_FacetKey) GetQuery() string {
	if x != nil {
		return x.Query
	}
	return ""
}

func (x *SearchRequest_FacetSpec_FacetKey) GetReturnMinMax() bool {
	if x != nil {
		return x.ReturnMinMax
	}
	return false
}

// Boost applies to products which match a condition.
type SearchRequest_BoostSpec_ConditionBoostSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// An expression which specifies a boost condition. The syntax and
	// supported fields are the same as a filter expression. See
	// [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter]
	// for detail syntax and limitations.
	//
	// Examples:
	//
	// * To boost products with product ID "product_1" or "product_2", and
	// color
	//
	//	"Red" or "Blue":
	//	  * (id: ANY("product_1", "product_2")) AND (colorFamilies:
	//	  ANY("Red","Blue"))
	Condition string `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"`
	// Strength of the condition boost, which should be in [-1, 1]. Negative
	// boost means demotion. Default is 0.0.
	//
	// Setting to 1.0 gives the item a big promotion. However, it does not
	// necessarily mean that the boosted item will be the top result at all
	// times, nor that other items will be excluded. Results could still be
	// shown even when none of them matches the condition. And results that
	// are significantly more relevant to the search query can still trump
	// your heavily favored but irrelevant items.
	//
	// Setting to -1.0 gives the item a big demotion. However, results that
	// are deeply relevant might still be shown. The item will have an
	// upstream battle to get a fairly high ranking, but it is not blocked out
	// completely.
	//
	// Setting to 0.0 means no boost applied. The boosting condition is
	// ignored.
	Boost         float32 `protobuf:"fixed32,2,opt,name=boost,proto3" json:"boost,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SearchRequest_BoostSpec_ConditionBoostSpec) Reset() {
	*x = SearchRequest_BoostSpec_ConditionBoostSpec{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[17]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchRequest_BoostSpec_ConditionBoostSpec) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchRequest_BoostSpec_ConditionBoostSpec) ProtoMessage() {}

func (x *SearchRequest_BoostSpec_ConditionBoostSpec) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[17]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchRequest_BoostSpec_ConditionBoostSpec.ProtoReflect.Descriptor instead.
func (*SearchRequest_BoostSpec_ConditionBoostSpec) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 2, 0}
}

func (x *SearchRequest_BoostSpec_ConditionBoostSpec) GetCondition() string {
	if x != nil {
		return x.Condition
	}
	return ""
}

func (x *SearchRequest_BoostSpec_ConditionBoostSpec) GetBoost() float32 {
	if x != nil {
		return x.Boost
	}
	return 0
}

// This field specifies the current user answer during the conversational
// search. This can be either user selected from suggested answers or user
// input plain text.
type SearchRequest_ConversationalSearchSpec_UserAnswer struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// This field specifies the type of user answer.
	//
	// Types that are valid to be assigned to Type:
	//
	//	*SearchRequest_ConversationalSearchSpec_UserAnswer_TextAnswer
	//	*SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer_
	Type          isSearchRequest_ConversationalSearchSpec_UserAnswer_Type `protobuf_oneof:"type"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SearchRequest_ConversationalSearchSpec_UserAnswer) Reset() {
	*x = SearchRequest_ConversationalSearchSpec_UserAnswer{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[18]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchRequest_ConversationalSearchSpec_UserAnswer) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchRequest_ConversationalSearchSpec_UserAnswer) ProtoMessage() {}

func (x *SearchRequest_ConversationalSearchSpec_UserAnswer) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[18]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchRequest_ConversationalSearchSpec_UserAnswer.ProtoReflect.Descriptor instead.
func (*SearchRequest_ConversationalSearchSpec_UserAnswer) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 6, 0}
}

func (x *SearchRequest_ConversationalSearchSpec_UserAnswer) GetType() isSearchRequest_ConversationalSearchSpec_UserAnswer_Type {
	if x != nil {
		return x.Type
	}
	return nil
}

func (x *SearchRequest_ConversationalSearchSpec_UserAnswer) GetTextAnswer() string {
	if x != nil {
		if x, ok := x.Type.(*SearchRequest_ConversationalSearchSpec_UserAnswer_TextAnswer); ok {
			return x.TextAnswer
		}
	}
	return ""
}

func (x *SearchRequest_ConversationalSearchSpec_UserAnswer) GetSelectedAnswer() *SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer {
	if x != nil {
		if x, ok := x.Type.(*SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer_); ok {
			return x.SelectedAnswer
		}
	}
	return nil
}

type isSearchRequest_ConversationalSearchSpec_UserAnswer_Type interface {
	isSearchRequest_ConversationalSearchSpec_UserAnswer_Type()
}

type SearchRequest_ConversationalSearchSpec_UserAnswer_TextAnswer struct {
	// This field specifies the incremental input text from the user during
	// the conversational search.
	TextAnswer string `protobuf:"bytes,1,opt,name=text_answer,json=textAnswer,proto3,oneof"`
}

type SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer_ struct {
	// This field specifies the selected attributes during the
	// conversational search. This should be a subset of
	// [ConversationalSearchResult.suggested_answers][].
	SelectedAnswer *SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer `protobuf:"bytes,2,opt,name=selected_answer,json=selectedAnswer,proto3,oneof"`
}

func (*SearchRequest_ConversationalSearchSpec_UserAnswer_TextAnswer) isSearchRequest_ConversationalSearchSpec_UserAnswer_Type() {
}

func (*SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer_) isSearchRequest_ConversationalSearchSpec_UserAnswer_Type() {
}

// This field specifies the selected answers during the conversational
// search.
type SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// This field is deprecated and should not be set.
	//
	// Deprecated: Marked as deprecated in google/cloud/retail/v2alpha/search_service.proto.
	ProductAttributeValues []*ProductAttributeValue `protobuf:"bytes,1,rep,name=product_attribute_values,json=productAttributeValues,proto3" json:"product_attribute_values,omitempty"`
	// This field specifies the selected answer which is a attribute
	// key-value.
	ProductAttributeValue *ProductAttributeValue `protobuf:"bytes,2,opt,name=product_attribute_value,json=productAttributeValue,proto3" json:"product_attribute_value,omitempty"`
	unknownFields         protoimpl.UnknownFields
	sizeCache             protoimpl.SizeCache
}

func (x *SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer) Reset() {
	*x = SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[19]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer) ProtoMessage() {}

func (x *SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[19]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer.ProtoReflect.Descriptor instead.
func (*SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 6, 0, 0}
}

// Deprecated: Marked as deprecated in google/cloud/retail/v2alpha/search_service.proto.
func (x *SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer) GetProductAttributeValues() []*ProductAttributeValue {
	if x != nil {
		return x.ProductAttributeValues
	}
	return nil
}

func (x *SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer) GetProductAttributeValue() *ProductAttributeValue {
	if x != nil {
		return x.ProductAttributeValue
	}
	return nil
}

// Represents the search results.
type SearchResponse_SearchResult struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// [Product.id][google.cloud.retail.v2alpha.Product.id] of the searched
	// [Product][google.cloud.retail.v2alpha.Product].
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The product data snippet in the search response. Only
	// [Product.name][google.cloud.retail.v2alpha.Product.name] is guaranteed to
	// be populated.
	//
	// [Product.variants][google.cloud.retail.v2alpha.Product.variants] contains
	// the product variants that match the search query. If there are multiple
	// product variants matching the query, top 5 most relevant product variants
	// are returned and ordered by relevancy.
	//
	// If relevancy can be deternmined, use
	// [matching_variant_fields][google.cloud.retail.v2alpha.SearchResponse.SearchResult.matching_variant_fields]
	// to look up matched product variants fields. If relevancy cannot be
	// determined, e.g. when searching "shoe" all products in a shoe product can
	// be a match, 5 product variants are returned but order is meaningless.
	Product *Product `protobuf:"bytes,2,opt,name=product,proto3" json:"product,omitempty"`
	// The count of matched
	// [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
	// [Product][google.cloud.retail.v2alpha.Product]s.
	MatchingVariantCount int32 `protobuf:"varint,3,opt,name=matching_variant_count,json=matchingVariantCount,proto3" json:"matching_variant_count,omitempty"`
	// If a [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
	// [Product][google.cloud.retail.v2alpha.Product] matches the search query,
	// this map indicates which [Product][google.cloud.retail.v2alpha.Product]
	// fields are matched. The key is the
	// [Product.name][google.cloud.retail.v2alpha.Product.name], the value is a
	// field mask of the matched [Product][google.cloud.retail.v2alpha.Product]
	// fields. If matched attributes cannot be determined, this map will be
	// empty.
	//
	// For example, a key "sku1" with field mask
	// "products.color_info" indicates there is a match between
	// "sku1" [ColorInfo][google.cloud.retail.v2alpha.ColorInfo] and the query.
	MatchingVariantFields map[string]*fieldmaskpb.FieldMask `protobuf:"bytes,4,rep,name=matching_variant_fields,json=matchingVariantFields,proto3" json:"matching_variant_fields,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// The rollup matching
	// [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
	// [Product][google.cloud.retail.v2alpha.Product] attributes. The key is one
	// of the
	// [SearchRequest.variant_rollup_keys][google.cloud.retail.v2alpha.SearchRequest.variant_rollup_keys].
	// The values are the merged and de-duplicated
	// [Product][google.cloud.retail.v2alpha.Product] attributes. Notice that
	// the rollup values are respect filter. For example, when filtering by
	// "colorFamilies:ANY(\"red\")" and rollup "colorFamilies", only "red" is
	// returned.
	//
	// For textual and numerical attributes, the rollup values is a list of
	// string or double values with type
	// [google.protobuf.ListValue][google.protobuf.ListValue]. For example, if
	// there are two variants with colors "red" and "blue", the rollup values
	// are
	//
	//	{ key: "colorFamilies"
	//	  value {
	//	    list_value {
	//	      values { string_value: "red" }
	//	      values { string_value: "blue" }
	//	     }
	//	  }
	//	}
	//
	// For [FulfillmentInfo][google.cloud.retail.v2alpha.FulfillmentInfo], the
	// rollup values is a double value with type
	// [google.protobuf.Value][google.protobuf.Value]. For example,
	// `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there
	// are 10 variants in this product are available in the store "store1".
	VariantRollupValues map[string]*structpb.Value `protobuf:"bytes,5,rep,name=variant_rollup_values,json=variantRollupValues,proto3" json:"variant_rollup_values,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// Specifies previous events related to this product for this user based on
	// [UserEvent][google.cloud.retail.v2alpha.UserEvent] with same
	// [SearchRequest.visitor_id][google.cloud.retail.v2alpha.SearchRequest.visitor_id]
	// or [UserInfo.user_id][google.cloud.retail.v2alpha.UserInfo.user_id].
	//
	// This is set only when
	// [SearchRequest.PersonalizationSpec.mode][google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpec.mode]
	// is
	// [SearchRequest.PersonalizationSpec.Mode.AUTO][google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpec.Mode.AUTO].
	//
	// Possible values:
	//
	// * `purchased`: Indicates that this product has been purchased before.
	PersonalLabels []string `protobuf:"bytes,7,rep,name=personal_labels,json=personalLabels,proto3" json:"personal_labels,omitempty"`
	// Google provided available scores.
	ModelScores   map[string]*DoubleList `protobuf:"bytes,8,rep,name=model_scores,json=modelScores,proto3" json:"model_scores,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SearchResponse_SearchResult) Reset() {
	*x = SearchResponse_SearchResult{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[20]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchResponse_SearchResult) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchResponse_SearchResult) ProtoMessage() {}

func (x *SearchResponse_SearchResult) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[20]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchResponse_SearchResult.ProtoReflect.Descriptor instead.
func (*SearchResponse_SearchResult) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{4, 0}
}

func (x *SearchResponse_SearchResult) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *SearchResponse_SearchResult) GetProduct() *Product {
	if x != nil {
		return x.Product
	}
	return nil
}

func (x *SearchResponse_SearchResult) GetMatchingVariantCount() int32 {
	if x != nil {
		return x.MatchingVariantCount
	}
	return 0
}

func (x *SearchResponse_SearchResult) GetMatchingVariantFields() map[string]*fieldmaskpb.FieldMask {
	if x != nil {
		return x.MatchingVariantFields
	}
	return nil
}

func (x *SearchResponse_SearchResult) GetVariantRollupValues() map[string]*structpb.Value {
	if x != nil {
		return x.VariantRollupValues
	}
	return nil
}

func (x *SearchResponse_SearchResult) GetPersonalLabels() []string {
	if x != nil {
		return x.PersonalLabels
	}
	return nil
}

func (x *SearchResponse_SearchResult) GetModelScores() map[string]*DoubleList {
	if x != nil {
		return x.ModelScores
	}
	return nil
}

// A facet result.
type SearchResponse_Facet struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The key for this facet. E.g., "colorFamilies" or "price" or
	// "attributes.attr1".
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The facet values for this field.
	Values []*SearchResponse_Facet_FacetValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// Whether the facet is dynamically generated.
	DynamicFacet  bool `protobuf:"varint,3,opt,name=dynamic_facet,json=dynamicFacet,proto3" json:"dynamic_facet,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SearchResponse_Facet) Reset() {
	*x = SearchResponse_Facet{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[21]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchResponse_Facet) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchResponse_Facet) ProtoMessage() {}

func (x *SearchResponse_Facet) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[21]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchResponse_Facet.ProtoReflect.Descriptor instead.
func (*SearchResponse_Facet) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{4, 1}
}

func (x *SearchResponse_Facet) GetKey() string {
	if x != nil {
		return x.Key
	}
	return ""
}

func (x *SearchResponse_Facet) GetValues() []*SearchResponse_Facet_FacetValue {
	if x != nil {
		return x.Values
	}
	return nil
}

func (x *SearchResponse_Facet) GetDynamicFacet() bool {
	if x != nil {
		return x.DynamicFacet
	}
	return false
}

// Information describing query expansion including whether expansion has
// occurred.
type SearchResponse_QueryExpansionInfo struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Bool describing whether query expansion has occurred.
	ExpandedQuery bool `protobuf:"varint,1,opt,name=expanded_query,json=expandedQuery,proto3" json:"expanded_query,omitempty"`
	// Number of pinned results. This field will only be set when expansion
	// happens and
	// [SearchRequest.QueryExpansionSpec.pin_unexpanded_results][google.cloud.retail.v2alpha.SearchRequest.QueryExpansionSpec.pin_unexpanded_results]
	// is set to true.
	PinnedResultCount int64 `protobuf:"varint,2,opt,name=pinned_result_count,json=pinnedResultCount,proto3" json:"pinned_result_count,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *SearchResponse_QueryExpansionInfo) Reset() {
	*x = SearchResponse_QueryExpansionInfo{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[22]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchResponse_QueryExpansionInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchResponse_QueryExpansionInfo) ProtoMessage() {}

func (x *SearchResponse_QueryExpansionInfo) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[22]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchResponse_QueryExpansionInfo.ProtoReflect.Descriptor instead.
func (*SearchResponse_QueryExpansionInfo) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{4, 2}
}

func (x *SearchResponse_QueryExpansionInfo) GetExpandedQuery() bool {
	if x != nil {
		return x.ExpandedQuery
	}
	return false
}

func (x *SearchResponse_QueryExpansionInfo) GetPinnedResultCount() int64 {
	if x != nil {
		return x.PinnedResultCount
	}
	return 0
}

// This field specifies all related information that is needed on client
// side for UI rendering of conversational retail search.
type SearchResponse_ConversationalSearchResult struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Conversation UUID. This field will be stored in client side storage to
	// maintain the conversation session with server and will be used for next
	// search request's
	// [SearchRequest.ConversationalSearchSpec.conversation_id][google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.conversation_id]
	// to restore conversation state in server.
	ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
	// The current refined query for the conversational search. This field
	// will be used in customer UI that the query in the search bar should be
	// replaced with the refined query. For example, if
	// [SearchRequest.query][google.cloud.retail.v2alpha.SearchRequest.query] is
	// `dress` and next
	// [SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer][google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer]
	// is `red color`, which does not match any product attribute value filters,
	// the refined query will be `dress, red color`.
	RefinedQuery string `protobuf:"bytes,2,opt,name=refined_query,json=refinedQuery,proto3" json:"refined_query,omitempty"`
	// This field is deprecated but will be kept for backward compatibility.
	// There is expected to have only one additional filter and the value will
	// be the same to the same as field `additional_filter`.
	//
	// Deprecated: Marked as deprecated in google/cloud/retail/v2alpha/search_service.proto.
	AdditionalFilters []*SearchResponse_ConversationalSearchResult_AdditionalFilter `protobuf:"bytes,3,rep,name=additional_filters,json=additionalFilters,proto3" json:"additional_filters,omitempty"`
	// The follow-up question. e.g., `What is the color?`
	FollowupQuestion string `protobuf:"bytes,4,opt,name=followup_question,json=followupQuestion,proto3" json:"followup_question,omitempty"`
	// The answer options provided to client for the follow-up question.
	SuggestedAnswers []*SearchResponse_ConversationalSearchResult_SuggestedAnswer `protobuf:"bytes,5,rep,name=suggested_answers,json=suggestedAnswers,proto3" json:"suggested_answers,omitempty"`
	// This is the incremental additional filters implied from the current
	// user answer. User should add the suggested addition filters to the
	// previous
	// [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter],
	// and use the merged filter in the follow up search request.
	AdditionalFilter *SearchResponse_ConversationalSearchResult_AdditionalFilter `protobuf:"bytes,6,opt,name=additional_filter,json=additionalFilter,proto3" json:"additional_filter,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *SearchResponse_ConversationalSearchResult) Reset() {
	*x = SearchResponse_ConversationalSearchResult{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[23]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchResponse_ConversationalSearchResult) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchResponse_ConversationalSearchResult) ProtoMessage() {}

func (x *SearchResponse_ConversationalSearchResult) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[23]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchResponse_ConversationalSearchResult.ProtoReflect.Descriptor instead.
func (*SearchResponse_ConversationalSearchResult) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{4, 3}
}

func (x *SearchResponse_ConversationalSearchResult) GetConversationId() string {
	if x != nil {
		return x.ConversationId
	}
	return ""
}

func (x *SearchResponse_ConversationalSearchResult) GetRefinedQuery() string {
	if x != nil {
		return x.RefinedQuery
	}
	return ""
}

// Deprecated: Marked as deprecated in google/cloud/retail/v2alpha/search_service.proto.
func (x *SearchResponse_ConversationalSearchResult) GetAdditionalFilters() []*SearchResponse_ConversationalSearchResult_AdditionalFilter {
	if x != nil {
		return x.AdditionalFilters
	}
	return nil
}

func (x *SearchResponse_ConversationalSearchResult) GetFollowupQuestion() string {
	if x != nil {
		return x.FollowupQuestion
	}
	return ""
}

func (x *SearchResponse_ConversationalSearchResult) GetSuggestedAnswers() []*SearchResponse_ConversationalSearchResult_SuggestedAnswer {
	if x != nil {
		return x.SuggestedAnswers
	}
	return nil
}

func (x *SearchResponse_ConversationalSearchResult) GetAdditionalFilter() *SearchResponse_ConversationalSearchResult_AdditionalFilter {
	if x != nil {
		return x.AdditionalFilter
	}
	return nil
}

// This field specifies all related information for tile navigation that will
// be used in client side.
type SearchResponse_TileNavigationResult struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The current tiles that are used for tile navigation, sorted by
	// engagement.
	Tiles         []*Tile `protobuf:"bytes,1,rep,name=tiles,proto3" json:"tiles,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SearchResponse_TileNavigationResult) Reset() {
	*x = SearchResponse_TileNavigationResult{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[24]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchResponse_TileNavigationResult) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchResponse_TileNavigationResult) ProtoMessage() {}

func (x *SearchResponse_TileNavigationResult) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[24]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchResponse_TileNavigationResult.ProtoReflect.Descriptor instead.
func (*SearchResponse_TileNavigationResult) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{4, 4}
}

func (x *SearchResponse_TileNavigationResult) GetTiles() []*Tile {
	if x != nil {
		return x.Tiles
	}
	return nil
}

// A facet value which contains value names and their count.
type SearchResponse_Facet_FacetValue struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// A facet value which contains values.
	//
	// Types that are valid to be assigned to FacetValue:
	//
	//	*SearchResponse_Facet_FacetValue_Value
	//	*SearchResponse_Facet_FacetValue_Interval
	FacetValue isSearchResponse_Facet_FacetValue_FacetValue `protobuf_oneof:"facet_value"`
	// Number of items that have this facet value.
	Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	// The minimum value in the
	// [FacetValue.interval][google.cloud.retail.v2alpha.SearchResponse.Facet.FacetValue.interval].
	// Only supported on numerical facets and returned if
	// [SearchRequest.FacetSpec.FacetKey.return_min_max][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.return_min_max]
	// is true.
	MinValue float64 `protobuf:"fixed64,5,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
	// The maximum value in the
	// [FacetValue.interval][google.cloud.retail.v2alpha.SearchResponse.Facet.FacetValue.interval].
	// Only supported on numerical facets and returned if
	// [SearchRequest.FacetSpec.FacetKey.return_min_max][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.return_min_max]
	// is true.
	MaxValue      float64 `protobuf:"fixed64,6,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SearchResponse_Facet_FacetValue) Reset() {
	*x = SearchResponse_Facet_FacetValue{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[28]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchResponse_Facet_FacetValue) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchResponse_Facet_FacetValue) ProtoMessage() {}

func (x *SearchResponse_Facet_FacetValue) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[28]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchResponse_Facet_FacetValue.ProtoReflect.Descriptor instead.
func (*SearchResponse_Facet_FacetValue) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{4, 1, 0}
}

func (x *SearchResponse_Facet_FacetValue) GetFacetValue() isSearchResponse_Facet_FacetValue_FacetValue {
	if x != nil {
		return x.FacetValue
	}
	return nil
}

func (x *SearchResponse_Facet_FacetValue) GetValue() string {
	if x != nil {
		if x, ok := x.FacetValue.(*SearchResponse_Facet_FacetValue_Value); ok {
			return x.Value
		}
	}
	return ""
}

func (x *SearchResponse_Facet_FacetValue) GetInterval() *Interval {
	if x != nil {
		if x, ok := x.FacetValue.(*SearchResponse_Facet_FacetValue_Interval); ok {
			return x.Interval
		}
	}
	return nil
}

func (x *SearchResponse_Facet_FacetValue) GetCount() int64 {
	if x != nil {
		return x.Count
	}
	return 0
}

func (x *SearchResponse_Facet_FacetValue) GetMinValue() float64 {
	if x != nil {
		return x.MinValue
	}
	return 0
}

func (x *SearchResponse_Facet_FacetValue) GetMaxValue() float64 {
	if x != nil {
		return x.MaxValue
	}
	return 0
}

type isSearchResponse_Facet_FacetValue_FacetValue interface {
	isSearchResponse_Facet_FacetValue_FacetValue()
}

type SearchResponse_Facet_FacetValue_Value struct {
	// Text value of a facet, such as "Black" for facet "colorFamilies".
	Value string `protobuf:"bytes,1,opt,name=value,proto3,oneof"`
}

type SearchResponse_Facet_FacetValue_Interval struct {
	// Interval value for a facet, such as [10, 20) for facet "price".
	Interval *Interval `protobuf:"bytes,2,opt,name=interval,proto3,oneof"`
}

func (*SearchResponse_Facet_FacetValue_Value) isSearchResponse_Facet_FacetValue_FacetValue() {}

func (*SearchResponse_Facet_FacetValue_Interval) isSearchResponse_Facet_FacetValue_FacetValue() {}

// Suggested answers to the follow-up question.
type SearchResponse_ConversationalSearchResult_SuggestedAnswer struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Product attribute value, including an attribute key and an
	// attribute value. Other types can be added here in the future.
	ProductAttributeValue *ProductAttributeValue `protobuf:"bytes,1,opt,name=product_attribute_value,json=productAttributeValue,proto3" json:"product_attribute_value,omitempty"`
	unknownFields         protoimpl.UnknownFields
	sizeCache             protoimpl.SizeCache
}

func (x *SearchResponse_ConversationalSearchResult_SuggestedAnswer) Reset() {
	*x = SearchResponse_ConversationalSearchResult_SuggestedAnswer{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[29]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchResponse_ConversationalSearchResult_SuggestedAnswer) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchResponse_ConversationalSearchResult_SuggestedAnswer) ProtoMessage() {}

func (x *SearchResponse_ConversationalSearchResult_SuggestedAnswer) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[29]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchResponse_ConversationalSearchResult_SuggestedAnswer.ProtoReflect.Descriptor instead.
func (*SearchResponse_ConversationalSearchResult_SuggestedAnswer) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{4, 3, 0}
}

func (x *SearchResponse_ConversationalSearchResult_SuggestedAnswer) GetProductAttributeValue() *ProductAttributeValue {
	if x != nil {
		return x.ProductAttributeValue
	}
	return nil
}

// Additional filter that client side need to apply.
type SearchResponse_ConversationalSearchResult_AdditionalFilter struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Product attribute value, including an attribute key and an
	// attribute value. Other types can be added here in the future.
	ProductAttributeValue *ProductAttributeValue `protobuf:"bytes,1,opt,name=product_attribute_value,json=productAttributeValue,proto3" json:"product_attribute_value,omitempty"`
	unknownFields         protoimpl.UnknownFields
	sizeCache             protoimpl.SizeCache
}

func (x *SearchResponse_ConversationalSearchResult_AdditionalFilter) Reset() {
	*x = SearchResponse_ConversationalSearchResult_AdditionalFilter{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[30]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchResponse_ConversationalSearchResult_AdditionalFilter) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchResponse_ConversationalSearchResult_AdditionalFilter) ProtoMessage() {}

func (x *SearchResponse_ConversationalSearchResult_AdditionalFilter) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[30]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchResponse_ConversationalSearchResult_AdditionalFilter.ProtoReflect.Descriptor instead.
func (*SearchResponse_ConversationalSearchResult_AdditionalFilter) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{4, 3, 1}
}

func (x *SearchResponse_ConversationalSearchResult_AdditionalFilter) GetProductAttributeValue() *ProductAttributeValue {
	if x != nil {
		return x.ProductAttributeValue
	}
	return nil
}

// Metadata for active serving config A/B tests.
type ExperimentInfo_ServingConfigExperiment struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The fully qualified resource name of the original
	// [SearchRequest.placement][google.cloud.retail.v2alpha.SearchRequest.placement]
	// in the search request prior to reassignment by experiment API. For
	// example: `projects/*/locations/*/catalogs/*/servingConfigs/*`.
	OriginalServingConfig string `protobuf:"bytes,1,opt,name=original_serving_config,json=originalServingConfig,proto3" json:"original_serving_config,omitempty"`
	// The fully qualified resource name of the serving config
	// `Experiment.VariantArm.serving_config_id` responsible for generating
	// the search response. For example:
	// `projects/*/locations/*/catalogs/*/servingConfigs/*`.
	ExperimentServingConfig string `protobuf:"bytes,2,opt,name=experiment_serving_config,json=experimentServingConfig,proto3" json:"experiment_serving_config,omitempty"`
	unknownFields           protoimpl.UnknownFields
	sizeCache               protoimpl.SizeCache
}

func (x *ExperimentInfo_ServingConfigExperiment) Reset() {
	*x = ExperimentInfo_ServingConfigExperiment{}
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[31]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ExperimentInfo_ServingConfigExperiment) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ExperimentInfo_ServingConfigExperiment) ProtoMessage() {}

func (x *ExperimentInfo_ServingConfigExperiment) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[31]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ExperimentInfo_ServingConfigExperiment.ProtoReflect.Descriptor instead.
func (*ExperimentInfo_ServingConfigExperiment) Descriptor() ([]byte, []int) {
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{5, 0}
}

func (x *ExperimentInfo_ServingConfigExperiment) GetOriginalServingConfig() string {
	if x != nil {
		return x.OriginalServingConfig
	}
	return ""
}

func (x *ExperimentInfo_ServingConfigExperiment) GetExperimentServingConfig() string {
	if x != nil {
		return x.ExperimentServingConfig
	}
	return ""
}

var File_google_cloud_retail_v2alpha_search_service_proto protoreflect.FileDescriptor

const file_google_cloud_retail_v2alpha_search_service_proto_rawDesc = "" +
	"\n" +
	"0google/cloud/retail/v2alpha/search_service.proto\x12\x1bgoogle.cloud.retail.v2alpha\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/retail/v2alpha/common.proto\x1a)google/cloud/retail/v2alpha/product.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\"A\n" +
	"\x15ProductAttributeValue\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value\"q\n" +
	"\x18ProductAttributeInterval\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12A\n" +
	"\binterval\x18\x02 \x01(\v2%.google.cloud.retail.v2alpha.IntervalR\binterval\"\xbc\x02\n" +
	"\x04Tile\x12l\n" +
	"\x17product_attribute_value\x18\x01 \x01(\v22.google.cloud.retail.v2alpha.ProductAttributeValueH\x00R\x15productAttributeValue\x12u\n" +
	"\x1aproduct_attribute_interval\x18\x02 \x01(\v25.google.cloud.retail.v2alpha.ProductAttributeIntervalH\x00R\x18productAttributeInterval\x12:\n" +
	"\x19representative_product_id\x18\x03 \x01(\tR\x17representativeProductIdB\x13\n" +
	"\x11product_attribute\"\xdb%\n" +
	"\rSearchRequest\x12!\n" +
	"\tplacement\x18\x01 \x01(\tB\x03\xe0A\x02R\tplacement\x129\n" +
	"\x06branch\x18\x02 \x01(\tB!\xfaA\x1e\n" +
	"\x1cretail.googleapis.com/BranchR\x06branch\x12\x14\n" +
	"\x05query\x18\x03 \x01(\tR\x05query\x12\"\n" +
	"\n" +
	"visitor_id\x18\x04 \x01(\tB\x03\xe0A\x02R\tvisitorId\x12B\n" +
	"\tuser_info\x18\x05 \x01(\v2%.google.cloud.retail.v2alpha.UserInfoR\buserInfo\x12\x1b\n" +
	"\tpage_size\x18\a \x01(\x05R\bpageSize\x12\x1d\n" +
	"\n" +
	"page_token\x18\b \x01(\tR\tpageToken\x12\x16\n" +
	"\x06offset\x18\t \x01(\x05R\x06offset\x12\x16\n" +
	"\x06filter\x18\n" +
	" \x01(\tR\x06filter\x12)\n" +
	"\x10canonical_filter\x18\x1c \x01(\tR\x0fcanonicalFilter\x12\x19\n" +
	"\border_by\x18\v \x01(\tR\aorderBy\x12U\n" +
	"\vfacet_specs\x18\f \x03(\v24.google.cloud.retail.v2alpha.SearchRequest.FacetSpecR\n" +
	"facetSpecs\x12m\n" +
	"\x12dynamic_facet_spec\x18\x15 \x01(\v2;.google.cloud.retail.v2alpha.SearchRequest.DynamicFacetSpecB\x02\x18\x01R\x10dynamicFacetSpec\x12S\n" +
	"\n" +
	"boost_spec\x18\r \x01(\v24.google.cloud.retail.v2alpha.SearchRequest.BoostSpecR\tboostSpec\x12o\n" +
	"\x14query_expansion_spec\x18\x0e \x01(\v2=.google.cloud.retail.v2alpha.SearchRequest.QueryExpansionSpecR\x12queryExpansionSpec\x12n\n" +
	"\x13relevance_threshold\x18\x0f \x01(\x0e2=.google.cloud.retail.v2alpha.SearchRequest.RelevanceThresholdR\x12relevanceThreshold\x12.\n" +
	"\x13variant_rollup_keys\x18\x11 \x03(\tR\x11variantRollupKeys\x12(\n" +
	"\rexperiment_id\x18\x12 \x01(\tB\x03\xe0A\x01R\fexperimentId\x12'\n" +
	"\x0fpage_categories\x18\x17 \x03(\tR\x0epageCategories\x12V\n" +
	"\vsearch_mode\x18\x1f \x01(\x0e25.google.cloud.retail.v2alpha.SearchRequest.SearchModeR\n" +
	"searchMode\x12q\n" +
	"\x14personalization_spec\x18  \x01(\v2>.google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpecR\x13personalizationSpec\x12N\n" +
	"\x06labels\x18\" \x03(\v26.google.cloud.retail.v2alpha.SearchRequest.LabelsEntryR\x06labels\x12w\n" +
	"\x15spell_correction_spec\x18# \x01(\v2>.google.cloud.retail.v2alpha.SearchRequest.SpellCorrectionSpecH\x00R\x13spellCorrectionSpec\x88\x01\x01\x12\x16\n" +
	"\x06entity\x18& \x01(\tR\x06entity\x12\x86\x01\n" +
	"\x1aconversational_search_spec\x18( \x01(\v2C.google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpecB\x03\xe0A\x01R\x18conversationalSearchSpec\x12t\n" +
	"\x14tile_navigation_spec\x18) \x01(\v2=.google.cloud.retail.v2alpha.SearchRequest.TileNavigationSpecB\x03\xe0A\x01R\x12tileNavigationSpec\x12(\n" +
	"\rlanguage_code\x18+ \x01(\tB\x03\xe0A\x01R\flanguageCode\x12$\n" +
	"\vregion_code\x18, \x01(\tB\x03\xe0A\x01R\n" +
	"regionCode\x12\x1e\n" +
	"\bplace_id\x18. \x01(\tB\x03\xe0A\x01R\aplaceId\x12l\n" +
	"\x0fuser_attributes\x18/ \x03(\v2>.google.cloud.retail.v2alpha.SearchRequest.UserAttributesEntryB\x03\xe0A\x01R\x0euserAttributes\x1a\xbc\x04\n" +
	"\tFacetSpec\x12_\n" +
	"\tfacet_key\x18\x01 \x01(\v2=.google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKeyB\x03\xe0A\x02R\bfacetKey\x12\x14\n" +
	"\x05limit\x18\x02 \x01(\x05R\x05limit\x120\n" +
	"\x14excluded_filter_keys\x18\x03 \x03(\tR\x12excludedFilterKeys\x126\n" +
	"\x17enable_dynamic_position\x18\x04 \x01(\bR\x15enableDynamicPosition\x1a\xcd\x02\n" +
	"\bFacetKey\x12\x15\n" +
	"\x03key\x18\x01 \x01(\tB\x03\xe0A\x02R\x03key\x12C\n" +
	"\tintervals\x18\x02 \x03(\v2%.google.cloud.retail.v2alpha.IntervalR\tintervals\x12+\n" +
	"\x11restricted_values\x18\x03 \x03(\tR\x10restrictedValues\x12\x1a\n" +
	"\bprefixes\x18\b \x03(\tR\bprefixes\x12\x1a\n" +
	"\bcontains\x18\t \x03(\tR\bcontains\x12)\n" +
	"\x10case_insensitive\x18\n" +
	" \x01(\bR\x0fcaseInsensitive\x12\x19\n" +
	"\border_by\x18\x04 \x01(\tR\aorderBy\x12\x14\n" +
	"\x05query\x18\x05 \x01(\tR\x05query\x12$\n" +
	"\x0ereturn_min_max\x18\v \x01(\bR\freturnMinMax\x1a\xa1\x01\n" +
	"\x10DynamicFacetSpec\x12T\n" +
	"\x04mode\x18\x01 \x01(\x0e2@.google.cloud.retail.v2alpha.SearchRequest.DynamicFacetSpec.ModeR\x04mode\"7\n" +
	"\x04Mode\x12\x14\n" +
	"\x10MODE_UNSPECIFIED\x10\x00\x12\f\n" +
	"\bDISABLED\x10\x01\x12\v\n" +
	"\aENABLED\x10\x02\x1a\xb3\x02\n" +
	"\tBoostSpec\x12{\n" +
	"\x15condition_boost_specs\x18\x01 \x03(\v2G.google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpecR\x13conditionBoostSpecs\x12@\n" +
	"\x1askip_boost_spec_validation\x18\x02 \x01(\bH\x00R\x17skipBoostSpecValidation\x88\x01\x01\x1aH\n" +
	"\x12ConditionBoostSpec\x12\x1c\n" +
	"\tcondition\x18\x01 \x01(\tR\tcondition\x12\x14\n" +
	"\x05boost\x18\x02 \x01(\x02R\x05boostB\x1d\n" +
	"\x1b_skip_boost_spec_validation\x1a\xf1\x01\n" +
	"\x12QueryExpansionSpec\x12e\n" +
	"\tcondition\x18\x01 \x01(\x0e2G.google.cloud.retail.v2alpha.SearchRequest.QueryExpansionSpec.ConditionR\tcondition\x124\n" +
	"\x16pin_unexpanded_results\x18\x02 \x01(\bR\x14pinUnexpandedResults\">\n" +
	"\tCondition\x12\x19\n" +
	"\x15CONDITION_UNSPECIFIED\x10\x00\x12\f\n" +
	"\bDISABLED\x10\x01\x12\b\n" +
	"\x04AUTO\x10\x03\x1a\xa4\x01\n" +
	"\x13PersonalizationSpec\x12W\n" +
	"\x04mode\x18\x01 \x01(\x0e2C.google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpec.ModeR\x04mode\"4\n" +
	"\x04Mode\x12\x14\n" +
	"\x10MODE_UNSPECIFIED\x10\x00\x12\b\n" +
	"\x04AUTO\x10\x01\x12\f\n" +
	"\bDISABLED\x10\x02\x1a\xab\x01\n" +
	"\x13SpellCorrectionSpec\x12W\n" +
	"\x04mode\x18\x01 \x01(\x0e2C.google.cloud.retail.v2alpha.SearchRequest.SpellCorrectionSpec.ModeR\x04mode\";\n" +
	"\x04Mode\x12\x14\n" +
	"\x10MODE_UNSPECIFIED\x10\x00\x12\x13\n" +
	"\x0fSUGGESTION_ONLY\x10\x01\x12\b\n" +
	"\x04AUTO\x10\x02\x1a\xb2\x05\n" +
	"\x18ConversationalSearchSpec\x12F\n" +
	"\x1ffollowup_conversation_requested\x18\x01 \x01(\bR\x1dfollowupConversationRequested\x12'\n" +
	"\x0fconversation_id\x18\x02 \x01(\tR\x0econversationId\x12o\n" +
	"\vuser_answer\x18\x03 \x01(\v2N.google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswerR\n" +
	"userAnswer\x1a\xb3\x03\n" +
	"\n" +
	"UserAnswer\x12!\n" +
	"\vtext_answer\x18\x01 \x01(\tH\x00R\n" +
	"textAnswer\x12\x88\x01\n" +
	"\x0fselected_answer\x18\x02 \x01(\v2].google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswerH\x00R\x0eselectedAnswer\x1a\xee\x01\n" +
	"\x0eSelectedAnswer\x12p\n" +
	"\x18product_attribute_values\x18\x01 \x03(\v22.google.cloud.retail.v2alpha.ProductAttributeValueB\x02\x18\x01R\x16productAttributeValues\x12j\n" +
	"\x17product_attribute_value\x18\x02 \x01(\v22.google.cloud.retail.v2alpha.ProductAttributeValueR\x15productAttributeValueB\x06\n" +
	"\x04type\x1a\x98\x01\n" +
	"\x12TileNavigationSpec\x12:\n" +
	"\x19tile_navigation_requested\x18\x01 \x01(\bR\x17tileNavigationRequested\x12F\n" +
	"\rapplied_tiles\x18\x02 \x03(\v2!.google.cloud.retail.v2alpha.TileR\fappliedTiles\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aj\n" +
	"\x13UserAttributesEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12=\n" +
	"\x05value\x18\x02 \x01(\v2'.google.cloud.retail.v2alpha.StringListR\x05value:\x028\x01\"d\n" +
	"\x12RelevanceThreshold\x12#\n" +
	"\x1fRELEVANCE_THRESHOLD_UNSPECIFIED\x10\x00\x12\b\n" +
	"\x04HIGH\x10\x01\x12\n" +
	"\n" +
	"\x06MEDIUM\x10\x02\x12\a\n" +
	"\x03LOW\x10\x03\x12\n" +
	"\n" +
	"\x06LOWEST\x10\x04\"[\n" +
	"\n" +
	"SearchMode\x12\x1b\n" +
	"\x17SEARCH_MODE_UNSPECIFIED\x10\x00\x12\x17\n" +
	"\x13PRODUCT_SEARCH_ONLY\x10\x01\x12\x17\n" +
	"\x13FACETED_SEARCH_ONLY\x10\x02B\x18\n" +
	"\x16_spell_correction_spec\"\x9b\x1a\n" +
	"\x0eSearchResponse\x12R\n" +
	"\aresults\x18\x01 \x03(\v28.google.cloud.retail.v2alpha.SearchResponse.SearchResultR\aresults\x12I\n" +
	"\x06facets\x18\x02 \x03(\v21.google.cloud.retail.v2alpha.SearchResponse.FacetR\x06facets\x12\x1d\n" +
	"\n" +
	"total_size\x18\x03 \x01(\x05R\ttotalSize\x12'\n" +
	"\x0fcorrected_query\x18\x04 \x01(\tR\x0ecorrectedQuery\x12+\n" +
	"\x11attribution_token\x18\x05 \x01(\tR\x10attributionToken\x12&\n" +
	"\x0fnext_page_token\x18\x06 \x01(\tR\rnextPageToken\x12p\n" +
	"\x14query_expansion_info\x18\a \x01(\v2>.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfoR\x12queryExpansionInfo\x12!\n" +
	"\fredirect_uri\x18\n" +
	" \x01(\tR\vredirectUri\x12)\n" +
	"\x10applied_controls\x18\f \x03(\tR\x0fappliedControls\x12a\n" +
	"\x14pin_control_metadata\x18\x16 \x01(\v2/.google.cloud.retail.v2alpha.PinControlMetadataR\x12pinControlMetadata\x12\x8a\x01\n" +
	"\x1dinvalid_condition_boost_specs\x18\x0e \x03(\v2G.google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpecR\x1ainvalidConditionBoostSpecs\x12T\n" +
	"\x0fexperiment_info\x18\x11 \x03(\v2+.google.cloud.retail.v2alpha.ExperimentInfoR\x0eexperimentInfo\x12\x88\x01\n" +
	"\x1cconversational_search_result\x18\x12 \x01(\v2F.google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResultR\x1aconversationalSearchResult\x12v\n" +
	"\x16tile_navigation_result\x18\x13 \x01(\v2@.google.cloud.retail.v2alpha.SearchResponse.TileNavigationResultR\x14tileNavigationResult\x1a\xf0\x06\n" +
	"\fSearchResult\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12>\n" +
	"\aproduct\x18\x02 \x01(\v2$.google.cloud.retail.v2alpha.ProductR\aproduct\x124\n" +
	"\x16matching_variant_count\x18\x03 \x01(\x05R\x14matchingVariantCount\x12\x8b\x01\n" +
	"\x17matching_variant_fields\x18\x04 \x03(\v2S.google.cloud.retail.v2alpha.SearchResponse.SearchResult.MatchingVariantFieldsEntryR\x15matchingVariantFields\x12\x85\x01\n" +
	"\x15variant_rollup_values\x18\x05 \x03(\v2Q.google.cloud.retail.v2alpha.SearchResponse.SearchResult.VariantRollupValuesEntryR\x13variantRollupValues\x12'\n" +
	"\x0fpersonal_labels\x18\a \x03(\tR\x0epersonalLabels\x12l\n" +
	"\fmodel_scores\x18\b \x03(\v2I.google.cloud.retail.v2alpha.SearchResponse.SearchResult.ModelScoresEntryR\vmodelScores\x1ad\n" +
	"\x1aMatchingVariantFieldsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x120\n" +
	"\x05value\x18\x02 \x01(\v2\x1a.google.protobuf.FieldMaskR\x05value:\x028\x01\x1a^\n" +
	"\x18VariantRollupValuesEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12,\n" +
	"\x05value\x18\x02 \x01(\v2\x16.google.protobuf.ValueR\x05value:\x028\x01\x1ag\n" +
	"\x10ModelScoresEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12=\n" +
	"\x05value\x18\x02 \x01(\v2'.google.cloud.retail.v2alpha.DoubleListR\x05value:\x028\x01\x1a\xdf\x02\n" +
	"\x05Facet\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12T\n" +
	"\x06values\x18\x02 \x03(\v2<.google.cloud.retail.v2alpha.SearchResponse.Facet.FacetValueR\x06values\x12#\n" +
	"\rdynamic_facet\x18\x03 \x01(\bR\fdynamicFacet\x1a\xc8\x01\n" +
	"\n" +
	"FacetValue\x12\x16\n" +
	"\x05value\x18\x01 \x01(\tH\x00R\x05value\x12C\n" +
	"\binterval\x18\x02 \x01(\v2%.google.cloud.retail.v2alpha.IntervalH\x00R\binterval\x12\x14\n" +
	"\x05count\x18\x03 \x01(\x03R\x05count\x12\x1b\n" +
	"\tmin_value\x18\x05 \x01(\x01R\bminValue\x12\x1b\n" +
	"\tmax_value\x18\x06 \x01(\x01R\bmaxValueB\r\n" +
	"\vfacet_value\x1ak\n" +
	"\x12QueryExpansionInfo\x12%\n" +
	"\x0eexpanded_query\x18\x01 \x01(\bR\rexpandedQuery\x12.\n" +
	"\x13pinned_result_count\x18\x02 \x01(\x03R\x11pinnedResultCount\x1a\xb0\x06\n" +
	"\x1aConversationalSearchResult\x12'\n" +
	"\x0fconversation_id\x18\x01 \x01(\tR\x0econversationId\x12#\n" +
	"\rrefined_query\x18\x02 \x01(\tR\frefinedQuery\x12\x8a\x01\n" +
	"\x12additional_filters\x18\x03 \x03(\v2W.google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilterB\x02\x18\x01R\x11additionalFilters\x12+\n" +
	"\x11followup_question\x18\x04 \x01(\tR\x10followupQuestion\x12\x83\x01\n" +
	"\x11suggested_answers\x18\x05 \x03(\v2V.google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswerR\x10suggestedAnswers\x12\x84\x01\n" +
	"\x11additional_filter\x18\x06 \x01(\v2W.google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilterR\x10additionalFilter\x1a}\n" +
	"\x0fSuggestedAnswer\x12j\n" +
	"\x17product_attribute_value\x18\x01 \x01(\v22.google.cloud.retail.v2alpha.ProductAttributeValueR\x15productAttributeValue\x1a~\n" +
	"\x10AdditionalFilter\x12j\n" +
	"\x17product_attribute_value\x18\x01 \x01(\v22.google.cloud.retail.v2alpha.ProductAttributeValueR\x15productAttributeValue\x1aO\n" +
	"\x14TileNavigationResult\x127\n" +
	"\x05tiles\x18\x01 \x03(\v2!.google.cloud.retail.v2alpha.TileR\x05tiles\"\xd6\x03\n" +
	"\x0eExperimentInfo\x12\x81\x01\n" +
	"\x19serving_config_experiment\x18\x02 \x01(\v2C.google.cloud.retail.v2alpha.ExperimentInfo.ServingConfigExperimentH\x00R\x17servingConfigExperiment\x12E\n" +
	"\n" +
	"experiment\x18\x01 \x01(\tB%\xfaA\"\n" +
	" retail.googleapis.com/ExperimentR\n" +
	"experiment\x1a\xe1\x01\n" +
	"\x17ServingConfigExperiment\x12`\n" +
	"\x17original_serving_config\x18\x01 \x01(\tB(\xfaA%\n" +
	"#retail.googleapis.com/ServingConfigR\x15originalServingConfig\x12d\n" +
	"\x19experiment_serving_config\x18\x02 \x01(\tB(\xfaA%\n" +
	"#retail.googleapis.com/ServingConfigR\x17experimentServingConfigB\x15\n" +
	"\x13experiment_metadata2\xec\x02\n" +
	"\rSearchService\x12\x8f\x02\n" +
	"\x06Search\x12*.google.cloud.retail.v2alpha.SearchRequest\x1a+.google.cloud.retail.v2alpha.SearchResponse\"\xab\x01\x82\xd3\xe4\x93\x02\xa4\x01:\x01*ZS:\x01*\"N/v2alpha/{placement=projects/*/locations/*/catalogs/*/servingConfigs/*}:search\"J/v2alpha/{placement=projects/*/locations/*/catalogs/*/placements/*}:search\x1aI\xcaA\x15retail.googleapis.com\xd2A.https://www.googleapis.com/auth/cloud-platformB\xd0\x02\xeaAw\n" +
	" retail.googleapis.com/Experiment\x12Sprojects/{project}/locations/{location}/catalogs/{catalog}/experiments/{experiment}\n" +
	"\x1fcom.google.cloud.retail.v2alphaB\x12SearchServiceProtoP\x01Z7cloud.google.com/go/retail/apiv2alpha/retailpb;retailpb\xa2\x02\x06RETAIL\xaa\x02\x1bGoogle.Cloud.Retail.V2Alpha\xca\x02\x1bGoogle\\Cloud\\Retail\\V2alpha\xea\x02\x1eGoogle::Cloud::Retail::V2alphab\x06proto3"

var (
	file_google_cloud_retail_v2alpha_search_service_proto_rawDescOnce sync.Once
	file_google_cloud_retail_v2alpha_search_service_proto_rawDescData []byte
)

func file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP() []byte {
	file_google_cloud_retail_v2alpha_search_service_proto_rawDescOnce.Do(func() {
		file_google_cloud_retail_v2alpha_search_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_retail_v2alpha_search_service_proto_rawDesc), len(file_google_cloud_retail_v2alpha_search_service_proto_rawDesc)))
	})
	return file_google_cloud_retail_v2alpha_search_service_proto_rawDescData
}

var file_google_cloud_retail_v2alpha_search_service_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
var file_google_cloud_retail_v2alpha_search_service_proto_msgTypes = make([]protoimpl.MessageInfo, 32)
var file_google_cloud_retail_v2alpha_search_service_proto_goTypes = []any{
	(SearchRequest_RelevanceThreshold)(0),                     // 0: google.cloud.retail.v2alpha.SearchRequest.RelevanceThreshold
	(SearchRequest_SearchMode)(0),                             // 1: google.cloud.retail.v2alpha.SearchRequest.SearchMode
	(SearchRequest_DynamicFacetSpec_Mode)(0),                  // 2: google.cloud.retail.v2alpha.SearchRequest.DynamicFacetSpec.Mode
	(SearchRequest_QueryExpansionSpec_Condition)(0),           // 3: google.cloud.retail.v2alpha.SearchRequest.QueryExpansionSpec.Condition
	(SearchRequest_PersonalizationSpec_Mode)(0),               // 4: google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpec.Mode
	(SearchRequest_SpellCorrectionSpec_Mode)(0),               // 5: google.cloud.retail.v2alpha.SearchRequest.SpellCorrectionSpec.Mode
	(*ProductAttributeValue)(nil),                             // 6: google.cloud.retail.v2alpha.ProductAttributeValue
	(*ProductAttributeInterval)(nil),                          // 7: google.cloud.retail.v2alpha.ProductAttributeInterval
	(*Tile)(nil),                                              // 8: google.cloud.retail.v2alpha.Tile
	(*SearchRequest)(nil),                                     // 9: google.cloud.retail.v2alpha.SearchRequest
	(*SearchResponse)(nil),                                    // 10: google.cloud.retail.v2alpha.SearchResponse
	(*ExperimentInfo)(nil),                                    // 11: google.cloud.retail.v2alpha.ExperimentInfo
	(*SearchRequest_FacetSpec)(nil),                           // 12: google.cloud.retail.v2alpha.SearchRequest.FacetSpec
	(*SearchRequest_DynamicFacetSpec)(nil),                    // 13: google.cloud.retail.v2alpha.SearchRequest.DynamicFacetSpec
	(*SearchRequest_BoostSpec)(nil),                           // 14: google.cloud.retail.v2alpha.SearchRequest.BoostSpec
	(*SearchRequest_QueryExpansionSpec)(nil),                  // 15: google.cloud.retail.v2alpha.SearchRequest.QueryExpansionSpec
	(*SearchRequest_PersonalizationSpec)(nil),                 // 16: google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpec
	(*SearchRequest_SpellCorrectionSpec)(nil),                 // 17: google.cloud.retail.v2alpha.SearchRequest.SpellCorrectionSpec
	(*SearchRequest_ConversationalSearchSpec)(nil),            // 18: google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec
	(*SearchRequest_TileNavigationSpec)(nil),                  // 19: google.cloud.retail.v2alpha.SearchRequest.TileNavigationSpec
	nil,                                                       // 20: google.cloud.retail.v2alpha.SearchRequest.LabelsEntry
	nil,                                                       // 21: google.cloud.retail.v2alpha.SearchRequest.UserAttributesEntry
	(*SearchRequest_FacetSpec_FacetKey)(nil),                  // 22: google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey
	(*SearchRequest_BoostSpec_ConditionBoostSpec)(nil),        // 23: google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec
	(*SearchRequest_ConversationalSearchSpec_UserAnswer)(nil), // 24: google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer
	(*SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer)(nil), // 25: google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer
	(*SearchResponse_SearchResult)(nil),                                      // 26: google.cloud.retail.v2alpha.SearchResponse.SearchResult
	(*SearchResponse_Facet)(nil),                                             // 27: google.cloud.retail.v2alpha.SearchResponse.Facet
	(*SearchResponse_QueryExpansionInfo)(nil),                                // 28: google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo
	(*SearchResponse_ConversationalSearchResult)(nil),                        // 29: google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult
	(*SearchResponse_TileNavigationResult)(nil),                              // 30: google.cloud.retail.v2alpha.SearchResponse.TileNavigationResult
	nil,                                     // 31: google.cloud.retail.v2alpha.SearchResponse.SearchResult.MatchingVariantFieldsEntry
	nil,                                     // 32: google.cloud.retail.v2alpha.SearchResponse.SearchResult.VariantRollupValuesEntry
	nil,                                     // 33: google.cloud.retail.v2alpha.SearchResponse.SearchResult.ModelScoresEntry
	(*SearchResponse_Facet_FacetValue)(nil), // 34: google.cloud.retail.v2alpha.SearchResponse.Facet.FacetValue
	(*SearchResponse_ConversationalSearchResult_SuggestedAnswer)(nil),  // 35: google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer
	(*SearchResponse_ConversationalSearchResult_AdditionalFilter)(nil), // 36: google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter
	(*ExperimentInfo_ServingConfigExperiment)(nil),                     // 37: google.cloud.retail.v2alpha.ExperimentInfo.ServingConfigExperiment
	(*Interval)(nil),              // 38: google.cloud.retail.v2alpha.Interval
	(*UserInfo)(nil),              // 39: google.cloud.retail.v2alpha.UserInfo
	(*PinControlMetadata)(nil),    // 40: google.cloud.retail.v2alpha.PinControlMetadata
	(*StringList)(nil),            // 41: google.cloud.retail.v2alpha.StringList
	(*Product)(nil),               // 42: google.cloud.retail.v2alpha.Product
	(*fieldmaskpb.FieldMask)(nil), // 43: google.protobuf.FieldMask
	(*structpb.Value)(nil),        // 44: google.protobuf.Value
	(*DoubleList)(nil),            // 45: google.cloud.retail.v2alpha.DoubleList
}
var file_google_cloud_retail_v2alpha_search_service_proto_depIdxs = []int32{
	38, // 0: google.cloud.retail.v2alpha.ProductAttributeInterval.interval:type_name -> google.cloud.retail.v2alpha.Interval
	6,  // 1: google.cloud.retail.v2alpha.Tile.product_attribute_value:type_name -> google.cloud.retail.v2alpha.ProductAttributeValue
	7,  // 2: google.cloud.retail.v2alpha.Tile.product_attribute_interval:type_name -> google.cloud.retail.v2alpha.ProductAttributeInterval
	39, // 3: google.cloud.retail.v2alpha.SearchRequest.user_info:type_name -> google.cloud.retail.v2alpha.UserInfo
	12, // 4: google.cloud.retail.v2alpha.SearchRequest.facet_specs:type_name -> google.cloud.retail.v2alpha.SearchRequest.FacetSpec
	13, // 5: google.cloud.retail.v2alpha.SearchRequest.dynamic_facet_spec:type_name -> google.cloud.retail.v2alpha.SearchRequest.DynamicFacetSpec
	14, // 6: google.cloud.retail.v2alpha.SearchRequest.boost_spec:type_name -> google.cloud.retail.v2alpha.SearchRequest.BoostSpec
	15, // 7: google.cloud.retail.v2alpha.SearchRequest.query_expansion_spec:type_name -> google.cloud.retail.v2alpha.SearchRequest.QueryExpansionSpec
	0,  // 8: google.cloud.retail.v2alpha.SearchRequest.relevance_threshold:type_name -> google.cloud.retail.v2alpha.SearchRequest.RelevanceThreshold
	1,  // 9: google.cloud.retail.v2alpha.SearchRequest.search_mode:type_name -> google.cloud.retail.v2alpha.SearchRequest.SearchMode
	16, // 10: google.cloud.retail.v2alpha.SearchRequest.personalization_spec:type_name -> google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpec
	20, // 11: google.cloud.retail.v2alpha.SearchRequest.labels:type_name -> google.cloud.retail.v2alpha.SearchRequest.LabelsEntry
	17, // 12: google.cloud.retail.v2alpha.SearchRequest.spell_correction_spec:type_name -> google.cloud.retail.v2alpha.SearchRequest.SpellCorrectionSpec
	18, // 13: google.cloud.retail.v2alpha.SearchRequest.conversational_search_spec:type_name -> google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec
	19, // 14: google.cloud.retail.v2alpha.SearchRequest.tile_navigation_spec:type_name -> google.cloud.retail.v2alpha.SearchRequest.TileNavigationSpec
	21, // 15: google.cloud.retail.v2alpha.SearchRequest.user_attributes:type_name -> google.cloud.retail.v2alpha.SearchRequest.UserAttributesEntry
	26, // 16: google.cloud.retail.v2alpha.SearchResponse.results:type_name -> google.cloud.retail.v2alpha.SearchResponse.SearchResult
	27, // 17: google.cloud.retail.v2alpha.SearchResponse.facets:type_name -> google.cloud.retail.v2alpha.SearchResponse.Facet
	28, // 18: google.cloud.retail.v2alpha.SearchResponse.query_expansion_info:type_name -> google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo
	40, // 19: google.cloud.retail.v2alpha.SearchResponse.pin_control_metadata:type_name -> google.cloud.retail.v2alpha.PinControlMetadata
	23, // 20: google.cloud.retail.v2alpha.SearchResponse.invalid_condition_boost_specs:type_name -> google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec
	11, // 21: google.cloud.retail.v2alpha.SearchResponse.experiment_info:type_name -> google.cloud.retail.v2alpha.ExperimentInfo
	29, // 22: google.cloud.retail.v2alpha.SearchResponse.conversational_search_result:type_name -> google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult
	30, // 23: google.cloud.retail.v2alpha.SearchResponse.tile_navigation_result:type_name -> google.cloud.retail.v2alpha.SearchResponse.TileNavigationResult
	37, // 24: google.cloud.retail.v2alpha.ExperimentInfo.serving_config_experiment:type_name -> google.cloud.retail.v2alpha.ExperimentInfo.ServingConfigExperiment
	22, // 25: google.cloud.retail.v2alpha.SearchRequest.FacetSpec.facet_key:type_name -> google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey
	2,  // 26: google.cloud.retail.v2alpha.SearchRequest.DynamicFacetSpec.mode:type_name -> google.cloud.retail.v2alpha.SearchRequest.DynamicFacetSpec.Mode
	23, // 27: google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs:type_name -> google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec
	3,  // 28: google.cloud.retail.v2alpha.SearchRequest.QueryExpansionSpec.condition:type_name -> google.cloud.retail.v2alpha.SearchRequest.QueryExpansionSpec.Condition
	4,  // 29: google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpec.mode:type_name -> google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpec.Mode
	5,  // 30: google.cloud.retail.v2alpha.SearchRequest.SpellCorrectionSpec.mode:type_name -> google.cloud.retail.v2alpha.SearchRequest.SpellCorrectionSpec.Mode
	24, // 31: google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.user_answer:type_name -> google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer
	8,  // 32: google.cloud.retail.v2alpha.SearchRequest.TileNavigationSpec.applied_tiles:type_name -> google.cloud.retail.v2alpha.Tile
	41, // 33: google.cloud.retail.v2alpha.SearchRequest.UserAttributesEntry.value:type_name -> google.cloud.retail.v2alpha.StringList
	38, // 34: google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.intervals:type_name -> google.cloud.retail.v2alpha.Interval
	25, // 35: google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.selected_answer:type_name -> google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer
	6,  // 36: google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.product_attribute_values:type_name -> google.cloud.retail.v2alpha.ProductAttributeValue
	6,  // 37: google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.product_attribute_value:type_name -> google.cloud.retail.v2alpha.ProductAttributeValue
	42, // 38: google.cloud.retail.v2alpha.SearchResponse.SearchResult.product:type_name -> google.cloud.retail.v2alpha.Product
	31, // 39: google.cloud.retail.v2alpha.SearchResponse.SearchResult.matching_variant_fields:type_name -> google.cloud.retail.v2alpha.SearchResponse.SearchResult.MatchingVariantFieldsEntry
	32, // 40: google.cloud.retail.v2alpha.SearchResponse.SearchResult.variant_rollup_values:type_name -> google.cloud.retail.v2alpha.SearchResponse.SearchResult.VariantRollupValuesEntry
	33, // 41: google.cloud.retail.v2alpha.SearchResponse.SearchResult.model_scores:type_name -> google.cloud.retail.v2alpha.SearchResponse.SearchResult.ModelScoresEntry
	34, // 42: google.cloud.retail.v2alpha.SearchResponse.Facet.values:type_name -> google.cloud.retail.v2alpha.SearchResponse.Facet.FacetValue
	36, // 43: google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.additional_filters:type_name -> google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter
	35, // 44: google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.suggested_answers:type_name -> google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer
	36, // 45: google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.additional_filter:type_name -> google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter
	8,  // 46: google.cloud.retail.v2alpha.SearchResponse.TileNavigationResult.tiles:type_name -> google.cloud.retail.v2alpha.Tile
	43, // 47: google.cloud.retail.v2alpha.SearchResponse.SearchResult.MatchingVariantFieldsEntry.value:type_name -> google.protobuf.FieldMask
	44, // 48: google.cloud.retail.v2alpha.SearchResponse.SearchResult.VariantRollupValuesEntry.value:type_name -> google.protobuf.Value
	45, // 49: google.cloud.retail.v2alpha.SearchResponse.SearchResult.ModelScoresEntry.value:type_name -> google.cloud.retail.v2alpha.DoubleList
	38, // 50: google.cloud.retail.v2alpha.SearchResponse.Facet.FacetValue.interval:type_name -> google.cloud.retail.v2alpha.Interval
	6,  // 51: google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer.product_attribute_value:type_name -> google.cloud.retail.v2alpha.ProductAttributeValue
	6,  // 52: google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter.product_attribute_value:type_name -> google.cloud.retail.v2alpha.ProductAttributeValue
	9,  // 53: google.cloud.retail.v2alpha.SearchService.Search:input_type -> google.cloud.retail.v2alpha.SearchRequest
	10, // 54: google.cloud.retail.v2alpha.SearchService.Search:output_type -> google.cloud.retail.v2alpha.SearchResponse
	54, // [54:55] is the sub-list for method output_type
	53, // [53:54] is the sub-list for method input_type
	53, // [53:53] is the sub-list for extension type_name
	53, // [53:53] is the sub-list for extension extendee
	0,  // [0:53] is the sub-list for field type_name
}

func init() { file_google_cloud_retail_v2alpha_search_service_proto_init() }
func file_google_cloud_retail_v2alpha_search_service_proto_init() {
	if File_google_cloud_retail_v2alpha_search_service_proto != nil {
		return
	}
	file_google_cloud_retail_v2alpha_common_proto_init()
	file_google_cloud_retail_v2alpha_product_proto_init()
	file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[2].OneofWrappers = []any{
		(*Tile_ProductAttributeValue)(nil),
		(*Tile_ProductAttributeInterval)(nil),
	}
	file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[3].OneofWrappers = []any{}
	file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[5].OneofWrappers = []any{
		(*ExperimentInfo_ServingConfigExperiment_)(nil),
	}
	file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[8].OneofWrappers = []any{}
	file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[18].OneofWrappers = []any{
		(*SearchRequest_ConversationalSearchSpec_UserAnswer_TextAnswer)(nil),
		(*SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer_)(nil),
	}
	file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[28].OneofWrappers = []any{
		(*SearchResponse_Facet_FacetValue_Value)(nil),
		(*SearchResponse_Facet_FacetValue_Interval)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_retail_v2alpha_search_service_proto_rawDesc), len(file_google_cloud_retail_v2alpha_search_service_proto_rawDesc)),
			NumEnums:      6,
			NumMessages:   32,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_google_cloud_retail_v2alpha_search_service_proto_goTypes,
		DependencyIndexes: file_google_cloud_retail_v2alpha_search_service_proto_depIdxs,
		EnumInfos:         file_google_cloud_retail_v2alpha_search_service_proto_enumTypes,
		MessageInfos:      file_google_cloud_retail_v2alpha_search_service_proto_msgTypes,
	}.Build()
	File_google_cloud_retail_v2alpha_search_service_proto = out.File
	file_google_cloud_retail_v2alpha_search_service_proto_goTypes = nil
	file_google_cloud_retail_v2alpha_search_service_proto_depIdxs = nil
}
