| 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/common.proto |
| 20 |
|
| 21 |
package retailpb |
| 22 |
|
| 23 |
import ( |
| 24 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 25 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 26 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 27 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 28 |
reflect "reflect" |
| 29 |
sync "sync" |
| 30 |
) |
| 31 |
|
| 32 |
const ( |
| 33 |
// Verify that this generated code is sufficiently up-to-date. |
| 34 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 35 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 36 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 37 |
) |
| 38 |
|
| 39 |
// At which level we offer configuration for attributes. |
| 40 |
type AttributeConfigLevel int32 |
| 41 |
|
| 42 |
const ( |
| 43 |
// Value used when unset. In this case, server behavior defaults to |
| 44 |
// [CATALOG_LEVEL_ATTRIBUTE_CONFIG][google.cloud.retail.v2beta.AttributeConfigLevel.CATALOG_LEVEL_ATTRIBUTE_CONFIG]. |
| 45 |
AttributeConfigLevel_ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED AttributeConfigLevel = 0 |
| 46 |
// At this level, we honor the attribute configurations set in |
| 47 |
// [Product.attributes][google.cloud.retail.v2beta.Product.attributes]. |
| 48 |
AttributeConfigLevel_PRODUCT_LEVEL_ATTRIBUTE_CONFIG AttributeConfigLevel = 1 |
| 49 |
// At this level, we honor the attribute configurations set in |
| 50 |
// `CatalogConfig.attribute_configs`. |
| 51 |
AttributeConfigLevel_CATALOG_LEVEL_ATTRIBUTE_CONFIG AttributeConfigLevel = 2 |
| 52 |
) |
| 53 |
|
| 54 |
// Enum value maps for AttributeConfigLevel. |
| 55 |
var ( |
| 56 |
AttributeConfigLevel_name = map[int32]string{ |
| 57 |
0: "ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED", |
| 58 |
1: "PRODUCT_LEVEL_ATTRIBUTE_CONFIG", |
| 59 |
2: "CATALOG_LEVEL_ATTRIBUTE_CONFIG", |
| 60 |
} |
| 61 |
AttributeConfigLevel_value = map[string]int32{ |
| 62 |
"ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED": 0, |
| 63 |
"PRODUCT_LEVEL_ATTRIBUTE_CONFIG": 1, |
| 64 |
"CATALOG_LEVEL_ATTRIBUTE_CONFIG": 2, |
| 65 |
} |
| 66 |
) |
| 67 |
|
| 68 |
func (x AttributeConfigLevel) Enum() *AttributeConfigLevel { |
| 69 |
p := new(AttributeConfigLevel) |
| 70 |
*p = x |
| 71 |
return p |
| 72 |
} |
| 73 |
|
| 74 |
func (x AttributeConfigLevel) String() string { |
| 75 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 76 |
} |
| 77 |
|
| 78 |
func (AttributeConfigLevel) Descriptor() protoreflect.EnumDescriptor { |
| 79 |
return file_google_cloud_retail_v2beta_common_proto_enumTypes[0].Descriptor() |
| 80 |
} |
| 81 |
|
| 82 |
func (AttributeConfigLevel) Type() protoreflect.EnumType { |
| 83 |
return &file_google_cloud_retail_v2beta_common_proto_enumTypes[0] |
| 84 |
} |
| 85 |
|
| 86 |
func (x AttributeConfigLevel) Number() protoreflect.EnumNumber { |
| 87 |
return protoreflect.EnumNumber(x) |
| 88 |
} |
| 89 |
|
| 90 |
// Deprecated: Use AttributeConfigLevel.Descriptor instead. |
| 91 |
func (AttributeConfigLevel) EnumDescriptor() ([]byte, []int) { |
| 92 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{0} |
| 93 |
} |
| 94 |
|
| 95 |
// The type of solution. |
| 96 |
type SolutionType int32 |
| 97 |
|
| 98 |
const ( |
| 99 |
// Default value. |
| 100 |
SolutionType_SOLUTION_TYPE_UNSPECIFIED SolutionType = 0 |
| 101 |
// Used for Recommendations AI. |
| 102 |
SolutionType_SOLUTION_TYPE_RECOMMENDATION SolutionType = 1 |
| 103 |
// Used for Retail Search. |
| 104 |
SolutionType_SOLUTION_TYPE_SEARCH SolutionType = 2 |
| 105 |
) |
| 106 |
|
| 107 |
// Enum value maps for SolutionType. |
| 108 |
var ( |
| 109 |
SolutionType_name = map[int32]string{ |
| 110 |
0: "SOLUTION_TYPE_UNSPECIFIED", |
| 111 |
1: "SOLUTION_TYPE_RECOMMENDATION", |
| 112 |
2: "SOLUTION_TYPE_SEARCH", |
| 113 |
} |
| 114 |
SolutionType_value = map[string]int32{ |
| 115 |
"SOLUTION_TYPE_UNSPECIFIED": 0, |
| 116 |
"SOLUTION_TYPE_RECOMMENDATION": 1, |
| 117 |
"SOLUTION_TYPE_SEARCH": 2, |
| 118 |
} |
| 119 |
) |
| 120 |
|
| 121 |
func (x SolutionType) Enum() *SolutionType { |
| 122 |
p := new(SolutionType) |
| 123 |
*p = x |
| 124 |
return p |
| 125 |
} |
| 126 |
|
| 127 |
func (x SolutionType) String() string { |
| 128 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 129 |
} |
| 130 |
|
| 131 |
func (SolutionType) Descriptor() protoreflect.EnumDescriptor { |
| 132 |
return file_google_cloud_retail_v2beta_common_proto_enumTypes[1].Descriptor() |
| 133 |
} |
| 134 |
|
| 135 |
func (SolutionType) Type() protoreflect.EnumType { |
| 136 |
return &file_google_cloud_retail_v2beta_common_proto_enumTypes[1] |
| 137 |
} |
| 138 |
|
| 139 |
func (x SolutionType) Number() protoreflect.EnumNumber { |
| 140 |
return protoreflect.EnumNumber(x) |
| 141 |
} |
| 142 |
|
| 143 |
// Deprecated: Use SolutionType.Descriptor instead. |
| 144 |
func (SolutionType) EnumDescriptor() ([]byte, []int) { |
| 145 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{1} |
| 146 |
} |
| 147 |
|
| 148 |
// If filtering for recommendations is enabled. |
| 149 |
type RecommendationsFilteringOption int32 |
| 150 |
|
| 151 |
const ( |
| 152 |
// Value used when unset. |
| 153 |
// In this case, server behavior defaults to |
| 154 |
// [RECOMMENDATIONS_FILTERING_DISABLED][google.cloud.retail.v2beta.RecommendationsFilteringOption.RECOMMENDATIONS_FILTERING_DISABLED]. |
| 155 |
RecommendationsFilteringOption_RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED RecommendationsFilteringOption = 0 |
| 156 |
// Recommendation filtering is disabled. |
| 157 |
RecommendationsFilteringOption_RECOMMENDATIONS_FILTERING_DISABLED RecommendationsFilteringOption = 1 |
| 158 |
// Recommendation filtering is enabled. |
| 159 |
RecommendationsFilteringOption_RECOMMENDATIONS_FILTERING_ENABLED RecommendationsFilteringOption = 3 |
| 160 |
) |
| 161 |
|
| 162 |
// Enum value maps for RecommendationsFilteringOption. |
| 163 |
var ( |
| 164 |
RecommendationsFilteringOption_name = map[int32]string{ |
| 165 |
0: "RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", |
| 166 |
1: "RECOMMENDATIONS_FILTERING_DISABLED", |
| 167 |
3: "RECOMMENDATIONS_FILTERING_ENABLED", |
| 168 |
} |
| 169 |
RecommendationsFilteringOption_value = map[string]int32{ |
| 170 |
"RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED": 0, |
| 171 |
"RECOMMENDATIONS_FILTERING_DISABLED": 1, |
| 172 |
"RECOMMENDATIONS_FILTERING_ENABLED": 3, |
| 173 |
} |
| 174 |
) |
| 175 |
|
| 176 |
func (x RecommendationsFilteringOption) Enum() *RecommendationsFilteringOption { |
| 177 |
p := new(RecommendationsFilteringOption) |
| 178 |
*p = x |
| 179 |
return p |
| 180 |
} |
| 181 |
|
| 182 |
func (x RecommendationsFilteringOption) String() string { |
| 183 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 184 |
} |
| 185 |
|
| 186 |
func (RecommendationsFilteringOption) Descriptor() protoreflect.EnumDescriptor { |
| 187 |
return file_google_cloud_retail_v2beta_common_proto_enumTypes[2].Descriptor() |
| 188 |
} |
| 189 |
|
| 190 |
func (RecommendationsFilteringOption) Type() protoreflect.EnumType { |
| 191 |
return &file_google_cloud_retail_v2beta_common_proto_enumTypes[2] |
| 192 |
} |
| 193 |
|
| 194 |
func (x RecommendationsFilteringOption) Number() protoreflect.EnumNumber { |
| 195 |
return protoreflect.EnumNumber(x) |
| 196 |
} |
| 197 |
|
| 198 |
// Deprecated: Use RecommendationsFilteringOption.Descriptor instead. |
| 199 |
func (RecommendationsFilteringOption) EnumDescriptor() ([]byte, []int) { |
| 200 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{2} |
| 201 |
} |
| 202 |
|
| 203 |
// The use case of Cloud Retail Search. |
| 204 |
type SearchSolutionUseCase int32 |
| 205 |
|
| 206 |
const ( |
| 207 |
// The value when it's unspecified. In this case, server behavior defaults to |
| 208 |
// [SEARCH_SOLUTION_USE_CASE_SEARCH][google.cloud.retail.v2beta.SearchSolutionUseCase.SEARCH_SOLUTION_USE_CASE_SEARCH]. |
| 209 |
SearchSolutionUseCase_SEARCH_SOLUTION_USE_CASE_UNSPECIFIED SearchSolutionUseCase = 0 |
| 210 |
// Search use case. Expects the traffic has a non-empty |
| 211 |
// [query][google.cloud.retail.v2beta.SearchRequest.query]. |
| 212 |
SearchSolutionUseCase_SEARCH_SOLUTION_USE_CASE_SEARCH SearchSolutionUseCase = 1 |
| 213 |
// Browse use case. Expects the traffic has an empty |
| 214 |
// [query][google.cloud.retail.v2beta.SearchRequest.query]. |
| 215 |
SearchSolutionUseCase_SEARCH_SOLUTION_USE_CASE_BROWSE SearchSolutionUseCase = 2 |
| 216 |
) |
| 217 |
|
| 218 |
// Enum value maps for SearchSolutionUseCase. |
| 219 |
var ( |
| 220 |
SearchSolutionUseCase_name = map[int32]string{ |
| 221 |
0: "SEARCH_SOLUTION_USE_CASE_UNSPECIFIED", |
| 222 |
1: "SEARCH_SOLUTION_USE_CASE_SEARCH", |
| 223 |
2: "SEARCH_SOLUTION_USE_CASE_BROWSE", |
| 224 |
} |
| 225 |
SearchSolutionUseCase_value = map[string]int32{ |
| 226 |
"SEARCH_SOLUTION_USE_CASE_UNSPECIFIED": 0, |
| 227 |
"SEARCH_SOLUTION_USE_CASE_SEARCH": 1, |
| 228 |
"SEARCH_SOLUTION_USE_CASE_BROWSE": 2, |
| 229 |
} |
| 230 |
) |
| 231 |
|
| 232 |
func (x SearchSolutionUseCase) Enum() *SearchSolutionUseCase { |
| 233 |
p := new(SearchSolutionUseCase) |
| 234 |
*p = x |
| 235 |
return p |
| 236 |
} |
| 237 |
|
| 238 |
func (x SearchSolutionUseCase) String() string { |
| 239 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 240 |
} |
| 241 |
|
| 242 |
func (SearchSolutionUseCase) Descriptor() protoreflect.EnumDescriptor { |
| 243 |
return file_google_cloud_retail_v2beta_common_proto_enumTypes[3].Descriptor() |
| 244 |
} |
| 245 |
|
| 246 |
func (SearchSolutionUseCase) Type() protoreflect.EnumType { |
| 247 |
return &file_google_cloud_retail_v2beta_common_proto_enumTypes[3] |
| 248 |
} |
| 249 |
|
| 250 |
func (x SearchSolutionUseCase) Number() protoreflect.EnumNumber { |
| 251 |
return protoreflect.EnumNumber(x) |
| 252 |
} |
| 253 |
|
| 254 |
// Deprecated: Use SearchSolutionUseCase.Descriptor instead. |
| 255 |
func (SearchSolutionUseCase) EnumDescriptor() ([]byte, []int) { |
| 256 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{3} |
| 257 |
} |
| 258 |
|
| 259 |
// Metadata that is used to define a condition that triggers an action. |
| 260 |
// A valid condition must specify at least one of 'query_terms' or |
| 261 |
// 'products_filter'. If multiple fields are specified, the condition is met if |
| 262 |
// all the fields are satisfied e.g. if a set of query terms and product_filter |
| 263 |
// are set, then only items matching the product_filter for requests with a |
| 264 |
// query matching the query terms wil get boosted. |
| 265 |
type Condition struct { |
| 266 |
state protoimpl.MessageState |
| 267 |
sizeCache protoimpl.SizeCache |
| 268 |
unknownFields protoimpl.UnknownFields |
| 269 |
|
| 270 |
// A list (up to 10 entries) of terms to match the query on. If not |
| 271 |
// specified, match all queries. |
| 272 |
// If many query terms are specified, the condition |
| 273 |
// is matched if any of the terms is a match (i.e. using the OR operator). |
| 274 |
QueryTerms []*Condition_QueryTerm `protobuf:"bytes,1,rep,name=query_terms,json=queryTerms,proto3" json:"query_terms,omitempty"` |
| 275 |
// Range of time(s) specifying when Condition is active. |
| 276 |
// Condition true if any time range matches. |
| 277 |
ActiveTimeRange []*Condition_TimeRange `protobuf:"bytes,3,rep,name=active_time_range,json=activeTimeRange,proto3" json:"active_time_range,omitempty"` |
| 278 |
// Used to support browse uses cases. |
| 279 |
// A list (up to 10 entries) of categories or departments. |
| 280 |
// The format should be the same as |
| 281 |
// [UserEvent.page_categories][google.cloud.retail.v2beta.UserEvent.page_categories]; |
| 282 |
PageCategories []string `protobuf:"bytes,4,rep,name=page_categories,json=pageCategories,proto3" json:"page_categories,omitempty"` |
| 283 |
} |
| 284 |
|
| 285 |
func (x *Condition) Reset() { |
| 286 |
*x = Condition{} |
| 287 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[0] |
| 288 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 289 |
ms.StoreMessageInfo(mi) |
| 290 |
} |
| 291 |
|
| 292 |
func (x *Condition) String() string { |
| 293 |
return protoimpl.X.MessageStringOf(x) |
| 294 |
} |
| 295 |
|
| 296 |
func (*Condition) ProtoMessage() {} |
| 297 |
|
| 298 |
func (x *Condition) ProtoReflect() protoreflect.Message { |
| 299 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[0] |
| 300 |
if x != nil { |
| 301 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 302 |
if ms.LoadMessageInfo() == nil { |
| 303 |
ms.StoreMessageInfo(mi) |
| 304 |
} |
| 305 |
return ms |
| 306 |
} |
| 307 |
return mi.MessageOf(x) |
| 308 |
} |
| 309 |
|
| 310 |
// Deprecated: Use Condition.ProtoReflect.Descriptor instead. |
| 311 |
func (*Condition) Descriptor() ([]byte, []int) { |
| 312 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{0} |
| 313 |
} |
| 314 |
|
| 315 |
func (x *Condition) GetQueryTerms() []*Condition_QueryTerm { |
| 316 |
if x != nil { |
| 317 |
return x.QueryTerms |
| 318 |
} |
| 319 |
return nil |
| 320 |
} |
| 321 |
|
| 322 |
func (x *Condition) GetActiveTimeRange() []*Condition_TimeRange { |
| 323 |
if x != nil { |
| 324 |
return x.ActiveTimeRange |
| 325 |
} |
| 326 |
return nil |
| 327 |
} |
| 328 |
|
| 329 |
func (x *Condition) GetPageCategories() []string { |
| 330 |
if x != nil { |
| 331 |
return x.PageCategories |
| 332 |
} |
| 333 |
return nil |
| 334 |
} |
| 335 |
|
| 336 |
// A rule is a condition-action pair |
| 337 |
// |
| 338 |
// * A condition defines when a rule is to be triggered. |
| 339 |
// * An action specifies what occurs on that trigger. |
| 340 |
// Currently rules only work for [controls][google.cloud.retail.v2beta.Control] |
| 341 |
// with |
| 342 |
// [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2beta.SolutionType.SOLUTION_TYPE_SEARCH]. |
| 343 |
type Rule struct { |
| 344 |
state protoimpl.MessageState |
| 345 |
sizeCache protoimpl.SizeCache |
| 346 |
unknownFields protoimpl.UnknownFields |
| 347 |
|
| 348 |
// An action must be provided. |
| 349 |
// |
| 350 |
// Types that are assignable to Action: |
| 351 |
// |
| 352 |
// *Rule_BoostAction_ |
| 353 |
// *Rule_RedirectAction_ |
| 354 |
// *Rule_OnewaySynonymsAction_ |
| 355 |
// *Rule_DoNotAssociateAction_ |
| 356 |
// *Rule_ReplacementAction_ |
| 357 |
// *Rule_IgnoreAction_ |
| 358 |
// *Rule_FilterAction_ |
| 359 |
// *Rule_TwowaySynonymsAction_ |
| 360 |
// *Rule_ForceReturnFacetAction_ |
| 361 |
// *Rule_RemoveFacetAction_ |
| 362 |
// *Rule_PinAction_ |
| 363 |
Action isRule_Action `protobuf_oneof:"action"` |
| 364 |
// Required. The condition that triggers the rule. |
| 365 |
// If the condition is empty, the rule will always apply. |
| 366 |
Condition *Condition `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"` |
| 367 |
} |
| 368 |
|
| 369 |
func (x *Rule) Reset() { |
| 370 |
*x = Rule{} |
| 371 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[1] |
| 372 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 373 |
ms.StoreMessageInfo(mi) |
| 374 |
} |
| 375 |
|
| 376 |
func (x *Rule) String() string { |
| 377 |
return protoimpl.X.MessageStringOf(x) |
| 378 |
} |
| 379 |
|
| 380 |
func (*Rule) ProtoMessage() {} |
| 381 |
|
| 382 |
func (x *Rule) ProtoReflect() protoreflect.Message { |
| 383 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[1] |
| 384 |
if x != nil { |
| 385 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 386 |
if ms.LoadMessageInfo() == nil { |
| 387 |
ms.StoreMessageInfo(mi) |
| 388 |
} |
| 389 |
return ms |
| 390 |
} |
| 391 |
return mi.MessageOf(x) |
| 392 |
} |
| 393 |
|
| 394 |
// Deprecated: Use Rule.ProtoReflect.Descriptor instead. |
| 395 |
func (*Rule) Descriptor() ([]byte, []int) { |
| 396 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{1} |
| 397 |
} |
| 398 |
|
| 399 |
func (m *Rule) GetAction() isRule_Action { |
| 400 |
if m != nil { |
| 401 |
return m.Action |
| 402 |
} |
| 403 |
return nil |
| 404 |
} |
| 405 |
|
| 406 |
func (x *Rule) GetBoostAction() *Rule_BoostAction { |
| 407 |
if x, ok := x.GetAction().(*Rule_BoostAction_); ok { |
| 408 |
return x.BoostAction |
| 409 |
} |
| 410 |
return nil |
| 411 |
} |
| 412 |
|
| 413 |
func (x *Rule) GetRedirectAction() *Rule_RedirectAction { |
| 414 |
if x, ok := x.GetAction().(*Rule_RedirectAction_); ok { |
| 415 |
return x.RedirectAction |
| 416 |
} |
| 417 |
return nil |
| 418 |
} |
| 419 |
|
| 420 |
func (x *Rule) GetOnewaySynonymsAction() *Rule_OnewaySynonymsAction { |
| 421 |
if x, ok := x.GetAction().(*Rule_OnewaySynonymsAction_); ok { |
| 422 |
return x.OnewaySynonymsAction |
| 423 |
} |
| 424 |
return nil |
| 425 |
} |
| 426 |
|
| 427 |
func (x *Rule) GetDoNotAssociateAction() *Rule_DoNotAssociateAction { |
| 428 |
if x, ok := x.GetAction().(*Rule_DoNotAssociateAction_); ok { |
| 429 |
return x.DoNotAssociateAction |
| 430 |
} |
| 431 |
return nil |
| 432 |
} |
| 433 |
|
| 434 |
func (x *Rule) GetReplacementAction() *Rule_ReplacementAction { |
| 435 |
if x, ok := x.GetAction().(*Rule_ReplacementAction_); ok { |
| 436 |
return x.ReplacementAction |
| 437 |
} |
| 438 |
return nil |
| 439 |
} |
| 440 |
|
| 441 |
func (x *Rule) GetIgnoreAction() *Rule_IgnoreAction { |
| 442 |
if x, ok := x.GetAction().(*Rule_IgnoreAction_); ok { |
| 443 |
return x.IgnoreAction |
| 444 |
} |
| 445 |
return nil |
| 446 |
} |
| 447 |
|
| 448 |
func (x *Rule) GetFilterAction() *Rule_FilterAction { |
| 449 |
if x, ok := x.GetAction().(*Rule_FilterAction_); ok { |
| 450 |
return x.FilterAction |
| 451 |
} |
| 452 |
return nil |
| 453 |
} |
| 454 |
|
| 455 |
func (x *Rule) GetTwowaySynonymsAction() *Rule_TwowaySynonymsAction { |
| 456 |
if x, ok := x.GetAction().(*Rule_TwowaySynonymsAction_); ok { |
| 457 |
return x.TwowaySynonymsAction |
| 458 |
} |
| 459 |
return nil |
| 460 |
} |
| 461 |
|
| 462 |
func (x *Rule) GetForceReturnFacetAction() *Rule_ForceReturnFacetAction { |
| 463 |
if x, ok := x.GetAction().(*Rule_ForceReturnFacetAction_); ok { |
| 464 |
return x.ForceReturnFacetAction |
| 465 |
} |
| 466 |
return nil |
| 467 |
} |
| 468 |
|
| 469 |
func (x *Rule) GetRemoveFacetAction() *Rule_RemoveFacetAction { |
| 470 |
if x, ok := x.GetAction().(*Rule_RemoveFacetAction_); ok { |
| 471 |
return x.RemoveFacetAction |
| 472 |
} |
| 473 |
return nil |
| 474 |
} |
| 475 |
|
| 476 |
func (x *Rule) GetPinAction() *Rule_PinAction { |
| 477 |
if x, ok := x.GetAction().(*Rule_PinAction_); ok { |
| 478 |
return x.PinAction |
| 479 |
} |
| 480 |
return nil |
| 481 |
} |
| 482 |
|
| 483 |
func (x *Rule) GetCondition() *Condition { |
| 484 |
if x != nil { |
| 485 |
return x.Condition |
| 486 |
} |
| 487 |
return nil |
| 488 |
} |
| 489 |
|
| 490 |
type isRule_Action interface { |
| 491 |
isRule_Action() |
| 492 |
} |
| 493 |
|
| 494 |
type Rule_BoostAction_ struct { |
| 495 |
// A boost action. |
| 496 |
BoostAction *Rule_BoostAction `protobuf:"bytes,2,opt,name=boost_action,json=boostAction,proto3,oneof"` |
| 497 |
} |
| 498 |
|
| 499 |
type Rule_RedirectAction_ struct { |
| 500 |
// Redirects a shopper to a specific page. |
| 501 |
RedirectAction *Rule_RedirectAction `protobuf:"bytes,3,opt,name=redirect_action,json=redirectAction,proto3,oneof"` |
| 502 |
} |
| 503 |
|
| 504 |
type Rule_OnewaySynonymsAction_ struct { |
| 505 |
// Treats specific term as a synonym with a group of terms. |
| 506 |
// Group of terms will not be treated as synonyms with the specific term. |
| 507 |
OnewaySynonymsAction *Rule_OnewaySynonymsAction `protobuf:"bytes,6,opt,name=oneway_synonyms_action,json=onewaySynonymsAction,proto3,oneof"` |
| 508 |
} |
| 509 |
|
| 510 |
type Rule_DoNotAssociateAction_ struct { |
| 511 |
// Prevents term from being associated with other terms. |
| 512 |
DoNotAssociateAction *Rule_DoNotAssociateAction `protobuf:"bytes,7,opt,name=do_not_associate_action,json=doNotAssociateAction,proto3,oneof"` |
| 513 |
} |
| 514 |
|
| 515 |
type Rule_ReplacementAction_ struct { |
| 516 |
// Replaces specific terms in the query. |
| 517 |
ReplacementAction *Rule_ReplacementAction `protobuf:"bytes,8,opt,name=replacement_action,json=replacementAction,proto3,oneof"` |
| 518 |
} |
| 519 |
|
| 520 |
type Rule_IgnoreAction_ struct { |
| 521 |
// Ignores specific terms from query during search. |
| 522 |
IgnoreAction *Rule_IgnoreAction `protobuf:"bytes,9,opt,name=ignore_action,json=ignoreAction,proto3,oneof"` |
| 523 |
} |
| 524 |
|
| 525 |
type Rule_FilterAction_ struct { |
| 526 |
// Filters results. |
| 527 |
FilterAction *Rule_FilterAction `protobuf:"bytes,10,opt,name=filter_action,json=filterAction,proto3,oneof"` |
| 528 |
} |
| 529 |
|
| 530 |
type Rule_TwowaySynonymsAction_ struct { |
| 531 |
// Treats a set of terms as synonyms of one another. |
| 532 |
TwowaySynonymsAction *Rule_TwowaySynonymsAction `protobuf:"bytes,11,opt,name=twoway_synonyms_action,json=twowaySynonymsAction,proto3,oneof"` |
| 533 |
} |
| 534 |
|
| 535 |
type Rule_ForceReturnFacetAction_ struct { |
| 536 |
// Force returns an attribute as a facet in the request. |
| 537 |
ForceReturnFacetAction *Rule_ForceReturnFacetAction `protobuf:"bytes,12,opt,name=force_return_facet_action,json=forceReturnFacetAction,proto3,oneof"` |
| 538 |
} |
| 539 |
|
| 540 |
type Rule_RemoveFacetAction_ struct { |
| 541 |
// Remove an attribute as a facet in the request (if present). |
| 542 |
RemoveFacetAction *Rule_RemoveFacetAction `protobuf:"bytes,13,opt,name=remove_facet_action,json=removeFacetAction,proto3,oneof"` |
| 543 |
} |
| 544 |
|
| 545 |
type Rule_PinAction_ struct { |
| 546 |
// Pins one or more specified products to a specific position in the |
| 547 |
// results. |
| 548 |
PinAction *Rule_PinAction `protobuf:"bytes,14,opt,name=pin_action,json=pinAction,proto3,oneof"` |
| 549 |
} |
| 550 |
|
| 551 |
func (*Rule_BoostAction_) isRule_Action() {} |
| 552 |
|
| 553 |
func (*Rule_RedirectAction_) isRule_Action() {} |
| 554 |
|
| 555 |
func (*Rule_OnewaySynonymsAction_) isRule_Action() {} |
| 556 |
|
| 557 |
func (*Rule_DoNotAssociateAction_) isRule_Action() {} |
| 558 |
|
| 559 |
func (*Rule_ReplacementAction_) isRule_Action() {} |
| 560 |
|
| 561 |
func (*Rule_IgnoreAction_) isRule_Action() {} |
| 562 |
|
| 563 |
func (*Rule_FilterAction_) isRule_Action() {} |
| 564 |
|
| 565 |
func (*Rule_TwowaySynonymsAction_) isRule_Action() {} |
| 566 |
|
| 567 |
func (*Rule_ForceReturnFacetAction_) isRule_Action() {} |
| 568 |
|
| 569 |
func (*Rule_RemoveFacetAction_) isRule_Action() {} |
| 570 |
|
| 571 |
func (*Rule_PinAction_) isRule_Action() {} |
| 572 |
|
| 573 |
// An intended audience of the [Product][google.cloud.retail.v2beta.Product] for |
| 574 |
// whom it's sold. |
| 575 |
type Audience struct { |
| 576 |
state protoimpl.MessageState |
| 577 |
sizeCache protoimpl.SizeCache |
| 578 |
unknownFields protoimpl.UnknownFields |
| 579 |
|
| 580 |
// The genders of the audience. Strongly encouraged to use the standard |
| 581 |
// values: "male", "female", "unisex". |
| 582 |
// |
| 583 |
// At most 5 values are allowed. Each value must be a UTF-8 encoded string |
| 584 |
// with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error |
| 585 |
// is returned. |
| 586 |
// |
| 587 |
// Google Merchant Center property |
| 588 |
// [gender](https://support.google.com/merchants/answer/6324479). Schema.org |
| 589 |
// property |
| 590 |
// [Product.audience.suggestedGender](https://schema.org/suggestedGender). |
| 591 |
Genders []string `protobuf:"bytes,1,rep,name=genders,proto3" json:"genders,omitempty"` |
| 592 |
// The age groups of the audience. Strongly encouraged to use the standard |
| 593 |
// values: "newborn" (up to 3 months old), "infant" (3–12 months old), |
| 594 |
// "toddler" (1–5 years old), "kids" (5–13 years old), "adult" (typically |
| 595 |
// teens or older). |
| 596 |
// |
| 597 |
// At most 5 values are allowed. Each value must be a UTF-8 encoded string |
| 598 |
// with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error |
| 599 |
// is returned. |
| 600 |
// |
| 601 |
// Google Merchant Center property |
| 602 |
// [age_group](https://support.google.com/merchants/answer/6324463). |
| 603 |
// Schema.org property |
| 604 |
// [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and |
| 605 |
// [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge). |
| 606 |
AgeGroups []string `protobuf:"bytes,2,rep,name=age_groups,json=ageGroups,proto3" json:"age_groups,omitempty"` |
| 607 |
} |
| 608 |
|
| 609 |
func (x *Audience) Reset() { |
| 610 |
*x = Audience{} |
| 611 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[2] |
| 612 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 613 |
ms.StoreMessageInfo(mi) |
| 614 |
} |
| 615 |
|
| 616 |
func (x *Audience) String() string { |
| 617 |
return protoimpl.X.MessageStringOf(x) |
| 618 |
} |
| 619 |
|
| 620 |
func (*Audience) ProtoMessage() {} |
| 621 |
|
| 622 |
func (x *Audience) ProtoReflect() protoreflect.Message { |
| 623 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[2] |
| 624 |
if x != nil { |
| 625 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 626 |
if ms.LoadMessageInfo() == nil { |
| 627 |
ms.StoreMessageInfo(mi) |
| 628 |
} |
| 629 |
return ms |
| 630 |
} |
| 631 |
return mi.MessageOf(x) |
| 632 |
} |
| 633 |
|
| 634 |
// Deprecated: Use Audience.ProtoReflect.Descriptor instead. |
| 635 |
func (*Audience) Descriptor() ([]byte, []int) { |
| 636 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{2} |
| 637 |
} |
| 638 |
|
| 639 |
func (x *Audience) GetGenders() []string { |
| 640 |
if x != nil { |
| 641 |
return x.Genders |
| 642 |
} |
| 643 |
return nil |
| 644 |
} |
| 645 |
|
| 646 |
func (x *Audience) GetAgeGroups() []string { |
| 647 |
if x != nil { |
| 648 |
return x.AgeGroups |
| 649 |
} |
| 650 |
return nil |
| 651 |
} |
| 652 |
|
| 653 |
// The color information of a [Product][google.cloud.retail.v2beta.Product]. |
| 654 |
type ColorInfo struct { |
| 655 |
state protoimpl.MessageState |
| 656 |
sizeCache protoimpl.SizeCache |
| 657 |
unknownFields protoimpl.UnknownFields |
| 658 |
|
| 659 |
// The standard color families. Strongly recommended to use the following |
| 660 |
// standard color groups: "Red", "Pink", "Orange", "Yellow", "Purple", |
| 661 |
// "Green", "Cyan", "Blue", "Brown", "White", "Gray", "Black" and "Mixed". |
| 662 |
// Normally it is expected to have only 1 color family. May consider using |
| 663 |
// single "Mixed" instead of multiple values. |
| 664 |
// |
| 665 |
// A maximum of 5 values are allowed. Each value must be a UTF-8 encoded |
| 666 |
// string with a length limit of 128 characters. Otherwise, an |
| 667 |
// INVALID_ARGUMENT error is returned. |
| 668 |
// |
| 669 |
// Google Merchant Center property |
| 670 |
// [color](https://support.google.com/merchants/answer/6324487). Schema.org |
| 671 |
// property [Product.color](https://schema.org/color). |
| 672 |
// |
| 673 |
// The colorFamilies field as a system attribute is not a required field but |
| 674 |
// strongly recommended to be specified. Google Search models treat this field |
| 675 |
// as more important than a custom product attribute when specified. |
| 676 |
ColorFamilies []string `protobuf:"bytes,1,rep,name=color_families,json=colorFamilies,proto3" json:"color_families,omitempty"` |
| 677 |
// The color display names, which may be different from standard color family |
| 678 |
// names, such as the color aliases used in the website frontend. Normally |
| 679 |
// it is expected to have only 1 color. May consider using single "Mixed" |
| 680 |
// instead of multiple values. |
| 681 |
// |
| 682 |
// A maximum of 75 colors are allowed. Each value must be a UTF-8 encoded |
| 683 |
// string with a length limit of 128 characters. Otherwise, an |
| 684 |
// INVALID_ARGUMENT error is returned. |
| 685 |
// |
| 686 |
// Google Merchant Center property |
| 687 |
// [color](https://support.google.com/merchants/answer/6324487). Schema.org |
| 688 |
// property [Product.color](https://schema.org/color). |
| 689 |
Colors []string `protobuf:"bytes,2,rep,name=colors,proto3" json:"colors,omitempty"` |
| 690 |
} |
| 691 |
|
| 692 |
func (x *ColorInfo) Reset() { |
| 693 |
*x = ColorInfo{} |
| 694 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[3] |
| 695 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 696 |
ms.StoreMessageInfo(mi) |
| 697 |
} |
| 698 |
|
| 699 |
func (x *ColorInfo) String() string { |
| 700 |
return protoimpl.X.MessageStringOf(x) |
| 701 |
} |
| 702 |
|
| 703 |
func (*ColorInfo) ProtoMessage() {} |
| 704 |
|
| 705 |
func (x *ColorInfo) ProtoReflect() protoreflect.Message { |
| 706 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[3] |
| 707 |
if x != nil { |
| 708 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 709 |
if ms.LoadMessageInfo() == nil { |
| 710 |
ms.StoreMessageInfo(mi) |
| 711 |
} |
| 712 |
return ms |
| 713 |
} |
| 714 |
return mi.MessageOf(x) |
| 715 |
} |
| 716 |
|
| 717 |
// Deprecated: Use ColorInfo.ProtoReflect.Descriptor instead. |
| 718 |
func (*ColorInfo) Descriptor() ([]byte, []int) { |
| 719 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{3} |
| 720 |
} |
| 721 |
|
| 722 |
func (x *ColorInfo) GetColorFamilies() []string { |
| 723 |
if x != nil { |
| 724 |
return x.ColorFamilies |
| 725 |
} |
| 726 |
return nil |
| 727 |
} |
| 728 |
|
| 729 |
func (x *ColorInfo) GetColors() []string { |
| 730 |
if x != nil { |
| 731 |
return x.Colors |
| 732 |
} |
| 733 |
return nil |
| 734 |
} |
| 735 |
|
| 736 |
// A custom attribute that is not explicitly modeled in |
| 737 |
// [Product][google.cloud.retail.v2beta.Product]. |
| 738 |
type CustomAttribute struct { |
| 739 |
state protoimpl.MessageState |
| 740 |
sizeCache protoimpl.SizeCache |
| 741 |
unknownFields protoimpl.UnknownFields |
| 742 |
|
| 743 |
// The textual values of this custom attribute. For example, `["yellow", |
| 744 |
// "green"]` when the key is "color". |
| 745 |
// |
| 746 |
// Empty string is not allowed. Otherwise, an INVALID_ARGUMENT error is |
| 747 |
// returned. |
| 748 |
// |
| 749 |
// Exactly one of [text][google.cloud.retail.v2beta.CustomAttribute.text] or |
| 750 |
// [numbers][google.cloud.retail.v2beta.CustomAttribute.numbers] should be |
| 751 |
// set. Otherwise, an INVALID_ARGUMENT error is returned. |
| 752 |
Text []string `protobuf:"bytes,1,rep,name=text,proto3" json:"text,omitempty"` |
| 753 |
// The numerical values of this custom attribute. For example, `[2.3, 15.4]` |
| 754 |
// when the key is "lengths_cm". |
| 755 |
// |
| 756 |
// Exactly one of [text][google.cloud.retail.v2beta.CustomAttribute.text] or |
| 757 |
// [numbers][google.cloud.retail.v2beta.CustomAttribute.numbers] should be |
| 758 |
// set. Otherwise, an INVALID_ARGUMENT error is returned. |
| 759 |
Numbers []float64 `protobuf:"fixed64,2,rep,packed,name=numbers,proto3" json:"numbers,omitempty"` |
| 760 |
// This field is normally ignored unless |
| 761 |
// [AttributesConfig.attribute_config_level][google.cloud.retail.v2beta.AttributesConfig.attribute_config_level] |
| 762 |
// of the [Catalog][google.cloud.retail.v2beta.Catalog] is set to the |
| 763 |
// deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode. For information about |
| 764 |
// product-level attribute configuration, see [Configuration |
| 765 |
// modes](https://cloud.google.com/retail/docs/attribute-config#config-modes). |
| 766 |
// If true, custom attribute values are searchable by text queries in |
| 767 |
// [SearchService.Search][google.cloud.retail.v2beta.SearchService.Search]. |
| 768 |
// |
| 769 |
// This field is ignored in a |
| 770 |
// [UserEvent][google.cloud.retail.v2beta.UserEvent]. |
| 771 |
// |
| 772 |
// Only set if type [text][google.cloud.retail.v2beta.CustomAttribute.text] is |
| 773 |
// set. Otherwise, a INVALID_ARGUMENT error is returned. |
| 774 |
// |
| 775 |
// Deprecated: Marked as deprecated in google/cloud/retail/v2beta/common.proto. |
| 776 |
Searchable *bool `protobuf:"varint,3,opt,name=searchable,proto3,oneof" json:"searchable,omitempty"` |
| 777 |
// This field is normally ignored unless |
| 778 |
// [AttributesConfig.attribute_config_level][google.cloud.retail.v2beta.AttributesConfig.attribute_config_level] |
| 779 |
// of the [Catalog][google.cloud.retail.v2beta.Catalog] is set to the |
| 780 |
// deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode. For information about |
| 781 |
// product-level attribute configuration, see [Configuration |
| 782 |
// modes](https://cloud.google.com/retail/docs/attribute-config#config-modes). |
| 783 |
// If true, custom attribute values are indexed, so that they can be filtered, |
| 784 |
// faceted or boosted in |
| 785 |
// [SearchService.Search][google.cloud.retail.v2beta.SearchService.Search]. |
| 786 |
// |
| 787 |
// This field is ignored in a |
| 788 |
// [UserEvent][google.cloud.retail.v2beta.UserEvent]. |
| 789 |
// |
| 790 |
// See |
| 791 |
// [SearchRequest.filter][google.cloud.retail.v2beta.SearchRequest.filter], |
| 792 |
// [SearchRequest.facet_specs][google.cloud.retail.v2beta.SearchRequest.facet_specs] |
| 793 |
// and |
| 794 |
// [SearchRequest.boost_spec][google.cloud.retail.v2beta.SearchRequest.boost_spec] |
| 795 |
// for more details. |
| 796 |
// |
| 797 |
// Deprecated: Marked as deprecated in google/cloud/retail/v2beta/common.proto. |
| 798 |
Indexable *bool `protobuf:"varint,4,opt,name=indexable,proto3,oneof" json:"indexable,omitempty"` |
| 799 |
} |
| 800 |
|
| 801 |
func (x *CustomAttribute) Reset() { |
| 802 |
*x = CustomAttribute{} |
| 803 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[4] |
| 804 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 805 |
ms.StoreMessageInfo(mi) |
| 806 |
} |
| 807 |
|
| 808 |
func (x *CustomAttribute) String() string { |
| 809 |
return protoimpl.X.MessageStringOf(x) |
| 810 |
} |
| 811 |
|
| 812 |
func (*CustomAttribute) ProtoMessage() {} |
| 813 |
|
| 814 |
func (x *CustomAttribute) ProtoReflect() protoreflect.Message { |
| 815 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[4] |
| 816 |
if x != nil { |
| 817 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 818 |
if ms.LoadMessageInfo() == nil { |
| 819 |
ms.StoreMessageInfo(mi) |
| 820 |
} |
| 821 |
return ms |
| 822 |
} |
| 823 |
return mi.MessageOf(x) |
| 824 |
} |
| 825 |
|
| 826 |
// Deprecated: Use CustomAttribute.ProtoReflect.Descriptor instead. |
| 827 |
func (*CustomAttribute) Descriptor() ([]byte, []int) { |
| 828 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{4} |
| 829 |
} |
| 830 |
|
| 831 |
func (x *CustomAttribute) GetText() []string { |
| 832 |
if x != nil { |
| 833 |
return x.Text |
| 834 |
} |
| 835 |
return nil |
| 836 |
} |
| 837 |
|
| 838 |
func (x *CustomAttribute) GetNumbers() []float64 { |
| 839 |
if x != nil { |
| 840 |
return x.Numbers |
| 841 |
} |
| 842 |
return nil |
| 843 |
} |
| 844 |
|
| 845 |
// Deprecated: Marked as deprecated in google/cloud/retail/v2beta/common.proto. |
| 846 |
func (x *CustomAttribute) GetSearchable() bool { |
| 847 |
if x != nil && x.Searchable != nil { |
| 848 |
return *x.Searchable |
| 849 |
} |
| 850 |
return false |
| 851 |
} |
| 852 |
|
| 853 |
// Deprecated: Marked as deprecated in google/cloud/retail/v2beta/common.proto. |
| 854 |
func (x *CustomAttribute) GetIndexable() bool { |
| 855 |
if x != nil && x.Indexable != nil { |
| 856 |
return *x.Indexable |
| 857 |
} |
| 858 |
return false |
| 859 |
} |
| 860 |
|
| 861 |
// Fulfillment information, such as the store IDs for in-store pickup or region |
| 862 |
// IDs for different shipping methods. |
| 863 |
type FulfillmentInfo struct { |
| 864 |
state protoimpl.MessageState |
| 865 |
sizeCache protoimpl.SizeCache |
| 866 |
unknownFields protoimpl.UnknownFields |
| 867 |
|
| 868 |
// The fulfillment type, including commonly used types (such as pickup in |
| 869 |
// store and same day delivery), and custom types. Customers have to map |
| 870 |
// custom types to their display names before rendering UI. |
| 871 |
// |
| 872 |
// Supported values: |
| 873 |
// |
| 874 |
// * "pickup-in-store" |
| 875 |
// * "ship-to-store" |
| 876 |
// * "same-day-delivery" |
| 877 |
// * "next-day-delivery" |
| 878 |
// * "custom-type-1" |
| 879 |
// * "custom-type-2" |
| 880 |
// * "custom-type-3" |
| 881 |
// * "custom-type-4" |
| 882 |
// * "custom-type-5" |
| 883 |
// |
| 884 |
// If this field is set to an invalid value other than these, an |
| 885 |
// INVALID_ARGUMENT error is returned. |
| 886 |
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` |
| 887 |
// The IDs for this [type][google.cloud.retail.v2beta.FulfillmentInfo.type], |
| 888 |
// such as the store IDs for |
| 889 |
// [FulfillmentInfo.type.pickup-in-store][google.cloud.retail.v2beta.FulfillmentInfo.type] |
| 890 |
// or the region IDs for |
| 891 |
// [FulfillmentInfo.type.same-day-delivery][google.cloud.retail.v2beta.FulfillmentInfo.type]. |
| 892 |
// |
| 893 |
// A maximum of 3000 values are allowed. Each value must be a string with a |
| 894 |
// length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such |
| 895 |
// as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is |
| 896 |
// returned. |
| 897 |
PlaceIds []string `protobuf:"bytes,2,rep,name=place_ids,json=placeIds,proto3" json:"place_ids,omitempty"` |
| 898 |
} |
| 899 |
|
| 900 |
func (x *FulfillmentInfo) Reset() { |
| 901 |
*x = FulfillmentInfo{} |
| 902 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[5] |
| 903 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 904 |
ms.StoreMessageInfo(mi) |
| 905 |
} |
| 906 |
|
| 907 |
func (x *FulfillmentInfo) String() string { |
| 908 |
return protoimpl.X.MessageStringOf(x) |
| 909 |
} |
| 910 |
|
| 911 |
func (*FulfillmentInfo) ProtoMessage() {} |
| 912 |
|
| 913 |
func (x *FulfillmentInfo) ProtoReflect() protoreflect.Message { |
| 914 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[5] |
| 915 |
if x != nil { |
| 916 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 917 |
if ms.LoadMessageInfo() == nil { |
| 918 |
ms.StoreMessageInfo(mi) |
| 919 |
} |
| 920 |
return ms |
| 921 |
} |
| 922 |
return mi.MessageOf(x) |
| 923 |
} |
| 924 |
|
| 925 |
// Deprecated: Use FulfillmentInfo.ProtoReflect.Descriptor instead. |
| 926 |
func (*FulfillmentInfo) Descriptor() ([]byte, []int) { |
| 927 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{5} |
| 928 |
} |
| 929 |
|
| 930 |
func (x *FulfillmentInfo) GetType() string { |
| 931 |
if x != nil { |
| 932 |
return x.Type |
| 933 |
} |
| 934 |
return "" |
| 935 |
} |
| 936 |
|
| 937 |
func (x *FulfillmentInfo) GetPlaceIds() []string { |
| 938 |
if x != nil { |
| 939 |
return x.PlaceIds |
| 940 |
} |
| 941 |
return nil |
| 942 |
} |
| 943 |
|
| 944 |
// [Product][google.cloud.retail.v2beta.Product] image. Recommendations AI and |
| 945 |
// Retail Search use product images to improve prediction and search results. |
| 946 |
// Product images can be returned in results, and are shown in prediction or |
| 947 |
// search previews in the console. Please try to provide correct product images |
| 948 |
// and avoid using images with size too small. |
| 949 |
type Image struct { |
| 950 |
state protoimpl.MessageState |
| 951 |
sizeCache protoimpl.SizeCache |
| 952 |
unknownFields protoimpl.UnknownFields |
| 953 |
|
| 954 |
// Required. URI of the image. |
| 955 |
// |
| 956 |
// This field must be a valid UTF-8 encoded URI with a length limit of 5,000 |
| 957 |
// characters. Otherwise, an INVALID_ARGUMENT error is returned. |
| 958 |
// |
| 959 |
// Google Merchant Center property |
| 960 |
// [image_link](https://support.google.com/merchants/answer/6324350). |
| 961 |
// Schema.org property [Product.image](https://schema.org/image). |
| 962 |
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` |
| 963 |
// Height of the image in number of pixels. |
| 964 |
// |
| 965 |
// This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is |
| 966 |
// returned. |
| 967 |
Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` |
| 968 |
// Width of the image in number of pixels. |
| 969 |
// |
| 970 |
// This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is |
| 971 |
// returned. |
| 972 |
Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` |
| 973 |
} |
| 974 |
|
| 975 |
func (x *Image) Reset() { |
| 976 |
*x = Image{} |
| 977 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[6] |
| 978 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 979 |
ms.StoreMessageInfo(mi) |
| 980 |
} |
| 981 |
|
| 982 |
func (x *Image) String() string { |
| 983 |
return protoimpl.X.MessageStringOf(x) |
| 984 |
} |
| 985 |
|
| 986 |
func (*Image) ProtoMessage() {} |
| 987 |
|
| 988 |
func (x *Image) ProtoReflect() protoreflect.Message { |
| 989 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[6] |
| 990 |
if x != nil { |
| 991 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 992 |
if ms.LoadMessageInfo() == nil { |
| 993 |
ms.StoreMessageInfo(mi) |
| 994 |
} |
| 995 |
return ms |
| 996 |
} |
| 997 |
return mi.MessageOf(x) |
| 998 |
} |
| 999 |
|
| 1000 |
// Deprecated: Use Image.ProtoReflect.Descriptor instead. |
| 1001 |
func (*Image) Descriptor() ([]byte, []int) { |
| 1002 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{6} |
| 1003 |
} |
| 1004 |
|
| 1005 |
func (x *Image) GetUri() string { |
| 1006 |
if x != nil { |
| 1007 |
return x.Uri |
| 1008 |
} |
| 1009 |
return "" |
| 1010 |
} |
| 1011 |
|
| 1012 |
func (x *Image) GetHeight() int32 { |
| 1013 |
if x != nil { |
| 1014 |
return x.Height |
| 1015 |
} |
| 1016 |
return 0 |
| 1017 |
} |
| 1018 |
|
| 1019 |
func (x *Image) GetWidth() int32 { |
| 1020 |
if x != nil { |
| 1021 |
return x.Width |
| 1022 |
} |
| 1023 |
return 0 |
| 1024 |
} |
| 1025 |
|
| 1026 |
// A floating point interval. |
| 1027 |
type Interval struct { |
| 1028 |
state protoimpl.MessageState |
| 1029 |
sizeCache protoimpl.SizeCache |
| 1030 |
unknownFields protoimpl.UnknownFields |
| 1031 |
|
| 1032 |
// The lower bound of the interval. If neither of the min fields are set, then |
| 1033 |
// the lower bound is negative infinity. |
| 1034 |
// |
| 1035 |
// This field must not be larger than max. |
| 1036 |
// Otherwise, an INVALID_ARGUMENT error is returned. |
| 1037 |
// |
| 1038 |
// Types that are assignable to Min: |
| 1039 |
// |
| 1040 |
// *Interval_Minimum |
| 1041 |
// *Interval_ExclusiveMinimum |
| 1042 |
Min isInterval_Min `protobuf_oneof:"min"` |
| 1043 |
// The upper bound of the interval. If neither of the max fields are set, then |
| 1044 |
// the upper bound is positive infinity. |
| 1045 |
// |
| 1046 |
// This field must be not smaller than min. |
| 1047 |
// Otherwise, an INVALID_ARGUMENT error is returned. |
| 1048 |
// |
| 1049 |
// Types that are assignable to Max: |
| 1050 |
// |
| 1051 |
// *Interval_Maximum |
| 1052 |
// *Interval_ExclusiveMaximum |
| 1053 |
Max isInterval_Max `protobuf_oneof:"max"` |
| 1054 |
} |
| 1055 |
|
| 1056 |
func (x *Interval) Reset() { |
| 1057 |
*x = Interval{} |
| 1058 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[7] |
| 1059 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1060 |
ms.StoreMessageInfo(mi) |
| 1061 |
} |
| 1062 |
|
| 1063 |
func (x *Interval) String() string { |
| 1064 |
return protoimpl.X.MessageStringOf(x) |
| 1065 |
} |
| 1066 |
|
| 1067 |
func (*Interval) ProtoMessage() {} |
| 1068 |
|
| 1069 |
func (x *Interval) ProtoReflect() protoreflect.Message { |
| 1070 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[7] |
| 1071 |
if x != nil { |
| 1072 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1073 |
if ms.LoadMessageInfo() == nil { |
| 1074 |
ms.StoreMessageInfo(mi) |
| 1075 |
} |
| 1076 |
return ms |
| 1077 |
} |
| 1078 |
return mi.MessageOf(x) |
| 1079 |
} |
| 1080 |
|
| 1081 |
// Deprecated: Use Interval.ProtoReflect.Descriptor instead. |
| 1082 |
func (*Interval) Descriptor() ([]byte, []int) { |
| 1083 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{7} |
| 1084 |
} |
| 1085 |
|
| 1086 |
func (m *Interval) GetMin() isInterval_Min { |
| 1087 |
if m != nil { |
| 1088 |
return m.Min |
| 1089 |
} |
| 1090 |
return nil |
| 1091 |
} |
| 1092 |
|
| 1093 |
func (x *Interval) GetMinimum() float64 { |
| 1094 |
if x, ok := x.GetMin().(*Interval_Minimum); ok { |
| 1095 |
return x.Minimum |
| 1096 |
} |
| 1097 |
return 0 |
| 1098 |
} |
| 1099 |
|
| 1100 |
func (x *Interval) GetExclusiveMinimum() float64 { |
| 1101 |
if x, ok := x.GetMin().(*Interval_ExclusiveMinimum); ok { |
| 1102 |
return x.ExclusiveMinimum |
| 1103 |
} |
| 1104 |
return 0 |
| 1105 |
} |
| 1106 |
|
| 1107 |
func (m *Interval) GetMax() isInterval_Max { |
| 1108 |
if m != nil { |
| 1109 |
return m.Max |
| 1110 |
} |
| 1111 |
return nil |
| 1112 |
} |
| 1113 |
|
| 1114 |
func (x *Interval) GetMaximum() float64 { |
| 1115 |
if x, ok := x.GetMax().(*Interval_Maximum); ok { |
| 1116 |
return x.Maximum |
| 1117 |
} |
| 1118 |
return 0 |
| 1119 |
} |
| 1120 |
|
| 1121 |
func (x *Interval) GetExclusiveMaximum() float64 { |
| 1122 |
if x, ok := x.GetMax().(*Interval_ExclusiveMaximum); ok { |
| 1123 |
return x.ExclusiveMaximum |
| 1124 |
} |
| 1125 |
return 0 |
| 1126 |
} |
| 1127 |
|
| 1128 |
type isInterval_Min interface { |
| 1129 |
isInterval_Min() |
| 1130 |
} |
| 1131 |
|
| 1132 |
type Interval_Minimum struct { |
| 1133 |
// Inclusive lower bound. |
| 1134 |
Minimum float64 `protobuf:"fixed64,1,opt,name=minimum,proto3,oneof"` |
| 1135 |
} |
| 1136 |
|
| 1137 |
type Interval_ExclusiveMinimum struct { |
| 1138 |
// Exclusive lower bound. |
| 1139 |
ExclusiveMinimum float64 `protobuf:"fixed64,2,opt,name=exclusive_minimum,json=exclusiveMinimum,proto3,oneof"` |
| 1140 |
} |
| 1141 |
|
| 1142 |
func (*Interval_Minimum) isInterval_Min() {} |
| 1143 |
|
| 1144 |
func (*Interval_ExclusiveMinimum) isInterval_Min() {} |
| 1145 |
|
| 1146 |
type isInterval_Max interface { |
| 1147 |
isInterval_Max() |
| 1148 |
} |
| 1149 |
|
| 1150 |
type Interval_Maximum struct { |
| 1151 |
// Inclusive upper bound. |
| 1152 |
Maximum float64 `protobuf:"fixed64,3,opt,name=maximum,proto3,oneof"` |
| 1153 |
} |
| 1154 |
|
| 1155 |
type Interval_ExclusiveMaximum struct { |
| 1156 |
// Exclusive upper bound. |
| 1157 |
ExclusiveMaximum float64 `protobuf:"fixed64,4,opt,name=exclusive_maximum,json=exclusiveMaximum,proto3,oneof"` |
| 1158 |
} |
| 1159 |
|
| 1160 |
func (*Interval_Maximum) isInterval_Max() {} |
| 1161 |
|
| 1162 |
func (*Interval_ExclusiveMaximum) isInterval_Max() {} |
| 1163 |
|
| 1164 |
// The price information of a [Product][google.cloud.retail.v2beta.Product]. |
| 1165 |
type PriceInfo struct { |
| 1166 |
state protoimpl.MessageState |
| 1167 |
sizeCache protoimpl.SizeCache |
| 1168 |
unknownFields protoimpl.UnknownFields |
| 1169 |
|
| 1170 |
// The 3-letter currency code defined in [ISO |
| 1171 |
// 4217](https://www.iso.org/iso-4217-currency-codes.html). |
| 1172 |
// |
| 1173 |
// If this field is an unrecognizable currency code, an INVALID_ARGUMENT |
| 1174 |
// error is returned. |
| 1175 |
// |
| 1176 |
// The [Product.Type.VARIANT][google.cloud.retail.v2beta.Product.Type.VARIANT] |
| 1177 |
// [Product][google.cloud.retail.v2beta.Product]s with the same |
| 1178 |
// [Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id] |
| 1179 |
// must share the same |
| 1180 |
// [currency_code][google.cloud.retail.v2beta.PriceInfo.currency_code]. |
| 1181 |
// Otherwise, a FAILED_PRECONDITION error is returned. |
| 1182 |
CurrencyCode string `protobuf:"bytes,1,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` |
| 1183 |
// Price of the product. |
| 1184 |
// |
| 1185 |
// Google Merchant Center property |
| 1186 |
// [price](https://support.google.com/merchants/answer/6324371). Schema.org |
| 1187 |
// property [Offer.price](https://schema.org/price). |
| 1188 |
Price float32 `protobuf:"fixed32,2,opt,name=price,proto3" json:"price,omitempty"` |
| 1189 |
// Price of the product without any discount. If zero, by default set to be |
| 1190 |
// the [price][google.cloud.retail.v2beta.PriceInfo.price]. If set, |
| 1191 |
// [original_price][google.cloud.retail.v2beta.PriceInfo.original_price] |
| 1192 |
// should be greater than or equal to |
| 1193 |
// [price][google.cloud.retail.v2beta.PriceInfo.price], otherwise an |
| 1194 |
// INVALID_ARGUMENT error is thrown. |
| 1195 |
OriginalPrice float32 `protobuf:"fixed32,3,opt,name=original_price,json=originalPrice,proto3" json:"original_price,omitempty"` |
| 1196 |
// The costs associated with the sale of a particular product. Used for gross |
| 1197 |
// profit reporting. |
| 1198 |
// |
| 1199 |
// * Profit = [price][google.cloud.retail.v2beta.PriceInfo.price] - |
| 1200 |
// [cost][google.cloud.retail.v2beta.PriceInfo.cost] |
| 1201 |
// |
| 1202 |
// Google Merchant Center property |
| 1203 |
// [cost_of_goods_sold](https://support.google.com/merchants/answer/9017895). |
| 1204 |
Cost float32 `protobuf:"fixed32,4,opt,name=cost,proto3" json:"cost,omitempty"` |
| 1205 |
// The timestamp when the [price][google.cloud.retail.v2beta.PriceInfo.price] |
| 1206 |
// starts to be effective. This can be set as a future timestamp, and the |
| 1207 |
// [price][google.cloud.retail.v2beta.PriceInfo.price] is only used for search |
| 1208 |
// after |
| 1209 |
// [price_effective_time][google.cloud.retail.v2beta.PriceInfo.price_effective_time]. |
| 1210 |
// If so, the |
| 1211 |
// [original_price][google.cloud.retail.v2beta.PriceInfo.original_price] must |
| 1212 |
// be set and |
| 1213 |
// [original_price][google.cloud.retail.v2beta.PriceInfo.original_price] is |
| 1214 |
// used before |
| 1215 |
// [price_effective_time][google.cloud.retail.v2beta.PriceInfo.price_effective_time]. |
| 1216 |
// |
| 1217 |
// Do not set if [price][google.cloud.retail.v2beta.PriceInfo.price] is always |
| 1218 |
// effective because it will cause additional latency during search. |
| 1219 |
PriceEffectiveTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=price_effective_time,json=priceEffectiveTime,proto3" json:"price_effective_time,omitempty"` |
| 1220 |
// The timestamp when the [price][google.cloud.retail.v2beta.PriceInfo.price] |
| 1221 |
// stops to be effective. The |
| 1222 |
// [price][google.cloud.retail.v2beta.PriceInfo.price] is used for search |
| 1223 |
// before |
| 1224 |
// [price_expire_time][google.cloud.retail.v2beta.PriceInfo.price_expire_time]. |
| 1225 |
// If this field is set, the |
| 1226 |
// [original_price][google.cloud.retail.v2beta.PriceInfo.original_price] must |
| 1227 |
// be set and |
| 1228 |
// [original_price][google.cloud.retail.v2beta.PriceInfo.original_price] is |
| 1229 |
// used after |
| 1230 |
// [price_expire_time][google.cloud.retail.v2beta.PriceInfo.price_expire_time]. |
| 1231 |
// |
| 1232 |
// Do not set if [price][google.cloud.retail.v2beta.PriceInfo.price] is always |
| 1233 |
// effective because it will cause additional latency during search. |
| 1234 |
PriceExpireTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=price_expire_time,json=priceExpireTime,proto3" json:"price_expire_time,omitempty"` |
| 1235 |
// Output only. The price range of all the child |
| 1236 |
// [Product.Type.VARIANT][google.cloud.retail.v2beta.Product.Type.VARIANT] |
| 1237 |
// [Product][google.cloud.retail.v2beta.Product]s grouped together on the |
| 1238 |
// [Product.Type.PRIMARY][google.cloud.retail.v2beta.Product.Type.PRIMARY] |
| 1239 |
// [Product][google.cloud.retail.v2beta.Product]. Only populated for |
| 1240 |
// [Product.Type.PRIMARY][google.cloud.retail.v2beta.Product.Type.PRIMARY] |
| 1241 |
// [Product][google.cloud.retail.v2beta.Product]s. |
| 1242 |
// |
| 1243 |
// Note: This field is OUTPUT_ONLY for |
| 1244 |
// [ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct]. |
| 1245 |
// Do not set this field in API requests. |
| 1246 |
PriceRange *PriceInfo_PriceRange `protobuf:"bytes,7,opt,name=price_range,json=priceRange,proto3" json:"price_range,omitempty"` |
| 1247 |
} |
| 1248 |
|
| 1249 |
func (x *PriceInfo) Reset() { |
| 1250 |
*x = PriceInfo{} |
| 1251 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[8] |
| 1252 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1253 |
ms.StoreMessageInfo(mi) |
| 1254 |
} |
| 1255 |
|
| 1256 |
func (x *PriceInfo) String() string { |
| 1257 |
return protoimpl.X.MessageStringOf(x) |
| 1258 |
} |
| 1259 |
|
| 1260 |
func (*PriceInfo) ProtoMessage() {} |
| 1261 |
|
| 1262 |
func (x *PriceInfo) ProtoReflect() protoreflect.Message { |
| 1263 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[8] |
| 1264 |
if x != nil { |
| 1265 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1266 |
if ms.LoadMessageInfo() == nil { |
| 1267 |
ms.StoreMessageInfo(mi) |
| 1268 |
} |
| 1269 |
return ms |
| 1270 |
} |
| 1271 |
return mi.MessageOf(x) |
| 1272 |
} |
| 1273 |
|
| 1274 |
// Deprecated: Use PriceInfo.ProtoReflect.Descriptor instead. |
| 1275 |
func (*PriceInfo) Descriptor() ([]byte, []int) { |
| 1276 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{8} |
| 1277 |
} |
| 1278 |
|
| 1279 |
func (x *PriceInfo) GetCurrencyCode() string { |
| 1280 |
if x != nil { |
| 1281 |
return x.CurrencyCode |
| 1282 |
} |
| 1283 |
return "" |
| 1284 |
} |
| 1285 |
|
| 1286 |
func (x *PriceInfo) GetPrice() float32 { |
| 1287 |
if x != nil { |
| 1288 |
return x.Price |
| 1289 |
} |
| 1290 |
return 0 |
| 1291 |
} |
| 1292 |
|
| 1293 |
func (x *PriceInfo) GetOriginalPrice() float32 { |
| 1294 |
if x != nil { |
| 1295 |
return x.OriginalPrice |
| 1296 |
} |
| 1297 |
return 0 |
| 1298 |
} |
| 1299 |
|
| 1300 |
func (x *PriceInfo) GetCost() float32 { |
| 1301 |
if x != nil { |
| 1302 |
return x.Cost |
| 1303 |
} |
| 1304 |
return 0 |
| 1305 |
} |
| 1306 |
|
| 1307 |
func (x *PriceInfo) GetPriceEffectiveTime() *timestamppb.Timestamp { |
| 1308 |
if x != nil { |
| 1309 |
return x.PriceEffectiveTime |
| 1310 |
} |
| 1311 |
return nil |
| 1312 |
} |
| 1313 |
|
| 1314 |
func (x *PriceInfo) GetPriceExpireTime() *timestamppb.Timestamp { |
| 1315 |
if x != nil { |
| 1316 |
return x.PriceExpireTime |
| 1317 |
} |
| 1318 |
return nil |
| 1319 |
} |
| 1320 |
|
| 1321 |
func (x *PriceInfo) GetPriceRange() *PriceInfo_PriceRange { |
| 1322 |
if x != nil { |
| 1323 |
return x.PriceRange |
| 1324 |
} |
| 1325 |
return nil |
| 1326 |
} |
| 1327 |
|
| 1328 |
// The rating of a [Product][google.cloud.retail.v2beta.Product]. |
| 1329 |
type Rating struct { |
| 1330 |
state protoimpl.MessageState |
| 1331 |
sizeCache protoimpl.SizeCache |
| 1332 |
unknownFields protoimpl.UnknownFields |
| 1333 |
|
| 1334 |
// The total number of ratings. This value is independent of the value of |
| 1335 |
// [rating_histogram][google.cloud.retail.v2beta.Rating.rating_histogram]. |
| 1336 |
// |
| 1337 |
// This value must be nonnegative. Otherwise, an INVALID_ARGUMENT error is |
| 1338 |
// returned. |
| 1339 |
RatingCount int32 `protobuf:"varint,1,opt,name=rating_count,json=ratingCount,proto3" json:"rating_count,omitempty"` |
| 1340 |
// The average rating of the [Product][google.cloud.retail.v2beta.Product]. |
| 1341 |
// |
| 1342 |
// The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is |
| 1343 |
// returned. |
| 1344 |
AverageRating float32 `protobuf:"fixed32,2,opt,name=average_rating,json=averageRating,proto3" json:"average_rating,omitempty"` |
| 1345 |
// List of rating counts per rating value (index = rating - 1). The list is |
| 1346 |
// empty if there is no rating. If the list is non-empty, its size is |
| 1347 |
// always 5. Otherwise, an INVALID_ARGUMENT error is returned. |
| 1348 |
// |
| 1349 |
// For example, [41, 14, 13, 47, 303]. It means that the |
| 1350 |
// [Product][google.cloud.retail.v2beta.Product] got 41 ratings with 1 star, |
| 1351 |
// 14 ratings with 2 star, and so on. |
| 1352 |
RatingHistogram []int32 `protobuf:"varint,3,rep,packed,name=rating_histogram,json=ratingHistogram,proto3" json:"rating_histogram,omitempty"` |
| 1353 |
} |
| 1354 |
|
| 1355 |
func (x *Rating) Reset() { |
| 1356 |
*x = Rating{} |
| 1357 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[9] |
| 1358 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1359 |
ms.StoreMessageInfo(mi) |
| 1360 |
} |
| 1361 |
|
| 1362 |
func (x *Rating) String() string { |
| 1363 |
return protoimpl.X.MessageStringOf(x) |
| 1364 |
} |
| 1365 |
|
| 1366 |
func (*Rating) ProtoMessage() {} |
| 1367 |
|
| 1368 |
func (x *Rating) ProtoReflect() protoreflect.Message { |
| 1369 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[9] |
| 1370 |
if x != nil { |
| 1371 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1372 |
if ms.LoadMessageInfo() == nil { |
| 1373 |
ms.StoreMessageInfo(mi) |
| 1374 |
} |
| 1375 |
return ms |
| 1376 |
} |
| 1377 |
return mi.MessageOf(x) |
| 1378 |
} |
| 1379 |
|
| 1380 |
// Deprecated: Use Rating.ProtoReflect.Descriptor instead. |
| 1381 |
func (*Rating) Descriptor() ([]byte, []int) { |
| 1382 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{9} |
| 1383 |
} |
| 1384 |
|
| 1385 |
func (x *Rating) GetRatingCount() int32 { |
| 1386 |
if x != nil { |
| 1387 |
return x.RatingCount |
| 1388 |
} |
| 1389 |
return 0 |
| 1390 |
} |
| 1391 |
|
| 1392 |
func (x *Rating) GetAverageRating() float32 { |
| 1393 |
if x != nil { |
| 1394 |
return x.AverageRating |
| 1395 |
} |
| 1396 |
return 0 |
| 1397 |
} |
| 1398 |
|
| 1399 |
func (x *Rating) GetRatingHistogram() []int32 { |
| 1400 |
if x != nil { |
| 1401 |
return x.RatingHistogram |
| 1402 |
} |
| 1403 |
return nil |
| 1404 |
} |
| 1405 |
|
| 1406 |
// Information of an end user. |
| 1407 |
type UserInfo struct { |
| 1408 |
state protoimpl.MessageState |
| 1409 |
sizeCache protoimpl.SizeCache |
| 1410 |
unknownFields protoimpl.UnknownFields |
| 1411 |
|
| 1412 |
// Highly recommended for logged-in users. Unique identifier for logged-in |
| 1413 |
// user, such as a user name. Don't set for anonymous users. |
| 1414 |
// |
| 1415 |
// Always use a hashed value for this ID. |
| 1416 |
// |
| 1417 |
// Don't set the field to the same fixed ID for different users. This mixes |
| 1418 |
// the event history of those users together, which results in degraded |
| 1419 |
// model quality. |
| 1420 |
// |
| 1421 |
// The field must be a UTF-8 encoded string with a length limit of 128 |
| 1422 |
// characters. Otherwise, an INVALID_ARGUMENT error is returned. |
| 1423 |
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` |
| 1424 |
// The end user's IP address. This field is used to extract location |
| 1425 |
// information for personalization. |
| 1426 |
// |
| 1427 |
// This field must be either an IPv4 address (e.g. "104.133.9.80") or an IPv6 |
| 1428 |
// address (e.g. "2001:0db8:85a3:0000:0000:8a2e:0370:7334"). Otherwise, an |
| 1429 |
// INVALID_ARGUMENT error is returned. |
| 1430 |
// |
| 1431 |
// This should not be set when: |
| 1432 |
// |
| 1433 |
// * setting |
| 1434 |
// [SearchRequest.user_info][google.cloud.retail.v2beta.SearchRequest.user_info]. |
| 1435 |
// * using the JavaScript tag in |
| 1436 |
// [UserEventService.CollectUserEvent][google.cloud.retail.v2beta.UserEventService.CollectUserEvent] |
| 1437 |
// or if |
| 1438 |
// [direct_user_request][google.cloud.retail.v2beta.UserInfo.direct_user_request] |
| 1439 |
// is set. |
| 1440 |
IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` |
| 1441 |
// User agent as included in the HTTP header. |
| 1442 |
// The field must be a UTF-8 encoded string with a length limit of 1,000 |
| 1443 |
// characters. Otherwise, an INVALID_ARGUMENT error is returned. |
| 1444 |
// |
| 1445 |
// This should not be set when using the client side event reporting with |
| 1446 |
// GTM or JavaScript tag in |
| 1447 |
// [UserEventService.CollectUserEvent][google.cloud.retail.v2beta.UserEventService.CollectUserEvent] |
| 1448 |
// or if |
| 1449 |
// [direct_user_request][google.cloud.retail.v2beta.UserInfo.direct_user_request] |
| 1450 |
// is set. |
| 1451 |
UserAgent string `protobuf:"bytes,3,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` |
| 1452 |
// True if the request is made directly from the end user, in which case the |
| 1453 |
// [ip_address][google.cloud.retail.v2beta.UserInfo.ip_address] and |
| 1454 |
// [user_agent][google.cloud.retail.v2beta.UserInfo.user_agent] can be |
| 1455 |
// populated from the HTTP request. This flag should be set only if the API |
| 1456 |
// request is made directly from the end user such as a mobile app (and not if |
| 1457 |
// a gateway or a server is processing and pushing the user events). |
| 1458 |
// |
| 1459 |
// This should not be set when using the JavaScript tag in |
| 1460 |
// [UserEventService.CollectUserEvent][google.cloud.retail.v2beta.UserEventService.CollectUserEvent]. |
| 1461 |
DirectUserRequest bool `protobuf:"varint,4,opt,name=direct_user_request,json=directUserRequest,proto3" json:"direct_user_request,omitempty"` |
| 1462 |
} |
| 1463 |
|
| 1464 |
func (x *UserInfo) Reset() { |
| 1465 |
*x = UserInfo{} |
| 1466 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[10] |
| 1467 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1468 |
ms.StoreMessageInfo(mi) |
| 1469 |
} |
| 1470 |
|
| 1471 |
func (x *UserInfo) String() string { |
| 1472 |
return protoimpl.X.MessageStringOf(x) |
| 1473 |
} |
| 1474 |
|
| 1475 |
func (*UserInfo) ProtoMessage() {} |
| 1476 |
|
| 1477 |
func (x *UserInfo) ProtoReflect() protoreflect.Message { |
| 1478 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[10] |
| 1479 |
if x != nil { |
| 1480 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1481 |
if ms.LoadMessageInfo() == nil { |
| 1482 |
ms.StoreMessageInfo(mi) |
| 1483 |
} |
| 1484 |
return ms |
| 1485 |
} |
| 1486 |
return mi.MessageOf(x) |
| 1487 |
} |
| 1488 |
|
| 1489 |
// Deprecated: Use UserInfo.ProtoReflect.Descriptor instead. |
| 1490 |
func (*UserInfo) Descriptor() ([]byte, []int) { |
| 1491 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{10} |
| 1492 |
} |
| 1493 |
|
| 1494 |
func (x *UserInfo) GetUserId() string { |
| 1495 |
if x != nil { |
| 1496 |
return x.UserId |
| 1497 |
} |
| 1498 |
return "" |
| 1499 |
} |
| 1500 |
|
| 1501 |
func (x *UserInfo) GetIpAddress() string { |
| 1502 |
if x != nil { |
| 1503 |
return x.IpAddress |
| 1504 |
} |
| 1505 |
return "" |
| 1506 |
} |
| 1507 |
|
| 1508 |
func (x *UserInfo) GetUserAgent() string { |
| 1509 |
if x != nil { |
| 1510 |
return x.UserAgent |
| 1511 |
} |
| 1512 |
return "" |
| 1513 |
} |
| 1514 |
|
| 1515 |
func (x *UserInfo) GetDirectUserRequest() bool { |
| 1516 |
if x != nil { |
| 1517 |
return x.DirectUserRequest |
| 1518 |
} |
| 1519 |
return false |
| 1520 |
} |
| 1521 |
|
| 1522 |
// The inventory information at a place (e.g. a store) identified |
| 1523 |
// by a place ID. |
| 1524 |
type LocalInventory struct { |
| 1525 |
state protoimpl.MessageState |
| 1526 |
sizeCache protoimpl.SizeCache |
| 1527 |
unknownFields protoimpl.UnknownFields |
| 1528 |
|
| 1529 |
// Optional. The place ID for the current set of inventory information. |
| 1530 |
PlaceId string `protobuf:"bytes,1,opt,name=place_id,json=placeId,proto3" json:"place_id,omitempty"` |
| 1531 |
// Optional. Product price and cost information. |
| 1532 |
// |
| 1533 |
// Google Merchant Center property |
| 1534 |
// [price](https://support.google.com/merchants/answer/6324371). |
| 1535 |
PriceInfo *PriceInfo `protobuf:"bytes,2,opt,name=price_info,json=priceInfo,proto3" json:"price_info,omitempty"` |
| 1536 |
// Optional. Additional local inventory attributes, for example, store name, |
| 1537 |
// promotion tags, etc. |
| 1538 |
// |
| 1539 |
// This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT |
| 1540 |
// error is returned: |
| 1541 |
// |
| 1542 |
// - At most 30 attributes are allowed. |
| 1543 |
// - The key must be a UTF-8 encoded string with a length limit of 32 |
| 1544 |
// characters. |
| 1545 |
// - The key must match the pattern: `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, |
| 1546 |
// key0LikeThis or KEY_1_LIKE_THIS. |
| 1547 |
// - The attribute values must be of the same type (text or number). |
| 1548 |
// - Only 1 value is allowed for each attribute. |
| 1549 |
// - For text values, the length limit is 256 UTF-8 characters. |
| 1550 |
// - The attribute does not support search. The `searchable` field should be |
| 1551 |
// unset or set to false. |
| 1552 |
// - The max summed total bytes of custom attribute keys and values per |
| 1553 |
// product is 5MiB. |
| 1554 |
Attributes map[string]*CustomAttribute `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1555 |
// Optional. Supported fulfillment types. Valid fulfillment type values |
| 1556 |
// include commonly used types (such as pickup in store and same day |
| 1557 |
// delivery), and custom types. Customers have to map custom types to their |
| 1558 |
// display names before rendering UI. |
| 1559 |
// |
| 1560 |
// Supported values: |
| 1561 |
// |
| 1562 |
// * "pickup-in-store" |
| 1563 |
// * "ship-to-store" |
| 1564 |
// * "same-day-delivery" |
| 1565 |
// * "next-day-delivery" |
| 1566 |
// * "custom-type-1" |
| 1567 |
// * "custom-type-2" |
| 1568 |
// * "custom-type-3" |
| 1569 |
// * "custom-type-4" |
| 1570 |
// * "custom-type-5" |
| 1571 |
// |
| 1572 |
// If this field is set to an invalid value other than these, an |
| 1573 |
// INVALID_ARGUMENT error is returned. |
| 1574 |
// |
| 1575 |
// All the elements must be distinct. Otherwise, an INVALID_ARGUMENT error is |
| 1576 |
// returned. |
| 1577 |
FulfillmentTypes []string `protobuf:"bytes,4,rep,name=fulfillment_types,json=fulfillmentTypes,proto3" json:"fulfillment_types,omitempty"` |
| 1578 |
} |
| 1579 |
|
| 1580 |
func (x *LocalInventory) Reset() { |
| 1581 |
*x = LocalInventory{} |
| 1582 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[11] |
| 1583 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1584 |
ms.StoreMessageInfo(mi) |
| 1585 |
} |
| 1586 |
|
| 1587 |
func (x *LocalInventory) String() string { |
| 1588 |
return protoimpl.X.MessageStringOf(x) |
| 1589 |
} |
| 1590 |
|
| 1591 |
func (*LocalInventory) ProtoMessage() {} |
| 1592 |
|
| 1593 |
func (x *LocalInventory) ProtoReflect() protoreflect.Message { |
| 1594 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[11] |
| 1595 |
if x != nil { |
| 1596 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1597 |
if ms.LoadMessageInfo() == nil { |
| 1598 |
ms.StoreMessageInfo(mi) |
| 1599 |
} |
| 1600 |
return ms |
| 1601 |
} |
| 1602 |
return mi.MessageOf(x) |
| 1603 |
} |
| 1604 |
|
| 1605 |
// Deprecated: Use LocalInventory.ProtoReflect.Descriptor instead. |
| 1606 |
func (*LocalInventory) Descriptor() ([]byte, []int) { |
| 1607 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{11} |
| 1608 |
} |
| 1609 |
|
| 1610 |
func (x *LocalInventory) GetPlaceId() string { |
| 1611 |
if x != nil { |
| 1612 |
return x.PlaceId |
| 1613 |
} |
| 1614 |
return "" |
| 1615 |
} |
| 1616 |
|
| 1617 |
func (x *LocalInventory) GetPriceInfo() *PriceInfo { |
| 1618 |
if x != nil { |
| 1619 |
return x.PriceInfo |
| 1620 |
} |
| 1621 |
return nil |
| 1622 |
} |
| 1623 |
|
| 1624 |
func (x *LocalInventory) GetAttributes() map[string]*CustomAttribute { |
| 1625 |
if x != nil { |
| 1626 |
return x.Attributes |
| 1627 |
} |
| 1628 |
return nil |
| 1629 |
} |
| 1630 |
|
| 1631 |
func (x *LocalInventory) GetFulfillmentTypes() []string { |
| 1632 |
if x != nil { |
| 1633 |
return x.FulfillmentTypes |
| 1634 |
} |
| 1635 |
return nil |
| 1636 |
} |
| 1637 |
|
| 1638 |
// Metadata for pinning to be returned in the response. |
| 1639 |
// This is used for distinguishing between applied vs dropped pins. |
| 1640 |
type PinControlMetadata struct { |
| 1641 |
state protoimpl.MessageState |
| 1642 |
sizeCache protoimpl.SizeCache |
| 1643 |
unknownFields protoimpl.UnknownFields |
| 1644 |
|
| 1645 |
// Map of all matched pins, keyed by pin position. |
| 1646 |
AllMatchedPins map[int64]*PinControlMetadata_ProductPins `protobuf:"bytes,1,rep,name=all_matched_pins,json=allMatchedPins,proto3" json:"all_matched_pins,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1647 |
// Map of pins that were dropped due to overlap with other matching pins, |
| 1648 |
// keyed by pin position. |
| 1649 |
DroppedPins map[int64]*PinControlMetadata_ProductPins `protobuf:"bytes,2,rep,name=dropped_pins,json=droppedPins,proto3" json:"dropped_pins,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1650 |
} |
| 1651 |
|
| 1652 |
func (x *PinControlMetadata) Reset() { |
| 1653 |
*x = PinControlMetadata{} |
| 1654 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[12] |
| 1655 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1656 |
ms.StoreMessageInfo(mi) |
| 1657 |
} |
| 1658 |
|
| 1659 |
func (x *PinControlMetadata) String() string { |
| 1660 |
return protoimpl.X.MessageStringOf(x) |
| 1661 |
} |
| 1662 |
|
| 1663 |
func (*PinControlMetadata) ProtoMessage() {} |
| 1664 |
|
| 1665 |
func (x *PinControlMetadata) ProtoReflect() protoreflect.Message { |
| 1666 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[12] |
| 1667 |
if x != nil { |
| 1668 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1669 |
if ms.LoadMessageInfo() == nil { |
| 1670 |
ms.StoreMessageInfo(mi) |
| 1671 |
} |
| 1672 |
return ms |
| 1673 |
} |
| 1674 |
return mi.MessageOf(x) |
| 1675 |
} |
| 1676 |
|
| 1677 |
// Deprecated: Use PinControlMetadata.ProtoReflect.Descriptor instead. |
| 1678 |
func (*PinControlMetadata) Descriptor() ([]byte, []int) { |
| 1679 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{12} |
| 1680 |
} |
| 1681 |
|
| 1682 |
func (x *PinControlMetadata) GetAllMatchedPins() map[int64]*PinControlMetadata_ProductPins { |
| 1683 |
if x != nil { |
| 1684 |
return x.AllMatchedPins |
| 1685 |
} |
| 1686 |
return nil |
| 1687 |
} |
| 1688 |
|
| 1689 |
func (x *PinControlMetadata) GetDroppedPins() map[int64]*PinControlMetadata_ProductPins { |
| 1690 |
if x != nil { |
| 1691 |
return x.DroppedPins |
| 1692 |
} |
| 1693 |
return nil |
| 1694 |
} |
| 1695 |
|
| 1696 |
// Query terms that we want to match on. |
| 1697 |
type Condition_QueryTerm struct { |
| 1698 |
state protoimpl.MessageState |
| 1699 |
sizeCache protoimpl.SizeCache |
| 1700 |
unknownFields protoimpl.UnknownFields |
| 1701 |
|
| 1702 |
// The value of the term to match on. |
| 1703 |
// Value cannot be empty. |
| 1704 |
// Value can have at most 3 terms if specified as a partial match. Each |
| 1705 |
// space separated string is considered as one term. |
| 1706 |
// For example, "a b c" is 3 terms and allowed, but " a b c d" is 4 terms |
| 1707 |
// and not allowed for a partial match. |
| 1708 |
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` |
| 1709 |
// Whether this is supposed to be a full or partial match. |
| 1710 |
FullMatch bool `protobuf:"varint,2,opt,name=full_match,json=fullMatch,proto3" json:"full_match,omitempty"` |
| 1711 |
} |
| 1712 |
|
| 1713 |
func (x *Condition_QueryTerm) Reset() { |
| 1714 |
*x = Condition_QueryTerm{} |
| 1715 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[13] |
| 1716 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1717 |
ms.StoreMessageInfo(mi) |
| 1718 |
} |
| 1719 |
|
| 1720 |
func (x *Condition_QueryTerm) String() string { |
| 1721 |
return protoimpl.X.MessageStringOf(x) |
| 1722 |
} |
| 1723 |
|
| 1724 |
func (*Condition_QueryTerm) ProtoMessage() {} |
| 1725 |
|
| 1726 |
func (x *Condition_QueryTerm) ProtoReflect() protoreflect.Message { |
| 1727 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[13] |
| 1728 |
if x != nil { |
| 1729 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1730 |
if ms.LoadMessageInfo() == nil { |
| 1731 |
ms.StoreMessageInfo(mi) |
| 1732 |
} |
| 1733 |
return ms |
| 1734 |
} |
| 1735 |
return mi.MessageOf(x) |
| 1736 |
} |
| 1737 |
|
| 1738 |
// Deprecated: Use Condition_QueryTerm.ProtoReflect.Descriptor instead. |
| 1739 |
func (*Condition_QueryTerm) Descriptor() ([]byte, []int) { |
| 1740 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{0, 0} |
| 1741 |
} |
| 1742 |
|
| 1743 |
func (x *Condition_QueryTerm) GetValue() string { |
| 1744 |
if x != nil { |
| 1745 |
return x.Value |
| 1746 |
} |
| 1747 |
return "" |
| 1748 |
} |
| 1749 |
|
| 1750 |
func (x *Condition_QueryTerm) GetFullMatch() bool { |
| 1751 |
if x != nil { |
| 1752 |
return x.FullMatch |
| 1753 |
} |
| 1754 |
return false |
| 1755 |
} |
| 1756 |
|
| 1757 |
// Used for time-dependent conditions. |
| 1758 |
// Example: Want to have rule applied for week long sale. |
| 1759 |
type Condition_TimeRange struct { |
| 1760 |
state protoimpl.MessageState |
| 1761 |
sizeCache protoimpl.SizeCache |
| 1762 |
unknownFields protoimpl.UnknownFields |
| 1763 |
|
| 1764 |
// Start of time range. Range is inclusive. |
| 1765 |
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` |
| 1766 |
// End of time range. Range is inclusive. |
| 1767 |
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` |
| 1768 |
} |
| 1769 |
|
| 1770 |
func (x *Condition_TimeRange) Reset() { |
| 1771 |
*x = Condition_TimeRange{} |
| 1772 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[14] |
| 1773 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1774 |
ms.StoreMessageInfo(mi) |
| 1775 |
} |
| 1776 |
|
| 1777 |
func (x *Condition_TimeRange) String() string { |
| 1778 |
return protoimpl.X.MessageStringOf(x) |
| 1779 |
} |
| 1780 |
|
| 1781 |
func (*Condition_TimeRange) ProtoMessage() {} |
| 1782 |
|
| 1783 |
func (x *Condition_TimeRange) ProtoReflect() protoreflect.Message { |
| 1784 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[14] |
| 1785 |
if x != nil { |
| 1786 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1787 |
if ms.LoadMessageInfo() == nil { |
| 1788 |
ms.StoreMessageInfo(mi) |
| 1789 |
} |
| 1790 |
return ms |
| 1791 |
} |
| 1792 |
return mi.MessageOf(x) |
| 1793 |
} |
| 1794 |
|
| 1795 |
// Deprecated: Use Condition_TimeRange.ProtoReflect.Descriptor instead. |
| 1796 |
func (*Condition_TimeRange) Descriptor() ([]byte, []int) { |
| 1797 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{0, 1} |
| 1798 |
} |
| 1799 |
|
| 1800 |
func (x *Condition_TimeRange) GetStartTime() *timestamppb.Timestamp { |
| 1801 |
if x != nil { |
| 1802 |
return x.StartTime |
| 1803 |
} |
| 1804 |
return nil |
| 1805 |
} |
| 1806 |
|
| 1807 |
func (x *Condition_TimeRange) GetEndTime() *timestamppb.Timestamp { |
| 1808 |
if x != nil { |
| 1809 |
return x.EndTime |
| 1810 |
} |
| 1811 |
return nil |
| 1812 |
} |
| 1813 |
|
| 1814 |
// A boost action to apply to results matching condition specified above. |
| 1815 |
type Rule_BoostAction struct { |
| 1816 |
state protoimpl.MessageState |
| 1817 |
sizeCache protoimpl.SizeCache |
| 1818 |
unknownFields protoimpl.UnknownFields |
| 1819 |
|
| 1820 |
// Strength of the condition boost, which must be in [-1, 1]. Negative |
| 1821 |
// boost means demotion. Default is 0.0. |
| 1822 |
// |
| 1823 |
// Setting to 1.0 gives the item a big promotion. However, it does not |
| 1824 |
// necessarily mean that the boosted item will be the top result at all |
| 1825 |
// times, nor that other items will be excluded. Results could still be |
| 1826 |
// shown even when none of them matches the condition. And results that |
| 1827 |
// are significantly more relevant to the search query can still trump |
| 1828 |
// your heavily favored but irrelevant items. |
| 1829 |
// |
| 1830 |
// Setting to -1.0 gives the item a big demotion. However, results that |
| 1831 |
// are deeply relevant might still be shown. The item will have an |
| 1832 |
// upstream battle to get a fairly high ranking, but it is not blocked out |
| 1833 |
// completely. |
| 1834 |
// |
| 1835 |
// Setting to 0.0 means no boost applied. The boosting condition is |
| 1836 |
// ignored. |
| 1837 |
Boost float32 `protobuf:"fixed32,1,opt,name=boost,proto3" json:"boost,omitempty"` |
| 1838 |
// The filter can have a max size of 5000 characters. |
| 1839 |
// An expression which specifies which products to apply an action to. |
| 1840 |
// The syntax and supported fields are the same as a filter expression. See |
| 1841 |
// [SearchRequest.filter][google.cloud.retail.v2beta.SearchRequest.filter] |
| 1842 |
// for detail syntax and limitations. |
| 1843 |
// |
| 1844 |
// Examples: |
| 1845 |
// |
| 1846 |
// * To boost products with product ID "product_1" or "product_2", and |
| 1847 |
// color |
| 1848 |
// |
| 1849 |
// "Red" or "Blue":<br> |
| 1850 |
// *(id: ANY("product_1", "product_2"))<br>* |
| 1851 |
// *AND<br>* |
| 1852 |
// *(colorFamilies: ANY("Red", "Blue"))<br>* |
| 1853 |
ProductsFilter string `protobuf:"bytes,2,opt,name=products_filter,json=productsFilter,proto3" json:"products_filter,omitempty"` |
| 1854 |
} |
| 1855 |
|
| 1856 |
func (x *Rule_BoostAction) Reset() { |
| 1857 |
*x = Rule_BoostAction{} |
| 1858 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[15] |
| 1859 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1860 |
ms.StoreMessageInfo(mi) |
| 1861 |
} |
| 1862 |
|
| 1863 |
func (x *Rule_BoostAction) String() string { |
| 1864 |
return protoimpl.X.MessageStringOf(x) |
| 1865 |
} |
| 1866 |
|
| 1867 |
func (*Rule_BoostAction) ProtoMessage() {} |
| 1868 |
|
| 1869 |
func (x *Rule_BoostAction) ProtoReflect() protoreflect.Message { |
| 1870 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[15] |
| 1871 |
if x != nil { |
| 1872 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1873 |
if ms.LoadMessageInfo() == nil { |
| 1874 |
ms.StoreMessageInfo(mi) |
| 1875 |
} |
| 1876 |
return ms |
| 1877 |
} |
| 1878 |
return mi.MessageOf(x) |
| 1879 |
} |
| 1880 |
|
| 1881 |
// Deprecated: Use Rule_BoostAction.ProtoReflect.Descriptor instead. |
| 1882 |
func (*Rule_BoostAction) Descriptor() ([]byte, []int) { |
| 1883 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{1, 0} |
| 1884 |
} |
| 1885 |
|
| 1886 |
func (x *Rule_BoostAction) GetBoost() float32 { |
| 1887 |
if x != nil { |
| 1888 |
return x.Boost |
| 1889 |
} |
| 1890 |
return 0 |
| 1891 |
} |
| 1892 |
|
| 1893 |
func (x *Rule_BoostAction) GetProductsFilter() string { |
| 1894 |
if x != nil { |
| 1895 |
return x.ProductsFilter |
| 1896 |
} |
| 1897 |
return "" |
| 1898 |
} |
| 1899 |
|
| 1900 |
// * Rule Condition: |
| 1901 |
// - No |
| 1902 |
// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] |
| 1903 |
// provided is a global match. |
| 1904 |
// - 1 or more |
| 1905 |
// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] |
| 1906 |
// provided are combined with OR operator. |
| 1907 |
// |
| 1908 |
// * Action Input: The request query and filter that are applied to the |
| 1909 |
// retrieved products, in addition to any filters already provided with the |
| 1910 |
// SearchRequest. The AND operator is used to combine the query's existing |
| 1911 |
// filters with the filter rule(s). NOTE: May result in 0 results when |
| 1912 |
// filters conflict. |
| 1913 |
// |
| 1914 |
// * Action Result: Filters the returned objects to be ONLY those that passed |
| 1915 |
// the filter. |
| 1916 |
type Rule_FilterAction struct { |
| 1917 |
state protoimpl.MessageState |
| 1918 |
sizeCache protoimpl.SizeCache |
| 1919 |
unknownFields protoimpl.UnknownFields |
| 1920 |
|
| 1921 |
// A filter to apply on the matching condition results. Supported features: |
| 1922 |
// |
| 1923 |
// * [filter][google.cloud.retail.v2beta.Rule.FilterAction.filter] must be |
| 1924 |
// set. |
| 1925 |
// * Filter syntax is identical to |
| 1926 |
// [SearchRequest.filter][google.cloud.retail.v2beta.SearchRequest.filter]. |
| 1927 |
// For more |
| 1928 |
// |
| 1929 |
// information, see [Filter](/retail/docs/filter-and-order#filter). |
| 1930 |
// |
| 1931 |
// * To filter products with product ID "product_1" or "product_2", and |
| 1932 |
// color |
| 1933 |
// |
| 1934 |
// "Red" or "Blue":<br> |
| 1935 |
// *(id: ANY("product_1", "product_2"))<br>* |
| 1936 |
// *AND<br>* |
| 1937 |
// *(colorFamilies: ANY("Red", "Blue"))<br>* |
| 1938 |
Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` |
| 1939 |
} |
| 1940 |
|
| 1941 |
func (x *Rule_FilterAction) Reset() { |
| 1942 |
*x = Rule_FilterAction{} |
| 1943 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[16] |
| 1944 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1945 |
ms.StoreMessageInfo(mi) |
| 1946 |
} |
| 1947 |
|
| 1948 |
func (x *Rule_FilterAction) String() string { |
| 1949 |
return protoimpl.X.MessageStringOf(x) |
| 1950 |
} |
| 1951 |
|
| 1952 |
func (*Rule_FilterAction) ProtoMessage() {} |
| 1953 |
|
| 1954 |
func (x *Rule_FilterAction) ProtoReflect() protoreflect.Message { |
| 1955 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[16] |
| 1956 |
if x != nil { |
| 1957 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1958 |
if ms.LoadMessageInfo() == nil { |
| 1959 |
ms.StoreMessageInfo(mi) |
| 1960 |
} |
| 1961 |
return ms |
| 1962 |
} |
| 1963 |
return mi.MessageOf(x) |
| 1964 |
} |
| 1965 |
|
| 1966 |
// Deprecated: Use Rule_FilterAction.ProtoReflect.Descriptor instead. |
| 1967 |
func (*Rule_FilterAction) Descriptor() ([]byte, []int) { |
| 1968 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{1, 1} |
| 1969 |
} |
| 1970 |
|
| 1971 |
func (x *Rule_FilterAction) GetFilter() string { |
| 1972 |
if x != nil { |
| 1973 |
return x.Filter |
| 1974 |
} |
| 1975 |
return "" |
| 1976 |
} |
| 1977 |
|
| 1978 |
// Redirects a shopper to a specific page. |
| 1979 |
// |
| 1980 |
// - Rule Condition: |
| 1981 |
// Must specify |
| 1982 |
// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms]. |
| 1983 |
// - Action Input: Request Query |
| 1984 |
// - Action Result: Redirects shopper to provided uri. |
| 1985 |
type Rule_RedirectAction struct { |
| 1986 |
state protoimpl.MessageState |
| 1987 |
sizeCache protoimpl.SizeCache |
| 1988 |
unknownFields protoimpl.UnknownFields |
| 1989 |
|
| 1990 |
// URL must have length equal or less than 2000 characters. |
| 1991 |
RedirectUri string `protobuf:"bytes,1,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"` |
| 1992 |
} |
| 1993 |
|
| 1994 |
func (x *Rule_RedirectAction) Reset() { |
| 1995 |
*x = Rule_RedirectAction{} |
| 1996 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[17] |
| 1997 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1998 |
ms.StoreMessageInfo(mi) |
| 1999 |
} |
| 2000 |
|
| 2001 |
func (x *Rule_RedirectAction) String() string { |
| 2002 |
return protoimpl.X.MessageStringOf(x) |
| 2003 |
} |
| 2004 |
|
| 2005 |
func (*Rule_RedirectAction) ProtoMessage() {} |
| 2006 |
|
| 2007 |
func (x *Rule_RedirectAction) ProtoReflect() protoreflect.Message { |
| 2008 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[17] |
| 2009 |
if x != nil { |
| 2010 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2011 |
if ms.LoadMessageInfo() == nil { |
| 2012 |
ms.StoreMessageInfo(mi) |
| 2013 |
} |
| 2014 |
return ms |
| 2015 |
} |
| 2016 |
return mi.MessageOf(x) |
| 2017 |
} |
| 2018 |
|
| 2019 |
// Deprecated: Use Rule_RedirectAction.ProtoReflect.Descriptor instead. |
| 2020 |
func (*Rule_RedirectAction) Descriptor() ([]byte, []int) { |
| 2021 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{1, 2} |
| 2022 |
} |
| 2023 |
|
| 2024 |
func (x *Rule_RedirectAction) GetRedirectUri() string { |
| 2025 |
if x != nil { |
| 2026 |
return x.RedirectUri |
| 2027 |
} |
| 2028 |
return "" |
| 2029 |
} |
| 2030 |
|
| 2031 |
// Creates a set of terms that will be treated as synonyms of each other. |
| 2032 |
// Example: synonyms of "sneakers" and "shoes": |
| 2033 |
// |
| 2034 |
// - "sneakers" will use a synonym of "shoes". |
| 2035 |
// - "shoes" will use a synonym of "sneakers". |
| 2036 |
type Rule_TwowaySynonymsAction struct { |
| 2037 |
state protoimpl.MessageState |
| 2038 |
sizeCache protoimpl.SizeCache |
| 2039 |
unknownFields protoimpl.UnknownFields |
| 2040 |
|
| 2041 |
// Defines a set of synonyms. |
| 2042 |
// Can specify up to 100 synonyms. |
| 2043 |
// Must specify at least 2 synonyms. |
| 2044 |
Synonyms []string `protobuf:"bytes,1,rep,name=synonyms,proto3" json:"synonyms,omitempty"` |
| 2045 |
} |
| 2046 |
|
| 2047 |
func (x *Rule_TwowaySynonymsAction) Reset() { |
| 2048 |
*x = Rule_TwowaySynonymsAction{} |
| 2049 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[18] |
| 2050 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2051 |
ms.StoreMessageInfo(mi) |
| 2052 |
} |
| 2053 |
|
| 2054 |
func (x *Rule_TwowaySynonymsAction) String() string { |
| 2055 |
return protoimpl.X.MessageStringOf(x) |
| 2056 |
} |
| 2057 |
|
| 2058 |
func (*Rule_TwowaySynonymsAction) ProtoMessage() {} |
| 2059 |
|
| 2060 |
func (x *Rule_TwowaySynonymsAction) ProtoReflect() protoreflect.Message { |
| 2061 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[18] |
| 2062 |
if x != nil { |
| 2063 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2064 |
if ms.LoadMessageInfo() == nil { |
| 2065 |
ms.StoreMessageInfo(mi) |
| 2066 |
} |
| 2067 |
return ms |
| 2068 |
} |
| 2069 |
return mi.MessageOf(x) |
| 2070 |
} |
| 2071 |
|
| 2072 |
// Deprecated: Use Rule_TwowaySynonymsAction.ProtoReflect.Descriptor instead. |
| 2073 |
func (*Rule_TwowaySynonymsAction) Descriptor() ([]byte, []int) { |
| 2074 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{1, 3} |
| 2075 |
} |
| 2076 |
|
| 2077 |
func (x *Rule_TwowaySynonymsAction) GetSynonyms() []string { |
| 2078 |
if x != nil { |
| 2079 |
return x.Synonyms |
| 2080 |
} |
| 2081 |
return nil |
| 2082 |
} |
| 2083 |
|
| 2084 |
// Maps a set of terms to a set of synonyms. |
| 2085 |
// Set of synonyms will be treated as synonyms of each query term only. |
| 2086 |
// `query_terms` will not be treated as synonyms of each other. |
| 2087 |
// Example: "sneakers" will use a synonym of "shoes". |
| 2088 |
// "shoes" will not use a synonym of "sneakers". |
| 2089 |
type Rule_OnewaySynonymsAction struct { |
| 2090 |
state protoimpl.MessageState |
| 2091 |
sizeCache protoimpl.SizeCache |
| 2092 |
unknownFields protoimpl.UnknownFields |
| 2093 |
|
| 2094 |
// Terms from the search query. |
| 2095 |
// Will treat synonyms as their synonyms. |
| 2096 |
// Not themselves synonyms of the synonyms. |
| 2097 |
// Can specify up to 100 terms. |
| 2098 |
QueryTerms []string `protobuf:"bytes,3,rep,name=query_terms,json=queryTerms,proto3" json:"query_terms,omitempty"` |
| 2099 |
// Defines a set of synonyms. |
| 2100 |
// Cannot contain duplicates. |
| 2101 |
// Can specify up to 100 synonyms. |
| 2102 |
Synonyms []string `protobuf:"bytes,4,rep,name=synonyms,proto3" json:"synonyms,omitempty"` |
| 2103 |
// Will be [deprecated = true] post migration; |
| 2104 |
OnewayTerms []string `protobuf:"bytes,2,rep,name=oneway_terms,json=onewayTerms,proto3" json:"oneway_terms,omitempty"` |
| 2105 |
} |
| 2106 |
|
| 2107 |
func (x *Rule_OnewaySynonymsAction) Reset() { |
| 2108 |
*x = Rule_OnewaySynonymsAction{} |
| 2109 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[19] |
| 2110 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2111 |
ms.StoreMessageInfo(mi) |
| 2112 |
} |
| 2113 |
|
| 2114 |
func (x *Rule_OnewaySynonymsAction) String() string { |
| 2115 |
return protoimpl.X.MessageStringOf(x) |
| 2116 |
} |
| 2117 |
|
| 2118 |
func (*Rule_OnewaySynonymsAction) ProtoMessage() {} |
| 2119 |
|
| 2120 |
func (x *Rule_OnewaySynonymsAction) ProtoReflect() protoreflect.Message { |
| 2121 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[19] |
| 2122 |
if x != nil { |
| 2123 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2124 |
if ms.LoadMessageInfo() == nil { |
| 2125 |
ms.StoreMessageInfo(mi) |
| 2126 |
} |
| 2127 |
return ms |
| 2128 |
} |
| 2129 |
return mi.MessageOf(x) |
| 2130 |
} |
| 2131 |
|
| 2132 |
// Deprecated: Use Rule_OnewaySynonymsAction.ProtoReflect.Descriptor instead. |
| 2133 |
func (*Rule_OnewaySynonymsAction) Descriptor() ([]byte, []int) { |
| 2134 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{1, 4} |
| 2135 |
} |
| 2136 |
|
| 2137 |
func (x *Rule_OnewaySynonymsAction) GetQueryTerms() []string { |
| 2138 |
if x != nil { |
| 2139 |
return x.QueryTerms |
| 2140 |
} |
| 2141 |
return nil |
| 2142 |
} |
| 2143 |
|
| 2144 |
func (x *Rule_OnewaySynonymsAction) GetSynonyms() []string { |
| 2145 |
if x != nil { |
| 2146 |
return x.Synonyms |
| 2147 |
} |
| 2148 |
return nil |
| 2149 |
} |
| 2150 |
|
| 2151 |
func (x *Rule_OnewaySynonymsAction) GetOnewayTerms() []string { |
| 2152 |
if x != nil { |
| 2153 |
return x.OnewayTerms |
| 2154 |
} |
| 2155 |
return nil |
| 2156 |
} |
| 2157 |
|
| 2158 |
// Prevents `query_term` from being associated with specified terms during |
| 2159 |
// search. |
| 2160 |
// Example: Don't associate "gShoe" and "cheap". |
| 2161 |
type Rule_DoNotAssociateAction struct { |
| 2162 |
state protoimpl.MessageState |
| 2163 |
sizeCache protoimpl.SizeCache |
| 2164 |
unknownFields protoimpl.UnknownFields |
| 2165 |
|
| 2166 |
// Terms from the search query. |
| 2167 |
// Will not consider do_not_associate_terms for search if in search query. |
| 2168 |
// Can specify up to 100 terms. |
| 2169 |
QueryTerms []string `protobuf:"bytes,2,rep,name=query_terms,json=queryTerms,proto3" json:"query_terms,omitempty"` |
| 2170 |
// Cannot contain duplicates or the query term. |
| 2171 |
// Can specify up to 100 terms. |
| 2172 |
DoNotAssociateTerms []string `protobuf:"bytes,3,rep,name=do_not_associate_terms,json=doNotAssociateTerms,proto3" json:"do_not_associate_terms,omitempty"` |
| 2173 |
// Will be [deprecated = true] post migration; |
| 2174 |
Terms []string `protobuf:"bytes,1,rep,name=terms,proto3" json:"terms,omitempty"` |
| 2175 |
} |
| 2176 |
|
| 2177 |
func (x *Rule_DoNotAssociateAction) Reset() { |
| 2178 |
*x = Rule_DoNotAssociateAction{} |
| 2179 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[20] |
| 2180 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2181 |
ms.StoreMessageInfo(mi) |
| 2182 |
} |
| 2183 |
|
| 2184 |
func (x *Rule_DoNotAssociateAction) String() string { |
| 2185 |
return protoimpl.X.MessageStringOf(x) |
| 2186 |
} |
| 2187 |
|
| 2188 |
func (*Rule_DoNotAssociateAction) ProtoMessage() {} |
| 2189 |
|
| 2190 |
func (x *Rule_DoNotAssociateAction) ProtoReflect() protoreflect.Message { |
| 2191 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[20] |
| 2192 |
if x != nil { |
| 2193 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2194 |
if ms.LoadMessageInfo() == nil { |
| 2195 |
ms.StoreMessageInfo(mi) |
| 2196 |
} |
| 2197 |
return ms |
| 2198 |
} |
| 2199 |
return mi.MessageOf(x) |
| 2200 |
} |
| 2201 |
|
| 2202 |
// Deprecated: Use Rule_DoNotAssociateAction.ProtoReflect.Descriptor instead. |
| 2203 |
func (*Rule_DoNotAssociateAction) Descriptor() ([]byte, []int) { |
| 2204 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{1, 5} |
| 2205 |
} |
| 2206 |
|
| 2207 |
func (x *Rule_DoNotAssociateAction) GetQueryTerms() []string { |
| 2208 |
if x != nil { |
| 2209 |
return x.QueryTerms |
| 2210 |
} |
| 2211 |
return nil |
| 2212 |
} |
| 2213 |
|
| 2214 |
func (x *Rule_DoNotAssociateAction) GetDoNotAssociateTerms() []string { |
| 2215 |
if x != nil { |
| 2216 |
return x.DoNotAssociateTerms |
| 2217 |
} |
| 2218 |
return nil |
| 2219 |
} |
| 2220 |
|
| 2221 |
func (x *Rule_DoNotAssociateAction) GetTerms() []string { |
| 2222 |
if x != nil { |
| 2223 |
return x.Terms |
| 2224 |
} |
| 2225 |
return nil |
| 2226 |
} |
| 2227 |
|
| 2228 |
// Replaces a term in the query. Multiple replacement candidates can be |
| 2229 |
// specified. All `query_terms` will be replaced with the replacement term. |
| 2230 |
// Example: Replace "gShoe" with "google shoe". |
| 2231 |
type Rule_ReplacementAction struct { |
| 2232 |
state protoimpl.MessageState |
| 2233 |
sizeCache protoimpl.SizeCache |
| 2234 |
unknownFields protoimpl.UnknownFields |
| 2235 |
|
| 2236 |
// Terms from the search query. |
| 2237 |
// Will be replaced by replacement term. |
| 2238 |
// Can specify up to 100 terms. |
| 2239 |
QueryTerms []string `protobuf:"bytes,2,rep,name=query_terms,json=queryTerms,proto3" json:"query_terms,omitempty"` |
| 2240 |
// Term that will be used for replacement. |
| 2241 |
ReplacementTerm string `protobuf:"bytes,3,opt,name=replacement_term,json=replacementTerm,proto3" json:"replacement_term,omitempty"` |
| 2242 |
// Will be [deprecated = true] post migration; |
| 2243 |
Term string `protobuf:"bytes,1,opt,name=term,proto3" json:"term,omitempty"` |
| 2244 |
} |
| 2245 |
|
| 2246 |
func (x *Rule_ReplacementAction) Reset() { |
| 2247 |
*x = Rule_ReplacementAction{} |
| 2248 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[21] |
| 2249 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2250 |
ms.StoreMessageInfo(mi) |
| 2251 |
} |
| 2252 |
|
| 2253 |
func (x *Rule_ReplacementAction) String() string { |
| 2254 |
return protoimpl.X.MessageStringOf(x) |
| 2255 |
} |
| 2256 |
|
| 2257 |
func (*Rule_ReplacementAction) ProtoMessage() {} |
| 2258 |
|
| 2259 |
func (x *Rule_ReplacementAction) ProtoReflect() protoreflect.Message { |
| 2260 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[21] |
| 2261 |
if x != nil { |
| 2262 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2263 |
if ms.LoadMessageInfo() == nil { |
| 2264 |
ms.StoreMessageInfo(mi) |
| 2265 |
} |
| 2266 |
return ms |
| 2267 |
} |
| 2268 |
return mi.MessageOf(x) |
| 2269 |
} |
| 2270 |
|
| 2271 |
// Deprecated: Use Rule_ReplacementAction.ProtoReflect.Descriptor instead. |
| 2272 |
func (*Rule_ReplacementAction) Descriptor() ([]byte, []int) { |
| 2273 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{1, 6} |
| 2274 |
} |
| 2275 |
|
| 2276 |
func (x *Rule_ReplacementAction) GetQueryTerms() []string { |
| 2277 |
if x != nil { |
| 2278 |
return x.QueryTerms |
| 2279 |
} |
| 2280 |
return nil |
| 2281 |
} |
| 2282 |
|
| 2283 |
func (x *Rule_ReplacementAction) GetReplacementTerm() string { |
| 2284 |
if x != nil { |
| 2285 |
return x.ReplacementTerm |
| 2286 |
} |
| 2287 |
return "" |
| 2288 |
} |
| 2289 |
|
| 2290 |
func (x *Rule_ReplacementAction) GetTerm() string { |
| 2291 |
if x != nil { |
| 2292 |
return x.Term |
| 2293 |
} |
| 2294 |
return "" |
| 2295 |
} |
| 2296 |
|
| 2297 |
// Prevents a term in the query from being used in search. |
| 2298 |
// Example: Don't search for "shoddy". |
| 2299 |
type Rule_IgnoreAction struct { |
| 2300 |
state protoimpl.MessageState |
| 2301 |
sizeCache protoimpl.SizeCache |
| 2302 |
unknownFields protoimpl.UnknownFields |
| 2303 |
|
| 2304 |
// Terms to ignore in the search query. |
| 2305 |
IgnoreTerms []string `protobuf:"bytes,1,rep,name=ignore_terms,json=ignoreTerms,proto3" json:"ignore_terms,omitempty"` |
| 2306 |
} |
| 2307 |
|
| 2308 |
func (x *Rule_IgnoreAction) Reset() { |
| 2309 |
*x = Rule_IgnoreAction{} |
| 2310 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[22] |
| 2311 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2312 |
ms.StoreMessageInfo(mi) |
| 2313 |
} |
| 2314 |
|
| 2315 |
func (x *Rule_IgnoreAction) String() string { |
| 2316 |
return protoimpl.X.MessageStringOf(x) |
| 2317 |
} |
| 2318 |
|
| 2319 |
func (*Rule_IgnoreAction) ProtoMessage() {} |
| 2320 |
|
| 2321 |
func (x *Rule_IgnoreAction) ProtoReflect() protoreflect.Message { |
| 2322 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[22] |
| 2323 |
if x != nil { |
| 2324 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2325 |
if ms.LoadMessageInfo() == nil { |
| 2326 |
ms.StoreMessageInfo(mi) |
| 2327 |
} |
| 2328 |
return ms |
| 2329 |
} |
| 2330 |
return mi.MessageOf(x) |
| 2331 |
} |
| 2332 |
|
| 2333 |
// Deprecated: Use Rule_IgnoreAction.ProtoReflect.Descriptor instead. |
| 2334 |
func (*Rule_IgnoreAction) Descriptor() ([]byte, []int) { |
| 2335 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{1, 7} |
| 2336 |
} |
| 2337 |
|
| 2338 |
func (x *Rule_IgnoreAction) GetIgnoreTerms() []string { |
| 2339 |
if x != nil { |
| 2340 |
return x.IgnoreTerms |
| 2341 |
} |
| 2342 |
return nil |
| 2343 |
} |
| 2344 |
|
| 2345 |
// Force returns an attribute/facet in the request around a certain position |
| 2346 |
// or above. |
| 2347 |
// |
| 2348 |
// - Rule Condition: |
| 2349 |
// Must specify non-empty |
| 2350 |
// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] |
| 2351 |
// (for search only) or |
| 2352 |
// [Condition.page_categories][google.cloud.retail.v2beta.Condition.page_categories] |
| 2353 |
// (for browse only), but can't specify both. |
| 2354 |
// |
| 2355 |
// * Action Inputs: attribute name, position |
| 2356 |
// |
| 2357 |
// * Action Result: Will force return a facet key around a certain position |
| 2358 |
// or above if the condition is satisfied. |
| 2359 |
// |
| 2360 |
// Example: Suppose the query is "shoes", the |
| 2361 |
// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] |
| 2362 |
// is "shoes", the |
| 2363 |
// [ForceReturnFacetAction.FacetPositionAdjustment.attribute_name][google.cloud.retail.v2beta.Rule.ForceReturnFacetAction.FacetPositionAdjustment.attribute_name] |
| 2364 |
// is "size" and the |
| 2365 |
// [ForceReturnFacetAction.FacetPositionAdjustment.position][google.cloud.retail.v2beta.Rule.ForceReturnFacetAction.FacetPositionAdjustment.position] |
| 2366 |
// is 8. |
| 2367 |
// |
| 2368 |
// Two cases: a) The facet key "size" is not already in the top 8 slots, then |
| 2369 |
// the facet "size" will appear at a position close to 8. b) The facet key |
| 2370 |
// "size" in among the top 8 positions in the request, then it will stay at |
| 2371 |
// its current rank. |
| 2372 |
type Rule_ForceReturnFacetAction struct { |
| 2373 |
state protoimpl.MessageState |
| 2374 |
sizeCache protoimpl.SizeCache |
| 2375 |
unknownFields protoimpl.UnknownFields |
| 2376 |
|
| 2377 |
// Each instance corresponds to a force return attribute for the given |
| 2378 |
// condition. There can't be more 15 instances here. |
| 2379 |
FacetPositionAdjustments []*Rule_ForceReturnFacetAction_FacetPositionAdjustment `protobuf:"bytes,1,rep,name=facet_position_adjustments,json=facetPositionAdjustments,proto3" json:"facet_position_adjustments,omitempty"` |
| 2380 |
} |
| 2381 |
|
| 2382 |
func (x *Rule_ForceReturnFacetAction) Reset() { |
| 2383 |
*x = Rule_ForceReturnFacetAction{} |
| 2384 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[23] |
| 2385 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2386 |
ms.StoreMessageInfo(mi) |
| 2387 |
} |
| 2388 |
|
| 2389 |
func (x *Rule_ForceReturnFacetAction) String() string { |
| 2390 |
return protoimpl.X.MessageStringOf(x) |
| 2391 |
} |
| 2392 |
|
| 2393 |
func (*Rule_ForceReturnFacetAction) ProtoMessage() {} |
| 2394 |
|
| 2395 |
func (x *Rule_ForceReturnFacetAction) ProtoReflect() protoreflect.Message { |
| 2396 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[23] |
| 2397 |
if x != nil { |
| 2398 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2399 |
if ms.LoadMessageInfo() == nil { |
| 2400 |
ms.StoreMessageInfo(mi) |
| 2401 |
} |
| 2402 |
return ms |
| 2403 |
} |
| 2404 |
return mi.MessageOf(x) |
| 2405 |
} |
| 2406 |
|
| 2407 |
// Deprecated: Use Rule_ForceReturnFacetAction.ProtoReflect.Descriptor instead. |
| 2408 |
func (*Rule_ForceReturnFacetAction) Descriptor() ([]byte, []int) { |
| 2409 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{1, 8} |
| 2410 |
} |
| 2411 |
|
| 2412 |
func (x *Rule_ForceReturnFacetAction) GetFacetPositionAdjustments() []*Rule_ForceReturnFacetAction_FacetPositionAdjustment { |
| 2413 |
if x != nil { |
| 2414 |
return x.FacetPositionAdjustments |
| 2415 |
} |
| 2416 |
return nil |
| 2417 |
} |
| 2418 |
|
| 2419 |
// Removes an attribute/facet in the request if is present. |
| 2420 |
// |
| 2421 |
// - Rule Condition: |
| 2422 |
// Must specify non-empty |
| 2423 |
// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] |
| 2424 |
// (for search only) or |
| 2425 |
// [Condition.page_categories][google.cloud.retail.v2beta.Condition.page_categories] |
| 2426 |
// (for browse only), but can't specify both. |
| 2427 |
// |
| 2428 |
// * Action Input: attribute name |
| 2429 |
// |
| 2430 |
// * Action Result: Will remove the attribute (as a facet) from the request |
| 2431 |
// if it is present. |
| 2432 |
// |
| 2433 |
// Example: Suppose the query is "shoes", the |
| 2434 |
// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] |
| 2435 |
// is "shoes" and the attribute name "size", then facet key "size" will be |
| 2436 |
// removed from the request (if it is present). |
| 2437 |
type Rule_RemoveFacetAction struct { |
| 2438 |
state protoimpl.MessageState |
| 2439 |
sizeCache protoimpl.SizeCache |
| 2440 |
unknownFields protoimpl.UnknownFields |
| 2441 |
|
| 2442 |
// The attribute names (i.e. facet keys) to remove from the dynamic facets |
| 2443 |
// (if present in the request). There can't be more 3 attribute names. |
| 2444 |
// Each attribute name should be a valid attribute name, be non-empty and |
| 2445 |
// contain at most 80 characters. |
| 2446 |
AttributeNames []string `protobuf:"bytes,1,rep,name=attribute_names,json=attributeNames,proto3" json:"attribute_names,omitempty"` |
| 2447 |
} |
| 2448 |
|
| 2449 |
func (x *Rule_RemoveFacetAction) Reset() { |
| 2450 |
*x = Rule_RemoveFacetAction{} |
| 2451 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[24] |
| 2452 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2453 |
ms.StoreMessageInfo(mi) |
| 2454 |
} |
| 2455 |
|
| 2456 |
func (x *Rule_RemoveFacetAction) String() string { |
| 2457 |
return protoimpl.X.MessageStringOf(x) |
| 2458 |
} |
| 2459 |
|
| 2460 |
func (*Rule_RemoveFacetAction) ProtoMessage() {} |
| 2461 |
|
| 2462 |
func (x *Rule_RemoveFacetAction) ProtoReflect() protoreflect.Message { |
| 2463 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[24] |
| 2464 |
if x != nil { |
| 2465 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2466 |
if ms.LoadMessageInfo() == nil { |
| 2467 |
ms.StoreMessageInfo(mi) |
| 2468 |
} |
| 2469 |
return ms |
| 2470 |
} |
| 2471 |
return mi.MessageOf(x) |
| 2472 |
} |
| 2473 |
|
| 2474 |
// Deprecated: Use Rule_RemoveFacetAction.ProtoReflect.Descriptor instead. |
| 2475 |
func (*Rule_RemoveFacetAction) Descriptor() ([]byte, []int) { |
| 2476 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{1, 9} |
| 2477 |
} |
| 2478 |
|
| 2479 |
func (x *Rule_RemoveFacetAction) GetAttributeNames() []string { |
| 2480 |
if x != nil { |
| 2481 |
return x.AttributeNames |
| 2482 |
} |
| 2483 |
return nil |
| 2484 |
} |
| 2485 |
|
| 2486 |
// Pins one or more specified products to a specific position in the |
| 2487 |
// results. |
| 2488 |
// |
| 2489 |
// - Rule Condition: |
| 2490 |
// Must specify non-empty |
| 2491 |
// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] |
| 2492 |
// (for search only) or |
| 2493 |
// [Condition.page_categories][google.cloud.retail.v2beta.Condition.page_categories] |
| 2494 |
// (for browse only), but can't specify both. |
| 2495 |
// |
| 2496 |
// * Action Input: mapping of `[pin_position, product_id]` pairs (pin position |
| 2497 |
// uses 1-based indexing). |
| 2498 |
// |
| 2499 |
// * Action Result: Will pin products with matching ids to the position |
| 2500 |
// specified in the final result order. |
| 2501 |
// |
| 2502 |
// Example: Suppose the query is `shoes`, the |
| 2503 |
// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] |
| 2504 |
// is `shoes` and the pin_map has `{1, "pid1"}`, then product with `pid1` will |
| 2505 |
// be pinned to the top position in the final results. |
| 2506 |
// |
| 2507 |
// If multiple PinActions are matched to a single request the actions will |
| 2508 |
// be processed from most to least recently updated. |
| 2509 |
// |
| 2510 |
// Pins to positions larger than the max allowed page size of 120 are not |
| 2511 |
// allowed. |
| 2512 |
type Rule_PinAction struct { |
| 2513 |
state protoimpl.MessageState |
| 2514 |
sizeCache protoimpl.SizeCache |
| 2515 |
unknownFields protoimpl.UnknownFields |
| 2516 |
|
| 2517 |
// Required. A map of positions to product_ids. |
| 2518 |
// |
| 2519 |
// Partial matches per action are allowed, if a certain position in the map |
| 2520 |
// is already filled that `[position, product_id]` pair will be ignored |
| 2521 |
// but the rest may still be applied. This case will only occur if multiple |
| 2522 |
// pin actions are matched to a single request, as the map guarantees that |
| 2523 |
// pin positions are unique within the same action. |
| 2524 |
// |
| 2525 |
// Duplicate product_ids are not permitted within a single pin map. |
| 2526 |
// |
| 2527 |
// The max size of this map is 120, equivalent to the max [request page |
| 2528 |
// size](https://cloud.google.com/retail/docs/reference/rest/v2/projects.locations.catalogs.placements/search#request-body). |
| 2529 |
PinMap map[int64]string `protobuf:"bytes,1,rep,name=pin_map,json=pinMap,proto3" json:"pin_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 2530 |
} |
| 2531 |
|
| 2532 |
func (x *Rule_PinAction) Reset() { |
| 2533 |
*x = Rule_PinAction{} |
| 2534 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[25] |
| 2535 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2536 |
ms.StoreMessageInfo(mi) |
| 2537 |
} |
| 2538 |
|
| 2539 |
func (x *Rule_PinAction) String() string { |
| 2540 |
return protoimpl.X.MessageStringOf(x) |
| 2541 |
} |
| 2542 |
|
| 2543 |
func (*Rule_PinAction) ProtoMessage() {} |
| 2544 |
|
| 2545 |
func (x *Rule_PinAction) ProtoReflect() protoreflect.Message { |
| 2546 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[25] |
| 2547 |
if x != nil { |
| 2548 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2549 |
if ms.LoadMessageInfo() == nil { |
| 2550 |
ms.StoreMessageInfo(mi) |
| 2551 |
} |
| 2552 |
return ms |
| 2553 |
} |
| 2554 |
return mi.MessageOf(x) |
| 2555 |
} |
| 2556 |
|
| 2557 |
// Deprecated: Use Rule_PinAction.ProtoReflect.Descriptor instead. |
| 2558 |
func (*Rule_PinAction) Descriptor() ([]byte, []int) { |
| 2559 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{1, 10} |
| 2560 |
} |
| 2561 |
|
| 2562 |
func (x *Rule_PinAction) GetPinMap() map[int64]string { |
| 2563 |
if x != nil { |
| 2564 |
return x.PinMap |
| 2565 |
} |
| 2566 |
return nil |
| 2567 |
} |
| 2568 |
|
| 2569 |
// Each facet position adjustment consists of a single attribute name (i.e. |
| 2570 |
// facet key) along with a specified position. |
| 2571 |
type Rule_ForceReturnFacetAction_FacetPositionAdjustment struct { |
| 2572 |
state protoimpl.MessageState |
| 2573 |
sizeCache protoimpl.SizeCache |
| 2574 |
unknownFields protoimpl.UnknownFields |
| 2575 |
|
| 2576 |
// The attribute name to force return as a facet. Each attribute name |
| 2577 |
// should be a valid attribute name, be non-empty and contain at most 80 |
| 2578 |
// characters long. |
| 2579 |
AttributeName string `protobuf:"bytes,1,opt,name=attribute_name,json=attributeName,proto3" json:"attribute_name,omitempty"` |
| 2580 |
// This is the position in the request as explained above. It should be |
| 2581 |
// strictly positive be at most 100. |
| 2582 |
Position int32 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"` |
| 2583 |
} |
| 2584 |
|
| 2585 |
func (x *Rule_ForceReturnFacetAction_FacetPositionAdjustment) Reset() { |
| 2586 |
*x = Rule_ForceReturnFacetAction_FacetPositionAdjustment{} |
| 2587 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[26] |
| 2588 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2589 |
ms.StoreMessageInfo(mi) |
| 2590 |
} |
| 2591 |
|
| 2592 |
func (x *Rule_ForceReturnFacetAction_FacetPositionAdjustment) String() string { |
| 2593 |
return protoimpl.X.MessageStringOf(x) |
| 2594 |
} |
| 2595 |
|
| 2596 |
func (*Rule_ForceReturnFacetAction_FacetPositionAdjustment) ProtoMessage() {} |
| 2597 |
|
| 2598 |
func (x *Rule_ForceReturnFacetAction_FacetPositionAdjustment) ProtoReflect() protoreflect.Message { |
| 2599 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[26] |
| 2600 |
if x != nil { |
| 2601 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2602 |
if ms.LoadMessageInfo() == nil { |
| 2603 |
ms.StoreMessageInfo(mi) |
| 2604 |
} |
| 2605 |
return ms |
| 2606 |
} |
| 2607 |
return mi.MessageOf(x) |
| 2608 |
} |
| 2609 |
|
| 2610 |
// Deprecated: Use Rule_ForceReturnFacetAction_FacetPositionAdjustment.ProtoReflect.Descriptor instead. |
| 2611 |
func (*Rule_ForceReturnFacetAction_FacetPositionAdjustment) Descriptor() ([]byte, []int) { |
| 2612 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{1, 8, 0} |
| 2613 |
} |
| 2614 |
|
| 2615 |
func (x *Rule_ForceReturnFacetAction_FacetPositionAdjustment) GetAttributeName() string { |
| 2616 |
if x != nil { |
| 2617 |
return x.AttributeName |
| 2618 |
} |
| 2619 |
return "" |
| 2620 |
} |
| 2621 |
|
| 2622 |
func (x *Rule_ForceReturnFacetAction_FacetPositionAdjustment) GetPosition() int32 { |
| 2623 |
if x != nil { |
| 2624 |
return x.Position |
| 2625 |
} |
| 2626 |
return 0 |
| 2627 |
} |
| 2628 |
|
| 2629 |
// The price range of all |
| 2630 |
// [variant][google.cloud.retail.v2beta.Product.Type.VARIANT] |
| 2631 |
// [Product][google.cloud.retail.v2beta.Product] having the same |
| 2632 |
// [Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id]. |
| 2633 |
type PriceInfo_PriceRange struct { |
| 2634 |
state protoimpl.MessageState |
| 2635 |
sizeCache protoimpl.SizeCache |
| 2636 |
unknownFields protoimpl.UnknownFields |
| 2637 |
|
| 2638 |
// The inclusive |
| 2639 |
// [Product.pricing_info.price][google.cloud.retail.v2beta.PriceInfo.price] |
| 2640 |
// interval of all |
| 2641 |
// [variant][google.cloud.retail.v2beta.Product.Type.VARIANT] |
| 2642 |
// [Product][google.cloud.retail.v2beta.Product] having the same |
| 2643 |
// [Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id]. |
| 2644 |
Price *Interval `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"` |
| 2645 |
// The inclusive |
| 2646 |
// [Product.pricing_info.original_price][google.cloud.retail.v2beta.PriceInfo.original_price] |
| 2647 |
// internal of all |
| 2648 |
// [variant][google.cloud.retail.v2beta.Product.Type.VARIANT] |
| 2649 |
// [Product][google.cloud.retail.v2beta.Product] having the same |
| 2650 |
// [Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id]. |
| 2651 |
OriginalPrice *Interval `protobuf:"bytes,2,opt,name=original_price,json=originalPrice,proto3" json:"original_price,omitempty"` |
| 2652 |
} |
| 2653 |
|
| 2654 |
func (x *PriceInfo_PriceRange) Reset() { |
| 2655 |
*x = PriceInfo_PriceRange{} |
| 2656 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[28] |
| 2657 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2658 |
ms.StoreMessageInfo(mi) |
| 2659 |
} |
| 2660 |
|
| 2661 |
func (x *PriceInfo_PriceRange) String() string { |
| 2662 |
return protoimpl.X.MessageStringOf(x) |
| 2663 |
} |
| 2664 |
|
| 2665 |
func (*PriceInfo_PriceRange) ProtoMessage() {} |
| 2666 |
|
| 2667 |
func (x *PriceInfo_PriceRange) ProtoReflect() protoreflect.Message { |
| 2668 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[28] |
| 2669 |
if x != nil { |
| 2670 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2671 |
if ms.LoadMessageInfo() == nil { |
| 2672 |
ms.StoreMessageInfo(mi) |
| 2673 |
} |
| 2674 |
return ms |
| 2675 |
} |
| 2676 |
return mi.MessageOf(x) |
| 2677 |
} |
| 2678 |
|
| 2679 |
// Deprecated: Use PriceInfo_PriceRange.ProtoReflect.Descriptor instead. |
| 2680 |
func (*PriceInfo_PriceRange) Descriptor() ([]byte, []int) { |
| 2681 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{8, 0} |
| 2682 |
} |
| 2683 |
|
| 2684 |
func (x *PriceInfo_PriceRange) GetPrice() *Interval { |
| 2685 |
if x != nil { |
| 2686 |
return x.Price |
| 2687 |
} |
| 2688 |
return nil |
| 2689 |
} |
| 2690 |
|
| 2691 |
func (x *PriceInfo_PriceRange) GetOriginalPrice() *Interval { |
| 2692 |
if x != nil { |
| 2693 |
return x.OriginalPrice |
| 2694 |
} |
| 2695 |
return nil |
| 2696 |
} |
| 2697 |
|
| 2698 |
// List of product ids which have associated pins. |
| 2699 |
type PinControlMetadata_ProductPins struct { |
| 2700 |
state protoimpl.MessageState |
| 2701 |
sizeCache protoimpl.SizeCache |
| 2702 |
unknownFields protoimpl.UnknownFields |
| 2703 |
|
| 2704 |
// List of product ids which have associated pins. |
| 2705 |
ProductId []string `protobuf:"bytes,1,rep,name=product_id,json=productId,proto3" json:"product_id,omitempty"` |
| 2706 |
} |
| 2707 |
|
| 2708 |
func (x *PinControlMetadata_ProductPins) Reset() { |
| 2709 |
*x = PinControlMetadata_ProductPins{} |
| 2710 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[30] |
| 2711 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2712 |
ms.StoreMessageInfo(mi) |
| 2713 |
} |
| 2714 |
|
| 2715 |
func (x *PinControlMetadata_ProductPins) String() string { |
| 2716 |
return protoimpl.X.MessageStringOf(x) |
| 2717 |
} |
| 2718 |
|
| 2719 |
func (*PinControlMetadata_ProductPins) ProtoMessage() {} |
| 2720 |
|
| 2721 |
func (x *PinControlMetadata_ProductPins) ProtoReflect() protoreflect.Message { |
| 2722 |
mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[30] |
| 2723 |
if x != nil { |
| 2724 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2725 |
if ms.LoadMessageInfo() == nil { |
| 2726 |
ms.StoreMessageInfo(mi) |
| 2727 |
} |
| 2728 |
return ms |
| 2729 |
} |
| 2730 |
return mi.MessageOf(x) |
| 2731 |
} |
| 2732 |
|
| 2733 |
// Deprecated: Use PinControlMetadata_ProductPins.ProtoReflect.Descriptor instead. |
| 2734 |
func (*PinControlMetadata_ProductPins) Descriptor() ([]byte, []int) { |
| 2735 |
return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{12, 0} |
| 2736 |
} |
| 2737 |
|
| 2738 |
func (x *PinControlMetadata_ProductPins) GetProductId() []string { |
| 2739 |
if x != nil { |
| 2740 |
return x.ProductId |
| 2741 |
} |
| 2742 |
return nil |
| 2743 |
} |
| 2744 |
|
| 2745 |
var File_google_cloud_retail_v2beta_common_proto protoreflect.FileDescriptor |
| 2746 |
|
| 2747 |
var file_google_cloud_retail_v2beta_common_proto_rawDesc = []byte{ |
| 2748 |
0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, |
| 2749 |
0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x63, 0x6f, 0x6d, |
| 2750 |
0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 2751 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, |
| 2752 |
0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, |
| 2753 |
0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, |
| 2754 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, |
| 2755 |
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, |
| 2756 |
0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa4, 0x03, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x64, |
| 2757 |
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x0b, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, |
| 2758 |
0x65, 0x72, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, |
| 2759 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, |
| 2760 |
0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, |
| 2761 |
0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x52, 0x0a, 0x71, 0x75, 0x65, |
| 2762 |
0x72, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x12, 0x5b, 0x0a, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, |
| 2763 |
0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x03, 0x20, 0x03, |
| 2764 |
0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 2765 |
0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, |
| 2766 |
0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, |
| 2767 |
0x6e, 0x67, 0x65, 0x52, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x52, |
| 2768 |
0x61, 0x6e, 0x67, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x61, 0x74, |
| 2769 |
0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x70, |
| 2770 |
0x61, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x1a, 0x40, 0x0a, |
| 2771 |
0x09, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, |
| 2772 |
0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, |
| 2773 |
0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x02, |
| 2774 |
0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x1a, |
| 2775 |
0x7d, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x39, 0x0a, 0x0a, |
| 2776 |
0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, |
| 2777 |
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 2778 |
0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, |
| 2779 |
0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, |
| 2780 |
0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 2781 |
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, |
| 2782 |
0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xfb, |
| 2783 |
0x11, 0x0a, 0x04, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x51, 0x0a, 0x0c, 0x62, 0x6f, 0x6f, 0x73, 0x74, |
| 2784 |
0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, |
| 2785 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, |
| 2786 |
0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x2e, |
| 2787 |
0x42, 0x6f, 0x6f, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x62, |
| 2788 |
0x6f, 0x6f, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5a, 0x0a, 0x0f, 0x72, 0x65, |
| 2789 |
0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, |
| 2790 |
0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 2791 |
0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, |
| 2792 |
0x2e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x41, 0x63, |
| 2793 |
0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, |
| 2794 |
0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6d, 0x0a, 0x16, 0x6f, 0x6e, 0x65, 0x77, 0x61, 0x79, |
| 2795 |
0x5f, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
| 2796 |
0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 2797 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, |
| 2798 |
0x65, 0x74, 0x61, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x4f, 0x6e, 0x65, 0x77, 0x61, 0x79, 0x53, |
| 2799 |
0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, |
| 2800 |
0x14, 0x6f, 0x6e, 0x65, 0x77, 0x61, 0x79, 0x53, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x41, |
| 2801 |
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6e, 0x0a, 0x17, 0x64, 0x6f, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, |
| 2802 |
0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
| 2803 |
0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 2804 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, |
| 2805 |
0x65, 0x74, 0x61, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x44, 0x6f, 0x4e, 0x6f, 0x74, 0x41, 0x73, |
| 2806 |
0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, |
| 2807 |
0x14, 0x64, 0x6f, 0x4e, 0x6f, 0x74, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x41, |
| 2808 |
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x63, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, |
| 2809 |
0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, |
| 2810 |
0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 2811 |
0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, |
| 2812 |
0x75, 0x6c, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x41, |
| 2813 |
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, |
| 2814 |
0x6d, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x54, 0x0a, 0x0d, 0x69, 0x67, |
| 2815 |
0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, |
| 2816 |
0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 2817 |
0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, |
| 2818 |
0x75, 0x6c, 0x65, 0x2e, 0x49, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
| 2819 |
0x48, 0x00, 0x52, 0x0c, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
| 2820 |
0x12, 0x54, 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, |
| 2821 |
0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 2822 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, |
| 2823 |
0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, |
| 2824 |
0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0c, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, |
| 2825 |
0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6d, 0x0a, 0x16, 0x74, 0x77, 0x6f, 0x77, 0x61, 0x79, |
| 2826 |
0x5f, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
| 2827 |
0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 2828 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, |
| 2829 |
0x65, 0x74, 0x61, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x54, 0x77, 0x6f, 0x77, 0x61, 0x79, 0x53, |
| 2830 |
0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, |
| 2831 |
0x14, 0x74, 0x77, 0x6f, 0x77, 0x61, 0x79, 0x53, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x41, |
| 2832 |
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x74, 0x0a, 0x19, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x72, |
| 2833 |
0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x66, 0x61, 0x63, 0x65, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, |
| 2834 |
0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 2835 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, |
| 2836 |
0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x46, 0x6f, 0x72, 0x63, 0x65, |
| 2837 |
0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x46, 0x61, 0x63, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, |
| 2838 |
0x6e, 0x48, 0x00, 0x52, 0x16, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, |
| 2839 |
0x46, 0x61, 0x63, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x64, 0x0a, 0x13, 0x72, |
| 2840 |
0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x66, 0x61, 0x63, 0x65, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, |
| 2841 |
0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 2842 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, |
| 2843 |
0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, |
| 2844 |
0x65, 0x46, 0x61, 0x63, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x11, |
| 2845 |
0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x61, 0x63, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, |
| 2846 |
0x6e, 0x12, 0x4b, 0x0a, 0x0a, 0x70, 0x69, 0x6e, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, |
| 2847 |
0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 2848 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, |
| 2849 |
0x74, 0x61, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x50, 0x69, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, |
| 2850 |
0x6e, 0x48, 0x00, 0x52, 0x09, 0x70, 0x69, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x48, |
| 2851 |
0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 2852 |
0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 2853 |
0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, |
| 2854 |
0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x63, |
| 2855 |
0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x4c, 0x0a, 0x0b, 0x42, 0x6f, 0x6f, 0x73, |
| 2856 |
0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6f, 0x6f, 0x73, 0x74, |
| 2857 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x62, 0x6f, 0x6f, 0x73, 0x74, 0x12, 0x27, 0x0a, |
| 2858 |
0x0f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, |
| 2859 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, |
| 2860 |
0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x1a, 0x26, 0x0a, 0x0c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, |
| 2861 |
0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, |
| 2862 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x1a, 0x33, |
| 2863 |
0x0a, 0x0e, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
| 2864 |
0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x75, 0x72, 0x69, |
| 2865 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, |
| 2866 |
0x55, 0x72, 0x69, 0x1a, 0x32, 0x0a, 0x14, 0x54, 0x77, 0x6f, 0x77, 0x61, 0x79, 0x53, 0x79, 0x6e, |
| 2867 |
0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x73, |
| 2868 |
0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x73, |
| 2869 |
0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x1a, 0x76, 0x0a, 0x14, 0x4f, 0x6e, 0x65, 0x77, 0x61, |
| 2870 |
0x79, 0x53, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, |
| 2871 |
0x1f, 0x0a, 0x0b, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x18, 0x03, |
| 2872 |
0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x71, 0x75, 0x65, 0x72, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x73, |
| 2873 |
0x12, 0x1a, 0x0a, 0x08, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, |
| 2874 |
0x28, 0x09, 0x52, 0x08, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x12, 0x21, 0x0a, 0x0c, |
| 2875 |
0x6f, 0x6e, 0x65, 0x77, 0x61, 0x79, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, |
| 2876 |
0x28, 0x09, 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x77, 0x61, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x1a, |
| 2877 |
0x82, 0x01, 0x0a, 0x14, 0x44, 0x6f, 0x4e, 0x6f, 0x74, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, |
| 2878 |
0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x71, 0x75, 0x65, 0x72, |
| 2879 |
0x79, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x71, |
| 2880 |
0x75, 0x65, 0x72, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x12, 0x33, 0x0a, 0x16, 0x64, 0x6f, 0x5f, |
| 2881 |
0x6e, 0x6f, 0x74, 0x5f, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x65, |
| 2882 |
0x72, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 0x64, 0x6f, 0x4e, 0x6f, 0x74, |
| 2883 |
0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x12, 0x14, |
| 2884 |
0x0a, 0x05, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x74, |
| 2885 |
0x65, 0x72, 0x6d, 0x73, 0x1a, 0x73, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, |
| 2886 |
0x65, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x71, 0x75, 0x65, |
| 2887 |
0x72, 0x79, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, |
| 2888 |
0x71, 0x75, 0x65, 0x72, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, |
| 2889 |
0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x18, 0x03, |
| 2890 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, |
| 2891 |
0x74, 0x54, 0x65, 0x72, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x72, 0x6d, 0x18, 0x01, 0x20, |
| 2892 |
0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x72, 0x6d, 0x1a, 0x31, 0x0a, 0x0c, 0x49, 0x67, 0x6e, |
| 2893 |
0x6f, 0x72, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x67, 0x6e, |
| 2894 |
0x6f, 0x72, 0x65, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, |
| 2895 |
0x0b, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x1a, 0x86, 0x02, 0x0a, |
| 2896 |
0x16, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x46, 0x61, 0x63, 0x65, |
| 2897 |
0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x8d, 0x01, 0x0a, 0x1a, 0x66, 0x61, 0x63, 0x65, |
| 2898 |
0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x64, 0x6a, 0x75, 0x73, |
| 2899 |
0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4f, 0x2e, 0x67, |
| 2900 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, |
| 2901 |
0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x46, |
| 2902 |
0x6f, 0x72, 0x63, 0x65, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x46, 0x61, 0x63, 0x65, 0x74, 0x41, |
| 2903 |
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x46, 0x61, 0x63, 0x65, 0x74, 0x50, 0x6f, 0x73, 0x69, 0x74, |
| 2904 |
0x69, 0x6f, 0x6e, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x18, 0x66, |
| 2905 |
0x61, 0x63, 0x65, 0x74, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x6a, 0x75, |
| 2906 |
0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x5c, 0x0a, 0x17, 0x46, 0x61, 0x63, 0x65, 0x74, |
| 2907 |
0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, |
| 2908 |
0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, |
| 2909 |
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72, |
| 2910 |
0x69, 0x62, 0x75, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, |
| 2911 |
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6f, 0x73, |
| 2912 |
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x3c, 0x0a, 0x11, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, |
| 2913 |
0x61, 0x63, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x74, |
| 2914 |
0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, |
| 2915 |
0x03, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x4e, 0x61, |
| 2916 |
0x6d, 0x65, 0x73, 0x1a, 0x9c, 0x01, 0x0a, 0x09, 0x50, 0x69, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, |
| 2917 |
0x6e, 0x12, 0x54, 0x0a, 0x07, 0x70, 0x69, 0x6e, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x01, 0x20, 0x03, |
| 2918 |
0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 2919 |
0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, |
| 2920 |
0x52, 0x75, 0x6c, 0x65, 0x2e, 0x50, 0x69, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, |
| 2921 |
0x69, 0x6e, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, |
| 2922 |
0x06, 0x70, 0x69, 0x6e, 0x4d, 0x61, 0x70, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x69, 0x6e, 0x4d, 0x61, |
| 2923 |
0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, |
| 2924 |
0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, |
| 2925 |
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, |
| 2926 |
0x38, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x43, 0x0a, 0x08, |
| 2927 |
0x41, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x65, 0x6e, 0x64, |
| 2928 |
0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x67, 0x65, 0x6e, 0x64, 0x65, |
| 2929 |
0x72, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x67, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, |
| 2930 |
0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x67, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, |
| 2931 |
0x73, 0x22, 0x4a, 0x0a, 0x09, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x25, |
| 2932 |
0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x5f, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x69, 0x65, 0x73, |
| 2933 |
0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x46, 0x61, 0x6d, |
| 2934 |
0x69, 0x6c, 0x69, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x18, |
| 2935 |
0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x22, 0xac, 0x01, |
| 2936 |
0x0a, 0x0f, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, |
| 2937 |
0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, |
| 2938 |
0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, |
| 2939 |
0x18, 0x02, 0x20, 0x03, 0x28, 0x01, 0x52, 0x07, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, |
| 2940 |
0x27, 0x0a, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, |
| 2941 |
0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, |
| 2942 |
0x68, 0x61, 0x62, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, 0x09, 0x69, 0x6e, 0x64, 0x65, |
| 2943 |
0x78, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x48, |
| 2944 |
0x01, 0x52, 0x09, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x61, 0x62, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x42, |
| 2945 |
0x0d, 0x0a, 0x0b, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x0c, |
| 2946 |
0x0a, 0x0a, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x42, 0x0a, 0x0f, |
| 2947 |
0x46, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, |
| 2948 |
0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, |
| 2949 |
0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x73, |
| 2950 |
0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x64, 0x73, |
| 2951 |
0x22, 0x4c, 0x0a, 0x05, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x69, |
| 2952 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x75, 0x72, 0x69, |
| 2953 |
0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, |
| 2954 |
0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, |
| 2955 |
0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x22, 0xae, |
| 2956 |
0x01, 0x0a, 0x08, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x1a, 0x0a, 0x07, 0x6d, |
| 2957 |
0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x07, |
| 2958 |
0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x2d, 0x0a, 0x11, 0x65, 0x78, 0x63, 0x6c, 0x75, |
| 2959 |
0x73, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, |
| 2960 |
0x28, 0x01, 0x48, 0x00, 0x52, 0x10, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x4d, |
| 2961 |
0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, |
| 2962 |
0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x48, 0x01, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x69, 0x6d, |
| 2963 |
0x75, 0x6d, 0x12, 0x2d, 0x0a, 0x11, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x5f, |
| 2964 |
0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x48, 0x01, 0x52, |
| 2965 |
0x10, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, |
| 2966 |
0x6d, 0x42, 0x05, 0x0a, 0x03, 0x6d, 0x69, 0x6e, 0x42, 0x05, 0x0a, 0x03, 0x6d, 0x61, 0x78, 0x22, |
| 2967 |
0x87, 0x04, 0x0a, 0x09, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x0a, |
| 2968 |
0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, |
| 2969 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x43, 0x6f, |
| 2970 |
0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 2971 |
0x02, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x72, 0x69, 0x67, |
| 2972 |
0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, |
| 2973 |
0x52, 0x0d, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, |
| 2974 |
0x12, 0x0a, 0x04, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x04, 0x63, |
| 2975 |
0x6f, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x14, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x65, 0x66, 0x66, |
| 2976 |
0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, |
| 2977 |
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 2978 |
0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x12, 0x70, |
| 2979 |
0x72, 0x69, 0x63, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, |
| 2980 |
0x65, 0x12, 0x46, 0x0a, 0x11, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, |
| 2981 |
0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, |
| 2982 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, |
| 2983 |
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x45, |
| 2984 |
0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x56, 0x0a, 0x0b, 0x70, 0x72, 0x69, |
| 2985 |
0x63, 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, |
| 2986 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, |
| 2987 |
0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x69, 0x63, |
| 2988 |
0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, |
| 2989 |
0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x63, 0x65, 0x52, 0x61, 0x6e, 0x67, |
| 2990 |
0x65, 0x1a, 0x95, 0x01, 0x0a, 0x0a, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, |
| 2991 |
0x12, 0x3a, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 2992 |
0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, |
| 2993 |
0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x49, 0x6e, 0x74, |
| 2994 |
0x65, 0x72, 0x76, 0x61, 0x6c, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x0e, |
| 2995 |
0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x02, |
| 2996 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 2997 |
0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, |
| 2998 |
0x61, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x52, 0x0d, 0x6f, 0x72, 0x69, 0x67, |
| 2999 |
0x69, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x22, 0x7d, 0x0a, 0x06, 0x52, 0x61, 0x74, |
| 3000 |
0x69, 0x6e, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, |
| 3001 |
0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x61, 0x74, 0x69, 0x6e, |
| 3002 |
0x67, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, |
| 3003 |
0x65, 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0d, |
| 3004 |
0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x29, 0x0a, |
| 3005 |
0x10, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, |
| 3006 |
0x6d, 0x18, 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0f, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x48, |
| 3007 |
0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x22, 0x91, 0x01, 0x0a, 0x08, 0x55, 0x73, 0x65, |
| 3008 |
0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, |
| 3009 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, |
| 3010 |
0x0a, 0x0a, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, |
| 3011 |
0x28, 0x09, 0x52, 0x09, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, |
| 3012 |
0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, |
| 3013 |
0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x13, |
| 3014 |
0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x71, 0x75, |
| 3015 |
0x65, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x72, 0x65, 0x63, |
| 3016 |
0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xfa, 0x02, 0x0a, |
| 3017 |
0x0e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, |
| 3018 |
0x1e, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 3019 |
0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x07, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, |
| 3020 |
0x49, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, |
| 3021 |
0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 3022 |
0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, |
| 3023 |
0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, |
| 3024 |
0x09, 0x70, 0x72, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5f, 0x0a, 0x0a, 0x61, 0x74, |
| 3025 |
0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, |
| 3026 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, |
| 3027 |
0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x6f, 0x63, 0x61, |
| 3028 |
0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, |
| 3029 |
0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, |
| 3030 |
0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x11, 0x66, |
| 3031 |
0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, |
| 3032 |
0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x10, 0x66, 0x75, 0x6c, |
| 3033 |
0x66, 0x69, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x1a, 0x6a, 0x0a, |
| 3034 |
0x0f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, |
| 3035 |
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, |
| 3036 |
0x65, 0x79, 0x12, 0x41, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 3037 |
0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 3038 |
0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, |
| 3039 |
0x75, 0x73, 0x74, 0x6f, 0x6d, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x05, |
| 3040 |
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x8f, 0x04, 0x0a, 0x12, 0x50, 0x69, |
| 3041 |
0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, |
| 3042 |
0x12, 0x6c, 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, |
| 3043 |
0x70, 0x69, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, |
| 3044 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, |
| 3045 |
0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, |
| 3046 |
0x6f, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x6c, 0x6c, 0x4d, 0x61, |
| 3047 |
0x74, 0x63, 0x68, 0x65, 0x64, 0x50, 0x69, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, |
| 3048 |
0x61, 0x6c, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x50, 0x69, 0x6e, 0x73, 0x12, 0x62, |
| 3049 |
0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x70, 0x69, 0x6e, 0x73, 0x18, 0x02, |
| 3050 |
0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 3051 |
0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, |
| 3052 |
0x61, 0x2e, 0x50, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x4d, 0x65, 0x74, 0x61, |
| 3053 |
0x64, 0x61, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x50, 0x69, 0x6e, 0x73, |
| 3054 |
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x50, 0x69, |
| 3055 |
0x6e, 0x73, 0x1a, 0x2c, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x50, 0x69, 0x6e, |
| 3056 |
0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, |
| 3057 |
0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, |
| 3058 |
0x1a, 0x7d, 0x0a, 0x13, 0x41, 0x6c, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x50, 0x69, |
| 3059 |
0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, |
| 3060 |
0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x50, 0x0a, 0x05, 0x76, 0x61, 0x6c, |
| 3061 |
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 3062 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, |
| 3063 |
0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, |
| 3064 |
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, |
| 3065 |
0x50, 0x69, 0x6e, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, |
| 3066 |
0x7a, 0x0a, 0x10, 0x44, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x50, 0x69, 0x6e, 0x73, 0x45, 0x6e, |
| 3067 |
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, |
| 3068 |
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x50, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, |
| 3069 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 3070 |
0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, |
| 3071 |
0x61, 0x2e, 0x50, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x4d, 0x65, 0x74, 0x61, |
| 3072 |
0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x50, 0x69, 0x6e, 0x73, |
| 3073 |
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x86, 0x01, 0x0a, 0x14, |
| 3074 |
0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4c, |
| 3075 |
0x65, 0x76, 0x65, 0x6c, 0x12, 0x26, 0x0a, 0x22, 0x41, 0x54, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, |
| 3076 |
0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x55, |
| 3077 |
0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x22, 0x0a, 0x1e, |
| 3078 |
0x50, 0x52, 0x4f, 0x44, 0x55, 0x43, 0x54, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x41, 0x54, |
| 3079 |
0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x01, |
| 3080 |
0x12, 0x22, 0x0a, 0x1e, 0x43, 0x41, 0x54, 0x41, 0x4c, 0x4f, 0x47, 0x5f, 0x4c, 0x45, 0x56, 0x45, |
| 3081 |
0x4c, 0x5f, 0x41, 0x54, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x46, |
| 3082 |
0x49, 0x47, 0x10, 0x02, 0x2a, 0x69, 0x0a, 0x0c, 0x53, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, |
| 3083 |
0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x4f, 0x4c, 0x55, 0x54, 0x49, 0x4f, 0x4e, |
| 3084 |
0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, |
| 3085 |
0x44, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x4f, 0x4c, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, |
| 3086 |
0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x4d, 0x4d, 0x45, 0x4e, 0x44, 0x41, 0x54, |
| 3087 |
0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x4f, 0x4c, 0x55, 0x54, 0x49, 0x4f, |
| 3088 |
0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x10, 0x02, 0x2a, |
| 3089 |
0xa1, 0x01, 0x0a, 0x1e, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, |
| 3090 |
0x6f, 0x6e, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, |
| 3091 |
0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x2c, 0x52, 0x45, 0x43, 0x4f, 0x4d, 0x4d, 0x45, 0x4e, 0x44, 0x41, |
| 3092 |
0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x49, 0x4e, 0x47, 0x5f, |
| 3093 |
0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, |
| 3094 |
0x45, 0x44, 0x10, 0x00, 0x12, 0x26, 0x0a, 0x22, 0x52, 0x45, 0x43, 0x4f, 0x4d, 0x4d, 0x45, 0x4e, |
| 3095 |
0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x49, 0x4e, |
| 3096 |
0x47, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x25, 0x0a, 0x21, |
| 3097 |
0x52, 0x45, 0x43, 0x4f, 0x4d, 0x4d, 0x45, 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, |
| 3098 |
0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, |
| 3099 |
0x44, 0x10, 0x03, 0x2a, 0x8b, 0x01, 0x0a, 0x15, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x6f, |
| 3100 |
0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x43, 0x61, 0x73, 0x65, 0x12, 0x28, 0x0a, |
| 3101 |
0x24, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x53, 0x4f, 0x4c, 0x55, 0x54, 0x49, 0x4f, 0x4e, |
| 3102 |
0x5f, 0x55, 0x53, 0x45, 0x5f, 0x43, 0x41, 0x53, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, |
| 3103 |
0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x23, 0x0a, 0x1f, 0x53, 0x45, 0x41, 0x52, 0x43, |
| 3104 |
0x48, 0x5f, 0x53, 0x4f, 0x4c, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x43, |
| 3105 |
0x41, 0x53, 0x45, 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x10, 0x01, 0x12, 0x23, 0x0a, 0x1f, |
| 3106 |
0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x53, 0x4f, 0x4c, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, |
| 3107 |
0x55, 0x53, 0x45, 0x5f, 0x43, 0x41, 0x53, 0x45, 0x5f, 0x42, 0x52, 0x4f, 0x57, 0x53, 0x45, 0x10, |
| 3108 |
0x02, 0x42, 0xca, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 3109 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, |
| 3110 |
0x62, 0x65, 0x74, 0x61, 0x42, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, |
| 3111 |
0x6f, 0x50, 0x01, 0x5a, 0x36, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 3112 |
0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, |
| 3113 |
0x61, 0x70, 0x69, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, |
| 3114 |
0x70, 0x62, 0x3b, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x70, 0x62, 0xa2, 0x02, 0x06, 0x52, 0x45, |
| 3115 |
0x54, 0x41, 0x49, 0x4c, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, |
| 3116 |
0x6f, 0x75, 0x64, 0x2e, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x56, 0x32, 0x42, 0x65, 0x74, |
| 3117 |
0x61, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, |
| 3118 |
0x5c, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x5c, 0x56, 0x32, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, |
| 3119 |
0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, |
| 3120 |
0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, |
| 3121 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 3122 |
} |
| 3123 |
|
| 3124 |
var ( |
| 3125 |
file_google_cloud_retail_v2beta_common_proto_rawDescOnce sync.Once |
| 3126 |
file_google_cloud_retail_v2beta_common_proto_rawDescData = file_google_cloud_retail_v2beta_common_proto_rawDesc |
| 3127 |
) |
| 3128 |
|
| 3129 |
func file_google_cloud_retail_v2beta_common_proto_rawDescGZIP() []byte { |
| 3130 |
file_google_cloud_retail_v2beta_common_proto_rawDescOnce.Do(func() { |
| 3131 |
file_google_cloud_retail_v2beta_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_retail_v2beta_common_proto_rawDescData) |
| 3132 |
}) |
| 3133 |
return file_google_cloud_retail_v2beta_common_proto_rawDescData |
| 3134 |
} |
| 3135 |
|
| 3136 |
var file_google_cloud_retail_v2beta_common_proto_enumTypes = make([]protoimpl.EnumInfo, 4) |
| 3137 |
var file_google_cloud_retail_v2beta_common_proto_msgTypes = make([]protoimpl.MessageInfo, 33) |
| 3138 |
var file_google_cloud_retail_v2beta_common_proto_goTypes = []any{ |
| 3139 |
(AttributeConfigLevel)(0), // 0: google.cloud.retail.v2beta.AttributeConfigLevel |
| 3140 |
(SolutionType)(0), // 1: google.cloud.retail.v2beta.SolutionType |
| 3141 |
(RecommendationsFilteringOption)(0), // 2: google.cloud.retail.v2beta.RecommendationsFilteringOption |
| 3142 |
(SearchSolutionUseCase)(0), // 3: google.cloud.retail.v2beta.SearchSolutionUseCase |
| 3143 |
(*Condition)(nil), // 4: google.cloud.retail.v2beta.Condition |
| 3144 |
(*Rule)(nil), // 5: google.cloud.retail.v2beta.Rule |
| 3145 |
(*Audience)(nil), // 6: google.cloud.retail.v2beta.Audience |
| 3146 |
(*ColorInfo)(nil), // 7: google.cloud.retail.v2beta.ColorInfo |
| 3147 |
(*CustomAttribute)(nil), // 8: google.cloud.retail.v2beta.CustomAttribute |
| 3148 |
(*FulfillmentInfo)(nil), // 9: google.cloud.retail.v2beta.FulfillmentInfo |
| 3149 |
(*Image)(nil), // 10: google.cloud.retail.v2beta.Image |
| 3150 |
(*Interval)(nil), // 11: google.cloud.retail.v2beta.Interval |
| 3151 |
(*PriceInfo)(nil), // 12: google.cloud.retail.v2beta.PriceInfo |
| 3152 |
(*Rating)(nil), // 13: google.cloud.retail.v2beta.Rating |
| 3153 |
(*UserInfo)(nil), // 14: google.cloud.retail.v2beta.UserInfo |
| 3154 |
(*LocalInventory)(nil), // 15: google.cloud.retail.v2beta.LocalInventory |
| 3155 |
(*PinControlMetadata)(nil), // 16: google.cloud.retail.v2beta.PinControlMetadata |
| 3156 |
(*Condition_QueryTerm)(nil), // 17: google.cloud.retail.v2beta.Condition.QueryTerm |
| 3157 |
(*Condition_TimeRange)(nil), // 18: google.cloud.retail.v2beta.Condition.TimeRange |
| 3158 |
(*Rule_BoostAction)(nil), // 19: google.cloud.retail.v2beta.Rule.BoostAction |
| 3159 |
(*Rule_FilterAction)(nil), // 20: google.cloud.retail.v2beta.Rule.FilterAction |
| 3160 |
(*Rule_RedirectAction)(nil), // 21: google.cloud.retail.v2beta.Rule.RedirectAction |
| 3161 |
(*Rule_TwowaySynonymsAction)(nil), // 22: google.cloud.retail.v2beta.Rule.TwowaySynonymsAction |
| 3162 |
(*Rule_OnewaySynonymsAction)(nil), // 23: google.cloud.retail.v2beta.Rule.OnewaySynonymsAction |
| 3163 |
(*Rule_DoNotAssociateAction)(nil), // 24: google.cloud.retail.v2beta.Rule.DoNotAssociateAction |
| 3164 |
(*Rule_ReplacementAction)(nil), // 25: google.cloud.retail.v2beta.Rule.ReplacementAction |
| 3165 |
(*Rule_IgnoreAction)(nil), // 26: google.cloud.retail.v2beta.Rule.IgnoreAction |
| 3166 |
(*Rule_ForceReturnFacetAction)(nil), // 27: google.cloud.retail.v2beta.Rule.ForceReturnFacetAction |
| 3167 |
(*Rule_RemoveFacetAction)(nil), // 28: google.cloud.retail.v2beta.Rule.RemoveFacetAction |
| 3168 |
(*Rule_PinAction)(nil), // 29: google.cloud.retail.v2beta.Rule.PinAction |
| 3169 |
(*Rule_ForceReturnFacetAction_FacetPositionAdjustment)(nil), // 30: google.cloud.retail.v2beta.Rule.ForceReturnFacetAction.FacetPositionAdjustment |
| 3170 |
nil, // 31: google.cloud.retail.v2beta.Rule.PinAction.PinMapEntry |
| 3171 |
(*PriceInfo_PriceRange)(nil), // 32: google.cloud.retail.v2beta.PriceInfo.PriceRange |
| 3172 |
nil, // 33: google.cloud.retail.v2beta.LocalInventory.AttributesEntry |
| 3173 |
(*PinControlMetadata_ProductPins)(nil), // 34: google.cloud.retail.v2beta.PinControlMetadata.ProductPins |
| 3174 |
nil, // 35: google.cloud.retail.v2beta.PinControlMetadata.AllMatchedPinsEntry |
| 3175 |
nil, // 36: google.cloud.retail.v2beta.PinControlMetadata.DroppedPinsEntry |
| 3176 |
(*timestamppb.Timestamp)(nil), // 37: google.protobuf.Timestamp |
| 3177 |
} |
| 3178 |
var file_google_cloud_retail_v2beta_common_proto_depIdxs = []int32{ |
| 3179 |
17, // 0: google.cloud.retail.v2beta.Condition.query_terms:type_name -> google.cloud.retail.v2beta.Condition.QueryTerm |
| 3180 |
18, // 1: google.cloud.retail.v2beta.Condition.active_time_range:type_name -> google.cloud.retail.v2beta.Condition.TimeRange |
| 3181 |
19, // 2: google.cloud.retail.v2beta.Rule.boost_action:type_name -> google.cloud.retail.v2beta.Rule.BoostAction |
| 3182 |
21, // 3: google.cloud.retail.v2beta.Rule.redirect_action:type_name -> google.cloud.retail.v2beta.Rule.RedirectAction |
| 3183 |
23, // 4: google.cloud.retail.v2beta.Rule.oneway_synonyms_action:type_name -> google.cloud.retail.v2beta.Rule.OnewaySynonymsAction |
| 3184 |
24, // 5: google.cloud.retail.v2beta.Rule.do_not_associate_action:type_name -> google.cloud.retail.v2beta.Rule.DoNotAssociateAction |
| 3185 |
25, // 6: google.cloud.retail.v2beta.Rule.replacement_action:type_name -> google.cloud.retail.v2beta.Rule.ReplacementAction |
| 3186 |
26, // 7: google.cloud.retail.v2beta.Rule.ignore_action:type_name -> google.cloud.retail.v2beta.Rule.IgnoreAction |
| 3187 |
20, // 8: google.cloud.retail.v2beta.Rule.filter_action:type_name -> google.cloud.retail.v2beta.Rule.FilterAction |
| 3188 |
22, // 9: google.cloud.retail.v2beta.Rule.twoway_synonyms_action:type_name -> google.cloud.retail.v2beta.Rule.TwowaySynonymsAction |
| 3189 |
27, // 10: google.cloud.retail.v2beta.Rule.force_return_facet_action:type_name -> google.cloud.retail.v2beta.Rule.ForceReturnFacetAction |
| 3190 |
28, // 11: google.cloud.retail.v2beta.Rule.remove_facet_action:type_name -> google.cloud.retail.v2beta.Rule.RemoveFacetAction |
| 3191 |
29, // 12: google.cloud.retail.v2beta.Rule.pin_action:type_name -> google.cloud.retail.v2beta.Rule.PinAction |
| 3192 |
4, // 13: google.cloud.retail.v2beta.Rule.condition:type_name -> google.cloud.retail.v2beta.Condition |
| 3193 |
37, // 14: google.cloud.retail.v2beta.PriceInfo.price_effective_time:type_name -> google.protobuf.Timestamp |
| 3194 |
37, // 15: google.cloud.retail.v2beta.PriceInfo.price_expire_time:type_name -> google.protobuf.Timestamp |
| 3195 |
32, // 16: google.cloud.retail.v2beta.PriceInfo.price_range:type_name -> google.cloud.retail.v2beta.PriceInfo.PriceRange |
| 3196 |
12, // 17: google.cloud.retail.v2beta.LocalInventory.price_info:type_name -> google.cloud.retail.v2beta.PriceInfo |
| 3197 |
33, // 18: google.cloud.retail.v2beta.LocalInventory.attributes:type_name -> google.cloud.retail.v2beta.LocalInventory.AttributesEntry |
| 3198 |
35, // 19: google.cloud.retail.v2beta.PinControlMetadata.all_matched_pins:type_name -> google.cloud.retail.v2beta.PinControlMetadata.AllMatchedPinsEntry |
| 3199 |
36, // 20: google.cloud.retail.v2beta.PinControlMetadata.dropped_pins:type_name -> google.cloud.retail.v2beta.PinControlMetadata.DroppedPinsEntry |
| 3200 |
37, // 21: google.cloud.retail.v2beta.Condition.TimeRange.start_time:type_name -> google.protobuf.Timestamp |
| 3201 |
37, // 22: google.cloud.retail.v2beta.Condition.TimeRange.end_time:type_name -> google.protobuf.Timestamp |
| 3202 |
30, // 23: google.cloud.retail.v2beta.Rule.ForceReturnFacetAction.facet_position_adjustments:type_name -> google.cloud.retail.v2beta.Rule.ForceReturnFacetAction.FacetPositionAdjustment |
| 3203 |
31, // 24: google.cloud.retail.v2beta.Rule.PinAction.pin_map:type_name -> google.cloud.retail.v2beta.Rule.PinAction.PinMapEntry |
| 3204 |
11, // 25: google.cloud.retail.v2beta.PriceInfo.PriceRange.price:type_name -> google.cloud.retail.v2beta.Interval |
| 3205 |
11, // 26: google.cloud.retail.v2beta.PriceInfo.PriceRange.original_price:type_name -> google.cloud.retail.v2beta.Interval |
| 3206 |
8, // 27: google.cloud.retail.v2beta.LocalInventory.AttributesEntry.value:type_name -> google.cloud.retail.v2beta.CustomAttribute |
| 3207 |
34, // 28: google.cloud.retail.v2beta.PinControlMetadata.AllMatchedPinsEntry.value:type_name -> google.cloud.retail.v2beta.PinControlMetadata.ProductPins |
| 3208 |
34, // 29: google.cloud.retail.v2beta.PinControlMetadata.DroppedPinsEntry.value:type_name -> google.cloud.retail.v2beta.PinControlMetadata.ProductPins |
| 3209 |
30, // [30:30] is the sub-list for method output_type |
| 3210 |
30, // [30:30] is the sub-list for method input_type |
| 3211 |
30, // [30:30] is the sub-list for extension type_name |
| 3212 |
30, // [30:30] is the sub-list for extension extendee |
| 3213 |
0, // [0:30] is the sub-list for field type_name |
| 3214 |
} |
| 3215 |
|
| 3216 |
func init() { file_google_cloud_retail_v2beta_common_proto_init() } |
| 3217 |
func file_google_cloud_retail_v2beta_common_proto_init() { |
| 3218 |
if File_google_cloud_retail_v2beta_common_proto != nil { |
| 3219 |
return |
| 3220 |
} |
| 3221 |
file_google_cloud_retail_v2beta_common_proto_msgTypes[1].OneofWrappers = []any{ |
| 3222 |
(*Rule_BoostAction_)(nil), |
| 3223 |
(*Rule_RedirectAction_)(nil), |
| 3224 |
(*Rule_OnewaySynonymsAction_)(nil), |
| 3225 |
(*Rule_DoNotAssociateAction_)(nil), |
| 3226 |
(*Rule_ReplacementAction_)(nil), |
| 3227 |
(*Rule_IgnoreAction_)(nil), |
| 3228 |
(*Rule_FilterAction_)(nil), |
| 3229 |
(*Rule_TwowaySynonymsAction_)(nil), |
| 3230 |
(*Rule_ForceReturnFacetAction_)(nil), |
| 3231 |
(*Rule_RemoveFacetAction_)(nil), |
| 3232 |
(*Rule_PinAction_)(nil), |
| 3233 |
} |
| 3234 |
file_google_cloud_retail_v2beta_common_proto_msgTypes[4].OneofWrappers = []any{} |
| 3235 |
file_google_cloud_retail_v2beta_common_proto_msgTypes[7].OneofWrappers = []any{ |
| 3236 |
(*Interval_Minimum)(nil), |
| 3237 |
(*Interval_ExclusiveMinimum)(nil), |
| 3238 |
(*Interval_Maximum)(nil), |
| 3239 |
(*Interval_ExclusiveMaximum)(nil), |
| 3240 |
} |
| 3241 |
type x struct{} |
| 3242 |
out := protoimpl.TypeBuilder{ |
| 3243 |
File: protoimpl.DescBuilder{ |
| 3244 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 3245 |
RawDescriptor: file_google_cloud_retail_v2beta_common_proto_rawDesc, |
| 3246 |
NumEnums: 4, |
| 3247 |
NumMessages: 33, |
| 3248 |
NumExtensions: 0, |
| 3249 |
NumServices: 0, |
| 3250 |
}, |
| 3251 |
GoTypes: file_google_cloud_retail_v2beta_common_proto_goTypes, |
| 3252 |
DependencyIndexes: file_google_cloud_retail_v2beta_common_proto_depIdxs, |
| 3253 |
EnumInfos: file_google_cloud_retail_v2beta_common_proto_enumTypes, |
| 3254 |
MessageInfos: file_google_cloud_retail_v2beta_common_proto_msgTypes, |
| 3255 |
}.Build() |
| 3256 |
File_google_cloud_retail_v2beta_common_proto = out.File |
| 3257 |
file_google_cloud_retail_v2beta_common_proto_rawDesc = nil |
| 3258 |
file_google_cloud_retail_v2beta_common_proto_goTypes = nil |
| 3259 |
file_google_cloud_retail_v2beta_common_proto_depIdxs = nil |
| 3260 |
} |