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