Debian Codegraph @

retail/apiv2beta/retailpb/serving_config.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/retail/v2beta/serving_config.proto
20
21 package retailpb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // What type of diversity - data or rule based.
39 type ServingConfig_DiversityType int32
40
41 const (
42 // Default value.
43 ServingConfig_DIVERSITY_TYPE_UNSPECIFIED ServingConfig_DiversityType = 0
44 // Rule based diversity.
45 ServingConfig_RULE_BASED_DIVERSITY ServingConfig_DiversityType = 2
46 // Data driven diversity.
47 ServingConfig_DATA_DRIVEN_DIVERSITY ServingConfig_DiversityType = 3
48 )
49
50 // Enum value maps for ServingConfig_DiversityType.
51 var (
52 ServingConfig_DiversityType_name = map[int32]string{
53 0: "DIVERSITY_TYPE_UNSPECIFIED",
54 2: "RULE_BASED_DIVERSITY",
55 3: "DATA_DRIVEN_DIVERSITY",
56 }
57 ServingConfig_DiversityType_value = map[string]int32{
58 "DIVERSITY_TYPE_UNSPECIFIED": 0,
59 "RULE_BASED_DIVERSITY": 2,
60 "DATA_DRIVEN_DIVERSITY": 3,
61 }
62 )
63
64 func (x ServingConfig_DiversityType) Enum() *ServingConfig_DiversityType {
65 p := new(ServingConfig_DiversityType)
66 *p = x
67 return p
68 }
69
70 func (x ServingConfig_DiversityType) String() string {
71 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
72 }
73
74 func (ServingConfig_DiversityType) Descriptor() protoreflect.EnumDescriptor {
75 return file_google_cloud_retail_v2beta_serving_config_proto_enumTypes[0].Descriptor()
76 }
77
78 func (ServingConfig_DiversityType) Type() protoreflect.EnumType {
79 return &file_google_cloud_retail_v2beta_serving_config_proto_enumTypes[0]
80 }
81
82 func (x ServingConfig_DiversityType) Number() protoreflect.EnumNumber {
83 return protoreflect.EnumNumber(x)
84 }
85
86 // Deprecated: Use ServingConfig_DiversityType.Descriptor instead.
87 func (ServingConfig_DiversityType) EnumDescriptor() ([]byte, []int) {
88 return file_google_cloud_retail_v2beta_serving_config_proto_rawDescGZIP(), []int{0, 0}
89 }
90
91 // Configures metadata that is used to generate serving time results (e.g.
92 // search results or recommendation predictions).
93 type ServingConfig struct {
94 state protoimpl.MessageState
95 sizeCache protoimpl.SizeCache
96 unknownFields protoimpl.UnknownFields
97
98 // Immutable. Fully qualified name
99 // `projects/*/locations/global/catalogs/*/servingConfig/*`
100 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
101 // Required. The human readable serving config display name. Used in Retail
102 // UI.
103 //
104 // This field must be a UTF-8 encoded string with a length limit of 128
105 // characters. Otherwise, an INVALID_ARGUMENT error is returned.
106 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
107 // The id of the model in the same
108 // [Catalog][google.cloud.retail.v2beta.Catalog] to use at serving time.
109 // Currently only RecommendationModels are supported:
110 // https://cloud.google.com/retail/recommendations-ai/docs/create-models
111 // Can be changed but only to a compatible model (e.g.
112 // others-you-may-like CTR to others-you-may-like CVR).
113 //
114 // Required when
115 // [solution_types][google.cloud.retail.v2beta.ServingConfig.solution_types]
116 // is
117 // [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
118 ModelId string `protobuf:"bytes,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"`
119 // How much price ranking we want in serving results.
120 // Price reranking causes product items with a similar
121 // recommendation probability to be ordered by price, with the
122 // highest-priced items first. This setting could result in a decrease in
123 // click-through and conversion rates.
124 //
125 // Allowed values are:
126 //
127 // * `no-price-reranking`
128 // * `low-price-reranking`
129 // * `medium-price-reranking`
130 // * `high-price-reranking`
131 //
132 // If not specified, we choose default based on model type. Default value:
133 // `no-price-reranking`.
134 //
135 // Can only be set if
136 // [solution_types][google.cloud.retail.v2beta.ServingConfig.solution_types]
137 // is
138 // [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
139 PriceRerankingLevel string `protobuf:"bytes,4,opt,name=price_reranking_level,json=priceRerankingLevel,proto3" json:"price_reranking_level,omitempty"`
140 // Facet specifications for faceted search. If empty, no facets are returned.
141 // The ids refer to the ids of [Control][google.cloud.retail.v2beta.Control]
142 // resources with only the Facet control set. These controls are assumed to be
143 // in the same [Catalog][google.cloud.retail.v2beta.Catalog] as the
144 // [ServingConfig][google.cloud.retail.v2beta.ServingConfig].
145 // A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error
146 // is returned.
147 //
148 // Can only be set if
149 // [solution_types][google.cloud.retail.v2beta.ServingConfig.solution_types]
150 // is
151 // [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2beta.SolutionType.SOLUTION_TYPE_SEARCH].
152 FacetControlIds []string `protobuf:"bytes,5,rep,name=facet_control_ids,json=facetControlIds,proto3" json:"facet_control_ids,omitempty"`
153 // The specification for dynamically generated facets. Notice that only
154 // textual facets can be dynamically generated.
155 //
156 // Can only be set if
157 // [solution_types][google.cloud.retail.v2beta.ServingConfig.solution_types]
158 // is
159 // [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2beta.SolutionType.SOLUTION_TYPE_SEARCH].
160 DynamicFacetSpec *SearchRequest_DynamicFacetSpec `protobuf:"bytes,6,opt,name=dynamic_facet_spec,json=dynamicFacetSpec,proto3" json:"dynamic_facet_spec,omitempty"`
161 // Condition boost specifications. If a product matches multiple conditions
162 // in the specifications, boost scores from these specifications are all
163 // applied and combined in a non-linear way. Maximum number of
164 // specifications is 100.
165 //
166 // Notice that if both
167 // [ServingConfig.boost_control_ids][google.cloud.retail.v2beta.ServingConfig.boost_control_ids]
168 // and
169 // [SearchRequest.boost_spec][google.cloud.retail.v2beta.SearchRequest.boost_spec]
170 // are set, the boost conditions from both places are evaluated. If a search
171 // request matches multiple boost conditions, the final boost score is equal
172 // to the sum of the boost scores from all matched boost conditions.
173 //
174 // Can only be set if
175 // [solution_types][google.cloud.retail.v2beta.ServingConfig.solution_types]
176 // is
177 // [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2beta.SolutionType.SOLUTION_TYPE_SEARCH].
178 BoostControlIds []string `protobuf:"bytes,7,rep,name=boost_control_ids,json=boostControlIds,proto3" json:"boost_control_ids,omitempty"`
179 // Condition filter specifications. If a product matches multiple conditions
180 // in the specifications, filters from these specifications are all
181 // applied and combined via the AND operator. Maximum number of
182 // specifications is 100.
183 //
184 // Can only be set if
185 // [solution_types][google.cloud.retail.v2beta.ServingConfig.solution_types]
186 // is
187 // [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2beta.SolutionType.SOLUTION_TYPE_SEARCH].
188 FilterControlIds []string `protobuf:"bytes,9,rep,name=filter_control_ids,json=filterControlIds,proto3" json:"filter_control_ids,omitempty"`
189 // Condition redirect specifications. Only the first triggered redirect action
190 // is applied, even if multiple apply. Maximum number of specifications is
191 // 1000.
192 //
193 // Can only be set if
194 // [solution_types][google.cloud.retail.v2beta.ServingConfig.solution_types]
195 // is
196 // [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2beta.SolutionType.SOLUTION_TYPE_SEARCH].
197 RedirectControlIds []string `protobuf:"bytes,10,rep,name=redirect_control_ids,json=redirectControlIds,proto3" json:"redirect_control_ids,omitempty"`
198 // Condition synonyms specifications. If multiple syonyms conditions match,
199 // all matching synonyms control in the list will execute. Order of controls
200 // in the list will not matter. Maximum number of specifications is
201 // 100.
202 //
203 // Can only be set if
204 // [solution_types][google.cloud.retail.v2beta.ServingConfig.solution_types]
205 // is
206 // [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2beta.SolutionType.SOLUTION_TYPE_SEARCH].
207 TwowaySynonymsControlIds []string `protobuf:"bytes,18,rep,name=twoway_synonyms_control_ids,json=twowaySynonymsControlIds,proto3" json:"twoway_synonyms_control_ids,omitempty"`
208 // Condition oneway synonyms specifications. If multiple oneway synonyms
209 // conditions match, all matching oneway synonyms controls in the list will
210 // execute. Order of controls in the list will not matter. Maximum number of
211 // specifications is 100.
212 //
213 // Can only be set if
214 // [solution_types][google.cloud.retail.v2beta.ServingConfig.solution_types]
215 // is
216 // [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2beta.SolutionType.SOLUTION_TYPE_SEARCH].
217 OnewaySynonymsControlIds []string `protobuf:"bytes,12,rep,name=oneway_synonyms_control_ids,json=onewaySynonymsControlIds,proto3" json:"oneway_synonyms_control_ids,omitempty"`
218 // Condition do not associate specifications. If multiple do not associate
219 // conditions match, all matching do not associate controls in the list will
220 // execute.
221 // - Order does not matter.
222 // - Maximum number of specifications is 100.
223 //
224 // Can only be set if
225 // [solution_types][google.cloud.retail.v2beta.ServingConfig.solution_types]
226 // is
227 // [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2beta.SolutionType.SOLUTION_TYPE_SEARCH].
228 DoNotAssociateControlIds []string `protobuf:"bytes,13,rep,name=do_not_associate_control_ids,json=doNotAssociateControlIds,proto3" json:"do_not_associate_control_ids,omitempty"`
229 // Condition replacement specifications.
230 // - Applied according to the order in the list.
231 // - A previously replaced term can not be re-replaced.
232 // - Maximum number of specifications is 100.
233 //
234 // Can only be set if
235 // [solution_types][google.cloud.retail.v2beta.ServingConfig.solution_types]
236 // is
237 // [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2beta.SolutionType.SOLUTION_TYPE_SEARCH].
238 ReplacementControlIds []string `protobuf:"bytes,14,rep,name=replacement_control_ids,json=replacementControlIds,proto3" json:"replacement_control_ids,omitempty"`
239 // Condition ignore specifications. If multiple ignore
240 // conditions match, all matching ignore controls in the list will
241 // execute.
242 // - Order does not matter.
243 // - Maximum number of specifications is 100.
244 //
245 // Can only be set if
246 // [solution_types][google.cloud.retail.v2beta.ServingConfig.solution_types]
247 // is
248 // [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2beta.SolutionType.SOLUTION_TYPE_SEARCH].
249 IgnoreControlIds []string `protobuf:"bytes,15,rep,name=ignore_control_ids,json=ignoreControlIds,proto3" json:"ignore_control_ids,omitempty"`
250 // How much diversity to use in recommendation model results e.g.
251 // `medium-diversity` or `high-diversity`. Currently supported values:
252 //
253 // * `no-diversity`
254 // * `low-diversity`
255 // * `medium-diversity`
256 // * `high-diversity`
257 // * `auto-diversity`
258 //
259 // If not specified, we choose default based on recommendation model
260 // type. Default value: `no-diversity`.
261 //
262 // Can only be set if
263 // [solution_types][google.cloud.retail.v2beta.ServingConfig.solution_types]
264 // is
265 // [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
266 DiversityLevel string `protobuf:"bytes,8,opt,name=diversity_level,json=diversityLevel,proto3" json:"diversity_level,omitempty"`
267 // What kind of diversity to use - data driven or rule based. If unset, the
268 // server behavior defaults to
269 // [RULE_BASED_DIVERSITY][google.cloud.retail.v2beta.ServingConfig.DiversityType.RULE_BASED_DIVERSITY].
270 DiversityType ServingConfig_DiversityType `protobuf:"varint,20,opt,name=diversity_type,json=diversityType,proto3,enum=google.cloud.retail.v2beta.ServingConfig_DiversityType" json:"diversity_type,omitempty"`
271 // Whether to add additional category filters on the `similar-items` model.
272 // If not specified, we enable it by default.
273 //
274 // Allowed values are:
275 //
276 // - `no-category-match`: No additional filtering of original results from
277 // the model and the customer's filters.
278 // - `relaxed-category-match`: Only keep results with categories that match
279 // at least one item categories in the PredictRequests's context item.
280 // - If customer also sends filters in the PredictRequest, then the results
281 // will satisfy both conditions (user given and category match).
282 //
283 // Can only be set if
284 // [solution_types][google.cloud.retail.v2beta.ServingConfig.solution_types]
285 // is
286 // [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
287 EnableCategoryFilterLevel string `protobuf:"bytes,16,opt,name=enable_category_filter_level,json=enableCategoryFilterLevel,proto3" json:"enable_category_filter_level,omitempty"`
288 // When the flag is enabled, the products in the denylist will not be filtered
289 // out in the recommendation filtering results.
290 IgnoreRecsDenylist bool `protobuf:"varint,24,opt,name=ignore_recs_denylist,json=ignoreRecsDenylist,proto3" json:"ignore_recs_denylist,omitempty"`
291 // The specification for personalization spec.
292 //
293 // Can only be set if
294 // [solution_types][google.cloud.retail.v2beta.ServingConfig.solution_types]
295 // is
296 // [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2beta.SolutionType.SOLUTION_TYPE_SEARCH].
297 //
298 // Notice that if both
299 // [ServingConfig.personalization_spec][google.cloud.retail.v2beta.ServingConfig.personalization_spec]
300 // and
301 // [SearchRequest.personalization_spec][google.cloud.retail.v2beta.SearchRequest.personalization_spec]
302 // are set.
303 // [SearchRequest.personalization_spec][google.cloud.retail.v2beta.SearchRequest.personalization_spec]
304 // will override
305 // [ServingConfig.personalization_spec][google.cloud.retail.v2beta.ServingConfig.personalization_spec].
306 PersonalizationSpec *SearchRequest_PersonalizationSpec `protobuf:"bytes,21,opt,name=personalization_spec,json=personalizationSpec,proto3" json:"personalization_spec,omitempty"`
307 // Required. Immutable. Specifies the solution types that a serving config can
308 // be associated with. Currently we support setting only one type of solution.
309 SolutionTypes []SolutionType `protobuf:"varint,19,rep,packed,name=solution_types,json=solutionTypes,proto3,enum=google.cloud.retail.v2beta.SolutionType" json:"solution_types,omitempty"`
310 }
311
312 func (x *ServingConfig) Reset() {
313 *x = ServingConfig{}
314 mi := &file_google_cloud_retail_v2beta_serving_config_proto_msgTypes[0]
315 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
316 ms.StoreMessageInfo(mi)
317 }
318
319 func (x *ServingConfig) String() string {
320 return protoimpl.X.MessageStringOf(x)
321 }
322
323 func (*ServingConfig) ProtoMessage() {}
324
325 func (x *ServingConfig) ProtoReflect() protoreflect.Message {
326 mi := &file_google_cloud_retail_v2beta_serving_config_proto_msgTypes[0]
327 if x != nil {
328 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
329 if ms.LoadMessageInfo() == nil {
330 ms.StoreMessageInfo(mi)
331 }
332 return ms
333 }
334 return mi.MessageOf(x)
335 }
336
337 // Deprecated: Use ServingConfig.ProtoReflect.Descriptor instead.
338 func (*ServingConfig) Descriptor() ([]byte, []int) {
339 return file_google_cloud_retail_v2beta_serving_config_proto_rawDescGZIP(), []int{0}
340 }
341
342 func (x *ServingConfig) GetName() string {
343 if x != nil {
344 return x.Name
345 }
346 return ""
347 }
348
349 func (x *ServingConfig) GetDisplayName() string {
350 if x != nil {
351 return x.DisplayName
352 }
353 return ""
354 }
355
356 func (x *ServingConfig) GetModelId() string {
357 if x != nil {
358 return x.ModelId
359 }
360 return ""
361 }
362
363 func (x *ServingConfig) GetPriceRerankingLevel() string {
364 if x != nil {
365 return x.PriceRerankingLevel
366 }
367 return ""
368 }
369
370 func (x *ServingConfig) GetFacetControlIds() []string {
371 if x != nil {
372 return x.FacetControlIds
373 }
374 return nil
375 }
376
377 func (x *ServingConfig) GetDynamicFacetSpec() *SearchRequest_DynamicFacetSpec {
378 if x != nil {
379 return x.DynamicFacetSpec
380 }
381 return nil
382 }
383
384 func (x *ServingConfig) GetBoostControlIds() []string {
385 if x != nil {
386 return x.BoostControlIds
387 }
388 return nil
389 }
390
391 func (x *ServingConfig) GetFilterControlIds() []string {
392 if x != nil {
393 return x.FilterControlIds
394 }
395 return nil
396 }
397
398 func (x *ServingConfig) GetRedirectControlIds() []string {
399 if x != nil {
400 return x.RedirectControlIds
401 }
402 return nil
403 }
404
405 func (x *ServingConfig) GetTwowaySynonymsControlIds() []string {
406 if x != nil {
407 return x.TwowaySynonymsControlIds
408 }
409 return nil
410 }
411
412 func (x *ServingConfig) GetOnewaySynonymsControlIds() []string {
413 if x != nil {
414 return x.OnewaySynonymsControlIds
415 }
416 return nil
417 }
418
419 func (x *ServingConfig) GetDoNotAssociateControlIds() []string {
420 if x != nil {
421 return x.DoNotAssociateControlIds
422 }
423 return nil
424 }
425
426 func (x *ServingConfig) GetReplacementControlIds() []string {
427 if x != nil {
428 return x.ReplacementControlIds
429 }
430 return nil
431 }
432
433 func (x *ServingConfig) GetIgnoreControlIds() []string {
434 if x != nil {
435 return x.IgnoreControlIds
436 }
437 return nil
438 }
439
440 func (x *ServingConfig) GetDiversityLevel() string {
441 if x != nil {
442 return x.DiversityLevel
443 }
444 return ""
445 }
446
447 func (x *ServingConfig) GetDiversityType() ServingConfig_DiversityType {
448 if x != nil {
449 return x.DiversityType
450 }
451 return ServingConfig_DIVERSITY_TYPE_UNSPECIFIED
452 }
453
454 func (x *ServingConfig) GetEnableCategoryFilterLevel() string {
455 if x != nil {
456 return x.EnableCategoryFilterLevel
457 }
458 return ""
459 }
460
461 func (x *ServingConfig) GetIgnoreRecsDenylist() bool {
462 if x != nil {
463 return x.IgnoreRecsDenylist
464 }
465 return false
466 }
467
468 func (x *ServingConfig) GetPersonalizationSpec() *SearchRequest_PersonalizationSpec {
469 if x != nil {
470 return x.PersonalizationSpec
471 }
472 return nil
473 }
474
475 func (x *ServingConfig) GetSolutionTypes() []SolutionType {
476 if x != nil {
477 return x.SolutionTypes
478 }
479 return nil
480 }
481
482 var File_google_cloud_retail_v2beta_serving_config_proto protoreflect.FileDescriptor
483
484 var file_google_cloud_retail_v2beta_serving_config_proto_rawDesc = []byte{
485 0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72,
486 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x65, 0x72,
487 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
488 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
489 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1f, 0x67,
490 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f,
491 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19,
492 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75,
493 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
494 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76,
495 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
496 0x74, 0x6f, 0x1a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
497 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73,
498 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72,
499 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x0b, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43,
500 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
501 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26,
502 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
503 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c,
504 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f,
505 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x49,
506 0x64, 0x12, 0x32, 0x0a, 0x15, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x72, 0x61, 0x6e,
507 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
508 0x52, 0x13, 0x70, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x72, 0x61, 0x6e, 0x6b, 0x69, 0x6e, 0x67,
509 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2a, 0x0a, 0x11, 0x66, 0x61, 0x63, 0x65, 0x74, 0x5f, 0x63,
510 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09,
511 0x52, 0x0f, 0x66, 0x61, 0x63, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x49, 0x64,
512 0x73, 0x12, 0x68, 0x0a, 0x12, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x66, 0x61, 0x63,
513 0x65, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e,
514 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74,
515 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63,
516 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63,
517 0x46, 0x61, 0x63, 0x65, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x10, 0x64, 0x79, 0x6e, 0x61, 0x6d,
518 0x69, 0x63, 0x46, 0x61, 0x63, 0x65, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x2a, 0x0a, 0x11, 0x62,
519 0x6f, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x69, 0x64, 0x73,
520 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x62, 0x6f, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6e,
521 0x74, 0x72, 0x6f, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x69, 0x6c, 0x74, 0x65,
522 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x09, 0x20,
523 0x03, 0x28, 0x09, 0x52, 0x10, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72,
524 0x6f, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63,
525 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0a, 0x20,
526 0x03, 0x28, 0x09, 0x52, 0x12, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e,
527 0x74, 0x72, 0x6f, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x3d, 0x0a, 0x1b, 0x74, 0x77, 0x6f, 0x77, 0x61,
528 0x79, 0x5f, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72,
529 0x6f, 0x6c, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x09, 0x52, 0x18, 0x74, 0x77,
530 0x6f, 0x77, 0x61, 0x79, 0x53, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x43, 0x6f, 0x6e, 0x74,
531 0x72, 0x6f, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x3d, 0x0a, 0x1b, 0x6f, 0x6e, 0x65, 0x77, 0x61, 0x79,
532 0x5f, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f,
533 0x6c, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x18, 0x6f, 0x6e, 0x65,
534 0x77, 0x61, 0x79, 0x53, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72,
535 0x6f, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x3e, 0x0a, 0x1c, 0x64, 0x6f, 0x5f, 0x6e, 0x6f, 0x74, 0x5f,
536 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f,
537 0x6c, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x18, 0x64, 0x6f, 0x4e,
538 0x6f, 0x74, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72,
539 0x6f, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65,
540 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x69, 0x64, 0x73,
541 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x15, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d,
542 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x2c, 0x0a,
543 0x12, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f,
544 0x69, 0x64, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x69, 0x67, 0x6e, 0x6f, 0x72,
545 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x64,
546 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x08,
547 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x74, 0x79, 0x4c,
548 0x65, 0x76, 0x65, 0x6c, 0x12, 0x5e, 0x0a, 0x0e, 0x64, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x74,
549 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x67,
550 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61,
551 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e,
552 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x74,
553 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x64, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x74, 0x79,
554 0x54, 0x79, 0x70, 0x65, 0x12, 0x3f, 0x0a, 0x1c, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63,
555 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x6c,
556 0x65, 0x76, 0x65, 0x6c, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x19, 0x65, 0x6e, 0x61, 0x62,
557 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
558 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f,
559 0x72, 0x65, 0x63, 0x73, 0x5f, 0x64, 0x65, 0x6e, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x18, 0x20,
560 0x01, 0x28, 0x08, 0x52, 0x12, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x63, 0x73, 0x44,
561 0x65, 0x6e, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x70, 0x0a, 0x14, 0x70, 0x65, 0x72, 0x73, 0x6f,
562 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18,
563 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
564 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65,
565 0x74, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
566 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
567 0x53, 0x70, 0x65, 0x63, 0x52, 0x13, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x7a,
568 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x57, 0x0a, 0x0e, 0x73, 0x6f, 0x6c,
569 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28,
570 0x0e, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
571 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53,
572 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x06, 0xe0, 0x41, 0x02,
573 0xe0, 0x41, 0x05, 0x52, 0x0d, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70,
574 0x65, 0x73, 0x22, 0x64, 0x0a, 0x0d, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x74, 0x79, 0x54,
575 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x44, 0x49, 0x56, 0x45, 0x52, 0x53, 0x49, 0x54, 0x59,
576 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
577 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x55, 0x4c, 0x45, 0x5f, 0x42, 0x41, 0x53, 0x45,
578 0x44, 0x5f, 0x44, 0x49, 0x56, 0x45, 0x52, 0x53, 0x49, 0x54, 0x59, 0x10, 0x02, 0x12, 0x19, 0x0a,
579 0x15, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x44, 0x52, 0x49, 0x56, 0x45, 0x4e, 0x5f, 0x44, 0x49, 0x56,
580 0x45, 0x52, 0x53, 0x49, 0x54, 0x59, 0x10, 0x03, 0x3a, 0x85, 0x01, 0xea, 0x41, 0x81, 0x01, 0x0a,
581 0x23, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
582 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f,
583 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b,
584 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
585 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x63, 0x61,
586 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x7b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x7d,
587 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f,
588 0x7b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d,
589 0x42, 0xd1, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
590 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62,
591 0x65, 0x74, 0x61, 0x42, 0x12, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66,
592 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x63, 0x6c, 0x6f, 0x75, 0x64,
593 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x72,
594 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f,
595 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x70, 0x62, 0x3b, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x70,
596 0x62, 0xa2, 0x02, 0x06, 0x52, 0x45, 0x54, 0x41, 0x49, 0x4c, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f,
597 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c,
598 0x2e, 0x56, 0x32, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
599 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x5c, 0x56, 0x32,
600 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43,
601 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x3a, 0x3a, 0x56, 0x32,
602 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
603 }
604
605 var (
606 file_google_cloud_retail_v2beta_serving_config_proto_rawDescOnce sync.Once
607 file_google_cloud_retail_v2beta_serving_config_proto_rawDescData = file_google_cloud_retail_v2beta_serving_config_proto_rawDesc
608 )
609
610 func file_google_cloud_retail_v2beta_serving_config_proto_rawDescGZIP() []byte {
611 file_google_cloud_retail_v2beta_serving_config_proto_rawDescOnce.Do(func() {
612 file_google_cloud_retail_v2beta_serving_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_retail_v2beta_serving_config_proto_rawDescData)
613 })
614 return file_google_cloud_retail_v2beta_serving_config_proto_rawDescData
615 }
616
617 var file_google_cloud_retail_v2beta_serving_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
618 var file_google_cloud_retail_v2beta_serving_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
619 var file_google_cloud_retail_v2beta_serving_config_proto_goTypes = []any{
620 (ServingConfig_DiversityType)(0), // 0: google.cloud.retail.v2beta.ServingConfig.DiversityType
621 (*ServingConfig)(nil), // 1: google.cloud.retail.v2beta.ServingConfig
622 (*SearchRequest_DynamicFacetSpec)(nil), // 2: google.cloud.retail.v2beta.SearchRequest.DynamicFacetSpec
623 (*SearchRequest_PersonalizationSpec)(nil), // 3: google.cloud.retail.v2beta.SearchRequest.PersonalizationSpec
624 (SolutionType)(0), // 4: google.cloud.retail.v2beta.SolutionType
625 }
626 var file_google_cloud_retail_v2beta_serving_config_proto_depIdxs = []int32{
627 2, // 0: google.cloud.retail.v2beta.ServingConfig.dynamic_facet_spec:type_name -> google.cloud.retail.v2beta.SearchRequest.DynamicFacetSpec
628 0, // 1: google.cloud.retail.v2beta.ServingConfig.diversity_type:type_name -> google.cloud.retail.v2beta.ServingConfig.DiversityType
629 3, // 2: google.cloud.retail.v2beta.ServingConfig.personalization_spec:type_name -> google.cloud.retail.v2beta.SearchRequest.PersonalizationSpec
630 4, // 3: google.cloud.retail.v2beta.ServingConfig.solution_types:type_name -> google.cloud.retail.v2beta.SolutionType
631 4, // [4:4] is the sub-list for method output_type
632 4, // [4:4] is the sub-list for method input_type
633 4, // [4:4] is the sub-list for extension type_name
634 4, // [4:4] is the sub-list for extension extendee
635 0, // [0:4] is the sub-list for field type_name
636 }
637
638 func init() { file_google_cloud_retail_v2beta_serving_config_proto_init() }
639 func file_google_cloud_retail_v2beta_serving_config_proto_init() {
640 if File_google_cloud_retail_v2beta_serving_config_proto != nil {
641 return
642 }
643 file_google_cloud_retail_v2beta_common_proto_init()
644 file_google_cloud_retail_v2beta_search_service_proto_init()
645 type x struct{}
646 out := protoimpl.TypeBuilder{
647 File: protoimpl.DescBuilder{
648 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
649 RawDescriptor: file_google_cloud_retail_v2beta_serving_config_proto_rawDesc,
650 NumEnums: 1,
651 NumMessages: 1,
652 NumExtensions: 0,
653 NumServices: 0,
654 },
655 GoTypes: file_google_cloud_retail_v2beta_serving_config_proto_goTypes,
656 DependencyIndexes: file_google_cloud_retail_v2beta_serving_config_proto_depIdxs,
657 EnumInfos: file_google_cloud_retail_v2beta_serving_config_proto_enumTypes,
658 MessageInfos: file_google_cloud_retail_v2beta_serving_config_proto_msgTypes,
659 }.Build()
660 File_google_cloud_retail_v2beta_serving_config_proto = out.File
661 file_google_cloud_retail_v2beta_serving_config_proto_rawDesc = nil
662 file_google_cloud_retail_v2beta_serving_config_proto_goTypes = nil
663 file_google_cloud_retail_v2beta_serving_config_proto_depIdxs = nil
664 }