Debian Codegraph @

retail/apiv2alpha/retailpb/search_service.pb.go

raw symbols SCIP
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/v2alpha/search_service.proto
20
21 package retailpb
22
23 import (
24 context "context"
25 _ "google.golang.org/genproto/googleapis/api/annotations"
26 grpc "google.golang.org/grpc"
27 codes "google.golang.org/grpc/codes"
28 status "google.golang.org/grpc/status"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
32 structpb "google.golang.org/protobuf/types/known/structpb"
33 reflect "reflect"
34 sync "sync"
35 )
36
37 const (
38 // Verify that this generated code is sufficiently up-to-date.
39 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
40 // Verify that runtime/protoimpl is sufficiently up-to-date.
41 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
42 )
43
44 // The relevance threshold of the search results. The higher relevance
45 // threshold is, the higher relevant results are shown and the less number of
46 // results are returned.
47 type SearchRequest_RelevanceThreshold int32
48
49 const (
50 // Default value. In this case, server behavior defaults to
51 // [RelevanceThreshold.HIGH][google.cloud.retail.v2alpha.SearchRequest.RelevanceThreshold.HIGH].
52 SearchRequest_RELEVANCE_THRESHOLD_UNSPECIFIED SearchRequest_RelevanceThreshold = 0
53 // High relevance threshold.
54 SearchRequest_HIGH SearchRequest_RelevanceThreshold = 1
55 // Medium relevance threshold.
56 SearchRequest_MEDIUM SearchRequest_RelevanceThreshold = 2
57 // Low relevance threshold.
58 SearchRequest_LOW SearchRequest_RelevanceThreshold = 3
59 // Lowest relevance threshold.
60 SearchRequest_LOWEST SearchRequest_RelevanceThreshold = 4
61 )
62
63 // Enum value maps for SearchRequest_RelevanceThreshold.
64 var (
65 SearchRequest_RelevanceThreshold_name = map[int32]string{
66 0: "RELEVANCE_THRESHOLD_UNSPECIFIED",
67 1: "HIGH",
68 2: "MEDIUM",
69 3: "LOW",
70 4: "LOWEST",
71 }
72 SearchRequest_RelevanceThreshold_value = map[string]int32{
73 "RELEVANCE_THRESHOLD_UNSPECIFIED": 0,
74 "HIGH": 1,
75 "MEDIUM": 2,
76 "LOW": 3,
77 "LOWEST": 4,
78 }
79 )
80
81 func (x SearchRequest_RelevanceThreshold) Enum() *SearchRequest_RelevanceThreshold {
82 p := new(SearchRequest_RelevanceThreshold)
83 *p = x
84 return p
85 }
86
87 func (x SearchRequest_RelevanceThreshold) String() string {
88 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
89 }
90
91 func (SearchRequest_RelevanceThreshold) Descriptor() protoreflect.EnumDescriptor {
92 return file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[0].Descriptor()
93 }
94
95 func (SearchRequest_RelevanceThreshold) Type() protoreflect.EnumType {
96 return &file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[0]
97 }
98
99 func (x SearchRequest_RelevanceThreshold) Number() protoreflect.EnumNumber {
100 return protoreflect.EnumNumber(x)
101 }
102
103 // Deprecated: Use SearchRequest_RelevanceThreshold.Descriptor instead.
104 func (SearchRequest_RelevanceThreshold) EnumDescriptor() ([]byte, []int) {
105 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 0}
106 }
107
108 // The search mode of each search request.
109 type SearchRequest_SearchMode int32
110
111 const (
112 // Default value. In this case both product search and faceted search will
113 // be performed. Both
114 // [SearchResponse.SearchResult][google.cloud.retail.v2alpha.SearchResponse.SearchResult]
115 // and
116 // [SearchResponse.Facet][google.cloud.retail.v2alpha.SearchResponse.Facet]
117 // will be returned.
118 SearchRequest_SEARCH_MODE_UNSPECIFIED SearchRequest_SearchMode = 0
119 // Only product search will be performed. The faceted search will be
120 // disabled.
121 //
122 // Only
123 // [SearchResponse.SearchResult][google.cloud.retail.v2alpha.SearchResponse.SearchResult]
124 // will be returned.
125 // [SearchResponse.Facet][google.cloud.retail.v2alpha.SearchResponse.Facet]
126 // will not be returned, even if
127 // [SearchRequest.facet_specs][google.cloud.retail.v2alpha.SearchRequest.facet_specs]
128 // or
129 // [SearchRequest.dynamic_facet_spec][google.cloud.retail.v2alpha.SearchRequest.dynamic_facet_spec]
130 // is set.
131 SearchRequest_PRODUCT_SEARCH_ONLY SearchRequest_SearchMode = 1
132 // Only faceted search will be performed. The product search will be
133 // disabled.
134 //
135 // When in this mode, one or both of
136 // [SearchRequest.facet_specs][google.cloud.retail.v2alpha.SearchRequest.facet_specs]
137 // and
138 // [SearchRequest.dynamic_facet_spec][google.cloud.retail.v2alpha.SearchRequest.dynamic_facet_spec]
139 // should be set. Otherwise, an INVALID_ARGUMENT error is returned. Only
140 // [SearchResponse.Facet][google.cloud.retail.v2alpha.SearchResponse.Facet]
141 // will be returned.
142 // [SearchResponse.SearchResult][google.cloud.retail.v2alpha.SearchResponse.SearchResult]
143 // will not be returned.
144 SearchRequest_FACETED_SEARCH_ONLY SearchRequest_SearchMode = 2
145 )
146
147 // Enum value maps for SearchRequest_SearchMode.
148 var (
149 SearchRequest_SearchMode_name = map[int32]string{
150 0: "SEARCH_MODE_UNSPECIFIED",
151 1: "PRODUCT_SEARCH_ONLY",
152 2: "FACETED_SEARCH_ONLY",
153 }
154 SearchRequest_SearchMode_value = map[string]int32{
155 "SEARCH_MODE_UNSPECIFIED": 0,
156 "PRODUCT_SEARCH_ONLY": 1,
157 "FACETED_SEARCH_ONLY": 2,
158 }
159 )
160
161 func (x SearchRequest_SearchMode) Enum() *SearchRequest_SearchMode {
162 p := new(SearchRequest_SearchMode)
163 *p = x
164 return p
165 }
166
167 func (x SearchRequest_SearchMode) String() string {
168 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
169 }
170
171 func (SearchRequest_SearchMode) Descriptor() protoreflect.EnumDescriptor {
172 return file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[1].Descriptor()
173 }
174
175 func (SearchRequest_SearchMode) Type() protoreflect.EnumType {
176 return &file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[1]
177 }
178
179 func (x SearchRequest_SearchMode) Number() protoreflect.EnumNumber {
180 return protoreflect.EnumNumber(x)
181 }
182
183 // Deprecated: Use SearchRequest_SearchMode.Descriptor instead.
184 func (SearchRequest_SearchMode) EnumDescriptor() ([]byte, []int) {
185 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 1}
186 }
187
188 // Enum to control DynamicFacet mode
189 type SearchRequest_DynamicFacetSpec_Mode int32
190
191 const (
192 // Default value.
193 SearchRequest_DynamicFacetSpec_MODE_UNSPECIFIED SearchRequest_DynamicFacetSpec_Mode = 0
194 // Disable Dynamic Facet.
195 SearchRequest_DynamicFacetSpec_DISABLED SearchRequest_DynamicFacetSpec_Mode = 1
196 // Automatic mode built by Google Retail Search.
197 SearchRequest_DynamicFacetSpec_ENABLED SearchRequest_DynamicFacetSpec_Mode = 2
198 )
199
200 // Enum value maps for SearchRequest_DynamicFacetSpec_Mode.
201 var (
202 SearchRequest_DynamicFacetSpec_Mode_name = map[int32]string{
203 0: "MODE_UNSPECIFIED",
204 1: "DISABLED",
205 2: "ENABLED",
206 }
207 SearchRequest_DynamicFacetSpec_Mode_value = map[string]int32{
208 "MODE_UNSPECIFIED": 0,
209 "DISABLED": 1,
210 "ENABLED": 2,
211 }
212 )
213
214 func (x SearchRequest_DynamicFacetSpec_Mode) Enum() *SearchRequest_DynamicFacetSpec_Mode {
215 p := new(SearchRequest_DynamicFacetSpec_Mode)
216 *p = x
217 return p
218 }
219
220 func (x SearchRequest_DynamicFacetSpec_Mode) String() string {
221 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
222 }
223
224 func (SearchRequest_DynamicFacetSpec_Mode) Descriptor() protoreflect.EnumDescriptor {
225 return file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[2].Descriptor()
226 }
227
228 func (SearchRequest_DynamicFacetSpec_Mode) Type() protoreflect.EnumType {
229 return &file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[2]
230 }
231
232 func (x SearchRequest_DynamicFacetSpec_Mode) Number() protoreflect.EnumNumber {
233 return protoreflect.EnumNumber(x)
234 }
235
236 // Deprecated: Use SearchRequest_DynamicFacetSpec_Mode.Descriptor instead.
237 func (SearchRequest_DynamicFacetSpec_Mode) EnumDescriptor() ([]byte, []int) {
238 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 1, 0}
239 }
240
241 // Enum describing under which condition query expansion should occur.
242 type SearchRequest_QueryExpansionSpec_Condition int32
243
244 const (
245 // Unspecified query expansion condition. In this case, server behavior
246 // defaults to
247 // [Condition.DISABLED][google.cloud.retail.v2alpha.SearchRequest.QueryExpansionSpec.Condition.DISABLED].
248 SearchRequest_QueryExpansionSpec_CONDITION_UNSPECIFIED SearchRequest_QueryExpansionSpec_Condition = 0
249 // Disabled query expansion. Only the exact search query is used, even if
250 // [SearchResponse.total_size][google.cloud.retail.v2alpha.SearchResponse.total_size]
251 // is zero.
252 SearchRequest_QueryExpansionSpec_DISABLED SearchRequest_QueryExpansionSpec_Condition = 1
253 // Automatic query expansion built by Google Retail Search.
254 SearchRequest_QueryExpansionSpec_AUTO SearchRequest_QueryExpansionSpec_Condition = 3
255 )
256
257 // Enum value maps for SearchRequest_QueryExpansionSpec_Condition.
258 var (
259 SearchRequest_QueryExpansionSpec_Condition_name = map[int32]string{
260 0: "CONDITION_UNSPECIFIED",
261 1: "DISABLED",
262 3: "AUTO",
263 }
264 SearchRequest_QueryExpansionSpec_Condition_value = map[string]int32{
265 "CONDITION_UNSPECIFIED": 0,
266 "DISABLED": 1,
267 "AUTO": 3,
268 }
269 )
270
271 func (x SearchRequest_QueryExpansionSpec_Condition) Enum() *SearchRequest_QueryExpansionSpec_Condition {
272 p := new(SearchRequest_QueryExpansionSpec_Condition)
273 *p = x
274 return p
275 }
276
277 func (x SearchRequest_QueryExpansionSpec_Condition) String() string {
278 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
279 }
280
281 func (SearchRequest_QueryExpansionSpec_Condition) Descriptor() protoreflect.EnumDescriptor {
282 return file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[3].Descriptor()
283 }
284
285 func (SearchRequest_QueryExpansionSpec_Condition) Type() protoreflect.EnumType {
286 return &file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[3]
287 }
288
289 func (x SearchRequest_QueryExpansionSpec_Condition) Number() protoreflect.EnumNumber {
290 return protoreflect.EnumNumber(x)
291 }
292
293 // Deprecated: Use SearchRequest_QueryExpansionSpec_Condition.Descriptor instead.
294 func (SearchRequest_QueryExpansionSpec_Condition) EnumDescriptor() ([]byte, []int) {
295 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 3, 0}
296 }
297
298 // The personalization mode of each search request.
299 type SearchRequest_PersonalizationSpec_Mode int32
300
301 const (
302 // Default value. In this case, server behavior defaults to
303 // [Mode.AUTO][google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpec.Mode.AUTO].
304 SearchRequest_PersonalizationSpec_MODE_UNSPECIFIED SearchRequest_PersonalizationSpec_Mode = 0
305 // Let CRS decide whether to use personalization based on quality of user
306 // event data.
307 SearchRequest_PersonalizationSpec_AUTO SearchRequest_PersonalizationSpec_Mode = 1
308 // Disable personalization.
309 SearchRequest_PersonalizationSpec_DISABLED SearchRequest_PersonalizationSpec_Mode = 2
310 )
311
312 // Enum value maps for SearchRequest_PersonalizationSpec_Mode.
313 var (
314 SearchRequest_PersonalizationSpec_Mode_name = map[int32]string{
315 0: "MODE_UNSPECIFIED",
316 1: "AUTO",
317 2: "DISABLED",
318 }
319 SearchRequest_PersonalizationSpec_Mode_value = map[string]int32{
320 "MODE_UNSPECIFIED": 0,
321 "AUTO": 1,
322 "DISABLED": 2,
323 }
324 )
325
326 func (x SearchRequest_PersonalizationSpec_Mode) Enum() *SearchRequest_PersonalizationSpec_Mode {
327 p := new(SearchRequest_PersonalizationSpec_Mode)
328 *p = x
329 return p
330 }
331
332 func (x SearchRequest_PersonalizationSpec_Mode) String() string {
333 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
334 }
335
336 func (SearchRequest_PersonalizationSpec_Mode) Descriptor() protoreflect.EnumDescriptor {
337 return file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[4].Descriptor()
338 }
339
340 func (SearchRequest_PersonalizationSpec_Mode) Type() protoreflect.EnumType {
341 return &file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[4]
342 }
343
344 func (x SearchRequest_PersonalizationSpec_Mode) Number() protoreflect.EnumNumber {
345 return protoreflect.EnumNumber(x)
346 }
347
348 // Deprecated: Use SearchRequest_PersonalizationSpec_Mode.Descriptor instead.
349 func (SearchRequest_PersonalizationSpec_Mode) EnumDescriptor() ([]byte, []int) {
350 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 4, 0}
351 }
352
353 // Enum describing under which mode spell correction should occur.
354 type SearchRequest_SpellCorrectionSpec_Mode int32
355
356 const (
357 // Unspecified spell correction mode. In this case, server behavior
358 // defaults to
359 // [Mode.AUTO][google.cloud.retail.v2alpha.SearchRequest.SpellCorrectionSpec.Mode.AUTO].
360 SearchRequest_SpellCorrectionSpec_MODE_UNSPECIFIED SearchRequest_SpellCorrectionSpec_Mode = 0
361 // Google Retail Search will try to find a spell suggestion if there
362 // is any and put in the
363 // [SearchResponse.corrected_query][google.cloud.retail.v2alpha.SearchResponse.corrected_query].
364 // The spell suggestion will not be used as the search query.
365 SearchRequest_SpellCorrectionSpec_SUGGESTION_ONLY SearchRequest_SpellCorrectionSpec_Mode = 1
366 // Automatic spell correction built by Google Retail Search. Search will
367 // be based on the corrected query if found.
368 SearchRequest_SpellCorrectionSpec_AUTO SearchRequest_SpellCorrectionSpec_Mode = 2
369 )
370
371 // Enum value maps for SearchRequest_SpellCorrectionSpec_Mode.
372 var (
373 SearchRequest_SpellCorrectionSpec_Mode_name = map[int32]string{
374 0: "MODE_UNSPECIFIED",
375 1: "SUGGESTION_ONLY",
376 2: "AUTO",
377 }
378 SearchRequest_SpellCorrectionSpec_Mode_value = map[string]int32{
379 "MODE_UNSPECIFIED": 0,
380 "SUGGESTION_ONLY": 1,
381 "AUTO": 2,
382 }
383 )
384
385 func (x SearchRequest_SpellCorrectionSpec_Mode) Enum() *SearchRequest_SpellCorrectionSpec_Mode {
386 p := new(SearchRequest_SpellCorrectionSpec_Mode)
387 *p = x
388 return p
389 }
390
391 func (x SearchRequest_SpellCorrectionSpec_Mode) String() string {
392 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
393 }
394
395 func (SearchRequest_SpellCorrectionSpec_Mode) Descriptor() protoreflect.EnumDescriptor {
396 return file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[5].Descriptor()
397 }
398
399 func (SearchRequest_SpellCorrectionSpec_Mode) Type() protoreflect.EnumType {
400 return &file_google_cloud_retail_v2alpha_search_service_proto_enumTypes[5]
401 }
402
403 func (x SearchRequest_SpellCorrectionSpec_Mode) Number() protoreflect.EnumNumber {
404 return protoreflect.EnumNumber(x)
405 }
406
407 // Deprecated: Use SearchRequest_SpellCorrectionSpec_Mode.Descriptor instead.
408 func (SearchRequest_SpellCorrectionSpec_Mode) EnumDescriptor() ([]byte, []int) {
409 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 5, 0}
410 }
411
412 // Product attribute which structured by an attribute name and value. This
413 // structure is used in conversational search filters and answers. For example,
414 // if we have `name=color` and `value=red`, this means that the color is `red`.
415 type ProductAttributeValue struct {
416 state protoimpl.MessageState
417 sizeCache protoimpl.SizeCache
418 unknownFields protoimpl.UnknownFields
419
420 // The attribute name.
421 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
422 // The attribute value.
423 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
424 }
425
426 func (x *ProductAttributeValue) Reset() {
427 *x = ProductAttributeValue{}
428 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[0]
429 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
430 ms.StoreMessageInfo(mi)
431 }
432
433 func (x *ProductAttributeValue) String() string {
434 return protoimpl.X.MessageStringOf(x)
435 }
436
437 func (*ProductAttributeValue) ProtoMessage() {}
438
439 func (x *ProductAttributeValue) ProtoReflect() protoreflect.Message {
440 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[0]
441 if x != nil {
442 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
443 if ms.LoadMessageInfo() == nil {
444 ms.StoreMessageInfo(mi)
445 }
446 return ms
447 }
448 return mi.MessageOf(x)
449 }
450
451 // Deprecated: Use ProductAttributeValue.ProtoReflect.Descriptor instead.
452 func (*ProductAttributeValue) Descriptor() ([]byte, []int) {
453 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{0}
454 }
455
456 func (x *ProductAttributeValue) GetName() string {
457 if x != nil {
458 return x.Name
459 }
460 return ""
461 }
462
463 func (x *ProductAttributeValue) GetValue() string {
464 if x != nil {
465 return x.Value
466 }
467 return ""
468 }
469
470 // Product attribute name and numeric interval.
471 type ProductAttributeInterval struct {
472 state protoimpl.MessageState
473 sizeCache protoimpl.SizeCache
474 unknownFields protoimpl.UnknownFields
475
476 // The attribute name (e.g. "length")
477 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
478 // The numeric interval (e.g. [10, 20))
479 Interval *Interval `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`
480 }
481
482 func (x *ProductAttributeInterval) Reset() {
483 *x = ProductAttributeInterval{}
484 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[1]
485 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
486 ms.StoreMessageInfo(mi)
487 }
488
489 func (x *ProductAttributeInterval) String() string {
490 return protoimpl.X.MessageStringOf(x)
491 }
492
493 func (*ProductAttributeInterval) ProtoMessage() {}
494
495 func (x *ProductAttributeInterval) ProtoReflect() protoreflect.Message {
496 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[1]
497 if x != nil {
498 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
499 if ms.LoadMessageInfo() == nil {
500 ms.StoreMessageInfo(mi)
501 }
502 return ms
503 }
504 return mi.MessageOf(x)
505 }
506
507 // Deprecated: Use ProductAttributeInterval.ProtoReflect.Descriptor instead.
508 func (*ProductAttributeInterval) Descriptor() ([]byte, []int) {
509 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{1}
510 }
511
512 func (x *ProductAttributeInterval) GetName() string {
513 if x != nil {
514 return x.Name
515 }
516 return ""
517 }
518
519 func (x *ProductAttributeInterval) GetInterval() *Interval {
520 if x != nil {
521 return x.Interval
522 }
523 return nil
524 }
525
526 // This field specifies the tile information including an attribute key,
527 // attribute value. More fields will be added in the future, eg: product id
528 // or product counts, etc.
529 type Tile struct {
530 state protoimpl.MessageState
531 sizeCache protoimpl.SizeCache
532 unknownFields protoimpl.UnknownFields
533
534 // The attribute key and value for the tile.
535 //
536 // Types that are assignable to ProductAttribute:
537 //
538 // *Tile_ProductAttributeValue
539 // *Tile_ProductAttributeInterval
540 ProductAttribute isTile_ProductAttribute `protobuf_oneof:"product_attribute"`
541 // The representative product id for this tile.
542 RepresentativeProductId string `protobuf:"bytes,3,opt,name=representative_product_id,json=representativeProductId,proto3" json:"representative_product_id,omitempty"`
543 }
544
545 func (x *Tile) Reset() {
546 *x = Tile{}
547 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[2]
548 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
549 ms.StoreMessageInfo(mi)
550 }
551
552 func (x *Tile) String() string {
553 return protoimpl.X.MessageStringOf(x)
554 }
555
556 func (*Tile) ProtoMessage() {}
557
558 func (x *Tile) ProtoReflect() protoreflect.Message {
559 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[2]
560 if x != nil {
561 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
562 if ms.LoadMessageInfo() == nil {
563 ms.StoreMessageInfo(mi)
564 }
565 return ms
566 }
567 return mi.MessageOf(x)
568 }
569
570 // Deprecated: Use Tile.ProtoReflect.Descriptor instead.
571 func (*Tile) Descriptor() ([]byte, []int) {
572 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{2}
573 }
574
575 func (m *Tile) GetProductAttribute() isTile_ProductAttribute {
576 if m != nil {
577 return m.ProductAttribute
578 }
579 return nil
580 }
581
582 func (x *Tile) GetProductAttributeValue() *ProductAttributeValue {
583 if x, ok := x.GetProductAttribute().(*Tile_ProductAttributeValue); ok {
584 return x.ProductAttributeValue
585 }
586 return nil
587 }
588
589 func (x *Tile) GetProductAttributeInterval() *ProductAttributeInterval {
590 if x, ok := x.GetProductAttribute().(*Tile_ProductAttributeInterval); ok {
591 return x.ProductAttributeInterval
592 }
593 return nil
594 }
595
596 func (x *Tile) GetRepresentativeProductId() string {
597 if x != nil {
598 return x.RepresentativeProductId
599 }
600 return ""
601 }
602
603 type isTile_ProductAttribute interface {
604 isTile_ProductAttribute()
605 }
606
607 type Tile_ProductAttributeValue struct {
608 // The product attribute key-value.
609 ProductAttributeValue *ProductAttributeValue `protobuf:"bytes,1,opt,name=product_attribute_value,json=productAttributeValue,proto3,oneof"`
610 }
611
612 type Tile_ProductAttributeInterval struct {
613 // The product attribute key-numeric interval.
614 ProductAttributeInterval *ProductAttributeInterval `protobuf:"bytes,2,opt,name=product_attribute_interval,json=productAttributeInterval,proto3,oneof"`
615 }
616
617 func (*Tile_ProductAttributeValue) isTile_ProductAttribute() {}
618
619 func (*Tile_ProductAttributeInterval) isTile_ProductAttribute() {}
620
621 // Request message for
622 // [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search]
623 // method.
624 type SearchRequest struct {
625 state protoimpl.MessageState
626 sizeCache protoimpl.SizeCache
627 unknownFields protoimpl.UnknownFields
628
629 // Required. The resource name of the Retail Search serving config, such as
630 // `projects/*/locations/global/catalogs/default_catalog/servingConfigs/default_serving_config`
631 // or the name of the legacy placement resource, such as
632 // `projects/*/locations/global/catalogs/default_catalog/placements/default_search`.
633 // This field is used to identify the serving config name and the set
634 // of models that are used to make the search.
635 Placement string `protobuf:"bytes,1,opt,name=placement,proto3" json:"placement,omitempty"`
636 // The branch resource name, such as
637 // `projects/*/locations/global/catalogs/default_catalog/branches/0`.
638 //
639 // Use "default_branch" as the branch ID or leave this field empty, to search
640 // products under the default branch.
641 Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
642 // Raw search query.
643 //
644 // If this field is empty, the request is considered a category browsing
645 // request and returned results are based on
646 // [filter][google.cloud.retail.v2alpha.SearchRequest.filter] and
647 // [page_categories][google.cloud.retail.v2alpha.SearchRequest.page_categories].
648 Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
649 // Required. A unique identifier for tracking visitors. For example, this
650 // could be implemented with an HTTP cookie, which should be able to uniquely
651 // identify a visitor on a single device. This unique identifier should not
652 // change if the visitor logs in or out of the website.
653 //
654 // This should be the same identifier as
655 // [UserEvent.visitor_id][google.cloud.retail.v2alpha.UserEvent.visitor_id].
656 //
657 // The field must be a UTF-8 encoded string with a length limit of 128
658 // characters. Otherwise, an INVALID_ARGUMENT error is returned.
659 VisitorId string `protobuf:"bytes,4,opt,name=visitor_id,json=visitorId,proto3" json:"visitor_id,omitempty"`
660 // User information.
661 UserInfo *UserInfo `protobuf:"bytes,5,opt,name=user_info,json=userInfo,proto3" json:"user_info,omitempty"`
662 // Maximum number of [Product][google.cloud.retail.v2alpha.Product]s to
663 // return. If unspecified, defaults to a reasonable value. The maximum allowed
664 // value is 120. Values above 120 will be coerced to 120.
665 //
666 // If this field is negative, an INVALID_ARGUMENT is returned.
667 PageSize int32 `protobuf:"varint,7,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
668 // A page token
669 // [SearchResponse.next_page_token][google.cloud.retail.v2alpha.SearchResponse.next_page_token],
670 // received from a previous
671 // [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search]
672 // call. Provide this to retrieve the subsequent page.
673 //
674 // When paginating, all other parameters provided to
675 // [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search]
676 // must match the call that provided the page token. Otherwise, an
677 // INVALID_ARGUMENT error is returned.
678 PageToken string `protobuf:"bytes,8,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
679 // A 0-indexed integer that specifies the current offset (that is, starting
680 // result location, amongst the
681 // [Product][google.cloud.retail.v2alpha.Product]s deemed by the API as
682 // relevant) in search results. This field is only considered if
683 // [page_token][google.cloud.retail.v2alpha.SearchRequest.page_token] is
684 // unset.
685 //
686 // If this field is negative, an INVALID_ARGUMENT is returned.
687 Offset int32 `protobuf:"varint,9,opt,name=offset,proto3" json:"offset,omitempty"`
688 // The filter syntax consists of an expression language for constructing a
689 // predicate from one or more fields of the products being filtered. Filter
690 // expression is case-sensitive. For more information, see
691 // [Filter](https://cloud.google.com/retail/docs/filter-and-order#filter).
692 //
693 // If this field is unrecognizable, an INVALID_ARGUMENT is returned.
694 Filter string `protobuf:"bytes,10,opt,name=filter,proto3" json:"filter,omitempty"`
695 // The default filter that is applied when a user performs a search without
696 // checking any filters on the search page.
697 //
698 // The filter applied to every search request when quality improvement such as
699 // query expansion is needed. In the case a query does not have a sufficient
700 // amount of results this filter will be used to determine whether or not to
701 // enable the query expansion flow. The original filter will still be used for
702 // the query expanded search.
703 // This field is strongly recommended to achieve high search quality.
704 //
705 // For more information about filter syntax, see
706 // [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
707 CanonicalFilter string `protobuf:"bytes,28,opt,name=canonical_filter,json=canonicalFilter,proto3" json:"canonical_filter,omitempty"`
708 // The order in which products are returned. Products can be ordered by
709 // a field in an [Product][google.cloud.retail.v2alpha.Product] object. Leave
710 // it unset if ordered by relevance. OrderBy expression is case-sensitive. For
711 // more information, see
712 // [Order](https://cloud.google.com/retail/docs/filter-and-order#order).
713 //
714 // If this field is unrecognizable, an INVALID_ARGUMENT is returned.
715 OrderBy string `protobuf:"bytes,11,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
716 // Facet specifications for faceted search. If empty, no facets are returned.
717 //
718 // A maximum of 200 values are allowed. Otherwise, an INVALID_ARGUMENT error
719 // is returned.
720 FacetSpecs []*SearchRequest_FacetSpec `protobuf:"bytes,12,rep,name=facet_specs,json=facetSpecs,proto3" json:"facet_specs,omitempty"`
721 // Deprecated. Refer to https://cloud.google.com/retail/docs/configs#dynamic
722 // to enable dynamic facets. Do not set this field.
723 //
724 // The specification for dynamically generated facets. Notice that only
725 // textual facets can be dynamically generated.
726 //
727 // Deprecated: Marked as deprecated in google/cloud/retail/v2alpha/search_service.proto.
728 DynamicFacetSpec *SearchRequest_DynamicFacetSpec `protobuf:"bytes,21,opt,name=dynamic_facet_spec,json=dynamicFacetSpec,proto3" json:"dynamic_facet_spec,omitempty"`
729 // Boost specification to boost certain products. For more information, see
730 // [Boost results](https://cloud.google.com/retail/docs/boosting).
731 //
732 // Notice that if both
733 // [ServingConfig.boost_control_ids][google.cloud.retail.v2alpha.ServingConfig.boost_control_ids]
734 // and
735 // [SearchRequest.boost_spec][google.cloud.retail.v2alpha.SearchRequest.boost_spec]
736 // are set, the boost conditions from both places are evaluated. If a search
737 // request matches multiple boost conditions, the final boost score is equal
738 // to the sum of the boost scores from all matched boost conditions.
739 BoostSpec *SearchRequest_BoostSpec `protobuf:"bytes,13,opt,name=boost_spec,json=boostSpec,proto3" json:"boost_spec,omitempty"`
740 // The query expansion specification that specifies the conditions under which
741 // query expansion occurs. For more information, see [Query
742 // expansion](https://cloud.google.com/retail/docs/result-size#query_expansion).
743 QueryExpansionSpec *SearchRequest_QueryExpansionSpec `protobuf:"bytes,14,opt,name=query_expansion_spec,json=queryExpansionSpec,proto3" json:"query_expansion_spec,omitempty"`
744 // The relevance threshold of the search results.
745 //
746 // Defaults to
747 // [RelevanceThreshold.HIGH][google.cloud.retail.v2alpha.SearchRequest.RelevanceThreshold.HIGH],
748 // which means only the most relevant results are shown, and the least number
749 // of results are returned. For more information, see [Adjust result
750 // size](https://cloud.google.com/retail/docs/result-size#relevance_thresholding).
751 RelevanceThreshold SearchRequest_RelevanceThreshold `protobuf:"varint,15,opt,name=relevance_threshold,json=relevanceThreshold,proto3,enum=google.cloud.retail.v2alpha.SearchRequest_RelevanceThreshold" json:"relevance_threshold,omitempty"`
752 // The keys to fetch and rollup the matching
753 // [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
754 // [Product][google.cloud.retail.v2alpha.Product]s attributes,
755 // [FulfillmentInfo][google.cloud.retail.v2alpha.FulfillmentInfo] or
756 // [LocalInventory][google.cloud.retail.v2alpha.LocalInventory]s attributes.
757 // The attributes from all the matching
758 // [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
759 // [Product][google.cloud.retail.v2alpha.Product]s or
760 // [LocalInventory][google.cloud.retail.v2alpha.LocalInventory]s are merged
761 // and de-duplicated. Notice that rollup attributes will lead to extra query
762 // latency. Maximum number of keys is 30.
763 //
764 // For [FulfillmentInfo][google.cloud.retail.v2alpha.FulfillmentInfo], a
765 // fulfillment type and a fulfillment ID must be provided in the format of
766 // "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123",
767 // "pickupInStore" is fulfillment type and "store123" is the store ID.
768 //
769 // Supported keys are:
770 //
771 // - colorFamilies
772 // - price
773 // - originalPrice
774 // - discount
775 // - variantId
776 // - inventory(place_id,price)
777 // - inventory(place_id,original_price)
778 // - inventory(place_id,attributes.key), where key is any key in the
779 // [Product.local_inventories.attributes][google.cloud.retail.v2alpha.LocalInventory.attributes]
780 // map.
781 // - attributes.key, where key is any key in the
782 // [Product.attributes][google.cloud.retail.v2alpha.Product.attributes] map.
783 // - pickupInStore.id, where id is any
784 //
785 // [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
786 // for
787 // [FulfillmentInfo.type][google.cloud.retail.v2alpha.FulfillmentInfo.type]
788 //
789 // "pickup-in-store".
790 //
791 // * shipToStore.id, where id is any
792 // [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
793 // for
794 // [FulfillmentInfo.type][google.cloud.retail.v2alpha.FulfillmentInfo.type]
795 //
796 // "ship-to-store".
797 //
798 // * sameDayDelivery.id, where id is any
799 // [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
800 // for
801 // [FulfillmentInfo.type][google.cloud.retail.v2alpha.FulfillmentInfo.type]
802 //
803 // "same-day-delivery".
804 //
805 // * nextDayDelivery.id, where id is any
806 // [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
807 // for
808 // [FulfillmentInfo.type][google.cloud.retail.v2alpha.FulfillmentInfo.type]
809 //
810 // "next-day-delivery".
811 //
812 // * customFulfillment1.id, where id is any
813 // [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
814 // for
815 // [FulfillmentInfo.type][google.cloud.retail.v2alpha.FulfillmentInfo.type]
816 //
817 // "custom-type-1".
818 //
819 // * customFulfillment2.id, where id is any
820 // [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
821 // for
822 // [FulfillmentInfo.type][google.cloud.retail.v2alpha.FulfillmentInfo.type]
823 //
824 // "custom-type-2".
825 //
826 // * customFulfillment3.id, where id is any
827 // [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
828 // for
829 // [FulfillmentInfo.type][google.cloud.retail.v2alpha.FulfillmentInfo.type]
830 //
831 // "custom-type-3".
832 //
833 // * customFulfillment4.id, where id is any
834 // [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
835 // for
836 // [FulfillmentInfo.type][google.cloud.retail.v2alpha.FulfillmentInfo.type]
837 //
838 // "custom-type-4".
839 //
840 // * customFulfillment5.id, where id is any
841 // [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
842 // for
843 // [FulfillmentInfo.type][google.cloud.retail.v2alpha.FulfillmentInfo.type]
844 //
845 // "custom-type-5".
846 //
847 // If this field is set to an invalid value other than these, an
848 // INVALID_ARGUMENT error is returned.
849 VariantRollupKeys []string `protobuf:"bytes,17,rep,name=variant_rollup_keys,json=variantRollupKeys,proto3" json:"variant_rollup_keys,omitempty"`
850 // Optional. An ID for the experiment group this search belongs to.
851 ExperimentId string `protobuf:"bytes,18,opt,name=experiment_id,json=experimentId,proto3" json:"experiment_id,omitempty"`
852 // The categories associated with a category page. Must be set for category
853 // navigation queries to achieve good search quality. The format should be
854 // the same as
855 // [UserEvent.page_categories][google.cloud.retail.v2alpha.UserEvent.page_categories];
856 //
857 // To represent full path of category, use '>' sign to separate different
858 // hierarchies. If '>' is part of the category name, replace it with
859 // other character(s).
860 //
861 // Category pages include special pages such as sales or promotions. For
862 // instance, a special sale page may have the category hierarchy:
863 // "pageCategories" : ["Sales > 2017 Black Friday Deals"].
864 PageCategories []string `protobuf:"bytes,23,rep,name=page_categories,json=pageCategories,proto3" json:"page_categories,omitempty"`
865 // The search mode of the search request. If not specified, a single search
866 // request triggers both product search and faceted search.
867 SearchMode SearchRequest_SearchMode `protobuf:"varint,31,opt,name=search_mode,json=searchMode,proto3,enum=google.cloud.retail.v2alpha.SearchRequest_SearchMode" json:"search_mode,omitempty"`
868 // The specification for personalization.
869 //
870 // Notice that if both
871 // [ServingConfig.personalization_spec][google.cloud.retail.v2alpha.ServingConfig.personalization_spec]
872 // and
873 // [SearchRequest.personalization_spec][google.cloud.retail.v2alpha.SearchRequest.personalization_spec]
874 // are set.
875 // [SearchRequest.personalization_spec][google.cloud.retail.v2alpha.SearchRequest.personalization_spec]
876 // will override
877 // [ServingConfig.personalization_spec][google.cloud.retail.v2alpha.ServingConfig.personalization_spec].
878 PersonalizationSpec *SearchRequest_PersonalizationSpec `protobuf:"bytes,32,opt,name=personalization_spec,json=personalizationSpec,proto3" json:"personalization_spec,omitempty"`
879 // The labels applied to a resource must meet the following requirements:
880 //
881 // - Each resource can have multiple labels, up to a maximum of 64.
882 // - Each label must be a key-value pair.
883 // - Keys have a minimum length of 1 character and a maximum length of 63
884 // characters and cannot be empty. Values can be empty and have a maximum
885 // length of 63 characters.
886 // - Keys and values can contain only lowercase letters, numeric characters,
887 // underscores, and dashes. All characters must use UTF-8 encoding, and
888 // international characters are allowed.
889 // - The key portion of a label must be unique. However, you can use the same
890 // key with multiple resources.
891 // - Keys must start with a lowercase letter or international character.
892 //
893 // For more information, see [Requirements for
894 // labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements)
895 // in the Resource Manager documentation.
896 Labels map[string]string `protobuf:"bytes,34,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
897 // The spell correction specification that specifies the mode under
898 // which spell correction will take effect.
899 SpellCorrectionSpec *SearchRequest_SpellCorrectionSpec `protobuf:"bytes,35,opt,name=spell_correction_spec,json=spellCorrectionSpec,proto3,oneof" json:"spell_correction_spec,omitempty"`
900 // The entity for customers that may run multiple different entities, domains,
901 // sites or regions, for example, `Google US`, `Google Ads`, `Waymo`,
902 // `google.com`, `youtube.com`, etc.
903 // If this is set, it should be exactly matched with
904 // [UserEvent.entity][google.cloud.retail.v2alpha.UserEvent.entity] to get
905 // search results boosted by entity.
906 Entity string `protobuf:"bytes,38,opt,name=entity,proto3" json:"entity,omitempty"`
907 // Optional. This field specifies all conversational related parameters
908 // addition to traditional retail search.
909 ConversationalSearchSpec *SearchRequest_ConversationalSearchSpec `protobuf:"bytes,40,opt,name=conversational_search_spec,json=conversationalSearchSpec,proto3" json:"conversational_search_spec,omitempty"`
910 // Optional. This field specifies tile navigation related parameters.
911 TileNavigationSpec *SearchRequest_TileNavigationSpec `protobuf:"bytes,41,opt,name=tile_navigation_spec,json=tileNavigationSpec,proto3" json:"tile_navigation_spec,omitempty"`
912 // Optional. The BCP-47 language code, such as "en-US" or "sr-Latn"
913 // [list](https://www.unicode.org/cldr/charts/46/summary/root.html). For more
914 // information, see [Standardized codes](https://google.aip.dev/143). This
915 // field helps to better interpret the query. If a value isn't specified, the
916 // query language code is automatically detected, which may not be accurate.
917 LanguageCode string `protobuf:"bytes,43,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
918 // Optional. The Unicode country/region code (CLDR) of a location, such as
919 // "US" and "419"
920 // [list](https://www.unicode.org/cldr/charts/46/supplemental/territory_information.html).
921 // For more information, see [Standardized codes](https://google.aip.dev/143).
922 // If set, then results will be boosted based on the region_code provided.
923 RegionCode string `protobuf:"bytes,44,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
924 // Optional. An id corresponding to a place, such as a store id or region id.
925 // When specified, we use the price from the local inventory with the matching
926 // product's
927 // [LocalInventory.place_id][google.cloud.retail.v2alpha.LocalInventory.place_id]
928 // for revenue optimization.
929 PlaceId string `protobuf:"bytes,46,opt,name=place_id,json=placeId,proto3" json:"place_id,omitempty"`
930 // Optional. The user attributes that could be used for personalization of
931 // search results.
932 // * Populate at most 100 key-value pairs per query.
933 // * Only supports string keys and repeated string values.
934 // * Duplicate keys are not allowed within a single query.
935 //
936 // Example:
937 //
938 // user_attributes: [
939 // { key: "pets"
940 // value {
941 // values: "dog"
942 // values: "cat"
943 // }
944 // },
945 // { key: "state"
946 // value {
947 // values: "CA"
948 // }
949 // }
950 // ]
951 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,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
952 }
953
954 func (x *SearchRequest) Reset() {
955 *x = SearchRequest{}
956 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[3]
957 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
958 ms.StoreMessageInfo(mi)
959 }
960
961 func (x *SearchRequest) String() string {
962 return protoimpl.X.MessageStringOf(x)
963 }
964
965 func (*SearchRequest) ProtoMessage() {}
966
967 func (x *SearchRequest) ProtoReflect() protoreflect.Message {
968 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[3]
969 if x != nil {
970 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
971 if ms.LoadMessageInfo() == nil {
972 ms.StoreMessageInfo(mi)
973 }
974 return ms
975 }
976 return mi.MessageOf(x)
977 }
978
979 // Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.
980 func (*SearchRequest) Descriptor() ([]byte, []int) {
981 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3}
982 }
983
984 func (x *SearchRequest) GetPlacement() string {
985 if x != nil {
986 return x.Placement
987 }
988 return ""
989 }
990
991 func (x *SearchRequest) GetBranch() string {
992 if x != nil {
993 return x.Branch
994 }
995 return ""
996 }
997
998 func (x *SearchRequest) GetQuery() string {
999 if x != nil {
1000 return x.Query
1001 }
1002 return ""
1003 }
1004
1005 func (x *SearchRequest) GetVisitorId() string {
1006 if x != nil {
1007 return x.VisitorId
1008 }
1009 return ""
1010 }
1011
1012 func (x *SearchRequest) GetUserInfo() *UserInfo {
1013 if x != nil {
1014 return x.UserInfo
1015 }
1016 return nil
1017 }
1018
1019 func (x *SearchRequest) GetPageSize() int32 {
1020 if x != nil {
1021 return x.PageSize
1022 }
1023 return 0
1024 }
1025
1026 func (x *SearchRequest) GetPageToken() string {
1027 if x != nil {
1028 return x.PageToken
1029 }
1030 return ""
1031 }
1032
1033 func (x *SearchRequest) GetOffset() int32 {
1034 if x != nil {
1035 return x.Offset
1036 }
1037 return 0
1038 }
1039
1040 func (x *SearchRequest) GetFilter() string {
1041 if x != nil {
1042 return x.Filter
1043 }
1044 return ""
1045 }
1046
1047 func (x *SearchRequest) GetCanonicalFilter() string {
1048 if x != nil {
1049 return x.CanonicalFilter
1050 }
1051 return ""
1052 }
1053
1054 func (x *SearchRequest) GetOrderBy() string {
1055 if x != nil {
1056 return x.OrderBy
1057 }
1058 return ""
1059 }
1060
1061 func (x *SearchRequest) GetFacetSpecs() []*SearchRequest_FacetSpec {
1062 if x != nil {
1063 return x.FacetSpecs
1064 }
1065 return nil
1066 }
1067
1068 // Deprecated: Marked as deprecated in google/cloud/retail/v2alpha/search_service.proto.
1069 func (x *SearchRequest) GetDynamicFacetSpec() *SearchRequest_DynamicFacetSpec {
1070 if x != nil {
1071 return x.DynamicFacetSpec
1072 }
1073 return nil
1074 }
1075
1076 func (x *SearchRequest) GetBoostSpec() *SearchRequest_BoostSpec {
1077 if x != nil {
1078 return x.BoostSpec
1079 }
1080 return nil
1081 }
1082
1083 func (x *SearchRequest) GetQueryExpansionSpec() *SearchRequest_QueryExpansionSpec {
1084 if x != nil {
1085 return x.QueryExpansionSpec
1086 }
1087 return nil
1088 }
1089
1090 func (x *SearchRequest) GetRelevanceThreshold() SearchRequest_RelevanceThreshold {
1091 if x != nil {
1092 return x.RelevanceThreshold
1093 }
1094 return SearchRequest_RELEVANCE_THRESHOLD_UNSPECIFIED
1095 }
1096
1097 func (x *SearchRequest) GetVariantRollupKeys() []string {
1098 if x != nil {
1099 return x.VariantRollupKeys
1100 }
1101 return nil
1102 }
1103
1104 func (x *SearchRequest) GetExperimentId() string {
1105 if x != nil {
1106 return x.ExperimentId
1107 }
1108 return ""
1109 }
1110
1111 func (x *SearchRequest) GetPageCategories() []string {
1112 if x != nil {
1113 return x.PageCategories
1114 }
1115 return nil
1116 }
1117
1118 func (x *SearchRequest) GetSearchMode() SearchRequest_SearchMode {
1119 if x != nil {
1120 return x.SearchMode
1121 }
1122 return SearchRequest_SEARCH_MODE_UNSPECIFIED
1123 }
1124
1125 func (x *SearchRequest) GetPersonalizationSpec() *SearchRequest_PersonalizationSpec {
1126 if x != nil {
1127 return x.PersonalizationSpec
1128 }
1129 return nil
1130 }
1131
1132 func (x *SearchRequest) GetLabels() map[string]string {
1133 if x != nil {
1134 return x.Labels
1135 }
1136 return nil
1137 }
1138
1139 func (x *SearchRequest) GetSpellCorrectionSpec() *SearchRequest_SpellCorrectionSpec {
1140 if x != nil {
1141 return x.SpellCorrectionSpec
1142 }
1143 return nil
1144 }
1145
1146 func (x *SearchRequest) GetEntity() string {
1147 if x != nil {
1148 return x.Entity
1149 }
1150 return ""
1151 }
1152
1153 func (x *SearchRequest) GetConversationalSearchSpec() *SearchRequest_ConversationalSearchSpec {
1154 if x != nil {
1155 return x.ConversationalSearchSpec
1156 }
1157 return nil
1158 }
1159
1160 func (x *SearchRequest) GetTileNavigationSpec() *SearchRequest_TileNavigationSpec {
1161 if x != nil {
1162 return x.TileNavigationSpec
1163 }
1164 return nil
1165 }
1166
1167 func (x *SearchRequest) GetLanguageCode() string {
1168 if x != nil {
1169 return x.LanguageCode
1170 }
1171 return ""
1172 }
1173
1174 func (x *SearchRequest) GetRegionCode() string {
1175 if x != nil {
1176 return x.RegionCode
1177 }
1178 return ""
1179 }
1180
1181 func (x *SearchRequest) GetPlaceId() string {
1182 if x != nil {
1183 return x.PlaceId
1184 }
1185 return ""
1186 }
1187
1188 func (x *SearchRequest) GetUserAttributes() map[string]*StringList {
1189 if x != nil {
1190 return x.UserAttributes
1191 }
1192 return nil
1193 }
1194
1195 // Response message for
1196 // [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search]
1197 // method.
1198 type SearchResponse struct {
1199 state protoimpl.MessageState
1200 sizeCache protoimpl.SizeCache
1201 unknownFields protoimpl.UnknownFields
1202
1203 // A list of matched items. The order represents the ranking.
1204 Results []*SearchResponse_SearchResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
1205 // Results of facets requested by user.
1206 Facets []*SearchResponse_Facet `protobuf:"bytes,2,rep,name=facets,proto3" json:"facets,omitempty"`
1207 // The estimated total count of matched items irrespective of pagination. The
1208 // count of [results][google.cloud.retail.v2alpha.SearchResponse.results]
1209 // returned by pagination may be less than the
1210 // [total_size][google.cloud.retail.v2alpha.SearchResponse.total_size] that
1211 // matches.
1212 TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
1213 // Contains the spell corrected query, if found. If the spell correction type
1214 // is AUTOMATIC, then the search results are based on corrected_query.
1215 // Otherwise the original query is used for search.
1216 CorrectedQuery string `protobuf:"bytes,4,opt,name=corrected_query,json=correctedQuery,proto3" json:"corrected_query,omitempty"`
1217 // A unique search token. This should be included in the
1218 // [UserEvent][google.cloud.retail.v2alpha.UserEvent] logs resulting from this
1219 // search, which enables accurate attribution of search model performance.
1220 AttributionToken string `protobuf:"bytes,5,opt,name=attribution_token,json=attributionToken,proto3" json:"attribution_token,omitempty"`
1221 // A token that can be sent as
1222 // [SearchRequest.page_token][google.cloud.retail.v2alpha.SearchRequest.page_token]
1223 // to retrieve the next page. If this field is omitted, there are no
1224 // subsequent pages.
1225 NextPageToken string `protobuf:"bytes,6,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
1226 // Query expansion information for the returned results.
1227 QueryExpansionInfo *SearchResponse_QueryExpansionInfo `protobuf:"bytes,7,opt,name=query_expansion_info,json=queryExpansionInfo,proto3" json:"query_expansion_info,omitempty"`
1228 // The URI of a customer-defined redirect page. If redirect action is
1229 // triggered, no search is performed, and only
1230 // [redirect_uri][google.cloud.retail.v2alpha.SearchResponse.redirect_uri] and
1231 // [attribution_token][google.cloud.retail.v2alpha.SearchResponse.attribution_token]
1232 // are set in the response.
1233 RedirectUri string `protobuf:"bytes,10,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
1234 // The fully qualified resource name of applied
1235 // [controls](https://cloud.google.com/retail/docs/serving-control-rules).
1236 AppliedControls []string `protobuf:"bytes,12,rep,name=applied_controls,json=appliedControls,proto3" json:"applied_controls,omitempty"`
1237 // Metadata for pin controls which were applicable to the request.
1238 // This contains two map fields, one for all matched pins and one for pins
1239 // which were matched but not applied.
1240 //
1241 // The two maps are keyed by pin position, and the values are the product ids
1242 // which were matched to that pin.
1243 PinControlMetadata *PinControlMetadata `protobuf:"bytes,22,opt,name=pin_control_metadata,json=pinControlMetadata,proto3" json:"pin_control_metadata,omitempty"`
1244 // The invalid
1245 // [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs]
1246 // that are not applied during serving.
1247 InvalidConditionBoostSpecs []*SearchRequest_BoostSpec_ConditionBoostSpec `protobuf:"bytes,14,rep,name=invalid_condition_boost_specs,json=invalidConditionBoostSpecs,proto3" json:"invalid_condition_boost_specs,omitempty"`
1248 // Metadata related to A/B testing experiment associated with this
1249 // response. Only exists when an experiment is triggered.
1250 ExperimentInfo []*ExperimentInfo `protobuf:"bytes,17,rep,name=experiment_info,json=experimentInfo,proto3" json:"experiment_info,omitempty"`
1251 // This field specifies all related information that is needed on client
1252 // side for UI rendering of conversational retail search.
1253 ConversationalSearchResult *SearchResponse_ConversationalSearchResult `protobuf:"bytes,18,opt,name=conversational_search_result,json=conversationalSearchResult,proto3" json:"conversational_search_result,omitempty"`
1254 // This field specifies all related information for tile navigation that will
1255 // be used in client side.
1256 TileNavigationResult *SearchResponse_TileNavigationResult `protobuf:"bytes,19,opt,name=tile_navigation_result,json=tileNavigationResult,proto3" json:"tile_navigation_result,omitempty"`
1257 }
1258
1259 func (x *SearchResponse) Reset() {
1260 *x = SearchResponse{}
1261 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[4]
1262 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1263 ms.StoreMessageInfo(mi)
1264 }
1265
1266 func (x *SearchResponse) String() string {
1267 return protoimpl.X.MessageStringOf(x)
1268 }
1269
1270 func (*SearchResponse) ProtoMessage() {}
1271
1272 func (x *SearchResponse) ProtoReflect() protoreflect.Message {
1273 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[4]
1274 if x != nil {
1275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1276 if ms.LoadMessageInfo() == nil {
1277 ms.StoreMessageInfo(mi)
1278 }
1279 return ms
1280 }
1281 return mi.MessageOf(x)
1282 }
1283
1284 // Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.
1285 func (*SearchResponse) Descriptor() ([]byte, []int) {
1286 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{4}
1287 }
1288
1289 func (x *SearchResponse) GetResults() []*SearchResponse_SearchResult {
1290 if x != nil {
1291 return x.Results
1292 }
1293 return nil
1294 }
1295
1296 func (x *SearchResponse) GetFacets() []*SearchResponse_Facet {
1297 if x != nil {
1298 return x.Facets
1299 }
1300 return nil
1301 }
1302
1303 func (x *SearchResponse) GetTotalSize() int32 {
1304 if x != nil {
1305 return x.TotalSize
1306 }
1307 return 0
1308 }
1309
1310 func (x *SearchResponse) GetCorrectedQuery() string {
1311 if x != nil {
1312 return x.CorrectedQuery
1313 }
1314 return ""
1315 }
1316
1317 func (x *SearchResponse) GetAttributionToken() string {
1318 if x != nil {
1319 return x.AttributionToken
1320 }
1321 return ""
1322 }
1323
1324 func (x *SearchResponse) GetNextPageToken() string {
1325 if x != nil {
1326 return x.NextPageToken
1327 }
1328 return ""
1329 }
1330
1331 func (x *SearchResponse) GetQueryExpansionInfo() *SearchResponse_QueryExpansionInfo {
1332 if x != nil {
1333 return x.QueryExpansionInfo
1334 }
1335 return nil
1336 }
1337
1338 func (x *SearchResponse) GetRedirectUri() string {
1339 if x != nil {
1340 return x.RedirectUri
1341 }
1342 return ""
1343 }
1344
1345 func (x *SearchResponse) GetAppliedControls() []string {
1346 if x != nil {
1347 return x.AppliedControls
1348 }
1349 return nil
1350 }
1351
1352 func (x *SearchResponse) GetPinControlMetadata() *PinControlMetadata {
1353 if x != nil {
1354 return x.PinControlMetadata
1355 }
1356 return nil
1357 }
1358
1359 func (x *SearchResponse) GetInvalidConditionBoostSpecs() []*SearchRequest_BoostSpec_ConditionBoostSpec {
1360 if x != nil {
1361 return x.InvalidConditionBoostSpecs
1362 }
1363 return nil
1364 }
1365
1366 func (x *SearchResponse) GetExperimentInfo() []*ExperimentInfo {
1367 if x != nil {
1368 return x.ExperimentInfo
1369 }
1370 return nil
1371 }
1372
1373 func (x *SearchResponse) GetConversationalSearchResult() *SearchResponse_ConversationalSearchResult {
1374 if x != nil {
1375 return x.ConversationalSearchResult
1376 }
1377 return nil
1378 }
1379
1380 func (x *SearchResponse) GetTileNavigationResult() *SearchResponse_TileNavigationResult {
1381 if x != nil {
1382 return x.TileNavigationResult
1383 }
1384 return nil
1385 }
1386
1387 // Metadata for active A/B testing experiment.
1388 type ExperimentInfo struct {
1389 state protoimpl.MessageState
1390 sizeCache protoimpl.SizeCache
1391 unknownFields protoimpl.UnknownFields
1392
1393 // Information associated with the specific experiment entity being recorded.
1394 //
1395 // Types that are assignable to ExperimentMetadata:
1396 //
1397 // *ExperimentInfo_ServingConfigExperiment_
1398 ExperimentMetadata isExperimentInfo_ExperimentMetadata `protobuf_oneof:"experiment_metadata"`
1399 // The fully qualified resource name of the experiment that provides the
1400 // serving config under test, should an active experiment exist. For example:
1401 // `projects/*/locations/global/catalogs/default_catalog/experiments/experiment_id`
1402 Experiment string `protobuf:"bytes,1,opt,name=experiment,proto3" json:"experiment,omitempty"`
1403 }
1404
1405 func (x *ExperimentInfo) Reset() {
1406 *x = ExperimentInfo{}
1407 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[5]
1408 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1409 ms.StoreMessageInfo(mi)
1410 }
1411
1412 func (x *ExperimentInfo) String() string {
1413 return protoimpl.X.MessageStringOf(x)
1414 }
1415
1416 func (*ExperimentInfo) ProtoMessage() {}
1417
1418 func (x *ExperimentInfo) ProtoReflect() protoreflect.Message {
1419 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[5]
1420 if x != nil {
1421 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1422 if ms.LoadMessageInfo() == nil {
1423 ms.StoreMessageInfo(mi)
1424 }
1425 return ms
1426 }
1427 return mi.MessageOf(x)
1428 }
1429
1430 // Deprecated: Use ExperimentInfo.ProtoReflect.Descriptor instead.
1431 func (*ExperimentInfo) Descriptor() ([]byte, []int) {
1432 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{5}
1433 }
1434
1435 func (m *ExperimentInfo) GetExperimentMetadata() isExperimentInfo_ExperimentMetadata {
1436 if m != nil {
1437 return m.ExperimentMetadata
1438 }
1439 return nil
1440 }
1441
1442 func (x *ExperimentInfo) GetServingConfigExperiment() *ExperimentInfo_ServingConfigExperiment {
1443 if x, ok := x.GetExperimentMetadata().(*ExperimentInfo_ServingConfigExperiment_); ok {
1444 return x.ServingConfigExperiment
1445 }
1446 return nil
1447 }
1448
1449 func (x *ExperimentInfo) GetExperiment() string {
1450 if x != nil {
1451 return x.Experiment
1452 }
1453 return ""
1454 }
1455
1456 type isExperimentInfo_ExperimentMetadata interface {
1457 isExperimentInfo_ExperimentMetadata()
1458 }
1459
1460 type ExperimentInfo_ServingConfigExperiment_ struct {
1461 // A/B test between existing Cloud Retail Search
1462 // [ServingConfig][google.cloud.retail.v2alpha.ServingConfig]s.
1463 ServingConfigExperiment *ExperimentInfo_ServingConfigExperiment `protobuf:"bytes,2,opt,name=serving_config_experiment,json=servingConfigExperiment,proto3,oneof"`
1464 }
1465
1466 func (*ExperimentInfo_ServingConfigExperiment_) isExperimentInfo_ExperimentMetadata() {}
1467
1468 // A facet specification to perform faceted search.
1469 type SearchRequest_FacetSpec struct {
1470 state protoimpl.MessageState
1471 sizeCache protoimpl.SizeCache
1472 unknownFields protoimpl.UnknownFields
1473
1474 // Required. The facet key specification.
1475 FacetKey *SearchRequest_FacetSpec_FacetKey `protobuf:"bytes,1,opt,name=facet_key,json=facetKey,proto3" json:"facet_key,omitempty"`
1476 // Maximum of facet values that should be returned for this facet. If
1477 // unspecified, defaults to 50. The maximum allowed value is 300. Values
1478 // above 300 will be coerced to 300.
1479 //
1480 // If this field is negative, an INVALID_ARGUMENT is returned.
1481 Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
1482 // List of keys to exclude when faceting.
1483 //
1484 // By default,
1485 // [FacetKey.key][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.key]
1486 // is not excluded from the filter unless it is listed in this field.
1487 //
1488 // Listing a facet key in this field allows its values to appear as facet
1489 // results, even when they are filtered out of search results. Using this
1490 // field does not affect what search results are returned.
1491 //
1492 // For example, suppose there are 100 products with the color facet "Red"
1493 // and 200 products with the color facet "Blue". A query containing the
1494 // filter "colorFamilies:ANY("Red")" and having "colorFamilies" as
1495 // [FacetKey.key][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.key]
1496 // would by default return only "Red" products in the search results, and
1497 // also return "Red" with count 100 as the only color facet. Although there
1498 // are also blue products available, "Blue" would not be shown as an
1499 // available facet value.
1500 //
1501 // If "colorFamilies" is listed in "excludedFilterKeys", then the query
1502 // returns the facet values "Red" with count 100 and "Blue" with count
1503 // 200, because the "colorFamilies" key is now excluded from the filter.
1504 // Because this field doesn't affect search results, the search results
1505 // are still correctly filtered to return only "Red" products.
1506 //
1507 // A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error
1508 // is returned.
1509 ExcludedFilterKeys []string `protobuf:"bytes,3,rep,name=excluded_filter_keys,json=excludedFilterKeys,proto3" json:"excluded_filter_keys,omitempty"`
1510 // Enables dynamic position for this facet. If set to true, the position of
1511 // this facet among all facets in the response is determined by Google
1512 // Retail Search. It is ordered together with dynamic facets if dynamic
1513 // facets is enabled. If set to false, the position of this facet in the
1514 // response is the same as in the request, and it is ranked before
1515 // the facets with dynamic position enable and all dynamic facets.
1516 //
1517 // For example, you may always want to have rating facet returned in
1518 // the response, but it's not necessarily to always display the rating facet
1519 // at the top. In that case, you can set enable_dynamic_position to true so
1520 // that the position of rating facet in response is determined by
1521 // Google Retail Search.
1522 //
1523 // Another example, assuming you have the following facets in the request:
1524 //
1525 // * "rating", enable_dynamic_position = true
1526 //
1527 // * "price", enable_dynamic_position = false
1528 //
1529 // * "brands", enable_dynamic_position = false
1530 //
1531 // And also you have a dynamic facets enable, which generates a facet
1532 // "gender". Then, the final order of the facets in the response can be
1533 // ("price", "brands", "rating", "gender") or ("price", "brands", "gender",
1534 // "rating") depends on how Google Retail Search orders "gender" and
1535 // "rating" facets. However, notice that "price" and "brands" are always
1536 // ranked at first and second position because their enable_dynamic_position
1537 // values are false.
1538 EnableDynamicPosition bool `protobuf:"varint,4,opt,name=enable_dynamic_position,json=enableDynamicPosition,proto3" json:"enable_dynamic_position,omitempty"`
1539 }
1540
1541 func (x *SearchRequest_FacetSpec) Reset() {
1542 *x = SearchRequest_FacetSpec{}
1543 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[6]
1544 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1545 ms.StoreMessageInfo(mi)
1546 }
1547
1548 func (x *SearchRequest_FacetSpec) String() string {
1549 return protoimpl.X.MessageStringOf(x)
1550 }
1551
1552 func (*SearchRequest_FacetSpec) ProtoMessage() {}
1553
1554 func (x *SearchRequest_FacetSpec) ProtoReflect() protoreflect.Message {
1555 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[6]
1556 if x != nil {
1557 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1558 if ms.LoadMessageInfo() == nil {
1559 ms.StoreMessageInfo(mi)
1560 }
1561 return ms
1562 }
1563 return mi.MessageOf(x)
1564 }
1565
1566 // Deprecated: Use SearchRequest_FacetSpec.ProtoReflect.Descriptor instead.
1567 func (*SearchRequest_FacetSpec) Descriptor() ([]byte, []int) {
1568 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 0}
1569 }
1570
1571 func (x *SearchRequest_FacetSpec) GetFacetKey() *SearchRequest_FacetSpec_FacetKey {
1572 if x != nil {
1573 return x.FacetKey
1574 }
1575 return nil
1576 }
1577
1578 func (x *SearchRequest_FacetSpec) GetLimit() int32 {
1579 if x != nil {
1580 return x.Limit
1581 }
1582 return 0
1583 }
1584
1585 func (x *SearchRequest_FacetSpec) GetExcludedFilterKeys() []string {
1586 if x != nil {
1587 return x.ExcludedFilterKeys
1588 }
1589 return nil
1590 }
1591
1592 func (x *SearchRequest_FacetSpec) GetEnableDynamicPosition() bool {
1593 if x != nil {
1594 return x.EnableDynamicPosition
1595 }
1596 return false
1597 }
1598
1599 // The specifications of dynamically generated facets.
1600 type SearchRequest_DynamicFacetSpec struct {
1601 state protoimpl.MessageState
1602 sizeCache protoimpl.SizeCache
1603 unknownFields protoimpl.UnknownFields
1604
1605 // Mode of the DynamicFacet feature.
1606 // Defaults to
1607 // [Mode.DISABLED][google.cloud.retail.v2alpha.SearchRequest.DynamicFacetSpec.Mode.DISABLED]
1608 // if it's unset.
1609 Mode SearchRequest_DynamicFacetSpec_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=google.cloud.retail.v2alpha.SearchRequest_DynamicFacetSpec_Mode" json:"mode,omitempty"`
1610 }
1611
1612 func (x *SearchRequest_DynamicFacetSpec) Reset() {
1613 *x = SearchRequest_DynamicFacetSpec{}
1614 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[7]
1615 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1616 ms.StoreMessageInfo(mi)
1617 }
1618
1619 func (x *SearchRequest_DynamicFacetSpec) String() string {
1620 return protoimpl.X.MessageStringOf(x)
1621 }
1622
1623 func (*SearchRequest_DynamicFacetSpec) ProtoMessage() {}
1624
1625 func (x *SearchRequest_DynamicFacetSpec) ProtoReflect() protoreflect.Message {
1626 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[7]
1627 if x != nil {
1628 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1629 if ms.LoadMessageInfo() == nil {
1630 ms.StoreMessageInfo(mi)
1631 }
1632 return ms
1633 }
1634 return mi.MessageOf(x)
1635 }
1636
1637 // Deprecated: Use SearchRequest_DynamicFacetSpec.ProtoReflect.Descriptor instead.
1638 func (*SearchRequest_DynamicFacetSpec) Descriptor() ([]byte, []int) {
1639 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 1}
1640 }
1641
1642 func (x *SearchRequest_DynamicFacetSpec) GetMode() SearchRequest_DynamicFacetSpec_Mode {
1643 if x != nil {
1644 return x.Mode
1645 }
1646 return SearchRequest_DynamicFacetSpec_MODE_UNSPECIFIED
1647 }
1648
1649 // Boost specification to boost certain items.
1650 type SearchRequest_BoostSpec struct {
1651 state protoimpl.MessageState
1652 sizeCache protoimpl.SizeCache
1653 unknownFields protoimpl.UnknownFields
1654
1655 // Condition boost specifications. If a product matches multiple conditions
1656 // in the specifications, boost scores from these specifications are all
1657 // applied and combined in a non-linear way. Maximum number of
1658 // specifications is 20.
1659 ConditionBoostSpecs []*SearchRequest_BoostSpec_ConditionBoostSpec `protobuf:"bytes,1,rep,name=condition_boost_specs,json=conditionBoostSpecs,proto3" json:"condition_boost_specs,omitempty"`
1660 // Whether to skip boostspec validation. If this field is set to true,
1661 // invalid
1662 // [BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs]
1663 // will be ignored and valid
1664 // [BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs]
1665 // will still be applied.
1666 SkipBoostSpecValidation *bool `protobuf:"varint,2,opt,name=skip_boost_spec_validation,json=skipBoostSpecValidation,proto3,oneof" json:"skip_boost_spec_validation,omitempty"`
1667 }
1668
1669 func (x *SearchRequest_BoostSpec) Reset() {
1670 *x = SearchRequest_BoostSpec{}
1671 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[8]
1672 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1673 ms.StoreMessageInfo(mi)
1674 }
1675
1676 func (x *SearchRequest_BoostSpec) String() string {
1677 return protoimpl.X.MessageStringOf(x)
1678 }
1679
1680 func (*SearchRequest_BoostSpec) ProtoMessage() {}
1681
1682 func (x *SearchRequest_BoostSpec) ProtoReflect() protoreflect.Message {
1683 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[8]
1684 if x != nil {
1685 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1686 if ms.LoadMessageInfo() == nil {
1687 ms.StoreMessageInfo(mi)
1688 }
1689 return ms
1690 }
1691 return mi.MessageOf(x)
1692 }
1693
1694 // Deprecated: Use SearchRequest_BoostSpec.ProtoReflect.Descriptor instead.
1695 func (*SearchRequest_BoostSpec) Descriptor() ([]byte, []int) {
1696 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 2}
1697 }
1698
1699 func (x *SearchRequest_BoostSpec) GetConditionBoostSpecs() []*SearchRequest_BoostSpec_ConditionBoostSpec {
1700 if x != nil {
1701 return x.ConditionBoostSpecs
1702 }
1703 return nil
1704 }
1705
1706 func (x *SearchRequest_BoostSpec) GetSkipBoostSpecValidation() bool {
1707 if x != nil && x.SkipBoostSpecValidation != nil {
1708 return *x.SkipBoostSpecValidation
1709 }
1710 return false
1711 }
1712
1713 // Specification to determine under which conditions query expansion should
1714 // occur.
1715 type SearchRequest_QueryExpansionSpec struct {
1716 state protoimpl.MessageState
1717 sizeCache protoimpl.SizeCache
1718 unknownFields protoimpl.UnknownFields
1719
1720 // The condition under which query expansion should occur. Default to
1721 // [Condition.DISABLED][google.cloud.retail.v2alpha.SearchRequest.QueryExpansionSpec.Condition.DISABLED].
1722 Condition SearchRequest_QueryExpansionSpec_Condition `protobuf:"varint,1,opt,name=condition,proto3,enum=google.cloud.retail.v2alpha.SearchRequest_QueryExpansionSpec_Condition" json:"condition,omitempty"`
1723 // Whether to pin unexpanded results. The default value is false. If this
1724 // field is set to true, unexpanded products are always at the top of the
1725 // search results, followed by the expanded results.
1726 PinUnexpandedResults bool `protobuf:"varint,2,opt,name=pin_unexpanded_results,json=pinUnexpandedResults,proto3" json:"pin_unexpanded_results,omitempty"`
1727 }
1728
1729 func (x *SearchRequest_QueryExpansionSpec) Reset() {
1730 *x = SearchRequest_QueryExpansionSpec{}
1731 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[9]
1732 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1733 ms.StoreMessageInfo(mi)
1734 }
1735
1736 func (x *SearchRequest_QueryExpansionSpec) String() string {
1737 return protoimpl.X.MessageStringOf(x)
1738 }
1739
1740 func (*SearchRequest_QueryExpansionSpec) ProtoMessage() {}
1741
1742 func (x *SearchRequest_QueryExpansionSpec) ProtoReflect() protoreflect.Message {
1743 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[9]
1744 if x != nil {
1745 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1746 if ms.LoadMessageInfo() == nil {
1747 ms.StoreMessageInfo(mi)
1748 }
1749 return ms
1750 }
1751 return mi.MessageOf(x)
1752 }
1753
1754 // Deprecated: Use SearchRequest_QueryExpansionSpec.ProtoReflect.Descriptor instead.
1755 func (*SearchRequest_QueryExpansionSpec) Descriptor() ([]byte, []int) {
1756 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 3}
1757 }
1758
1759 func (x *SearchRequest_QueryExpansionSpec) GetCondition() SearchRequest_QueryExpansionSpec_Condition {
1760 if x != nil {
1761 return x.Condition
1762 }
1763 return SearchRequest_QueryExpansionSpec_CONDITION_UNSPECIFIED
1764 }
1765
1766 func (x *SearchRequest_QueryExpansionSpec) GetPinUnexpandedResults() bool {
1767 if x != nil {
1768 return x.PinUnexpandedResults
1769 }
1770 return false
1771 }
1772
1773 // The specification for personalization.
1774 type SearchRequest_PersonalizationSpec struct {
1775 state protoimpl.MessageState
1776 sizeCache protoimpl.SizeCache
1777 unknownFields protoimpl.UnknownFields
1778
1779 // Defaults to
1780 // [Mode.AUTO][google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpec.Mode.AUTO].
1781 Mode SearchRequest_PersonalizationSpec_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=google.cloud.retail.v2alpha.SearchRequest_PersonalizationSpec_Mode" json:"mode,omitempty"`
1782 }
1783
1784 func (x *SearchRequest_PersonalizationSpec) Reset() {
1785 *x = SearchRequest_PersonalizationSpec{}
1786 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[10]
1787 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1788 ms.StoreMessageInfo(mi)
1789 }
1790
1791 func (x *SearchRequest_PersonalizationSpec) String() string {
1792 return protoimpl.X.MessageStringOf(x)
1793 }
1794
1795 func (*SearchRequest_PersonalizationSpec) ProtoMessage() {}
1796
1797 func (x *SearchRequest_PersonalizationSpec) ProtoReflect() protoreflect.Message {
1798 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[10]
1799 if x != nil {
1800 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1801 if ms.LoadMessageInfo() == nil {
1802 ms.StoreMessageInfo(mi)
1803 }
1804 return ms
1805 }
1806 return mi.MessageOf(x)
1807 }
1808
1809 // Deprecated: Use SearchRequest_PersonalizationSpec.ProtoReflect.Descriptor instead.
1810 func (*SearchRequest_PersonalizationSpec) Descriptor() ([]byte, []int) {
1811 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 4}
1812 }
1813
1814 func (x *SearchRequest_PersonalizationSpec) GetMode() SearchRequest_PersonalizationSpec_Mode {
1815 if x != nil {
1816 return x.Mode
1817 }
1818 return SearchRequest_PersonalizationSpec_MODE_UNSPECIFIED
1819 }
1820
1821 // The specification for query spell correction.
1822 type SearchRequest_SpellCorrectionSpec struct {
1823 state protoimpl.MessageState
1824 sizeCache protoimpl.SizeCache
1825 unknownFields protoimpl.UnknownFields
1826
1827 // The mode under which spell correction should take effect to
1828 // replace the original search query. Default to
1829 // [Mode.AUTO][google.cloud.retail.v2alpha.SearchRequest.SpellCorrectionSpec.Mode.AUTO].
1830 Mode SearchRequest_SpellCorrectionSpec_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=google.cloud.retail.v2alpha.SearchRequest_SpellCorrectionSpec_Mode" json:"mode,omitempty"`
1831 }
1832
1833 func (x *SearchRequest_SpellCorrectionSpec) Reset() {
1834 *x = SearchRequest_SpellCorrectionSpec{}
1835 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[11]
1836 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1837 ms.StoreMessageInfo(mi)
1838 }
1839
1840 func (x *SearchRequest_SpellCorrectionSpec) String() string {
1841 return protoimpl.X.MessageStringOf(x)
1842 }
1843
1844 func (*SearchRequest_SpellCorrectionSpec) ProtoMessage() {}
1845
1846 func (x *SearchRequest_SpellCorrectionSpec) ProtoReflect() protoreflect.Message {
1847 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[11]
1848 if x != nil {
1849 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1850 if ms.LoadMessageInfo() == nil {
1851 ms.StoreMessageInfo(mi)
1852 }
1853 return ms
1854 }
1855 return mi.MessageOf(x)
1856 }
1857
1858 // Deprecated: Use SearchRequest_SpellCorrectionSpec.ProtoReflect.Descriptor instead.
1859 func (*SearchRequest_SpellCorrectionSpec) Descriptor() ([]byte, []int) {
1860 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 5}
1861 }
1862
1863 func (x *SearchRequest_SpellCorrectionSpec) GetMode() SearchRequest_SpellCorrectionSpec_Mode {
1864 if x != nil {
1865 return x.Mode
1866 }
1867 return SearchRequest_SpellCorrectionSpec_MODE_UNSPECIFIED
1868 }
1869
1870 // This field specifies all conversational related parameters addition to
1871 // traditional retail search.
1872 type SearchRequest_ConversationalSearchSpec struct {
1873 state protoimpl.MessageState
1874 sizeCache protoimpl.SizeCache
1875 unknownFields protoimpl.UnknownFields
1876
1877 // This field specifies whether the customer would like to do conversational
1878 // search. If this field is set to true, conversational related extra
1879 // information will be returned from server side, including follow-up
1880 // question, answer options, etc.
1881 FollowupConversationRequested bool `protobuf:"varint,1,opt,name=followup_conversation_requested,json=followupConversationRequested,proto3" json:"followup_conversation_requested,omitempty"`
1882 // This field specifies the conversation id, which maintains the state of
1883 // the conversation between client side and server side. Use the value from
1884 // the previous [ConversationalSearchResult.conversation_id][]. For the
1885 // initial request, this should be empty.
1886 ConversationId string `protobuf:"bytes,2,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
1887 // This field specifies the current user answer during the conversational
1888 // search. This can be either user selected from suggested answers or user
1889 // input plain text.
1890 UserAnswer *SearchRequest_ConversationalSearchSpec_UserAnswer `protobuf:"bytes,3,opt,name=user_answer,json=userAnswer,proto3" json:"user_answer,omitempty"`
1891 }
1892
1893 func (x *SearchRequest_ConversationalSearchSpec) Reset() {
1894 *x = SearchRequest_ConversationalSearchSpec{}
1895 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[12]
1896 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1897 ms.StoreMessageInfo(mi)
1898 }
1899
1900 func (x *SearchRequest_ConversationalSearchSpec) String() string {
1901 return protoimpl.X.MessageStringOf(x)
1902 }
1903
1904 func (*SearchRequest_ConversationalSearchSpec) ProtoMessage() {}
1905
1906 func (x *SearchRequest_ConversationalSearchSpec) ProtoReflect() protoreflect.Message {
1907 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[12]
1908 if x != nil {
1909 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1910 if ms.LoadMessageInfo() == nil {
1911 ms.StoreMessageInfo(mi)
1912 }
1913 return ms
1914 }
1915 return mi.MessageOf(x)
1916 }
1917
1918 // Deprecated: Use SearchRequest_ConversationalSearchSpec.ProtoReflect.Descriptor instead.
1919 func (*SearchRequest_ConversationalSearchSpec) Descriptor() ([]byte, []int) {
1920 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 6}
1921 }
1922
1923 func (x *SearchRequest_ConversationalSearchSpec) GetFollowupConversationRequested() bool {
1924 if x != nil {
1925 return x.FollowupConversationRequested
1926 }
1927 return false
1928 }
1929
1930 func (x *SearchRequest_ConversationalSearchSpec) GetConversationId() string {
1931 if x != nil {
1932 return x.ConversationId
1933 }
1934 return ""
1935 }
1936
1937 func (x *SearchRequest_ConversationalSearchSpec) GetUserAnswer() *SearchRequest_ConversationalSearchSpec_UserAnswer {
1938 if x != nil {
1939 return x.UserAnswer
1940 }
1941 return nil
1942 }
1943
1944 // This field specifies tile navigation related parameters.
1945 type SearchRequest_TileNavigationSpec struct {
1946 state protoimpl.MessageState
1947 sizeCache protoimpl.SizeCache
1948 unknownFields protoimpl.UnknownFields
1949
1950 // This field specifies whether the customer would like to request tile
1951 // navigation.
1952 TileNavigationRequested bool `protobuf:"varint,1,opt,name=tile_navigation_requested,json=tileNavigationRequested,proto3" json:"tile_navigation_requested,omitempty"`
1953 // This optional field specifies the tiles which are already clicked in
1954 // client side. While the feature works without this field set, particularly
1955 // for an initial query, it is highly recommended to set this field because
1956 // it can improve the quality of the search response and removes possible
1957 // duplicate tiles.
1958 //
1959 // NOTE: This field is not being used for filtering search
1960 // products. Client side should also put all the applied tiles in
1961 // [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
1962 AppliedTiles []*Tile `protobuf:"bytes,2,rep,name=applied_tiles,json=appliedTiles,proto3" json:"applied_tiles,omitempty"`
1963 }
1964
1965 func (x *SearchRequest_TileNavigationSpec) Reset() {
1966 *x = SearchRequest_TileNavigationSpec{}
1967 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[13]
1968 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1969 ms.StoreMessageInfo(mi)
1970 }
1971
1972 func (x *SearchRequest_TileNavigationSpec) String() string {
1973 return protoimpl.X.MessageStringOf(x)
1974 }
1975
1976 func (*SearchRequest_TileNavigationSpec) ProtoMessage() {}
1977
1978 func (x *SearchRequest_TileNavigationSpec) ProtoReflect() protoreflect.Message {
1979 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[13]
1980 if x != nil {
1981 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1982 if ms.LoadMessageInfo() == nil {
1983 ms.StoreMessageInfo(mi)
1984 }
1985 return ms
1986 }
1987 return mi.MessageOf(x)
1988 }
1989
1990 // Deprecated: Use SearchRequest_TileNavigationSpec.ProtoReflect.Descriptor instead.
1991 func (*SearchRequest_TileNavigationSpec) Descriptor() ([]byte, []int) {
1992 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 7}
1993 }
1994
1995 func (x *SearchRequest_TileNavigationSpec) GetTileNavigationRequested() bool {
1996 if x != nil {
1997 return x.TileNavigationRequested
1998 }
1999 return false
2000 }
2001
2002 func (x *SearchRequest_TileNavigationSpec) GetAppliedTiles() []*Tile {
2003 if x != nil {
2004 return x.AppliedTiles
2005 }
2006 return nil
2007 }
2008
2009 // Specifies how a facet is computed.
2010 type SearchRequest_FacetSpec_FacetKey struct {
2011 state protoimpl.MessageState
2012 sizeCache protoimpl.SizeCache
2013 unknownFields protoimpl.UnknownFields
2014
2015 // Required. Supported textual and numerical facet keys in
2016 // [Product][google.cloud.retail.v2alpha.Product] object, over which the
2017 // facet values are computed. Facet key is case-sensitive.
2018 //
2019 // Allowed facet keys when
2020 // [FacetKey.query][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.query]
2021 // is not specified:
2022 //
2023 // * textual_field =
2024 // - "brands"
2025 // - "categories"
2026 // - "genders"
2027 // - "ageGroups"
2028 // - "availability"
2029 // - "colorFamilies"
2030 // - "colors"
2031 // - "sizes"
2032 // - "materials"
2033 // - "patterns"
2034 // - "conditions"
2035 // - "attributes.key"
2036 // - "pickupInStore"
2037 // - "shipToStore"
2038 // - "sameDayDelivery"
2039 // - "nextDayDelivery"
2040 // - "customFulfillment1"
2041 // - "customFulfillment2"
2042 // - "customFulfillment3"
2043 // - "customFulfillment4"
2044 // - "customFulfillment5"
2045 // - "inventory(place_id,attributes.key)"
2046 //
2047 // * numerical_field =
2048 // - "price"
2049 // - "discount"
2050 // - "rating"
2051 // - "ratingCount"
2052 // - "attributes.key"
2053 // - "inventory(place_id,price)"
2054 // - "inventory(place_id,original_price)"
2055 // - "inventory(place_id,attributes.key)"
2056 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
2057 // Set only if values should be bucketized into intervals. Must be set
2058 // for facets with numerical values. Must not be set for facet with text
2059 // values. Maximum number of intervals is 40.
2060 //
2061 // For all numerical facet keys that appear in the list of products from
2062 // the catalog, the percentiles 0, 10, 30, 50, 70, 90, and 100 are
2063 // computed from their distribution weekly. If the model assigns a high
2064 // score to a numerical facet key and its intervals are not specified in
2065 // the search request, these percentiles become the bounds
2066 // for its intervals and are returned in the response. If the
2067 // facet key intervals are specified in the request, then the specified
2068 // intervals are returned instead.
2069 Intervals []*Interval `protobuf:"bytes,2,rep,name=intervals,proto3" json:"intervals,omitempty"`
2070 // Only get facet for the given restricted values. For example, when using
2071 // "pickupInStore" as key and set restricted values to
2072 // ["store123", "store456"], only facets for "store123" and "store456" are
2073 // returned. Only supported on predefined textual fields, custom textual
2074 // attributes and fulfillments. Maximum is 20.
2075 //
2076 // Must be set for the fulfillment facet keys:
2077 //
2078 // * pickupInStore
2079 //
2080 // * shipToStore
2081 //
2082 // * sameDayDelivery
2083 //
2084 // * nextDayDelivery
2085 //
2086 // * customFulfillment1
2087 //
2088 // * customFulfillment2
2089 //
2090 // * customFulfillment3
2091 //
2092 // * customFulfillment4
2093 //
2094 // * customFulfillment5
2095 RestrictedValues []string `protobuf:"bytes,3,rep,name=restricted_values,json=restrictedValues,proto3" json:"restricted_values,omitempty"`
2096 // Only get facet values that start with the given string prefix. For
2097 // example, suppose "categories" has three values "Women > Shoe",
2098 // "Women > Dress" and "Men > Shoe". If set "prefixes" to "Women", the
2099 // "categories" facet gives only "Women > Shoe" and "Women > Dress".
2100 // Only supported on textual fields. Maximum is 10.
2101 Prefixes []string `protobuf:"bytes,8,rep,name=prefixes,proto3" json:"prefixes,omitempty"`
2102 // Only get facet values that contains the given strings. For example,
2103 // suppose "categories" has three values "Women > Shoe",
2104 // "Women > Dress" and "Men > Shoe". If set "contains" to "Shoe", the
2105 // "categories" facet gives only "Women > Shoe" and "Men > Shoe".
2106 // Only supported on textual fields. Maximum is 10.
2107 Contains []string `protobuf:"bytes,9,rep,name=contains,proto3" json:"contains,omitempty"`
2108 // True to make facet keys case insensitive when getting faceting
2109 // values with prefixes or contains; false otherwise.
2110 CaseInsensitive bool `protobuf:"varint,10,opt,name=case_insensitive,json=caseInsensitive,proto3" json:"case_insensitive,omitempty"`
2111 // The order in which
2112 // [SearchResponse.Facet.values][google.cloud.retail.v2alpha.SearchResponse.Facet.values]
2113 // are returned.
2114 //
2115 // Allowed values are:
2116 //
2117 // * "count desc", which means order by
2118 // [SearchResponse.Facet.values.count][google.cloud.retail.v2alpha.SearchResponse.Facet.FacetValue.count]
2119 // descending.
2120 //
2121 // * "value desc", which means order by
2122 // [SearchResponse.Facet.values.value][google.cloud.retail.v2alpha.SearchResponse.Facet.FacetValue.value]
2123 // descending.
2124 //
2125 // Only applies to textual facets.
2126 //
2127 // If not set, textual values are sorted in [natural
2128 // order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical
2129 // intervals are sorted in the order given by
2130 // [FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.intervals];
2131 // [FulfillmentInfo.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]
2132 // are sorted in the order given by
2133 // [FacetSpec.FacetKey.restricted_values][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.restricted_values].
2134 OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
2135 // The query that is used to compute facet for the given facet key.
2136 // When provided, it overrides the default behavior of facet
2137 // computation. The query syntax is the same as a filter expression. See
2138 // [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter]
2139 // for detail syntax and limitations. Notice that there is no limitation
2140 // on
2141 // [FacetKey.key][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.key]
2142 // when query is specified.
2143 //
2144 // In the response,
2145 // [SearchResponse.Facet.values.value][google.cloud.retail.v2alpha.SearchResponse.Facet.FacetValue.value]
2146 // is always "1" and
2147 // [SearchResponse.Facet.values.count][google.cloud.retail.v2alpha.SearchResponse.Facet.FacetValue.count]
2148 // is the number of results that match the query.
2149 //
2150 // For example, you can set a customized facet for "shipToStore",
2151 // where
2152 // [FacetKey.key][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.key]
2153 // is "customizedShipToStore", and
2154 // [FacetKey.query][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.query]
2155 // is "availability: ANY(\"IN_STOCK\") AND shipToStore: ANY(\"123\")".
2156 // Then the facet counts the products that are both in stock and ship
2157 // to store "123".
2158 Query string `protobuf:"bytes,5,opt,name=query,proto3" json:"query,omitempty"`
2159 // Returns the min and max value for each numerical facet intervals.
2160 // Ignored for textual facets.
2161 ReturnMinMax bool `protobuf:"varint,11,opt,name=return_min_max,json=returnMinMax,proto3" json:"return_min_max,omitempty"`
2162 }
2163
2164 func (x *SearchRequest_FacetSpec_FacetKey) Reset() {
2165 *x = SearchRequest_FacetSpec_FacetKey{}
2166 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[16]
2167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2168 ms.StoreMessageInfo(mi)
2169 }
2170
2171 func (x *SearchRequest_FacetSpec_FacetKey) String() string {
2172 return protoimpl.X.MessageStringOf(x)
2173 }
2174
2175 func (*SearchRequest_FacetSpec_FacetKey) ProtoMessage() {}
2176
2177 func (x *SearchRequest_FacetSpec_FacetKey) ProtoReflect() protoreflect.Message {
2178 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[16]
2179 if x != nil {
2180 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2181 if ms.LoadMessageInfo() == nil {
2182 ms.StoreMessageInfo(mi)
2183 }
2184 return ms
2185 }
2186 return mi.MessageOf(x)
2187 }
2188
2189 // Deprecated: Use SearchRequest_FacetSpec_FacetKey.ProtoReflect.Descriptor instead.
2190 func (*SearchRequest_FacetSpec_FacetKey) Descriptor() ([]byte, []int) {
2191 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 0, 0}
2192 }
2193
2194 func (x *SearchRequest_FacetSpec_FacetKey) GetKey() string {
2195 if x != nil {
2196 return x.Key
2197 }
2198 return ""
2199 }
2200
2201 func (x *SearchRequest_FacetSpec_FacetKey) GetIntervals() []*Interval {
2202 if x != nil {
2203 return x.Intervals
2204 }
2205 return nil
2206 }
2207
2208 func (x *SearchRequest_FacetSpec_FacetKey) GetRestrictedValues() []string {
2209 if x != nil {
2210 return x.RestrictedValues
2211 }
2212 return nil
2213 }
2214
2215 func (x *SearchRequest_FacetSpec_FacetKey) GetPrefixes() []string {
2216 if x != nil {
2217 return x.Prefixes
2218 }
2219 return nil
2220 }
2221
2222 func (x *SearchRequest_FacetSpec_FacetKey) GetContains() []string {
2223 if x != nil {
2224 return x.Contains
2225 }
2226 return nil
2227 }
2228
2229 func (x *SearchRequest_FacetSpec_FacetKey) GetCaseInsensitive() bool {
2230 if x != nil {
2231 return x.CaseInsensitive
2232 }
2233 return false
2234 }
2235
2236 func (x *SearchRequest_FacetSpec_FacetKey) GetOrderBy() string {
2237 if x != nil {
2238 return x.OrderBy
2239 }
2240 return ""
2241 }
2242
2243 func (x *SearchRequest_FacetSpec_FacetKey) GetQuery() string {
2244 if x != nil {
2245 return x.Query
2246 }
2247 return ""
2248 }
2249
2250 func (x *SearchRequest_FacetSpec_FacetKey) GetReturnMinMax() bool {
2251 if x != nil {
2252 return x.ReturnMinMax
2253 }
2254 return false
2255 }
2256
2257 // Boost applies to products which match a condition.
2258 type SearchRequest_BoostSpec_ConditionBoostSpec struct {
2259 state protoimpl.MessageState
2260 sizeCache protoimpl.SizeCache
2261 unknownFields protoimpl.UnknownFields
2262
2263 // An expression which specifies a boost condition. The syntax and
2264 // supported fields are the same as a filter expression. See
2265 // [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter]
2266 // for detail syntax and limitations.
2267 //
2268 // Examples:
2269 //
2270 // * To boost products with product ID "product_1" or "product_2", and
2271 // color
2272 //
2273 // "Red" or "Blue":
2274 // * (id: ANY("product_1", "product_2")) AND (colorFamilies:
2275 // ANY("Red","Blue"))
2276 Condition string `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"`
2277 // Strength of the condition boost, which should be in [-1, 1]. Negative
2278 // boost means demotion. Default is 0.0.
2279 //
2280 // Setting to 1.0 gives the item a big promotion. However, it does not
2281 // necessarily mean that the boosted item will be the top result at all
2282 // times, nor that other items will be excluded. Results could still be
2283 // shown even when none of them matches the condition. And results that
2284 // are significantly more relevant to the search query can still trump
2285 // your heavily favored but irrelevant items.
2286 //
2287 // Setting to -1.0 gives the item a big demotion. However, results that
2288 // are deeply relevant might still be shown. The item will have an
2289 // upstream battle to get a fairly high ranking, but it is not blocked out
2290 // completely.
2291 //
2292 // Setting to 0.0 means no boost applied. The boosting condition is
2293 // ignored.
2294 Boost float32 `protobuf:"fixed32,2,opt,name=boost,proto3" json:"boost,omitempty"`
2295 }
2296
2297 func (x *SearchRequest_BoostSpec_ConditionBoostSpec) Reset() {
2298 *x = SearchRequest_BoostSpec_ConditionBoostSpec{}
2299 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[17]
2300 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2301 ms.StoreMessageInfo(mi)
2302 }
2303
2304 func (x *SearchRequest_BoostSpec_ConditionBoostSpec) String() string {
2305 return protoimpl.X.MessageStringOf(x)
2306 }
2307
2308 func (*SearchRequest_BoostSpec_ConditionBoostSpec) ProtoMessage() {}
2309
2310 func (x *SearchRequest_BoostSpec_ConditionBoostSpec) ProtoReflect() protoreflect.Message {
2311 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[17]
2312 if x != nil {
2313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2314 if ms.LoadMessageInfo() == nil {
2315 ms.StoreMessageInfo(mi)
2316 }
2317 return ms
2318 }
2319 return mi.MessageOf(x)
2320 }
2321
2322 // Deprecated: Use SearchRequest_BoostSpec_ConditionBoostSpec.ProtoReflect.Descriptor instead.
2323 func (*SearchRequest_BoostSpec_ConditionBoostSpec) Descriptor() ([]byte, []int) {
2324 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 2, 0}
2325 }
2326
2327 func (x *SearchRequest_BoostSpec_ConditionBoostSpec) GetCondition() string {
2328 if x != nil {
2329 return x.Condition
2330 }
2331 return ""
2332 }
2333
2334 func (x *SearchRequest_BoostSpec_ConditionBoostSpec) GetBoost() float32 {
2335 if x != nil {
2336 return x.Boost
2337 }
2338 return 0
2339 }
2340
2341 // This field specifies the current user answer during the conversational
2342 // search. This can be either user selected from suggested answers or user
2343 // input plain text.
2344 type SearchRequest_ConversationalSearchSpec_UserAnswer struct {
2345 state protoimpl.MessageState
2346 sizeCache protoimpl.SizeCache
2347 unknownFields protoimpl.UnknownFields
2348
2349 // This field specifies the type of user answer.
2350 //
2351 // Types that are assignable to Type:
2352 //
2353 // *SearchRequest_ConversationalSearchSpec_UserAnswer_TextAnswer
2354 // *SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer_
2355 Type isSearchRequest_ConversationalSearchSpec_UserAnswer_Type `protobuf_oneof:"type"`
2356 }
2357
2358 func (x *SearchRequest_ConversationalSearchSpec_UserAnswer) Reset() {
2359 *x = SearchRequest_ConversationalSearchSpec_UserAnswer{}
2360 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[18]
2361 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2362 ms.StoreMessageInfo(mi)
2363 }
2364
2365 func (x *SearchRequest_ConversationalSearchSpec_UserAnswer) String() string {
2366 return protoimpl.X.MessageStringOf(x)
2367 }
2368
2369 func (*SearchRequest_ConversationalSearchSpec_UserAnswer) ProtoMessage() {}
2370
2371 func (x *SearchRequest_ConversationalSearchSpec_UserAnswer) ProtoReflect() protoreflect.Message {
2372 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[18]
2373 if x != nil {
2374 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2375 if ms.LoadMessageInfo() == nil {
2376 ms.StoreMessageInfo(mi)
2377 }
2378 return ms
2379 }
2380 return mi.MessageOf(x)
2381 }
2382
2383 // Deprecated: Use SearchRequest_ConversationalSearchSpec_UserAnswer.ProtoReflect.Descriptor instead.
2384 func (*SearchRequest_ConversationalSearchSpec_UserAnswer) Descriptor() ([]byte, []int) {
2385 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 6, 0}
2386 }
2387
2388 func (m *SearchRequest_ConversationalSearchSpec_UserAnswer) GetType() isSearchRequest_ConversationalSearchSpec_UserAnswer_Type {
2389 if m != nil {
2390 return m.Type
2391 }
2392 return nil
2393 }
2394
2395 func (x *SearchRequest_ConversationalSearchSpec_UserAnswer) GetTextAnswer() string {
2396 if x, ok := x.GetType().(*SearchRequest_ConversationalSearchSpec_UserAnswer_TextAnswer); ok {
2397 return x.TextAnswer
2398 }
2399 return ""
2400 }
2401
2402 func (x *SearchRequest_ConversationalSearchSpec_UserAnswer) GetSelectedAnswer() *SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer {
2403 if x, ok := x.GetType().(*SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer_); ok {
2404 return x.SelectedAnswer
2405 }
2406 return nil
2407 }
2408
2409 type isSearchRequest_ConversationalSearchSpec_UserAnswer_Type interface {
2410 isSearchRequest_ConversationalSearchSpec_UserAnswer_Type()
2411 }
2412
2413 type SearchRequest_ConversationalSearchSpec_UserAnswer_TextAnswer struct {
2414 // This field specifies the incremental input text from the user during
2415 // the conversational search.
2416 TextAnswer string `protobuf:"bytes,1,opt,name=text_answer,json=textAnswer,proto3,oneof"`
2417 }
2418
2419 type SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer_ struct {
2420 // This field specifies the selected attributes during the
2421 // conversational search. This should be a subset of
2422 // [ConversationalSearchResult.suggested_answers][].
2423 SelectedAnswer *SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer `protobuf:"bytes,2,opt,name=selected_answer,json=selectedAnswer,proto3,oneof"`
2424 }
2425
2426 func (*SearchRequest_ConversationalSearchSpec_UserAnswer_TextAnswer) isSearchRequest_ConversationalSearchSpec_UserAnswer_Type() {
2427 }
2428
2429 func (*SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer_) isSearchRequest_ConversationalSearchSpec_UserAnswer_Type() {
2430 }
2431
2432 // This field specifies the selected answers during the conversational
2433 // search.
2434 type SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer struct {
2435 state protoimpl.MessageState
2436 sizeCache protoimpl.SizeCache
2437 unknownFields protoimpl.UnknownFields
2438
2439 // This field is deprecated and should not be set.
2440 //
2441 // Deprecated: Marked as deprecated in google/cloud/retail/v2alpha/search_service.proto.
2442 ProductAttributeValues []*ProductAttributeValue `protobuf:"bytes,1,rep,name=product_attribute_values,json=productAttributeValues,proto3" json:"product_attribute_values,omitempty"`
2443 // This field specifies the selected answer which is a attribute
2444 // key-value.
2445 ProductAttributeValue *ProductAttributeValue `protobuf:"bytes,2,opt,name=product_attribute_value,json=productAttributeValue,proto3" json:"product_attribute_value,omitempty"`
2446 }
2447
2448 func (x *SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer) Reset() {
2449 *x = SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer{}
2450 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[19]
2451 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2452 ms.StoreMessageInfo(mi)
2453 }
2454
2455 func (x *SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer) String() string {
2456 return protoimpl.X.MessageStringOf(x)
2457 }
2458
2459 func (*SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer) ProtoMessage() {}
2460
2461 func (x *SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer) ProtoReflect() protoreflect.Message {
2462 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[19]
2463 if x != nil {
2464 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2465 if ms.LoadMessageInfo() == nil {
2466 ms.StoreMessageInfo(mi)
2467 }
2468 return ms
2469 }
2470 return mi.MessageOf(x)
2471 }
2472
2473 // Deprecated: Use SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer.ProtoReflect.Descriptor instead.
2474 func (*SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer) Descriptor() ([]byte, []int) {
2475 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{3, 6, 0, 0}
2476 }
2477
2478 // Deprecated: Marked as deprecated in google/cloud/retail/v2alpha/search_service.proto.
2479 func (x *SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer) GetProductAttributeValues() []*ProductAttributeValue {
2480 if x != nil {
2481 return x.ProductAttributeValues
2482 }
2483 return nil
2484 }
2485
2486 func (x *SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer) GetProductAttributeValue() *ProductAttributeValue {
2487 if x != nil {
2488 return x.ProductAttributeValue
2489 }
2490 return nil
2491 }
2492
2493 // Represents the search results.
2494 type SearchResponse_SearchResult struct {
2495 state protoimpl.MessageState
2496 sizeCache protoimpl.SizeCache
2497 unknownFields protoimpl.UnknownFields
2498
2499 // [Product.id][google.cloud.retail.v2alpha.Product.id] of the searched
2500 // [Product][google.cloud.retail.v2alpha.Product].
2501 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
2502 // The product data snippet in the search response. Only
2503 // [Product.name][google.cloud.retail.v2alpha.Product.name] is guaranteed to
2504 // be populated.
2505 //
2506 // [Product.variants][google.cloud.retail.v2alpha.Product.variants] contains
2507 // the product variants that match the search query. If there are multiple
2508 // product variants matching the query, top 5 most relevant product variants
2509 // are returned and ordered by relevancy.
2510 //
2511 // If relevancy can be deternmined, use
2512 // [matching_variant_fields][google.cloud.retail.v2alpha.SearchResponse.SearchResult.matching_variant_fields]
2513 // to look up matched product variants fields. If relevancy cannot be
2514 // determined, e.g. when searching "shoe" all products in a shoe product can
2515 // be a match, 5 product variants are returned but order is meaningless.
2516 Product *Product `protobuf:"bytes,2,opt,name=product,proto3" json:"product,omitempty"`
2517 // The count of matched
2518 // [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
2519 // [Product][google.cloud.retail.v2alpha.Product]s.
2520 MatchingVariantCount int32 `protobuf:"varint,3,opt,name=matching_variant_count,json=matchingVariantCount,proto3" json:"matching_variant_count,omitempty"`
2521 // If a [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
2522 // [Product][google.cloud.retail.v2alpha.Product] matches the search query,
2523 // this map indicates which [Product][google.cloud.retail.v2alpha.Product]
2524 // fields are matched. The key is the
2525 // [Product.name][google.cloud.retail.v2alpha.Product.name], the value is a
2526 // field mask of the matched [Product][google.cloud.retail.v2alpha.Product]
2527 // fields. If matched attributes cannot be determined, this map will be
2528 // empty.
2529 //
2530 // For example, a key "sku1" with field mask
2531 // "products.color_info" indicates there is a match between
2532 // "sku1" [ColorInfo][google.cloud.retail.v2alpha.ColorInfo] and the query.
2533 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,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
2534 // The rollup matching
2535 // [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
2536 // [Product][google.cloud.retail.v2alpha.Product] attributes. The key is one
2537 // of the
2538 // [SearchRequest.variant_rollup_keys][google.cloud.retail.v2alpha.SearchRequest.variant_rollup_keys].
2539 // The values are the merged and de-duplicated
2540 // [Product][google.cloud.retail.v2alpha.Product] attributes. Notice that
2541 // the rollup values are respect filter. For example, when filtering by
2542 // "colorFamilies:ANY(\"red\")" and rollup "colorFamilies", only "red" is
2543 // returned.
2544 //
2545 // For textual and numerical attributes, the rollup values is a list of
2546 // string or double values with type
2547 // [google.protobuf.ListValue][google.protobuf.ListValue]. For example, if
2548 // there are two variants with colors "red" and "blue", the rollup values
2549 // are
2550 //
2551 // { key: "colorFamilies"
2552 // value {
2553 // list_value {
2554 // values { string_value: "red" }
2555 // values { string_value: "blue" }
2556 // }
2557 // }
2558 // }
2559 //
2560 // For [FulfillmentInfo][google.cloud.retail.v2alpha.FulfillmentInfo], the
2561 // rollup values is a double value with type
2562 // [google.protobuf.Value][google.protobuf.Value]. For example,
2563 // `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there
2564 // are 10 variants in this product are available in the store "store1".
2565 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,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
2566 // Specifies previous events related to this product for this user based on
2567 // [UserEvent][google.cloud.retail.v2alpha.UserEvent] with same
2568 // [SearchRequest.visitor_id][google.cloud.retail.v2alpha.SearchRequest.visitor_id]
2569 // or [UserInfo.user_id][google.cloud.retail.v2alpha.UserInfo.user_id].
2570 //
2571 // This is set only when
2572 // [SearchRequest.PersonalizationSpec.mode][google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpec.mode]
2573 // is
2574 // [SearchRequest.PersonalizationSpec.Mode.AUTO][google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpec.Mode.AUTO].
2575 //
2576 // Possible values:
2577 //
2578 // * `purchased`: Indicates that this product has been purchased before.
2579 PersonalLabels []string `protobuf:"bytes,7,rep,name=personal_labels,json=personalLabels,proto3" json:"personal_labels,omitempty"`
2580 // Google provided available scores.
2581 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,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
2582 }
2583
2584 func (x *SearchResponse_SearchResult) Reset() {
2585 *x = SearchResponse_SearchResult{}
2586 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[20]
2587 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2588 ms.StoreMessageInfo(mi)
2589 }
2590
2591 func (x *SearchResponse_SearchResult) String() string {
2592 return protoimpl.X.MessageStringOf(x)
2593 }
2594
2595 func (*SearchResponse_SearchResult) ProtoMessage() {}
2596
2597 func (x *SearchResponse_SearchResult) ProtoReflect() protoreflect.Message {
2598 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[20]
2599 if x != nil {
2600 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2601 if ms.LoadMessageInfo() == nil {
2602 ms.StoreMessageInfo(mi)
2603 }
2604 return ms
2605 }
2606 return mi.MessageOf(x)
2607 }
2608
2609 // Deprecated: Use SearchResponse_SearchResult.ProtoReflect.Descriptor instead.
2610 func (*SearchResponse_SearchResult) Descriptor() ([]byte, []int) {
2611 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{4, 0}
2612 }
2613
2614 func (x *SearchResponse_SearchResult) GetId() string {
2615 if x != nil {
2616 return x.Id
2617 }
2618 return ""
2619 }
2620
2621 func (x *SearchResponse_SearchResult) GetProduct() *Product {
2622 if x != nil {
2623 return x.Product
2624 }
2625 return nil
2626 }
2627
2628 func (x *SearchResponse_SearchResult) GetMatchingVariantCount() int32 {
2629 if x != nil {
2630 return x.MatchingVariantCount
2631 }
2632 return 0
2633 }
2634
2635 func (x *SearchResponse_SearchResult) GetMatchingVariantFields() map[string]*fieldmaskpb.FieldMask {
2636 if x != nil {
2637 return x.MatchingVariantFields
2638 }
2639 return nil
2640 }
2641
2642 func (x *SearchResponse_SearchResult) GetVariantRollupValues() map[string]*structpb.Value {
2643 if x != nil {
2644 return x.VariantRollupValues
2645 }
2646 return nil
2647 }
2648
2649 func (x *SearchResponse_SearchResult) GetPersonalLabels() []string {
2650 if x != nil {
2651 return x.PersonalLabels
2652 }
2653 return nil
2654 }
2655
2656 func (x *SearchResponse_SearchResult) GetModelScores() map[string]*DoubleList {
2657 if x != nil {
2658 return x.ModelScores
2659 }
2660 return nil
2661 }
2662
2663 // A facet result.
2664 type SearchResponse_Facet struct {
2665 state protoimpl.MessageState
2666 sizeCache protoimpl.SizeCache
2667 unknownFields protoimpl.UnknownFields
2668
2669 // The key for this facet. E.g., "colorFamilies" or "price" or
2670 // "attributes.attr1".
2671 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
2672 // The facet values for this field.
2673 Values []*SearchResponse_Facet_FacetValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
2674 // Whether the facet is dynamically generated.
2675 DynamicFacet bool `protobuf:"varint,3,opt,name=dynamic_facet,json=dynamicFacet,proto3" json:"dynamic_facet,omitempty"`
2676 }
2677
2678 func (x *SearchResponse_Facet) Reset() {
2679 *x = SearchResponse_Facet{}
2680 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[21]
2681 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2682 ms.StoreMessageInfo(mi)
2683 }
2684
2685 func (x *SearchResponse_Facet) String() string {
2686 return protoimpl.X.MessageStringOf(x)
2687 }
2688
2689 func (*SearchResponse_Facet) ProtoMessage() {}
2690
2691 func (x *SearchResponse_Facet) ProtoReflect() protoreflect.Message {
2692 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[21]
2693 if x != nil {
2694 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2695 if ms.LoadMessageInfo() == nil {
2696 ms.StoreMessageInfo(mi)
2697 }
2698 return ms
2699 }
2700 return mi.MessageOf(x)
2701 }
2702
2703 // Deprecated: Use SearchResponse_Facet.ProtoReflect.Descriptor instead.
2704 func (*SearchResponse_Facet) Descriptor() ([]byte, []int) {
2705 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{4, 1}
2706 }
2707
2708 func (x *SearchResponse_Facet) GetKey() string {
2709 if x != nil {
2710 return x.Key
2711 }
2712 return ""
2713 }
2714
2715 func (x *SearchResponse_Facet) GetValues() []*SearchResponse_Facet_FacetValue {
2716 if x != nil {
2717 return x.Values
2718 }
2719 return nil
2720 }
2721
2722 func (x *SearchResponse_Facet) GetDynamicFacet() bool {
2723 if x != nil {
2724 return x.DynamicFacet
2725 }
2726 return false
2727 }
2728
2729 // Information describing query expansion including whether expansion has
2730 // occurred.
2731 type SearchResponse_QueryExpansionInfo struct {
2732 state protoimpl.MessageState
2733 sizeCache protoimpl.SizeCache
2734 unknownFields protoimpl.UnknownFields
2735
2736 // Bool describing whether query expansion has occurred.
2737 ExpandedQuery bool `protobuf:"varint,1,opt,name=expanded_query,json=expandedQuery,proto3" json:"expanded_query,omitempty"`
2738 // Number of pinned results. This field will only be set when expansion
2739 // happens and
2740 // [SearchRequest.QueryExpansionSpec.pin_unexpanded_results][google.cloud.retail.v2alpha.SearchRequest.QueryExpansionSpec.pin_unexpanded_results]
2741 // is set to true.
2742 PinnedResultCount int64 `protobuf:"varint,2,opt,name=pinned_result_count,json=pinnedResultCount,proto3" json:"pinned_result_count,omitempty"`
2743 }
2744
2745 func (x *SearchResponse_QueryExpansionInfo) Reset() {
2746 *x = SearchResponse_QueryExpansionInfo{}
2747 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[22]
2748 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2749 ms.StoreMessageInfo(mi)
2750 }
2751
2752 func (x *SearchResponse_QueryExpansionInfo) String() string {
2753 return protoimpl.X.MessageStringOf(x)
2754 }
2755
2756 func (*SearchResponse_QueryExpansionInfo) ProtoMessage() {}
2757
2758 func (x *SearchResponse_QueryExpansionInfo) ProtoReflect() protoreflect.Message {
2759 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[22]
2760 if x != nil {
2761 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2762 if ms.LoadMessageInfo() == nil {
2763 ms.StoreMessageInfo(mi)
2764 }
2765 return ms
2766 }
2767 return mi.MessageOf(x)
2768 }
2769
2770 // Deprecated: Use SearchResponse_QueryExpansionInfo.ProtoReflect.Descriptor instead.
2771 func (*SearchResponse_QueryExpansionInfo) Descriptor() ([]byte, []int) {
2772 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{4, 2}
2773 }
2774
2775 func (x *SearchResponse_QueryExpansionInfo) GetExpandedQuery() bool {
2776 if x != nil {
2777 return x.ExpandedQuery
2778 }
2779 return false
2780 }
2781
2782 func (x *SearchResponse_QueryExpansionInfo) GetPinnedResultCount() int64 {
2783 if x != nil {
2784 return x.PinnedResultCount
2785 }
2786 return 0
2787 }
2788
2789 // This field specifies all related information that is needed on client
2790 // side for UI rendering of conversational retail search.
2791 type SearchResponse_ConversationalSearchResult struct {
2792 state protoimpl.MessageState
2793 sizeCache protoimpl.SizeCache
2794 unknownFields protoimpl.UnknownFields
2795
2796 // Conversation UUID. This field will be stored in client side storage to
2797 // maintain the conversation session with server and will be used for next
2798 // search request's
2799 // [SearchRequest.ConversationalSearchSpec.conversation_id][google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.conversation_id]
2800 // to restore conversation state in server.
2801 ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
2802 // The current refined query for the conversational search. This field
2803 // will be used in customer UI that the query in the search bar should be
2804 // replaced with the refined query. For example, if
2805 // [SearchRequest.query][google.cloud.retail.v2alpha.SearchRequest.query] is
2806 // `dress` and next
2807 // [SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer][google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer]
2808 // is `red color`, which does not match any product attribute value filters,
2809 // the refined query will be `dress, red color`.
2810 RefinedQuery string `protobuf:"bytes,2,opt,name=refined_query,json=refinedQuery,proto3" json:"refined_query,omitempty"`
2811 // This field is deprecated but will be kept for backward compatibility.
2812 // There is expected to have only one additional filter and the value will
2813 // be the same to the same as field `additional_filter`.
2814 //
2815 // Deprecated: Marked as deprecated in google/cloud/retail/v2alpha/search_service.proto.
2816 AdditionalFilters []*SearchResponse_ConversationalSearchResult_AdditionalFilter `protobuf:"bytes,3,rep,name=additional_filters,json=additionalFilters,proto3" json:"additional_filters,omitempty"`
2817 // The follow-up question. e.g., `What is the color?`
2818 FollowupQuestion string `protobuf:"bytes,4,opt,name=followup_question,json=followupQuestion,proto3" json:"followup_question,omitempty"`
2819 // The answer options provided to client for the follow-up question.
2820 SuggestedAnswers []*SearchResponse_ConversationalSearchResult_SuggestedAnswer `protobuf:"bytes,5,rep,name=suggested_answers,json=suggestedAnswers,proto3" json:"suggested_answers,omitempty"`
2821 // This is the incremental additional filters implied from the current
2822 // user answer. User should add the suggested addition filters to the
2823 // previous
2824 // [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter],
2825 // and use the merged filter in the follow up search request.
2826 AdditionalFilter *SearchResponse_ConversationalSearchResult_AdditionalFilter `protobuf:"bytes,6,opt,name=additional_filter,json=additionalFilter,proto3" json:"additional_filter,omitempty"`
2827 }
2828
2829 func (x *SearchResponse_ConversationalSearchResult) Reset() {
2830 *x = SearchResponse_ConversationalSearchResult{}
2831 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[23]
2832 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2833 ms.StoreMessageInfo(mi)
2834 }
2835
2836 func (x *SearchResponse_ConversationalSearchResult) String() string {
2837 return protoimpl.X.MessageStringOf(x)
2838 }
2839
2840 func (*SearchResponse_ConversationalSearchResult) ProtoMessage() {}
2841
2842 func (x *SearchResponse_ConversationalSearchResult) ProtoReflect() protoreflect.Message {
2843 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[23]
2844 if x != nil {
2845 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2846 if ms.LoadMessageInfo() == nil {
2847 ms.StoreMessageInfo(mi)
2848 }
2849 return ms
2850 }
2851 return mi.MessageOf(x)
2852 }
2853
2854 // Deprecated: Use SearchResponse_ConversationalSearchResult.ProtoReflect.Descriptor instead.
2855 func (*SearchResponse_ConversationalSearchResult) Descriptor() ([]byte, []int) {
2856 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{4, 3}
2857 }
2858
2859 func (x *SearchResponse_ConversationalSearchResult) GetConversationId() string {
2860 if x != nil {
2861 return x.ConversationId
2862 }
2863 return ""
2864 }
2865
2866 func (x *SearchResponse_ConversationalSearchResult) GetRefinedQuery() string {
2867 if x != nil {
2868 return x.RefinedQuery
2869 }
2870 return ""
2871 }
2872
2873 // Deprecated: Marked as deprecated in google/cloud/retail/v2alpha/search_service.proto.
2874 func (x *SearchResponse_ConversationalSearchResult) GetAdditionalFilters() []*SearchResponse_ConversationalSearchResult_AdditionalFilter {
2875 if x != nil {
2876 return x.AdditionalFilters
2877 }
2878 return nil
2879 }
2880
2881 func (x *SearchResponse_ConversationalSearchResult) GetFollowupQuestion() string {
2882 if x != nil {
2883 return x.FollowupQuestion
2884 }
2885 return ""
2886 }
2887
2888 func (x *SearchResponse_ConversationalSearchResult) GetSuggestedAnswers() []*SearchResponse_ConversationalSearchResult_SuggestedAnswer {
2889 if x != nil {
2890 return x.SuggestedAnswers
2891 }
2892 return nil
2893 }
2894
2895 func (x *SearchResponse_ConversationalSearchResult) GetAdditionalFilter() *SearchResponse_ConversationalSearchResult_AdditionalFilter {
2896 if x != nil {
2897 return x.AdditionalFilter
2898 }
2899 return nil
2900 }
2901
2902 // This field specifies all related information for tile navigation that will
2903 // be used in client side.
2904 type SearchResponse_TileNavigationResult struct {
2905 state protoimpl.MessageState
2906 sizeCache protoimpl.SizeCache
2907 unknownFields protoimpl.UnknownFields
2908
2909 // The current tiles that are used for tile navigation, sorted by
2910 // engagement.
2911 Tiles []*Tile `protobuf:"bytes,1,rep,name=tiles,proto3" json:"tiles,omitempty"`
2912 }
2913
2914 func (x *SearchResponse_TileNavigationResult) Reset() {
2915 *x = SearchResponse_TileNavigationResult{}
2916 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[24]
2917 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2918 ms.StoreMessageInfo(mi)
2919 }
2920
2921 func (x *SearchResponse_TileNavigationResult) String() string {
2922 return protoimpl.X.MessageStringOf(x)
2923 }
2924
2925 func (*SearchResponse_TileNavigationResult) ProtoMessage() {}
2926
2927 func (x *SearchResponse_TileNavigationResult) ProtoReflect() protoreflect.Message {
2928 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[24]
2929 if x != nil {
2930 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2931 if ms.LoadMessageInfo() == nil {
2932 ms.StoreMessageInfo(mi)
2933 }
2934 return ms
2935 }
2936 return mi.MessageOf(x)
2937 }
2938
2939 // Deprecated: Use SearchResponse_TileNavigationResult.ProtoReflect.Descriptor instead.
2940 func (*SearchResponse_TileNavigationResult) Descriptor() ([]byte, []int) {
2941 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{4, 4}
2942 }
2943
2944 func (x *SearchResponse_TileNavigationResult) GetTiles() []*Tile {
2945 if x != nil {
2946 return x.Tiles
2947 }
2948 return nil
2949 }
2950
2951 // A facet value which contains value names and their count.
2952 type SearchResponse_Facet_FacetValue struct {
2953 state protoimpl.MessageState
2954 sizeCache protoimpl.SizeCache
2955 unknownFields protoimpl.UnknownFields
2956
2957 // A facet value which contains values.
2958 //
2959 // Types that are assignable to FacetValue:
2960 //
2961 // *SearchResponse_Facet_FacetValue_Value
2962 // *SearchResponse_Facet_FacetValue_Interval
2963 FacetValue isSearchResponse_Facet_FacetValue_FacetValue `protobuf_oneof:"facet_value"`
2964 // Number of items that have this facet value.
2965 Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
2966 // The minimum value in the
2967 // [FacetValue.interval][google.cloud.retail.v2alpha.SearchResponse.Facet.FacetValue.interval].
2968 // Only supported on numerical facets and returned if
2969 // [SearchRequest.FacetSpec.FacetKey.return_min_max][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.return_min_max]
2970 // is true.
2971 MinValue float64 `protobuf:"fixed64,5,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
2972 // The maximum value in the
2973 // [FacetValue.interval][google.cloud.retail.v2alpha.SearchResponse.Facet.FacetValue.interval].
2974 // Only supported on numerical facets and returned if
2975 // [SearchRequest.FacetSpec.FacetKey.return_min_max][google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.return_min_max]
2976 // is true.
2977 MaxValue float64 `protobuf:"fixed64,6,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
2978 }
2979
2980 func (x *SearchResponse_Facet_FacetValue) Reset() {
2981 *x = SearchResponse_Facet_FacetValue{}
2982 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[28]
2983 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2984 ms.StoreMessageInfo(mi)
2985 }
2986
2987 func (x *SearchResponse_Facet_FacetValue) String() string {
2988 return protoimpl.X.MessageStringOf(x)
2989 }
2990
2991 func (*SearchResponse_Facet_FacetValue) ProtoMessage() {}
2992
2993 func (x *SearchResponse_Facet_FacetValue) ProtoReflect() protoreflect.Message {
2994 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[28]
2995 if x != nil {
2996 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2997 if ms.LoadMessageInfo() == nil {
2998 ms.StoreMessageInfo(mi)
2999 }
3000 return ms
3001 }
3002 return mi.MessageOf(x)
3003 }
3004
3005 // Deprecated: Use SearchResponse_Facet_FacetValue.ProtoReflect.Descriptor instead.
3006 func (*SearchResponse_Facet_FacetValue) Descriptor() ([]byte, []int) {
3007 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{4, 1, 0}
3008 }
3009
3010 func (m *SearchResponse_Facet_FacetValue) GetFacetValue() isSearchResponse_Facet_FacetValue_FacetValue {
3011 if m != nil {
3012 return m.FacetValue
3013 }
3014 return nil
3015 }
3016
3017 func (x *SearchResponse_Facet_FacetValue) GetValue() string {
3018 if x, ok := x.GetFacetValue().(*SearchResponse_Facet_FacetValue_Value); ok {
3019 return x.Value
3020 }
3021 return ""
3022 }
3023
3024 func (x *SearchResponse_Facet_FacetValue) GetInterval() *Interval {
3025 if x, ok := x.GetFacetValue().(*SearchResponse_Facet_FacetValue_Interval); ok {
3026 return x.Interval
3027 }
3028 return nil
3029 }
3030
3031 func (x *SearchResponse_Facet_FacetValue) GetCount() int64 {
3032 if x != nil {
3033 return x.Count
3034 }
3035 return 0
3036 }
3037
3038 func (x *SearchResponse_Facet_FacetValue) GetMinValue() float64 {
3039 if x != nil {
3040 return x.MinValue
3041 }
3042 return 0
3043 }
3044
3045 func (x *SearchResponse_Facet_FacetValue) GetMaxValue() float64 {
3046 if x != nil {
3047 return x.MaxValue
3048 }
3049 return 0
3050 }
3051
3052 type isSearchResponse_Facet_FacetValue_FacetValue interface {
3053 isSearchResponse_Facet_FacetValue_FacetValue()
3054 }
3055
3056 type SearchResponse_Facet_FacetValue_Value struct {
3057 // Text value of a facet, such as "Black" for facet "colorFamilies".
3058 Value string `protobuf:"bytes,1,opt,name=value,proto3,oneof"`
3059 }
3060
3061 type SearchResponse_Facet_FacetValue_Interval struct {
3062 // Interval value for a facet, such as [10, 20) for facet "price".
3063 Interval *Interval `protobuf:"bytes,2,opt,name=interval,proto3,oneof"`
3064 }
3065
3066 func (*SearchResponse_Facet_FacetValue_Value) isSearchResponse_Facet_FacetValue_FacetValue() {}
3067
3068 func (*SearchResponse_Facet_FacetValue_Interval) isSearchResponse_Facet_FacetValue_FacetValue() {}
3069
3070 // Suggested answers to the follow-up question.
3071 type SearchResponse_ConversationalSearchResult_SuggestedAnswer struct {
3072 state protoimpl.MessageState
3073 sizeCache protoimpl.SizeCache
3074 unknownFields protoimpl.UnknownFields
3075
3076 // Product attribute value, including an attribute key and an
3077 // attribute value. Other types can be added here in the future.
3078 ProductAttributeValue *ProductAttributeValue `protobuf:"bytes,1,opt,name=product_attribute_value,json=productAttributeValue,proto3" json:"product_attribute_value,omitempty"`
3079 }
3080
3081 func (x *SearchResponse_ConversationalSearchResult_SuggestedAnswer) Reset() {
3082 *x = SearchResponse_ConversationalSearchResult_SuggestedAnswer{}
3083 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[29]
3084 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3085 ms.StoreMessageInfo(mi)
3086 }
3087
3088 func (x *SearchResponse_ConversationalSearchResult_SuggestedAnswer) String() string {
3089 return protoimpl.X.MessageStringOf(x)
3090 }
3091
3092 func (*SearchResponse_ConversationalSearchResult_SuggestedAnswer) ProtoMessage() {}
3093
3094 func (x *SearchResponse_ConversationalSearchResult_SuggestedAnswer) ProtoReflect() protoreflect.Message {
3095 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[29]
3096 if x != nil {
3097 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3098 if ms.LoadMessageInfo() == nil {
3099 ms.StoreMessageInfo(mi)
3100 }
3101 return ms
3102 }
3103 return mi.MessageOf(x)
3104 }
3105
3106 // Deprecated: Use SearchResponse_ConversationalSearchResult_SuggestedAnswer.ProtoReflect.Descriptor instead.
3107 func (*SearchResponse_ConversationalSearchResult_SuggestedAnswer) Descriptor() ([]byte, []int) {
3108 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{4, 3, 0}
3109 }
3110
3111 func (x *SearchResponse_ConversationalSearchResult_SuggestedAnswer) GetProductAttributeValue() *ProductAttributeValue {
3112 if x != nil {
3113 return x.ProductAttributeValue
3114 }
3115 return nil
3116 }
3117
3118 // Additional filter that client side need to apply.
3119 type SearchResponse_ConversationalSearchResult_AdditionalFilter struct {
3120 state protoimpl.MessageState
3121 sizeCache protoimpl.SizeCache
3122 unknownFields protoimpl.UnknownFields
3123
3124 // Product attribute value, including an attribute key and an
3125 // attribute value. Other types can be added here in the future.
3126 ProductAttributeValue *ProductAttributeValue `protobuf:"bytes,1,opt,name=product_attribute_value,json=productAttributeValue,proto3" json:"product_attribute_value,omitempty"`
3127 }
3128
3129 func (x *SearchResponse_ConversationalSearchResult_AdditionalFilter) Reset() {
3130 *x = SearchResponse_ConversationalSearchResult_AdditionalFilter{}
3131 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[30]
3132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3133 ms.StoreMessageInfo(mi)
3134 }
3135
3136 func (x *SearchResponse_ConversationalSearchResult_AdditionalFilter) String() string {
3137 return protoimpl.X.MessageStringOf(x)
3138 }
3139
3140 func (*SearchResponse_ConversationalSearchResult_AdditionalFilter) ProtoMessage() {}
3141
3142 func (x *SearchResponse_ConversationalSearchResult_AdditionalFilter) ProtoReflect() protoreflect.Message {
3143 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[30]
3144 if x != nil {
3145 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3146 if ms.LoadMessageInfo() == nil {
3147 ms.StoreMessageInfo(mi)
3148 }
3149 return ms
3150 }
3151 return mi.MessageOf(x)
3152 }
3153
3154 // Deprecated: Use SearchResponse_ConversationalSearchResult_AdditionalFilter.ProtoReflect.Descriptor instead.
3155 func (*SearchResponse_ConversationalSearchResult_AdditionalFilter) Descriptor() ([]byte, []int) {
3156 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{4, 3, 1}
3157 }
3158
3159 func (x *SearchResponse_ConversationalSearchResult_AdditionalFilter) GetProductAttributeValue() *ProductAttributeValue {
3160 if x != nil {
3161 return x.ProductAttributeValue
3162 }
3163 return nil
3164 }
3165
3166 // Metadata for active serving config A/B tests.
3167 type ExperimentInfo_ServingConfigExperiment struct {
3168 state protoimpl.MessageState
3169 sizeCache protoimpl.SizeCache
3170 unknownFields protoimpl.UnknownFields
3171
3172 // The fully qualified resource name of the original
3173 // [SearchRequest.placement][google.cloud.retail.v2alpha.SearchRequest.placement]
3174 // in the search request prior to reassignment by experiment API. For
3175 // example: `projects/*/locations/*/catalogs/*/servingConfigs/*`.
3176 OriginalServingConfig string `protobuf:"bytes,1,opt,name=original_serving_config,json=originalServingConfig,proto3" json:"original_serving_config,omitempty"`
3177 // The fully qualified resource name of the serving config
3178 // `Experiment.VariantArm.serving_config_id` responsible for generating
3179 // the search response. For example:
3180 // `projects/*/locations/*/catalogs/*/servingConfigs/*`.
3181 ExperimentServingConfig string `protobuf:"bytes,2,opt,name=experiment_serving_config,json=experimentServingConfig,proto3" json:"experiment_serving_config,omitempty"`
3182 }
3183
3184 func (x *ExperimentInfo_ServingConfigExperiment) Reset() {
3185 *x = ExperimentInfo_ServingConfigExperiment{}
3186 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[31]
3187 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3188 ms.StoreMessageInfo(mi)
3189 }
3190
3191 func (x *ExperimentInfo_ServingConfigExperiment) String() string {
3192 return protoimpl.X.MessageStringOf(x)
3193 }
3194
3195 func (*ExperimentInfo_ServingConfigExperiment) ProtoMessage() {}
3196
3197 func (x *ExperimentInfo_ServingConfigExperiment) ProtoReflect() protoreflect.Message {
3198 mi := &file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[31]
3199 if x != nil {
3200 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3201 if ms.LoadMessageInfo() == nil {
3202 ms.StoreMessageInfo(mi)
3203 }
3204 return ms
3205 }
3206 return mi.MessageOf(x)
3207 }
3208
3209 // Deprecated: Use ExperimentInfo_ServingConfigExperiment.ProtoReflect.Descriptor instead.
3210 func (*ExperimentInfo_ServingConfigExperiment) Descriptor() ([]byte, []int) {
3211 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP(), []int{5, 0}
3212 }
3213
3214 func (x *ExperimentInfo_ServingConfigExperiment) GetOriginalServingConfig() string {
3215 if x != nil {
3216 return x.OriginalServingConfig
3217 }
3218 return ""
3219 }
3220
3221 func (x *ExperimentInfo_ServingConfigExperiment) GetExperimentServingConfig() string {
3222 if x != nil {
3223 return x.ExperimentServingConfig
3224 }
3225 return ""
3226 }
3227
3228 var File_google_cloud_retail_v2alpha_search_service_proto protoreflect.FileDescriptor
3229
3230 var file_google_cloud_retail_v2alpha_search_service_proto_rawDesc = []byte{
3231 0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72,
3232 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x73, 0x65,
3233 0x61, 0x72, 0x63, 0x68, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
3234 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
3235 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a,
3236 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
3237 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67,
3238 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
3239 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
3240 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
3241 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
3242 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
3243 0x74, 0x6f, 0x1a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
3244 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f,
3245 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x67, 0x6f,
3246 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69,
3247 0x6c, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
3248 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
3249 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d,
3250 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3251 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63,
3252 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x15, 0x50, 0x72, 0x6f, 0x64, 0x75,
3253 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65,
3254 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
3255 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
3256 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x71, 0x0a, 0x18, 0x50, 0x72,
3257 0x6f, 0x64, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x49, 0x6e,
3258 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
3259 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x08, 0x69, 0x6e,
3260 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67,
3261 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61,
3262 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72,
3263 0x76, 0x61, 0x6c, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x22, 0xbc, 0x02,
3264 0x0a, 0x04, 0x54, 0x69, 0x6c, 0x65, 0x12, 0x6c, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
3265 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75,
3266 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3267 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32,
3268 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74,
3269 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x15, 0x70,
3270 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x56,
3271 0x61, 0x6c, 0x75, 0x65, 0x12, 0x75, 0x0a, 0x1a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f,
3272 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76,
3273 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3274 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76,
3275 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x41, 0x74,
3276 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x48,
3277 0x00, 0x52, 0x18, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62,
3278 0x75, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x3a, 0x0a, 0x19, 0x72,
3279 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x72,
3280 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17,
3281 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x72,
3282 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x42, 0x13, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x64, 0x75,
3283 0x63, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x22, 0xdb, 0x25, 0x0a,
3284 0x0d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21,
3285 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
3286 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e,
3287 0x74, 0x12, 0x39, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28,
3288 0x09, 0x42, 0x21, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67,
3289 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x72,
3290 0x61, 0x6e, 0x63, 0x68, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x14, 0x0a, 0x05,
3291 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65,
3292 0x72, 0x79, 0x12, 0x22, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64,
3293 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x76, 0x69, 0x73,
3294 0x69, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
3295 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
3296 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e,
3297 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f,
3298 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61,
3299 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70,
3300 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f,
3301 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67,
3302 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
3303 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x16,
3304 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
3305 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69,
3306 0x63, 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x09,
3307 0x52, 0x0f, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65,
3308 0x72, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x0b, 0x20,
3309 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x55, 0x0a, 0x0b,
3310 0x66, 0x61, 0x63, 0x65, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28,
3311 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
3312 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
3313 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x61,
3314 0x63, 0x65, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0a, 0x66, 0x61, 0x63, 0x65, 0x74, 0x53, 0x70,
3315 0x65, 0x63, 0x73, 0x12, 0x6d, 0x0a, 0x12, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x66,
3316 0x61, 0x63, 0x65, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
3317 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72,
3318 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65,
3319 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x79, 0x6e, 0x61,
3320 0x6d, 0x69, 0x63, 0x46, 0x61, 0x63, 0x65, 0x74, 0x53, 0x70, 0x65, 0x63, 0x42, 0x02, 0x18, 0x01,
3321 0x52, 0x10, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x46, 0x61, 0x63, 0x65, 0x74, 0x53, 0x70,
3322 0x65, 0x63, 0x12, 0x53, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x73, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x63,
3323 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3324 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61,
3325 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65,
3326 0x73, 0x74, 0x2e, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x09, 0x62, 0x6f,
3327 0x6f, 0x73, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x6f, 0x0a, 0x14, 0x71, 0x75, 0x65, 0x72, 0x79,
3328 0x5f, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18,
3329 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
3330 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c,
3331 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
3332 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
3333 0x53, 0x70, 0x65, 0x63, 0x52, 0x12, 0x71, 0x75, 0x65, 0x72, 0x79, 0x45, 0x78, 0x70, 0x61, 0x6e,
3334 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x6e, 0x0a, 0x13, 0x72, 0x65, 0x6c, 0x65,
3335 0x76, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18,
3336 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
3337 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c,
3338 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
3339 0x74, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73,
3340 0x68, 0x6f, 0x6c, 0x64, 0x52, 0x12, 0x72, 0x65, 0x6c, 0x65, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x54,
3341 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x76, 0x61, 0x72, 0x69,
3342 0x61, 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x6c, 0x6c, 0x75, 0x70, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18,
3343 0x11, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x52, 0x6f,
3344 0x6c, 0x6c, 0x75, 0x70, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x28, 0x0a, 0x0d, 0x65, 0x78, 0x70, 0x65,
3345 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x42,
3346 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74,
3347 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67,
3348 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x67,
3349 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x56, 0x0a, 0x0b, 0x73,
3350 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0e,
3351 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
3352 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53,
3353 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x65, 0x61,
3354 0x72, 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d,
3355 0x6f, 0x64, 0x65, 0x12, 0x71, 0x0a, 0x14, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x69,
3356 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x20, 0x20, 0x01, 0x28,
3357 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
3358 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
3359 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x65,
3360 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65,
3361 0x63, 0x52, 0x13, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69,
3362 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x4e, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
3363 0x18, 0x22, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3364 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61,
3365 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65,
3366 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06,
3367 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x77, 0x0a, 0x15, 0x73, 0x70, 0x65, 0x6c, 0x6c, 0x5f,
3368 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18,
3369 0x23, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
3370 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c,
3371 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
3372 0x74, 0x2e, 0x53, 0x70, 0x65, 0x6c, 0x6c, 0x43, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f,
3373 0x6e, 0x53, 0x70, 0x65, 0x63, 0x48, 0x00, 0x52, 0x13, 0x73, 0x70, 0x65, 0x6c, 0x6c, 0x43, 0x6f,
3374 0x72, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x88, 0x01, 0x01, 0x12,
3375 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x26, 0x20, 0x01, 0x28, 0x09, 0x52,
3376 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x86, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6e, 0x76,
3377 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63,
3378 0x68, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67,
3379 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61,
3380 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63,
3381 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73,
3382 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x70, 0x65,
3383 0x63, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x18, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
3384 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x70, 0x65, 0x63,
3385 0x12, 0x74, 0x0a, 0x14, 0x74, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x76, 0x69, 0x67, 0x61, 0x74,
3386 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x29, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d,
3387 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65,
3388 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61,
3389 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x69, 0x6c, 0x65, 0x4e,
3390 0x61, 0x76, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x42, 0x03, 0xe0,
3391 0x41, 0x01, 0x52, 0x12, 0x74, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x76, 0x69, 0x67, 0x61, 0x74, 0x69,
3392 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x28, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61,
3393 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x2b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
3394 0x41, 0x01, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65,
3395 0x12, 0x24, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18,
3396 0x2c, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x67, 0x69,
3397 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f,
3398 0x69, 0x64, 0x18, 0x2e, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x07, 0x70,
3399 0x6c, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x6c, 0x0a, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61,
3400 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x2f, 0x20, 0x03, 0x28, 0x0b, 0x32,
3401 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72,
3402 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65,
3403 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x55, 0x73, 0x65, 0x72,
3404 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42,
3405 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62,
3406 0x75, 0x74, 0x65, 0x73, 0x1a, 0xbc, 0x04, 0x0a, 0x09, 0x46, 0x61, 0x63, 0x65, 0x74, 0x53, 0x70,
3407 0x65, 0x63, 0x12, 0x5f, 0x0a, 0x09, 0x66, 0x61, 0x63, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18,
3408 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
3409 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c,
3410 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
3411 0x74, 0x2e, 0x46, 0x61, 0x63, 0x65, 0x74, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x46, 0x61, 0x63, 0x65,
3412 0x74, 0x4b, 0x65, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x66, 0x61, 0x63, 0x65, 0x74,
3413 0x4b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01,
3414 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x65, 0x78, 0x63,
3415 0x6c, 0x75, 0x64, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79,
3416 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65,
3417 0x64, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x65,
3418 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x70, 0x6f,
3419 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x65, 0x6e,
3420 0x61, 0x62, 0x6c, 0x65, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x50, 0x6f, 0x73, 0x69, 0x74,
3421 0x69, 0x6f, 0x6e, 0x1a, 0xcd, 0x02, 0x0a, 0x08, 0x46, 0x61, 0x63, 0x65, 0x74, 0x4b, 0x65, 0x79,
3422 0x12, 0x15, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
3423 0x41, 0x02, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x43, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72,
3424 0x76, 0x61, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f,
3425 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c,
3426 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
3427 0x6c, 0x52, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x73, 0x12, 0x2b, 0x0a, 0x11,
3428 0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
3429 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63,
3430 0x74, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x65,
3431 0x66, 0x69, 0x78, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x65,
3432 0x66, 0x69, 0x78, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
3433 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
3434 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x65, 0x6e, 0x73,
3435 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x63, 0x61, 0x73,
3436 0x65, 0x49, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x12, 0x19, 0x0a, 0x08,
3437 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
3438 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79,
3439 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x24, 0x0a,
3440 0x0e, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x6d, 0x69, 0x6e, 0x5f, 0x6d, 0x61, 0x78, 0x18,
3441 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x4d, 0x69, 0x6e,
3442 0x4d, 0x61, 0x78, 0x1a, 0xa1, 0x01, 0x0a, 0x10, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x46,
3443 0x61, 0x63, 0x65, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x54, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65,
3444 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3445 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61,
3446 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65,
3447 0x73, 0x74, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x46, 0x61, 0x63, 0x65, 0x74, 0x53,
3448 0x70, 0x65, 0x63, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0x37,
3449 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55,
3450 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08,
3451 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e,
3452 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x1a, 0xb3, 0x02, 0x0a, 0x09, 0x42, 0x6f, 0x6f, 0x73,
3453 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x7b, 0x0a, 0x15, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69,
3454 0x6f, 0x6e, 0x5f, 0x62, 0x6f, 0x6f, 0x73, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x73, 0x18, 0x01,
3455 0x20, 0x03, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
3456 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70,
3457 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
3458 0x2e, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69,
3459 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x13, 0x63,
3460 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x53, 0x70, 0x65,
3461 0x63, 0x73, 0x12, 0x40, 0x0a, 0x1a, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x62, 0x6f, 0x6f, 0x73, 0x74,
3462 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e,
3463 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x17, 0x73, 0x6b, 0x69, 0x70, 0x42, 0x6f,
3464 0x6f, 0x73, 0x74, 0x53, 0x70, 0x65, 0x63, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f,
3465 0x6e, 0x88, 0x01, 0x01, 0x1a, 0x48, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f,
3466 0x6e, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f,
3467 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63,
3468 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6f, 0x6f, 0x73,
3469 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x62, 0x6f, 0x6f, 0x73, 0x74, 0x42, 0x1d,
3470 0x0a, 0x1b, 0x5f, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x62, 0x6f, 0x6f, 0x73, 0x74, 0x5f, 0x73, 0x70,
3471 0x65, 0x63, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xf1, 0x01,
3472 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
3473 0x53, 0x70, 0x65, 0x63, 0x12, 0x65, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f,
3474 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3475 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32,
3476 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75,
3477 0x65, 0x73, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x73, 0x69,
3478 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
3479 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x16, 0x70,
3480 0x69, 0x6e, 0x5f, 0x75, 0x6e, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65,
3481 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x70, 0x69, 0x6e,
3482 0x55, 0x6e, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
3483 0x73, 0x22, 0x3e, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19,
3484 0x0a, 0x15, 0x43, 0x4f, 0x4e, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50,
3485 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53,
3486 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x41, 0x55, 0x54, 0x4f, 0x10,
3487 0x03, 0x1a, 0xa4, 0x01, 0x0a, 0x13, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x7a,
3488 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x57, 0x0a, 0x04, 0x6d, 0x6f, 0x64,
3489 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3490 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32,
3491 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75,
3492 0x65, 0x73, 0x74, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74,
3493 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f,
3494 0x64, 0x65, 0x22, 0x34, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f,
3495 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
3496 0x12, 0x08, 0x0a, 0x04, 0x41, 0x55, 0x54, 0x4f, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49,
3497 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x1a, 0xab, 0x01, 0x0a, 0x13, 0x53, 0x70, 0x65,
3498 0x6c, 0x6c, 0x43, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63,
3499 0x12, 0x57, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x43,
3500 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65,
3501 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61,
3502 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x70, 0x65, 0x6c, 0x6c,
3503 0x43, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x4d,
3504 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0x3b, 0x0a, 0x04, 0x4d, 0x6f, 0x64,
3505 0x65, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
3506 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x55, 0x47, 0x47, 0x45,
3507 0x53, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04,
3508 0x41, 0x55, 0x54, 0x4f, 0x10, 0x02, 0x1a, 0xb2, 0x05, 0x0a, 0x18, 0x43, 0x6f, 0x6e, 0x76, 0x65,
3509 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53,
3510 0x70, 0x65, 0x63, 0x12, 0x46, 0x0a, 0x1f, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x75, 0x70, 0x5f,
3511 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x71,
3512 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1d, 0x66, 0x6f,
3513 0x6c, 0x6c, 0x6f, 0x77, 0x75, 0x70, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69,
3514 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x63,
3515 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02,
3516 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69,
3517 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x6f, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x6e, 0x73,
3518 0x77, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
3519 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e,
3520 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65,
3521 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69,
3522 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x55,
3523 0x73, 0x65, 0x72, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x41,
3524 0x6e, 0x73, 0x77, 0x65, 0x72, 0x1a, 0xb3, 0x03, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x41, 0x6e,
3525 0x73, 0x77, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0b, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x61, 0x6e, 0x73,
3526 0x77, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x74, 0x65, 0x78,
3527 0x74, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x12, 0x88, 0x01, 0x0a, 0x0f, 0x73, 0x65, 0x6c, 0x65,
3528 0x63, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
3529 0x0b, 0x32, 0x5d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
3530 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
3531 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f,
3532 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x61, 0x72,
3533 0x63, 0x68, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x6e, 0x73, 0x77, 0x65,
3534 0x72, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72,
3535 0x48, 0x00, 0x52, 0x0e, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x41, 0x6e, 0x73, 0x77,
3536 0x65, 0x72, 0x1a, 0xee, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x41,
3537 0x6e, 0x73, 0x77, 0x65, 0x72, 0x12, 0x70, 0x0a, 0x18, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
3538 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
3539 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3540 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32,
3541 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74,
3542 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52,
3543 0x16, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
3544 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x6a, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x64, 0x75,
3545 0x63, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x76, 0x61, 0x6c,
3546 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3547 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76,
3548 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x41, 0x74,
3549 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x15, 0x70, 0x72,
3550 0x6f, 0x64, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x56, 0x61,
3551 0x6c, 0x75, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x98, 0x01, 0x0a, 0x12,
3552 0x54, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x76, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70,
3553 0x65, 0x63, 0x12, 0x3a, 0x0a, 0x19, 0x74, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x76, 0x69, 0x67,
3554 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18,
3555 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x74, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x76, 0x69, 0x67,
3556 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x46,
3557 0x0a, 0x0d, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6c, 0x65, 0x73, 0x18,
3558 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
3559 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c,
3560 0x70, 0x68, 0x61, 0x2e, 0x54, 0x69, 0x6c, 0x65, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65,
3561 0x64, 0x54, 0x69, 0x6c, 0x65, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,
3562 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
3563 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
3564 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
3565 0x01, 0x1a, 0x6a, 0x0a, 0x13, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
3566 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
3567 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3d, 0x0a, 0x05, 0x76, 0x61,
3568 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
3569 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e,
3570 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4c, 0x69,
3571 0x73, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x64, 0x0a,
3572 0x12, 0x52, 0x65, 0x6c, 0x65, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68,
3573 0x6f, 0x6c, 0x64, 0x12, 0x23, 0x0a, 0x1f, 0x52, 0x45, 0x4c, 0x45, 0x56, 0x41, 0x4e, 0x43, 0x45,
3574 0x5f, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
3575 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x49, 0x47, 0x48,
3576 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x45, 0x44, 0x49, 0x55, 0x4d, 0x10, 0x02, 0x12, 0x07,
3577 0x0a, 0x03, 0x4c, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x4c, 0x4f, 0x57, 0x45, 0x53,
3578 0x54, 0x10, 0x04, 0x22, 0x5b, 0x0a, 0x0a, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x6f, 0x64,
3579 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x4d, 0x4f, 0x44, 0x45,
3580 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17,
3581 0x0a, 0x13, 0x50, 0x52, 0x4f, 0x44, 0x55, 0x43, 0x54, 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48,
3582 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x41, 0x43, 0x45, 0x54,
3583 0x45, 0x44, 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02,
3584 0x42, 0x18, 0x0a, 0x16, 0x5f, 0x73, 0x70, 0x65, 0x6c, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x72, 0x65,
3585 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x22, 0x9b, 0x1a, 0x0a, 0x0e, 0x53,
3586 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a,
3587 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38,
3588 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65,
3589 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61,
3590 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x65, 0x61, 0x72,
3591 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
3592 0x73, 0x12, 0x49, 0x0a, 0x06, 0x66, 0x61, 0x63, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
3593 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
3594 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
3595 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46,
3596 0x61, 0x63, 0x65, 0x74, 0x52, 0x06, 0x66, 0x61, 0x63, 0x65, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
3597 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
3598 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x63,
3599 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04,
3600 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x65, 0x64, 0x51,
3601 0x75, 0x65, 0x72, 0x79, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
3602 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
3603 0x10, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65,
3604 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74,
3605 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74,
3606 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x70, 0x0a, 0x14, 0x71, 0x75, 0x65,
3607 0x72, 0x79, 0x5f, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66,
3608 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3609 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32,
3610 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70,
3611 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x73,
3612 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x71, 0x75, 0x65, 0x72, 0x79, 0x45, 0x78,
3613 0x70, 0x61, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x72,
3614 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x0a, 0x20, 0x01, 0x28,
3615 0x09, 0x52, 0x0b, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x55, 0x72, 0x69, 0x12, 0x29,
3616 0x0a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f,
3617 0x6c, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65,
3618 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x12, 0x61, 0x0a, 0x14, 0x70, 0x69, 0x6e,
3619 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
3620 0x61, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3621 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32,
3622 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
3623 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x12, 0x70, 0x69, 0x6e, 0x43, 0x6f, 0x6e,
3624 0x74, 0x72, 0x6f, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x8a, 0x01, 0x0a,
3625 0x1d, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69,
3626 0x6f, 0x6e, 0x5f, 0x62, 0x6f, 0x6f, 0x73, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x73, 0x18, 0x0e,
3627 0x20, 0x03, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
3628 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70,
3629 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
3630 0x2e, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69,
3631 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x1a, 0x69,
3632 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42,
3633 0x6f, 0x6f, 0x73, 0x74, 0x53, 0x70, 0x65, 0x63, 0x73, 0x12, 0x54, 0x0a, 0x0f, 0x65, 0x78, 0x70,
3634 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x11, 0x20, 0x03,
3635 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
3636 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61,
3637 0x2e, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52,
3638 0x0e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12,
3639 0x88, 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e,
3640 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
3641 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3642 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61,
3643 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f,
3644 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e,
3645 0x61, 0x6c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x1a,
3646 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x65,
3647 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x76, 0x0a, 0x16, 0x74, 0x69,
3648 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x76, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65,
3649 0x73, 0x75, 0x6c, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f,
3650 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c,
3651 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52,
3652 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x76, 0x69,
3653 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x14, 0x74, 0x69,
3654 0x6c, 0x65, 0x4e, 0x61, 0x76, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75,
3655 0x6c, 0x74, 0x1a, 0xf0, 0x06, 0x0a, 0x0c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73,
3656 0x75, 0x6c, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
3657 0x02, 0x69, 0x64, 0x12, 0x3e, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18, 0x02,
3658 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
3659 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70,
3660 0x68, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x64,
3661 0x75, 0x63, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x5f,
3662 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20,
3663 0x01, 0x28, 0x05, 0x52, 0x14, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x72,
3664 0x69, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x8b, 0x01, 0x0a, 0x17, 0x6d, 0x61,
3665 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x5f, 0x66,
3666 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x53, 0x2e, 0x67, 0x6f,
3667 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69,
3668 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,
3669 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52,
3670 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x56, 0x61,
3671 0x72, 0x69, 0x61, 0x6e, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
3672 0x52, 0x15, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e,
3673 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x85, 0x01, 0x0a, 0x15, 0x76, 0x61, 0x72, 0x69,
3674 0x61, 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x6c, 0x6c, 0x75, 0x70, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
3675 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x51, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3676 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32,
3677 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70,
3678 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c,
3679 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x75, 0x70, 0x56,
3680 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x76, 0x61, 0x72, 0x69,
3681 0x61, 0x6e, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x75, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12,
3682 0x27, 0x0a, 0x0f, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6c, 0x61, 0x62, 0x65,
3683 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e,
3684 0x61, 0x6c, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x6c, 0x0a, 0x0c, 0x6d, 0x6f, 0x64, 0x65,
3685 0x6c, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x49,
3686 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65,
3687 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61,
3688 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x65, 0x61, 0x72,
3689 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x53, 0x63,
3690 0x6f, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
3691 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x1a, 0x64, 0x0a, 0x1a, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69,
3692 0x6e, 0x67, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45,
3693 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
3694 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x30, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
3695 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
3696 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73,
3697 0x6b, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x5e, 0x0a, 0x18,
3698 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x75, 0x70, 0x56, 0x61, 0x6c,
3699 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
3700 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61,
3701 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
3702 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75,
3703 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x67, 0x0a, 0x10,
3704 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
3705 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
3706 0x65, 0x79, 0x12, 0x3d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
3707 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
3708 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
3709 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
3710 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xdf, 0x02, 0x0a, 0x05, 0x46, 0x61, 0x63, 0x65, 0x74, 0x12,
3711 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
3712 0x79, 0x12, 0x54, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
3713 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
3714 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
3715 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46,
3716 0x61, 0x63, 0x65, 0x74, 0x2e, 0x46, 0x61, 0x63, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
3717 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x79, 0x6e, 0x61, 0x6d,
3718 0x69, 0x63, 0x5f, 0x66, 0x61, 0x63, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c,
3719 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x46, 0x61, 0x63, 0x65, 0x74, 0x1a, 0xc8, 0x01, 0x0a,
3720 0x0a, 0x46, 0x61, 0x63, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x05, 0x76,
3721 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x76, 0x61,
3722 0x6c, 0x75, 0x65, 0x12, 0x43, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18,
3723 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
3724 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c,
3725 0x70, 0x68, 0x61, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x08,
3726 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e,
3727 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b,
3728 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
3729 0x01, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d,
3730 0x61, 0x78, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08,
3731 0x6d, 0x61, 0x78, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x66, 0x61, 0x63, 0x65,
3732 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x6b, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79,
3733 0x45, 0x78, 0x70, 0x61, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x25, 0x0a,
3734 0x0e, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18,
3735 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, 0x64, 0x51,
3736 0x75, 0x65, 0x72, 0x79, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x5f, 0x72,
3737 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
3738 0x03, 0x52, 0x11, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x43,
3739 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0xb0, 0x06, 0x0a, 0x1a, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73,
3740 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73,
3741 0x75, 0x6c, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74,
3742 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f,
3743 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d,
3744 0x72, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20,
3745 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x51, 0x75, 0x65, 0x72,
3746 0x79, 0x12, 0x8a, 0x01, 0x0a, 0x12, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
3747 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x57,
3748 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65,
3749 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61,
3750 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x76,
3751 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,
3752 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x41, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61,
3753 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x02, 0x18, 0x01, 0x52, 0x11, 0x61, 0x64, 0x64,
3754 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2b,
3755 0x0a, 0x11, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x75, 0x70, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74,
3756 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x66, 0x6f, 0x6c, 0x6c, 0x6f,
3757 0x77, 0x75, 0x70, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x83, 0x01, 0x0a, 0x11,
3758 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72,
3759 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x56, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3760 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32,
3761 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70,
3762 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f,
3763 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e,
3764 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x65, 0x64, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x52,
3765 0x10, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x65, 0x64, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72,
3766 0x73, 0x12, 0x84, 0x01, 0x0a, 0x11, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
3767 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x57, 0x2e,
3768 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74,
3769 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72,
3770 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65,
3771 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52,
3772 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x41, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
3773 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x10, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
3774 0x61, 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x1a, 0x7d, 0x0a, 0x0f, 0x53, 0x75, 0x67, 0x67,
3775 0x65, 0x73, 0x74, 0x65, 0x64, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x12, 0x6a, 0x0a, 0x17, 0x70,
3776 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
3777 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67,
3778 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61,
3779 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75,
3780 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65,
3781 0x52, 0x15, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
3782 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x7e, 0x0a, 0x10, 0x41, 0x64, 0x64, 0x69, 0x74,
3783 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x6a, 0x0a, 0x17, 0x70,
3784 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
3785 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67,
3786 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61,
3787 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75,
3788 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65,
3789 0x52, 0x15, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
3790 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x4f, 0x0a, 0x14, 0x54, 0x69, 0x6c, 0x65, 0x4e,
3791 0x61, 0x76, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12,
3792 0x37, 0x0a, 0x05, 0x74, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21,
3793 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65,
3794 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x69, 0x6c,
3795 0x65, 0x52, 0x05, 0x74, 0x69, 0x6c, 0x65, 0x73, 0x22, 0xd6, 0x03, 0x0a, 0x0e, 0x45, 0x78, 0x70,
3796 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x81, 0x01, 0x0a, 0x19,
3797 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x65,
3798 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
3799 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72,
3800 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x45, 0x78,
3801 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x65, 0x72,
3802 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69,
3803 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x17, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43,
3804 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x12,
3805 0x45, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20,
3806 0x01, 0x28, 0x09, 0x42, 0x25, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c,
3807 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
3808 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x65,
3809 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x1a, 0xe1, 0x01, 0x0a, 0x17, 0x53, 0x65, 0x72, 0x76, 0x69,
3810 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65,
3811 0x6e, 0x74, 0x12, 0x60, 0x0a, 0x17, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x73,
3812 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20,
3813 0x01, 0x28, 0x09, 0x42, 0x28, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c,
3814 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
3815 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x15, 0x6f,
3816 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f,
3817 0x6e, 0x66, 0x69, 0x67, 0x12, 0x64, 0x0a, 0x19, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65,
3818 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
3819 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x72, 0x65,
3820 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
3821 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69,
3822 0x67, 0x52, 0x17, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72,
3823 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x15, 0x0a, 0x13, 0x65, 0x78,
3824 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
3825 0x61, 0x32, 0xec, 0x02, 0x0a, 0x0d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x65, 0x72, 0x76,
3826 0x69, 0x63, 0x65, 0x12, 0x8f, 0x02, 0x0a, 0x06, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x2a,
3827 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65,
3828 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61,
3829 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x67, 0x6f, 0x6f,
3830 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c,
3831 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52,
3832 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xab, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0xa4,
3833 0x01, 0x3a, 0x01, 0x2a, 0x5a, 0x53, 0x3a, 0x01, 0x2a, 0x22, 0x4e, 0x2f, 0x76, 0x32, 0x61, 0x6c,
3834 0x70, 0x68, 0x61, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x3d, 0x70,
3835 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
3836 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x2a,
3837 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f,
3838 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x22, 0x4a, 0x2f, 0x76, 0x32, 0x61, 0x6c,
3839 0x70, 0x68, 0x61, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x3d, 0x70,
3840 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
3841 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x2a,
3842 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73,
3843 0x65, 0x61, 0x72, 0x63, 0x68, 0x1a, 0x49, 0xca, 0x41, 0x15, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c,
3844 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2,
3845 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f,
3846 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74,
3847 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
3848 0x42, 0xd0, 0x02, 0xea, 0x41, 0x77, 0x0a, 0x20, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67,
3849 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x78,
3850 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x53, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
3851 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63,
3852 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
3853 0x7d, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x7b, 0x63, 0x61, 0x74, 0x61,
3854 0x6c, 0x6f, 0x67, 0x7d, 0x2f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x73,
3855 0x2f, 0x7b, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x7d, 0x0a, 0x1f, 0x63,
3856 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
3857 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x12,
3858 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f,
3859 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x37, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
3860 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c,
3861 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x74, 0x61,
3862 0x69, 0x6c, 0x70, 0x62, 0x3b, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x70, 0x62, 0xa2, 0x02, 0x06,
3863 0x52, 0x45, 0x54, 0x41, 0x49, 0x4c, 0xaa, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3864 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x56, 0x32, 0x41,
3865 0x6c, 0x70, 0x68, 0x61, 0xca, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c,
3866 0x6f, 0x75, 0x64, 0x5c, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70,
3867 0x68, 0x61, 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f,
3868 0x75, 0x64, 0x3a, 0x3a, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c,
3869 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
3870 }
3871
3872 var (
3873 file_google_cloud_retail_v2alpha_search_service_proto_rawDescOnce sync.Once
3874 file_google_cloud_retail_v2alpha_search_service_proto_rawDescData = file_google_cloud_retail_v2alpha_search_service_proto_rawDesc
3875 )
3876
3877 func file_google_cloud_retail_v2alpha_search_service_proto_rawDescGZIP() []byte {
3878 file_google_cloud_retail_v2alpha_search_service_proto_rawDescOnce.Do(func() {
3879 file_google_cloud_retail_v2alpha_search_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_retail_v2alpha_search_service_proto_rawDescData)
3880 })
3881 return file_google_cloud_retail_v2alpha_search_service_proto_rawDescData
3882 }
3883
3884 var file_google_cloud_retail_v2alpha_search_service_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
3885 var file_google_cloud_retail_v2alpha_search_service_proto_msgTypes = make([]protoimpl.MessageInfo, 32)
3886 var file_google_cloud_retail_v2alpha_search_service_proto_goTypes = []any{
3887 (SearchRequest_RelevanceThreshold)(0), // 0: google.cloud.retail.v2alpha.SearchRequest.RelevanceThreshold
3888 (SearchRequest_SearchMode)(0), // 1: google.cloud.retail.v2alpha.SearchRequest.SearchMode
3889 (SearchRequest_DynamicFacetSpec_Mode)(0), // 2: google.cloud.retail.v2alpha.SearchRequest.DynamicFacetSpec.Mode
3890 (SearchRequest_QueryExpansionSpec_Condition)(0), // 3: google.cloud.retail.v2alpha.SearchRequest.QueryExpansionSpec.Condition
3891 (SearchRequest_PersonalizationSpec_Mode)(0), // 4: google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpec.Mode
3892 (SearchRequest_SpellCorrectionSpec_Mode)(0), // 5: google.cloud.retail.v2alpha.SearchRequest.SpellCorrectionSpec.Mode
3893 (*ProductAttributeValue)(nil), // 6: google.cloud.retail.v2alpha.ProductAttributeValue
3894 (*ProductAttributeInterval)(nil), // 7: google.cloud.retail.v2alpha.ProductAttributeInterval
3895 (*Tile)(nil), // 8: google.cloud.retail.v2alpha.Tile
3896 (*SearchRequest)(nil), // 9: google.cloud.retail.v2alpha.SearchRequest
3897 (*SearchResponse)(nil), // 10: google.cloud.retail.v2alpha.SearchResponse
3898 (*ExperimentInfo)(nil), // 11: google.cloud.retail.v2alpha.ExperimentInfo
3899 (*SearchRequest_FacetSpec)(nil), // 12: google.cloud.retail.v2alpha.SearchRequest.FacetSpec
3900 (*SearchRequest_DynamicFacetSpec)(nil), // 13: google.cloud.retail.v2alpha.SearchRequest.DynamicFacetSpec
3901 (*SearchRequest_BoostSpec)(nil), // 14: google.cloud.retail.v2alpha.SearchRequest.BoostSpec
3902 (*SearchRequest_QueryExpansionSpec)(nil), // 15: google.cloud.retail.v2alpha.SearchRequest.QueryExpansionSpec
3903 (*SearchRequest_PersonalizationSpec)(nil), // 16: google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpec
3904 (*SearchRequest_SpellCorrectionSpec)(nil), // 17: google.cloud.retail.v2alpha.SearchRequest.SpellCorrectionSpec
3905 (*SearchRequest_ConversationalSearchSpec)(nil), // 18: google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec
3906 (*SearchRequest_TileNavigationSpec)(nil), // 19: google.cloud.retail.v2alpha.SearchRequest.TileNavigationSpec
3907 nil, // 20: google.cloud.retail.v2alpha.SearchRequest.LabelsEntry
3908 nil, // 21: google.cloud.retail.v2alpha.SearchRequest.UserAttributesEntry
3909 (*SearchRequest_FacetSpec_FacetKey)(nil), // 22: google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey
3910 (*SearchRequest_BoostSpec_ConditionBoostSpec)(nil), // 23: google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec
3911 (*SearchRequest_ConversationalSearchSpec_UserAnswer)(nil), // 24: google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer
3912 (*SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer)(nil), // 25: google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer
3913 (*SearchResponse_SearchResult)(nil), // 26: google.cloud.retail.v2alpha.SearchResponse.SearchResult
3914 (*SearchResponse_Facet)(nil), // 27: google.cloud.retail.v2alpha.SearchResponse.Facet
3915 (*SearchResponse_QueryExpansionInfo)(nil), // 28: google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo
3916 (*SearchResponse_ConversationalSearchResult)(nil), // 29: google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult
3917 (*SearchResponse_TileNavigationResult)(nil), // 30: google.cloud.retail.v2alpha.SearchResponse.TileNavigationResult
3918 nil, // 31: google.cloud.retail.v2alpha.SearchResponse.SearchResult.MatchingVariantFieldsEntry
3919 nil, // 32: google.cloud.retail.v2alpha.SearchResponse.SearchResult.VariantRollupValuesEntry
3920 nil, // 33: google.cloud.retail.v2alpha.SearchResponse.SearchResult.ModelScoresEntry
3921 (*SearchResponse_Facet_FacetValue)(nil), // 34: google.cloud.retail.v2alpha.SearchResponse.Facet.FacetValue
3922 (*SearchResponse_ConversationalSearchResult_SuggestedAnswer)(nil), // 35: google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer
3923 (*SearchResponse_ConversationalSearchResult_AdditionalFilter)(nil), // 36: google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter
3924 (*ExperimentInfo_ServingConfigExperiment)(nil), // 37: google.cloud.retail.v2alpha.ExperimentInfo.ServingConfigExperiment
3925 (*Interval)(nil), // 38: google.cloud.retail.v2alpha.Interval
3926 (*UserInfo)(nil), // 39: google.cloud.retail.v2alpha.UserInfo
3927 (*PinControlMetadata)(nil), // 40: google.cloud.retail.v2alpha.PinControlMetadata
3928 (*StringList)(nil), // 41: google.cloud.retail.v2alpha.StringList
3929 (*Product)(nil), // 42: google.cloud.retail.v2alpha.Product
3930 (*fieldmaskpb.FieldMask)(nil), // 43: google.protobuf.FieldMask
3931 (*structpb.Value)(nil), // 44: google.protobuf.Value
3932 (*DoubleList)(nil), // 45: google.cloud.retail.v2alpha.DoubleList
3933 }
3934 var file_google_cloud_retail_v2alpha_search_service_proto_depIdxs = []int32{
3935 38, // 0: google.cloud.retail.v2alpha.ProductAttributeInterval.interval:type_name -> google.cloud.retail.v2alpha.Interval
3936 6, // 1: google.cloud.retail.v2alpha.Tile.product_attribute_value:type_name -> google.cloud.retail.v2alpha.ProductAttributeValue
3937 7, // 2: google.cloud.retail.v2alpha.Tile.product_attribute_interval:type_name -> google.cloud.retail.v2alpha.ProductAttributeInterval
3938 39, // 3: google.cloud.retail.v2alpha.SearchRequest.user_info:type_name -> google.cloud.retail.v2alpha.UserInfo
3939 12, // 4: google.cloud.retail.v2alpha.SearchRequest.facet_specs:type_name -> google.cloud.retail.v2alpha.SearchRequest.FacetSpec
3940 13, // 5: google.cloud.retail.v2alpha.SearchRequest.dynamic_facet_spec:type_name -> google.cloud.retail.v2alpha.SearchRequest.DynamicFacetSpec
3941 14, // 6: google.cloud.retail.v2alpha.SearchRequest.boost_spec:type_name -> google.cloud.retail.v2alpha.SearchRequest.BoostSpec
3942 15, // 7: google.cloud.retail.v2alpha.SearchRequest.query_expansion_spec:type_name -> google.cloud.retail.v2alpha.SearchRequest.QueryExpansionSpec
3943 0, // 8: google.cloud.retail.v2alpha.SearchRequest.relevance_threshold:type_name -> google.cloud.retail.v2alpha.SearchRequest.RelevanceThreshold
3944 1, // 9: google.cloud.retail.v2alpha.SearchRequest.search_mode:type_name -> google.cloud.retail.v2alpha.SearchRequest.SearchMode
3945 16, // 10: google.cloud.retail.v2alpha.SearchRequest.personalization_spec:type_name -> google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpec
3946 20, // 11: google.cloud.retail.v2alpha.SearchRequest.labels:type_name -> google.cloud.retail.v2alpha.SearchRequest.LabelsEntry
3947 17, // 12: google.cloud.retail.v2alpha.SearchRequest.spell_correction_spec:type_name -> google.cloud.retail.v2alpha.SearchRequest.SpellCorrectionSpec
3948 18, // 13: google.cloud.retail.v2alpha.SearchRequest.conversational_search_spec:type_name -> google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec
3949 19, // 14: google.cloud.retail.v2alpha.SearchRequest.tile_navigation_spec:type_name -> google.cloud.retail.v2alpha.SearchRequest.TileNavigationSpec
3950 21, // 15: google.cloud.retail.v2alpha.SearchRequest.user_attributes:type_name -> google.cloud.retail.v2alpha.SearchRequest.UserAttributesEntry
3951 26, // 16: google.cloud.retail.v2alpha.SearchResponse.results:type_name -> google.cloud.retail.v2alpha.SearchResponse.SearchResult
3952 27, // 17: google.cloud.retail.v2alpha.SearchResponse.facets:type_name -> google.cloud.retail.v2alpha.SearchResponse.Facet
3953 28, // 18: google.cloud.retail.v2alpha.SearchResponse.query_expansion_info:type_name -> google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo
3954 40, // 19: google.cloud.retail.v2alpha.SearchResponse.pin_control_metadata:type_name -> google.cloud.retail.v2alpha.PinControlMetadata
3955 23, // 20: google.cloud.retail.v2alpha.SearchResponse.invalid_condition_boost_specs:type_name -> google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec
3956 11, // 21: google.cloud.retail.v2alpha.SearchResponse.experiment_info:type_name -> google.cloud.retail.v2alpha.ExperimentInfo
3957 29, // 22: google.cloud.retail.v2alpha.SearchResponse.conversational_search_result:type_name -> google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult
3958 30, // 23: google.cloud.retail.v2alpha.SearchResponse.tile_navigation_result:type_name -> google.cloud.retail.v2alpha.SearchResponse.TileNavigationResult
3959 37, // 24: google.cloud.retail.v2alpha.ExperimentInfo.serving_config_experiment:type_name -> google.cloud.retail.v2alpha.ExperimentInfo.ServingConfigExperiment
3960 22, // 25: google.cloud.retail.v2alpha.SearchRequest.FacetSpec.facet_key:type_name -> google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey
3961 2, // 26: google.cloud.retail.v2alpha.SearchRequest.DynamicFacetSpec.mode:type_name -> google.cloud.retail.v2alpha.SearchRequest.DynamicFacetSpec.Mode
3962 23, // 27: google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs:type_name -> google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec
3963 3, // 28: google.cloud.retail.v2alpha.SearchRequest.QueryExpansionSpec.condition:type_name -> google.cloud.retail.v2alpha.SearchRequest.QueryExpansionSpec.Condition
3964 4, // 29: google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpec.mode:type_name -> google.cloud.retail.v2alpha.SearchRequest.PersonalizationSpec.Mode
3965 5, // 30: google.cloud.retail.v2alpha.SearchRequest.SpellCorrectionSpec.mode:type_name -> google.cloud.retail.v2alpha.SearchRequest.SpellCorrectionSpec.Mode
3966 24, // 31: google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.user_answer:type_name -> google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer
3967 8, // 32: google.cloud.retail.v2alpha.SearchRequest.TileNavigationSpec.applied_tiles:type_name -> google.cloud.retail.v2alpha.Tile
3968 41, // 33: google.cloud.retail.v2alpha.SearchRequest.UserAttributesEntry.value:type_name -> google.cloud.retail.v2alpha.StringList
3969 38, // 34: google.cloud.retail.v2alpha.SearchRequest.FacetSpec.FacetKey.intervals:type_name -> google.cloud.retail.v2alpha.Interval
3970 25, // 35: google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.selected_answer:type_name -> google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer
3971 6, // 36: google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.product_attribute_values:type_name -> google.cloud.retail.v2alpha.ProductAttributeValue
3972 6, // 37: google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.product_attribute_value:type_name -> google.cloud.retail.v2alpha.ProductAttributeValue
3973 42, // 38: google.cloud.retail.v2alpha.SearchResponse.SearchResult.product:type_name -> google.cloud.retail.v2alpha.Product
3974 31, // 39: google.cloud.retail.v2alpha.SearchResponse.SearchResult.matching_variant_fields:type_name -> google.cloud.retail.v2alpha.SearchResponse.SearchResult.MatchingVariantFieldsEntry
3975 32, // 40: google.cloud.retail.v2alpha.SearchResponse.SearchResult.variant_rollup_values:type_name -> google.cloud.retail.v2alpha.SearchResponse.SearchResult.VariantRollupValuesEntry
3976 33, // 41: google.cloud.retail.v2alpha.SearchResponse.SearchResult.model_scores:type_name -> google.cloud.retail.v2alpha.SearchResponse.SearchResult.ModelScoresEntry
3977 34, // 42: google.cloud.retail.v2alpha.SearchResponse.Facet.values:type_name -> google.cloud.retail.v2alpha.SearchResponse.Facet.FacetValue
3978 36, // 43: google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.additional_filters:type_name -> google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter
3979 35, // 44: google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.suggested_answers:type_name -> google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer
3980 36, // 45: google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.additional_filter:type_name -> google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter
3981 8, // 46: google.cloud.retail.v2alpha.SearchResponse.TileNavigationResult.tiles:type_name -> google.cloud.retail.v2alpha.Tile
3982 43, // 47: google.cloud.retail.v2alpha.SearchResponse.SearchResult.MatchingVariantFieldsEntry.value:type_name -> google.protobuf.FieldMask
3983 44, // 48: google.cloud.retail.v2alpha.SearchResponse.SearchResult.VariantRollupValuesEntry.value:type_name -> google.protobuf.Value
3984 45, // 49: google.cloud.retail.v2alpha.SearchResponse.SearchResult.ModelScoresEntry.value:type_name -> google.cloud.retail.v2alpha.DoubleList
3985 38, // 50: google.cloud.retail.v2alpha.SearchResponse.Facet.FacetValue.interval:type_name -> google.cloud.retail.v2alpha.Interval
3986 6, // 51: google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer.product_attribute_value:type_name -> google.cloud.retail.v2alpha.ProductAttributeValue
3987 6, // 52: google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter.product_attribute_value:type_name -> google.cloud.retail.v2alpha.ProductAttributeValue
3988 9, // 53: google.cloud.retail.v2alpha.SearchService.Search:input_type -> google.cloud.retail.v2alpha.SearchRequest
3989 10, // 54: google.cloud.retail.v2alpha.SearchService.Search:output_type -> google.cloud.retail.v2alpha.SearchResponse
3990 54, // [54:55] is the sub-list for method output_type
3991 53, // [53:54] is the sub-list for method input_type
3992 53, // [53:53] is the sub-list for extension type_name
3993 53, // [53:53] is the sub-list for extension extendee
3994 0, // [0:53] is the sub-list for field type_name
3995 }
3996
3997 func init() { file_google_cloud_retail_v2alpha_search_service_proto_init() }
3998 func file_google_cloud_retail_v2alpha_search_service_proto_init() {
3999 if File_google_cloud_retail_v2alpha_search_service_proto != nil {
4000 return
4001 }
4002 file_google_cloud_retail_v2alpha_common_proto_init()
4003 file_google_cloud_retail_v2alpha_product_proto_init()
4004 file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[2].OneofWrappers = []any{
4005 (*Tile_ProductAttributeValue)(nil),
4006 (*Tile_ProductAttributeInterval)(nil),
4007 }
4008 file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[3].OneofWrappers = []any{}
4009 file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[5].OneofWrappers = []any{
4010 (*ExperimentInfo_ServingConfigExperiment_)(nil),
4011 }
4012 file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[8].OneofWrappers = []any{}
4013 file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[18].OneofWrappers = []any{
4014 (*SearchRequest_ConversationalSearchSpec_UserAnswer_TextAnswer)(nil),
4015 (*SearchRequest_ConversationalSearchSpec_UserAnswer_SelectedAnswer_)(nil),
4016 }
4017 file_google_cloud_retail_v2alpha_search_service_proto_msgTypes[28].OneofWrappers = []any{
4018 (*SearchResponse_Facet_FacetValue_Value)(nil),
4019 (*SearchResponse_Facet_FacetValue_Interval)(nil),
4020 }
4021 type x struct{}
4022 out := protoimpl.TypeBuilder{
4023 File: protoimpl.DescBuilder{
4024 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
4025 RawDescriptor: file_google_cloud_retail_v2alpha_search_service_proto_rawDesc,
4026 NumEnums: 6,
4027 NumMessages: 32,
4028 NumExtensions: 0,
4029 NumServices: 1,
4030 },
4031 GoTypes: file_google_cloud_retail_v2alpha_search_service_proto_goTypes,
4032 DependencyIndexes: file_google_cloud_retail_v2alpha_search_service_proto_depIdxs,
4033 EnumInfos: file_google_cloud_retail_v2alpha_search_service_proto_enumTypes,
4034 MessageInfos: file_google_cloud_retail_v2alpha_search_service_proto_msgTypes,
4035 }.Build()
4036 File_google_cloud_retail_v2alpha_search_service_proto = out.File
4037 file_google_cloud_retail_v2alpha_search_service_proto_rawDesc = nil
4038 file_google_cloud_retail_v2alpha_search_service_proto_goTypes = nil
4039 file_google_cloud_retail_v2alpha_search_service_proto_depIdxs = nil
4040 }
4041
4042 // Reference imports to suppress errors if they are not otherwise used.
4043 var _ context.Context
4044 var _ grpc.ClientConnInterface
4045
4046 // This is a compile-time assertion to ensure that this generated file
4047 // is compatible with the grpc package it is being compiled against.
4048 const _ = grpc.SupportPackageIsVersion6
4049
4050 // SearchServiceClient is the client API for SearchService service.
4051 //
4052 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
4053 type SearchServiceClient interface {
4054 // Performs a search.
4055 //
4056 // This feature is only available for users who have Retail Search enabled.
4057 // Enable Retail Search on Cloud Console before using this feature.
4058 Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error)
4059 }
4060
4061 type searchServiceClient struct {
4062 cc grpc.ClientConnInterface
4063 }
4064
4065 func NewSearchServiceClient(cc grpc.ClientConnInterface) SearchServiceClient {
4066 return &searchServiceClient{cc}
4067 }
4068
4069 func (c *searchServiceClient) Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error) {
4070 out := new(SearchResponse)
4071 err := c.cc.Invoke(ctx, "/google.cloud.retail.v2alpha.SearchService/Search", in, out, opts...)
4072 if err != nil {
4073 return nil, err
4074 }
4075 return out, nil
4076 }
4077
4078 // SearchServiceServer is the server API for SearchService service.
4079 type SearchServiceServer interface {
4080 // Performs a search.
4081 //
4082 // This feature is only available for users who have Retail Search enabled.
4083 // Enable Retail Search on Cloud Console before using this feature.
4084 Search(context.Context, *SearchRequest) (*SearchResponse, error)
4085 }
4086
4087 // UnimplementedSearchServiceServer can be embedded to have forward compatible implementations.
4088 type UnimplementedSearchServiceServer struct {
4089 }
4090
4091 func (*UnimplementedSearchServiceServer) Search(context.Context, *SearchRequest) (*SearchResponse, error) {
4092 return nil, status.Errorf(codes.Unimplemented, "method Search not implemented")
4093 }
4094
4095 func RegisterSearchServiceServer(s *grpc.Server, srv SearchServiceServer) {
4096 s.RegisterService(&_SearchService_serviceDesc, srv)
4097 }
4098
4099 func _SearchService_Search_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4100 in := new(SearchRequest)
4101 if err := dec(in); err != nil {
4102 return nil, err
4103 }
4104 if interceptor == nil {
4105 return srv.(SearchServiceServer).Search(ctx, in)
4106 }
4107 info := &grpc.UnaryServerInfo{
4108 Server: srv,
4109 FullMethod: "/google.cloud.retail.v2alpha.SearchService/Search",
4110 }
4111 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4112 return srv.(SearchServiceServer).Search(ctx, req.(*SearchRequest))
4113 }
4114 return interceptor(ctx, in, info, handler)
4115 }
4116
4117 var _SearchService_serviceDesc = grpc.ServiceDesc{
4118 ServiceName: "google.cloud.retail.v2alpha.SearchService",
4119 HandlerType: (*SearchServiceServer)(nil),
4120 Methods: []grpc.MethodDesc{
4121 {
4122 MethodName: "Search",
4123 Handler: _SearchService_Search_Handler,
4124 },
4125 },
4126 Streams: []grpc.StreamDesc{},
4127 Metadata: "google/cloud/retail/v2alpha/search_service.proto",
4128 }