Debian Codegraph @

retail/apiv2/retailpb/product.pb.go

raw symbols SCIP
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/retail/v2/product.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 durationpb "google.golang.org/protobuf/types/known/durationpb"
28 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
29 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
30 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
31 reflect "reflect"
32 sync "sync"
33 )
34
35 const (
36 // Verify that this generated code is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
38 // Verify that runtime/protoimpl is sufficiently up-to-date.
39 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
40 )
41
42 // The type of this product.
43 type Product_Type int32
44
45 const (
46 // Default value. Default to
47 // [Catalog.product_level_config.ingestion_product_type][google.cloud.retail.v2.ProductLevelConfig.ingestion_product_type]
48 // if unset.
49 Product_TYPE_UNSPECIFIED Product_Type = 0
50 // The primary type.
51 //
52 // As the primary unit for predicting, indexing and search serving, a
53 // [Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
54 // [Product][google.cloud.retail.v2.Product] is grouped with multiple
55 // [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]
56 // [Product][google.cloud.retail.v2.Product]s.
57 Product_PRIMARY Product_Type = 1
58 // The variant type.
59 //
60 // [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]
61 // [Product][google.cloud.retail.v2.Product]s usually share some common
62 // attributes on the same
63 // [Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
64 // [Product][google.cloud.retail.v2.Product]s, but they have variant
65 // attributes like different colors, sizes and prices, etc.
66 Product_VARIANT Product_Type = 2
67 // The collection type. Collection products are bundled
68 // [Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
69 // [Product][google.cloud.retail.v2.Product]s or
70 // [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]
71 // [Product][google.cloud.retail.v2.Product]s that are sold together, such
72 // as a jewelry set with necklaces, earrings and rings, etc.
73 Product_COLLECTION Product_Type = 3
74 )
75
76 // Enum value maps for Product_Type.
77 var (
78 Product_Type_name = map[int32]string{
79 0: "TYPE_UNSPECIFIED",
80 1: "PRIMARY",
81 2: "VARIANT",
82 3: "COLLECTION",
83 }
84 Product_Type_value = map[string]int32{
85 "TYPE_UNSPECIFIED": 0,
86 "PRIMARY": 1,
87 "VARIANT": 2,
88 "COLLECTION": 3,
89 }
90 )
91
92 func (x Product_Type) Enum() *Product_Type {
93 p := new(Product_Type)
94 *p = x
95 return p
96 }
97
98 func (x Product_Type) String() string {
99 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
100 }
101
102 func (Product_Type) Descriptor() protoreflect.EnumDescriptor {
103 return file_google_cloud_retail_v2_product_proto_enumTypes[0].Descriptor()
104 }
105
106 func (Product_Type) Type() protoreflect.EnumType {
107 return &file_google_cloud_retail_v2_product_proto_enumTypes[0]
108 }
109
110 func (x Product_Type) Number() protoreflect.EnumNumber {
111 return protoreflect.EnumNumber(x)
112 }
113
114 // Deprecated: Use Product_Type.Descriptor instead.
115 func (Product_Type) EnumDescriptor() ([]byte, []int) {
116 return file_google_cloud_retail_v2_product_proto_rawDescGZIP(), []int{0, 0}
117 }
118
119 // Product availability. If this field is unspecified, the product is
120 // assumed to be in stock.
121 type Product_Availability int32
122
123 const (
124 // Default product availability. Default to
125 // [Availability.IN_STOCK][google.cloud.retail.v2.Product.Availability.IN_STOCK]
126 // if unset.
127 Product_AVAILABILITY_UNSPECIFIED Product_Availability = 0
128 // Product in stock.
129 Product_IN_STOCK Product_Availability = 1
130 // Product out of stock.
131 Product_OUT_OF_STOCK Product_Availability = 2
132 // Product that is in pre-order state.
133 Product_PREORDER Product_Availability = 3
134 // Product that is back-ordered (i.e. temporarily out of stock).
135 Product_BACKORDER Product_Availability = 4
136 )
137
138 // Enum value maps for Product_Availability.
139 var (
140 Product_Availability_name = map[int32]string{
141 0: "AVAILABILITY_UNSPECIFIED",
142 1: "IN_STOCK",
143 2: "OUT_OF_STOCK",
144 3: "PREORDER",
145 4: "BACKORDER",
146 }
147 Product_Availability_value = map[string]int32{
148 "AVAILABILITY_UNSPECIFIED": 0,
149 "IN_STOCK": 1,
150 "OUT_OF_STOCK": 2,
151 "PREORDER": 3,
152 "BACKORDER": 4,
153 }
154 )
155
156 func (x Product_Availability) Enum() *Product_Availability {
157 p := new(Product_Availability)
158 *p = x
159 return p
160 }
161
162 func (x Product_Availability) String() string {
163 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
164 }
165
166 func (Product_Availability) Descriptor() protoreflect.EnumDescriptor {
167 return file_google_cloud_retail_v2_product_proto_enumTypes[1].Descriptor()
168 }
169
170 func (Product_Availability) Type() protoreflect.EnumType {
171 return &file_google_cloud_retail_v2_product_proto_enumTypes[1]
172 }
173
174 func (x Product_Availability) Number() protoreflect.EnumNumber {
175 return protoreflect.EnumNumber(x)
176 }
177
178 // Deprecated: Use Product_Availability.Descriptor instead.
179 func (Product_Availability) EnumDescriptor() ([]byte, []int) {
180 return file_google_cloud_retail_v2_product_proto_rawDescGZIP(), []int{0, 1}
181 }
182
183 // Product captures all metadata information of items to be recommended or
184 // searched.
185 type Product struct {
186 state protoimpl.MessageState
187 sizeCache protoimpl.SizeCache
188 unknownFields protoimpl.UnknownFields
189
190 // Types that are assignable to Expiration:
191 //
192 // *Product_ExpireTime
193 // *Product_Ttl
194 Expiration isProduct_Expiration `protobuf_oneof:"expiration"`
195 // Immutable. Full resource name of the product, such as
196 // `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`.
197 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
198 // Immutable. [Product][google.cloud.retail.v2.Product] identifier, which is
199 // the final component of [name][google.cloud.retail.v2.Product.name]. For
200 // example, this field is "id_1", if
201 // [name][google.cloud.retail.v2.Product.name] is
202 // `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/id_1`.
203 //
204 // This field must be a UTF-8 encoded string with a length limit of 128
205 // characters. Otherwise, an INVALID_ARGUMENT error is returned.
206 //
207 // Corresponding properties: Google Merchant Center property
208 // [id](https://support.google.com/merchants/answer/6324405). Schema.org
209 // property [Product.sku](https://schema.org/sku).
210 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
211 // Immutable. The type of the product. Default to
212 // [Catalog.product_level_config.ingestion_product_type][google.cloud.retail.v2.ProductLevelConfig.ingestion_product_type]
213 // if unset.
214 Type Product_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.retail.v2.Product_Type" json:"type,omitempty"`
215 // Variant group identifier. Must be an
216 // [id][google.cloud.retail.v2.Product.id], with the same parent branch with
217 // this product. Otherwise, an error is thrown.
218 //
219 // For [Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
220 // [Product][google.cloud.retail.v2.Product]s, this field can only be empty or
221 // set to the same value as [id][google.cloud.retail.v2.Product.id].
222 //
223 // For VARIANT [Product][google.cloud.retail.v2.Product]s, this field cannot
224 // be empty. A maximum of 2,000 products are allowed to share the same
225 // [Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
226 // [Product][google.cloud.retail.v2.Product]. Otherwise, an INVALID_ARGUMENT
227 // error is returned.
228 //
229 // Corresponding properties: Google Merchant Center property
230 // [item_group_id](https://support.google.com/merchants/answer/6324507).
231 // Schema.org property
232 // [Product.inProductGroupWithID](https://schema.org/inProductGroupWithID).
233 PrimaryProductId string `protobuf:"bytes,4,opt,name=primary_product_id,json=primaryProductId,proto3" json:"primary_product_id,omitempty"`
234 // The [id][google.cloud.retail.v2.Product.id] of the collection members when
235 // [type][google.cloud.retail.v2.Product.type] is
236 // [Type.COLLECTION][google.cloud.retail.v2.Product.Type.COLLECTION].
237 //
238 // Non-existent product ids are allowed.
239 // The [type][google.cloud.retail.v2.Product.type] of the members must be
240 // either [Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY] or
241 // [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT] otherwise an
242 // INVALID_ARGUMENT error is thrown. Should not set it for other types. A
243 // maximum of 1000 values are allowed. Otherwise, an INVALID_ARGUMENT error is
244 // return.
245 CollectionMemberIds []string `protobuf:"bytes,5,rep,name=collection_member_ids,json=collectionMemberIds,proto3" json:"collection_member_ids,omitempty"`
246 // The Global Trade Item Number (GTIN) of the product.
247 //
248 // This field must be a UTF-8 encoded string with a length limit of 128
249 // characters. Otherwise, an INVALID_ARGUMENT error is returned.
250 //
251 // This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is
252 // returned.
253 //
254 // Corresponding properties: Google Merchant Center property
255 // [gtin](https://support.google.com/merchants/answer/6324461).
256 // Schema.org property
257 // [Product.isbn](https://schema.org/isbn),
258 // [Product.gtin8](https://schema.org/gtin8),
259 // [Product.gtin12](https://schema.org/gtin12),
260 // [Product.gtin13](https://schema.org/gtin13), or
261 // [Product.gtin14](https://schema.org/gtin14).
262 //
263 // If the value is not a valid GTIN, an INVALID_ARGUMENT error is returned.
264 Gtin string `protobuf:"bytes,6,opt,name=gtin,proto3" json:"gtin,omitempty"`
265 // Product categories. This field is repeated for supporting one product
266 // belonging to several parallel categories. Strongly recommended using the
267 // full path for better search / recommendation quality.
268 //
269 // To represent full path of category, use '>' sign to separate different
270 // hierarchies. If '>' is part of the category name, replace it with
271 // other character(s).
272 //
273 // For example, if a shoes product belongs to both
274 // ["Shoes & Accessories" -> "Shoes"] and
275 // ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be
276 // represented as:
277 //
278 // "categories": [
279 // "Shoes & Accessories > Shoes",
280 // "Sports & Fitness > Athletic Clothing > Shoes"
281 // ]
282 //
283 // Must be set for [Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
284 // [Product][google.cloud.retail.v2.Product] otherwise an INVALID_ARGUMENT
285 // error is returned.
286 //
287 // At most 250 values are allowed per
288 // [Product][google.cloud.retail.v2.Product] unless overridden through the
289 // Google Cloud console. Empty values are not allowed. Each value must be a
290 // UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an
291 // INVALID_ARGUMENT error is returned.
292 //
293 // Corresponding properties: Google Merchant Center property
294 // [google_product_category][mc_google_product_category]. Schema.org property
295 // [Product.category] (https://schema.org/category).
296 //
297 // [mc_google_product_category]:
298 // https://support.google.com/merchants/answer/6324436
299 Categories []string `protobuf:"bytes,7,rep,name=categories,proto3" json:"categories,omitempty"`
300 // Required. Product title.
301 //
302 // This field must be a UTF-8 encoded string with a length limit of 1,000
303 // characters. Otherwise, an INVALID_ARGUMENT error is returned.
304 //
305 // Corresponding properties: Google Merchant Center property
306 // [title](https://support.google.com/merchants/answer/6324415). Schema.org
307 // property [Product.name](https://schema.org/name).
308 Title string `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty"`
309 // The brands of the product.
310 //
311 // A maximum of 30 brands are allowed unless overridden through the Google
312 // Cloud console. Each
313 // brand must be a UTF-8 encoded string with a length limit of 1,000
314 // characters. Otherwise, an INVALID_ARGUMENT error is returned.
315 //
316 // Corresponding properties: Google Merchant Center property
317 // [brand](https://support.google.com/merchants/answer/6324351). Schema.org
318 // property [Product.brand](https://schema.org/brand).
319 Brands []string `protobuf:"bytes,9,rep,name=brands,proto3" json:"brands,omitempty"`
320 // Product description.
321 //
322 // This field must be a UTF-8 encoded string with a length limit of 5,000
323 // characters. Otherwise, an INVALID_ARGUMENT error is returned.
324 //
325 // Corresponding properties: Google Merchant Center property
326 // [description](https://support.google.com/merchants/answer/6324468).
327 // Schema.org property [Product.description](https://schema.org/description).
328 Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
329 // Language of the title/description and other string attributes. Use language
330 // tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt).
331 //
332 // For product prediction, this field is ignored and the model automatically
333 // detects the text language. The [Product][google.cloud.retail.v2.Product]
334 // can include text in different languages, but duplicating
335 // [Product][google.cloud.retail.v2.Product]s to provide text in multiple
336 // languages can result in degraded model performance.
337 //
338 // For product search this field is in use. It defaults to "en-US" if unset.
339 LanguageCode string `protobuf:"bytes,11,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
340 // Highly encouraged. Extra product attributes to be included. For example,
341 // for products, this could include the store name, vendor, style, color, etc.
342 // These are very strong signals for recommendation model, thus we highly
343 // recommend providing the attributes here.
344 //
345 // Features that can take on one of a limited number of possible values. Two
346 // types of features can be set are:
347 //
348 // Textual features. some examples would be the brand/maker of a product, or
349 // country of a customer. Numerical features. Some examples would be the
350 // height/weight of a product, or age of a customer.
351 //
352 // For example: `{ "vendor": {"text": ["vendor123", "vendor456"]},
353 // "lengths_cm": {"numbers":[2.3, 15.4]}, "heights_cm": {"numbers":[8.1, 6.4]}
354 // }`.
355 //
356 // This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT
357 // error is returned:
358 //
359 // - Max entries count: 200.
360 // - The key must be a UTF-8 encoded string with a length limit of 128
361 // characters.
362 // - For indexable attribute, the key must match the pattern:
363 // `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, `key0LikeThis` or
364 // `KEY_1_LIKE_THIS`.
365 // - For text attributes, at most 400 values are allowed. Empty values are not
366 // allowed. Each value must be a non-empty UTF-8 encoded string with a
367 // length limit of 256 characters.
368 // - For number attributes, at most 400 values are allowed.
369 Attributes map[string]*CustomAttribute `protobuf:"bytes,12,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
370 // Custom tags associated with the product.
371 //
372 // At most 250 values are allowed per
373 // [Product][google.cloud.retail.v2.Product]. This value must be a UTF-8
374 // encoded string with a length limit of 1,000 characters. Otherwise, an
375 // INVALID_ARGUMENT error is returned.
376 //
377 // This tag can be used for filtering recommendation results by passing the
378 // tag as part of the
379 // [PredictRequest.filter][google.cloud.retail.v2.PredictRequest.filter].
380 //
381 // Corresponding properties: Google Merchant Center property
382 // [custom_label_0–4](https://support.google.com/merchants/answer/6324473).
383 Tags []string `protobuf:"bytes,13,rep,name=tags,proto3" json:"tags,omitempty"`
384 // Product price and cost information.
385 //
386 // Corresponding properties: Google Merchant Center property
387 // [price](https://support.google.com/merchants/answer/6324371).
388 PriceInfo *PriceInfo `protobuf:"bytes,14,opt,name=price_info,json=priceInfo,proto3" json:"price_info,omitempty"`
389 // The rating of this product.
390 Rating *Rating `protobuf:"bytes,15,opt,name=rating,proto3" json:"rating,omitempty"`
391 // The timestamp when this [Product][google.cloud.retail.v2.Product] becomes
392 // available for
393 // [SearchService.Search][google.cloud.retail.v2.SearchService.Search]. Note
394 // that this is only applicable to
395 // [Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY] and
396 // [Type.COLLECTION][google.cloud.retail.v2.Product.Type.COLLECTION], and
397 // ignored for [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT].
398 AvailableTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=available_time,json=availableTime,proto3" json:"available_time,omitempty"`
399 // The online availability of the [Product][google.cloud.retail.v2.Product].
400 // Default to
401 // [Availability.IN_STOCK][google.cloud.retail.v2.Product.Availability.IN_STOCK].
402 //
403 // For primary products with variants set the availability of the primary as
404 // [Availability.OUT_OF_STOCK][google.cloud.retail.v2.Product.Availability.OUT_OF_STOCK]
405 // and set the true availability at the variant level. This way the primary
406 // product will be considered "in stock" as long as it has at least one
407 // variant in stock.
408 //
409 // For primary products with no variants set the true availability at the
410 // primary level.
411 //
412 // Corresponding properties: Google Merchant Center property
413 // [availability](https://support.google.com/merchants/answer/6324448).
414 // Schema.org property [Offer.availability](https://schema.org/availability).
415 Availability Product_Availability `protobuf:"varint,19,opt,name=availability,proto3,enum=google.cloud.retail.v2.Product_Availability" json:"availability,omitempty"`
416 // The available quantity of the item.
417 AvailableQuantity *wrapperspb.Int32Value `protobuf:"bytes,20,opt,name=available_quantity,json=availableQuantity,proto3" json:"available_quantity,omitempty"`
418 // Fulfillment information, such as the store IDs for in-store pickup or
419 // region IDs for different shipping methods.
420 //
421 // All the elements must have distinct
422 // [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type].
423 // Otherwise, an INVALID_ARGUMENT error is returned.
424 FulfillmentInfo []*FulfillmentInfo `protobuf:"bytes,21,rep,name=fulfillment_info,json=fulfillmentInfo,proto3" json:"fulfillment_info,omitempty"`
425 // Canonical URL directly linking to the product detail page.
426 //
427 // It is strongly recommended to provide a valid uri for the product,
428 // otherwise the service performance could be significantly degraded.
429 //
430 // This field must be a UTF-8 encoded string with a length limit of 5,000
431 // characters. Otherwise, an INVALID_ARGUMENT error is returned.
432 //
433 // Corresponding properties: Google Merchant Center property
434 // [link](https://support.google.com/merchants/answer/6324416). Schema.org
435 // property [Offer.url](https://schema.org/url).
436 Uri string `protobuf:"bytes,22,opt,name=uri,proto3" json:"uri,omitempty"`
437 // Product images for the product. We highly recommend putting the main
438 // image first.
439 //
440 // A maximum of 300 images are allowed.
441 //
442 // Corresponding properties: Google Merchant Center property
443 // [image_link](https://support.google.com/merchants/answer/6324350).
444 // Schema.org property [Product.image](https://schema.org/image).
445 Images []*Image `protobuf:"bytes,23,rep,name=images,proto3" json:"images,omitempty"`
446 // The target group associated with a given audience (e.g. male, veterans,
447 // car owners, musicians, etc.) of the product.
448 Audience *Audience `protobuf:"bytes,24,opt,name=audience,proto3" json:"audience,omitempty"`
449 // The color of the product.
450 //
451 // Corresponding properties: Google Merchant Center property
452 // [color](https://support.google.com/merchants/answer/6324487). Schema.org
453 // property [Product.color](https://schema.org/color).
454 ColorInfo *ColorInfo `protobuf:"bytes,25,opt,name=color_info,json=colorInfo,proto3" json:"color_info,omitempty"`
455 // The size of the product. To represent different size systems or size types,
456 // consider using this format: [[[size_system:]size_type:]size_value].
457 //
458 // For example, in "US:MENS:M", "US" represents size system; "MENS" represents
459 // size type; "M" represents size value. In "GIRLS:27", size system is empty;
460 // "GIRLS" represents size type; "27" represents size value. In "32 inches",
461 // both size system and size type are empty, while size value is "32 inches".
462 //
463 // A maximum of 20 values are allowed per
464 // [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
465 // encoded string with a length limit of 128 characters. Otherwise, an
466 // INVALID_ARGUMENT error is returned.
467 //
468 // Corresponding properties: Google Merchant Center property
469 // [size](https://support.google.com/merchants/answer/6324492),
470 // [size_type](https://support.google.com/merchants/answer/6324497), and
471 // [size_system](https://support.google.com/merchants/answer/6324502).
472 // Schema.org property [Product.size](https://schema.org/size).
473 Sizes []string `protobuf:"bytes,26,rep,name=sizes,proto3" json:"sizes,omitempty"`
474 // The material of the product. For example, "leather", "wooden".
475 //
476 // A maximum of 20 values are allowed. Each value must be a UTF-8 encoded
477 // string with a length limit of 200 characters. Otherwise, an
478 // INVALID_ARGUMENT error is returned.
479 //
480 // Corresponding properties: Google Merchant Center property
481 // [material](https://support.google.com/merchants/answer/6324410). Schema.org
482 // property [Product.material](https://schema.org/material).
483 Materials []string `protobuf:"bytes,27,rep,name=materials,proto3" json:"materials,omitempty"`
484 // The pattern or graphic print of the product. For example, "striped", "polka
485 // dot", "paisley".
486 //
487 // A maximum of 20 values are allowed per
488 // [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
489 // encoded string with a length limit of 128 characters. Otherwise, an
490 // INVALID_ARGUMENT error is returned.
491 //
492 // Corresponding properties: Google Merchant Center property
493 // [pattern](https://support.google.com/merchants/answer/6324483). Schema.org
494 // property [Product.pattern](https://schema.org/pattern).
495 Patterns []string `protobuf:"bytes,28,rep,name=patterns,proto3" json:"patterns,omitempty"`
496 // The condition of the product. Strongly encouraged to use the standard
497 // values: "new", "refurbished", "used".
498 //
499 // A maximum of 1 value is allowed per
500 // [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
501 // encoded string with a length limit of 128 characters. Otherwise, an
502 // INVALID_ARGUMENT error is returned.
503 //
504 // Corresponding properties: Google Merchant Center property
505 // [condition](https://support.google.com/merchants/answer/6324469).
506 // Schema.org property
507 // [Offer.itemCondition](https://schema.org/itemCondition).
508 Conditions []string `protobuf:"bytes,29,rep,name=conditions,proto3" json:"conditions,omitempty"`
509 // The promotions applied to the product. A maximum of 10 values are allowed
510 // per [Product][google.cloud.retail.v2.Product]. Only
511 // [Promotion.promotion_id][google.cloud.retail.v2.Promotion.promotion_id]
512 // will be used, other fields will be ignored if set.
513 Promotions []*Promotion `protobuf:"bytes,34,rep,name=promotions,proto3" json:"promotions,omitempty"`
514 // The timestamp when the product is published by the retailer for the first
515 // time, which indicates the freshness of the products. Note that this field
516 // is different from
517 // [available_time][google.cloud.retail.v2.Product.available_time], given it
518 // purely describes product freshness regardless of when it is available on
519 // search and recommendation.
520 PublishTime *timestamppb.Timestamp `protobuf:"bytes,33,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"`
521 // Indicates which fields in the [Product][google.cloud.retail.v2.Product]s
522 // are returned in [SearchResponse][google.cloud.retail.v2.SearchResponse].
523 //
524 // Supported fields for all [type][google.cloud.retail.v2.Product.type]s:
525 //
526 // * [audience][google.cloud.retail.v2.Product.audience]
527 // * [availability][google.cloud.retail.v2.Product.availability]
528 // * [brands][google.cloud.retail.v2.Product.brands]
529 // * [color_info][google.cloud.retail.v2.Product.color_info]
530 // * [conditions][google.cloud.retail.v2.Product.conditions]
531 // * [gtin][google.cloud.retail.v2.Product.gtin]
532 // * [materials][google.cloud.retail.v2.Product.materials]
533 // * [name][google.cloud.retail.v2.Product.name]
534 // * [patterns][google.cloud.retail.v2.Product.patterns]
535 // * [price_info][google.cloud.retail.v2.Product.price_info]
536 // * [rating][google.cloud.retail.v2.Product.rating]
537 // * [sizes][google.cloud.retail.v2.Product.sizes]
538 // * [title][google.cloud.retail.v2.Product.title]
539 // * [uri][google.cloud.retail.v2.Product.uri]
540 //
541 // Supported fields only for
542 // [Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY] and
543 // [Type.COLLECTION][google.cloud.retail.v2.Product.Type.COLLECTION]:
544 //
545 // * [categories][google.cloud.retail.v2.Product.categories]
546 // * [description][google.cloud.retail.v2.Product.description]
547 // * [images][google.cloud.retail.v2.Product.images]
548 //
549 // Supported fields only for
550 // [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]:
551 //
552 // * Only the first image in [images][google.cloud.retail.v2.Product.images]
553 //
554 // To mark [attributes][google.cloud.retail.v2.Product.attributes] as
555 // retrievable, include paths of the form "attributes.key" where "key" is the
556 // key of a custom attribute, as specified in
557 // [attributes][google.cloud.retail.v2.Product.attributes].
558 //
559 // For [Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY] and
560 // [Type.COLLECTION][google.cloud.retail.v2.Product.Type.COLLECTION], the
561 // following fields are always returned in
562 // [SearchResponse][google.cloud.retail.v2.SearchResponse] by default:
563 //
564 // * [name][google.cloud.retail.v2.Product.name]
565 //
566 // For [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT], the
567 // following fields are always returned in by default:
568 //
569 // * [name][google.cloud.retail.v2.Product.name]
570 // * [color_info][google.cloud.retail.v2.Product.color_info]
571 //
572 // Note: Returning more fields in
573 // [SearchResponse][google.cloud.retail.v2.SearchResponse] can increase
574 // response payload size and serving latency.
575 //
576 // This field is deprecated. Use the retrievable site-wide control instead.
577 //
578 // Deprecated: Marked as deprecated in google/cloud/retail/v2/product.proto.
579 RetrievableFields *fieldmaskpb.FieldMask `protobuf:"bytes,30,opt,name=retrievable_fields,json=retrievableFields,proto3" json:"retrievable_fields,omitempty"`
580 // Output only. Product variants grouped together on primary product which
581 // share similar product attributes. It's automatically grouped by
582 // [primary_product_id][google.cloud.retail.v2.Product.primary_product_id] for
583 // all the product variants. Only populated for
584 // [Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
585 // [Product][google.cloud.retail.v2.Product]s.
586 //
587 // Note: This field is OUTPUT_ONLY for
588 // [ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct].
589 // Do not set this field in API requests.
590 Variants []*Product `protobuf:"bytes,31,rep,name=variants,proto3" json:"variants,omitempty"`
591 // Output only. A list of local inventories specific to different places.
592 //
593 // This field can be managed by
594 // [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories]
595 // and
596 // [ProductService.RemoveLocalInventories][google.cloud.retail.v2.ProductService.RemoveLocalInventories]
597 // APIs if fine-grained, high-volume updates are necessary.
598 LocalInventories []*LocalInventory `protobuf:"bytes,35,rep,name=local_inventories,json=localInventories,proto3" json:"local_inventories,omitempty"`
599 }
600
601 func (x *Product) Reset() {
602 *x = Product{}
603 mi := &file_google_cloud_retail_v2_product_proto_msgTypes[0]
604 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
605 ms.StoreMessageInfo(mi)
606 }
607
608 func (x *Product) String() string {
609 return protoimpl.X.MessageStringOf(x)
610 }
611
612 func (*Product) ProtoMessage() {}
613
614 func (x *Product) ProtoReflect() protoreflect.Message {
615 mi := &file_google_cloud_retail_v2_product_proto_msgTypes[0]
616 if x != nil {
617 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
618 if ms.LoadMessageInfo() == nil {
619 ms.StoreMessageInfo(mi)
620 }
621 return ms
622 }
623 return mi.MessageOf(x)
624 }
625
626 // Deprecated: Use Product.ProtoReflect.Descriptor instead.
627 func (*Product) Descriptor() ([]byte, []int) {
628 return file_google_cloud_retail_v2_product_proto_rawDescGZIP(), []int{0}
629 }
630
631 func (m *Product) GetExpiration() isProduct_Expiration {
632 if m != nil {
633 return m.Expiration
634 }
635 return nil
636 }
637
638 func (x *Product) GetExpireTime() *timestamppb.Timestamp {
639 if x, ok := x.GetExpiration().(*Product_ExpireTime); ok {
640 return x.ExpireTime
641 }
642 return nil
643 }
644
645 func (x *Product) GetTtl() *durationpb.Duration {
646 if x, ok := x.GetExpiration().(*Product_Ttl); ok {
647 return x.Ttl
648 }
649 return nil
650 }
651
652 func (x *Product) GetName() string {
653 if x != nil {
654 return x.Name
655 }
656 return ""
657 }
658
659 func (x *Product) GetId() string {
660 if x != nil {
661 return x.Id
662 }
663 return ""
664 }
665
666 func (x *Product) GetType() Product_Type {
667 if x != nil {
668 return x.Type
669 }
670 return Product_TYPE_UNSPECIFIED
671 }
672
673 func (x *Product) GetPrimaryProductId() string {
674 if x != nil {
675 return x.PrimaryProductId
676 }
677 return ""
678 }
679
680 func (x *Product) GetCollectionMemberIds() []string {
681 if x != nil {
682 return x.CollectionMemberIds
683 }
684 return nil
685 }
686
687 func (x *Product) GetGtin() string {
688 if x != nil {
689 return x.Gtin
690 }
691 return ""
692 }
693
694 func (x *Product) GetCategories() []string {
695 if x != nil {
696 return x.Categories
697 }
698 return nil
699 }
700
701 func (x *Product) GetTitle() string {
702 if x != nil {
703 return x.Title
704 }
705 return ""
706 }
707
708 func (x *Product) GetBrands() []string {
709 if x != nil {
710 return x.Brands
711 }
712 return nil
713 }
714
715 func (x *Product) GetDescription() string {
716 if x != nil {
717 return x.Description
718 }
719 return ""
720 }
721
722 func (x *Product) GetLanguageCode() string {
723 if x != nil {
724 return x.LanguageCode
725 }
726 return ""
727 }
728
729 func (x *Product) GetAttributes() map[string]*CustomAttribute {
730 if x != nil {
731 return x.Attributes
732 }
733 return nil
734 }
735
736 func (x *Product) GetTags() []string {
737 if x != nil {
738 return x.Tags
739 }
740 return nil
741 }
742
743 func (x *Product) GetPriceInfo() *PriceInfo {
744 if x != nil {
745 return x.PriceInfo
746 }
747 return nil
748 }
749
750 func (x *Product) GetRating() *Rating {
751 if x != nil {
752 return x.Rating
753 }
754 return nil
755 }
756
757 func (x *Product) GetAvailableTime() *timestamppb.Timestamp {
758 if x != nil {
759 return x.AvailableTime
760 }
761 return nil
762 }
763
764 func (x *Product) GetAvailability() Product_Availability {
765 if x != nil {
766 return x.Availability
767 }
768 return Product_AVAILABILITY_UNSPECIFIED
769 }
770
771 func (x *Product) GetAvailableQuantity() *wrapperspb.Int32Value {
772 if x != nil {
773 return x.AvailableQuantity
774 }
775 return nil
776 }
777
778 func (x *Product) GetFulfillmentInfo() []*FulfillmentInfo {
779 if x != nil {
780 return x.FulfillmentInfo
781 }
782 return nil
783 }
784
785 func (x *Product) GetUri() string {
786 if x != nil {
787 return x.Uri
788 }
789 return ""
790 }
791
792 func (x *Product) GetImages() []*Image {
793 if x != nil {
794 return x.Images
795 }
796 return nil
797 }
798
799 func (x *Product) GetAudience() *Audience {
800 if x != nil {
801 return x.Audience
802 }
803 return nil
804 }
805
806 func (x *Product) GetColorInfo() *ColorInfo {
807 if x != nil {
808 return x.ColorInfo
809 }
810 return nil
811 }
812
813 func (x *Product) GetSizes() []string {
814 if x != nil {
815 return x.Sizes
816 }
817 return nil
818 }
819
820 func (x *Product) GetMaterials() []string {
821 if x != nil {
822 return x.Materials
823 }
824 return nil
825 }
826
827 func (x *Product) GetPatterns() []string {
828 if x != nil {
829 return x.Patterns
830 }
831 return nil
832 }
833
834 func (x *Product) GetConditions() []string {
835 if x != nil {
836 return x.Conditions
837 }
838 return nil
839 }
840
841 func (x *Product) GetPromotions() []*Promotion {
842 if x != nil {
843 return x.Promotions
844 }
845 return nil
846 }
847
848 func (x *Product) GetPublishTime() *timestamppb.Timestamp {
849 if x != nil {
850 return x.PublishTime
851 }
852 return nil
853 }
854
855 // Deprecated: Marked as deprecated in google/cloud/retail/v2/product.proto.
856 func (x *Product) GetRetrievableFields() *fieldmaskpb.FieldMask {
857 if x != nil {
858 return x.RetrievableFields
859 }
860 return nil
861 }
862
863 func (x *Product) GetVariants() []*Product {
864 if x != nil {
865 return x.Variants
866 }
867 return nil
868 }
869
870 func (x *Product) GetLocalInventories() []*LocalInventory {
871 if x != nil {
872 return x.LocalInventories
873 }
874 return nil
875 }
876
877 type isProduct_Expiration interface {
878 isProduct_Expiration()
879 }
880
881 type Product_ExpireTime struct {
882 // Note that this field is applied in the following ways:
883 //
884 // * If the [Product][google.cloud.retail.v2.Product] is already expired
885 // when it is uploaded, this product
886 //
887 // is not indexed for search.
888 //
889 // * If the [Product][google.cloud.retail.v2.Product] is not expired when it
890 // is uploaded, only the
891 //
892 // [Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]'s and
893 // [Type.COLLECTION][google.cloud.retail.v2.Product.Type.COLLECTION]'s
894 // expireTime is respected, and
895 // [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]'s
896 // expireTime is not used.
897 //
898 // In general, we suggest the users to delete the stale
899 // products explicitly, instead of using this field to determine staleness.
900 //
901 // [expire_time][google.cloud.retail.v2.Product.expire_time] must be later
902 // than [available_time][google.cloud.retail.v2.Product.available_time] and
903 // [publish_time][google.cloud.retail.v2.Product.publish_time], otherwise an
904 // INVALID_ARGUMENT error is thrown.
905 //
906 // Corresponding properties: Google Merchant Center property
907 // [expiration_date](https://support.google.com/merchants/answer/6324499).
908 ExpireTime *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=expire_time,json=expireTime,proto3,oneof"`
909 }
910
911 type Product_Ttl struct {
912 // Input only. The TTL (time to live) of the product. Note that this is only
913 // applicable to [Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
914 // and [Type.COLLECTION][google.cloud.retail.v2.Product.Type.COLLECTION],
915 // and ignored for
916 // [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. In general,
917 // we suggest the users to delete the stale products explicitly, instead of
918 // using this field to determine staleness.
919 //
920 // If it is set, it must be a non-negative value, and
921 // [expire_time][google.cloud.retail.v2.Product.expire_time] is set as
922 // current timestamp plus [ttl][google.cloud.retail.v2.Product.ttl]. The
923 // derived [expire_time][google.cloud.retail.v2.Product.expire_time] is
924 // returned in the output and [ttl][google.cloud.retail.v2.Product.ttl] is
925 // left blank when retrieving the [Product][google.cloud.retail.v2.Product].
926 //
927 // If it is set, the product is not available for
928 // [SearchService.Search][google.cloud.retail.v2.SearchService.Search] after
929 // current timestamp plus [ttl][google.cloud.retail.v2.Product.ttl].
930 // However, the product can still be retrieved by
931 // [ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct]
932 // and
933 // [ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts].
934 Ttl *durationpb.Duration `protobuf:"bytes,17,opt,name=ttl,proto3,oneof"`
935 }
936
937 func (*Product_ExpireTime) isProduct_Expiration() {}
938
939 func (*Product_Ttl) isProduct_Expiration() {}
940
941 var File_google_cloud_retail_v2_product_proto protoreflect.FileDescriptor
942
943 var file_google_cloud_retail_v2_product_proto_rawDesc = []byte{
944 0x0a, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72,
945 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
946 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
947 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x1a, 0x1f,
948 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,
949 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
950 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f,
951 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67,
952 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f,
953 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
954 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65,
955 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f,
956 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
957 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
958 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
959 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d,
960 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
961 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73,
962 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67,
963 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70,
964 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe3, 0x10, 0x0a, 0x07, 0x50,
965 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x3d, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65,
966 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
967 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
968 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72,
969 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x11, 0x20, 0x01,
970 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
971 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0,
972 0x41, 0x04, 0x48, 0x00, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
973 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x04, 0x6e, 0x61,
974 0x6d, 0x65, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
975 0xe0, 0x41, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
976 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
977 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x2e, 0x50,
978 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x05,
979 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72,
980 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01,
981 0x28, 0x09, 0x52, 0x10, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x64, 0x75,
982 0x63, 0x74, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x15, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69,
983 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20,
984 0x03, 0x28, 0x09, 0x52, 0x13, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d,
985 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x74, 0x69, 0x6e,
986 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x74, 0x69, 0x6e, 0x12, 0x1e, 0x0a, 0x0a,
987 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09,
988 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x05,
989 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,
990 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x64,
991 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x73, 0x12,
992 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a,
993 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
994 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f,
995 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61,
996 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x4f, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62,
997 0x75, 0x74, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f,
998 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c,
999 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x72,
1000 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74,
1001 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18,
1002 0x0d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x40, 0x0a, 0x0a, 0x70,
1003 0x72, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32,
1004 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72,
1005 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x6e,
1006 0x66, 0x6f, 0x52, 0x09, 0x70, 0x72, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x36, 0x0a,
1007 0x06, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
1008 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74,
1009 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x72,
1010 0x61, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x41, 0x0a, 0x0e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62,
1011 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
1012 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
1013 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0d, 0x61, 0x76, 0x61, 0x69, 0x6c,
1014 0x61, 0x62, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x50, 0x0a, 0x0c, 0x61, 0x76, 0x61, 0x69,
1015 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c,
1016 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65,
1017 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x2e,
1018 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0c, 0x61, 0x76,
1019 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x4a, 0x0a, 0x12, 0x61, 0x76,
1020 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79,
1021 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1022 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61,
1023 0x6c, 0x75, 0x65, 0x52, 0x11, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x51, 0x75,
1024 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x52, 0x0a, 0x10, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c,
1025 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x15, 0x20, 0x03, 0x28, 0x0b,
1026 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1027 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x75, 0x6c, 0x66, 0x69, 0x6c,
1028 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x66, 0x75, 0x6c, 0x66, 0x69,
1029 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72,
1030 0x69, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x35, 0x0a, 0x06,
1031 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67,
1032 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61,
1033 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x06, 0x69, 0x6d, 0x61,
1034 0x67, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x08, 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x18,
1035 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1036 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x2e, 0x41,
1037 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63,
1038 0x65, 0x12, 0x40, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18,
1039 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1040 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x2e, 0x43,
1041 0x6f, 0x6c, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x49,
1042 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x69, 0x7a, 0x65, 0x73, 0x18, 0x1a, 0x20, 0x03,
1043 0x28, 0x09, 0x52, 0x05, 0x73, 0x69, 0x7a, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x61, 0x74,
1044 0x65, 0x72, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x1b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61,
1045 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x74, 0x74, 0x65,
1046 0x72, 0x6e, 0x73, 0x18, 0x1c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x74, 0x74, 0x65,
1047 0x72, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
1048 0x73, 0x18, 0x1d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69,
1049 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e,
1050 0x73, 0x18, 0x22, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1051 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32,
1052 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x6d,
1053 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73,
1054 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x21, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
1055 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
1056 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73,
1057 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x12, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76,
1058 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x1e, 0x20, 0x01, 0x28,
1059 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1060 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x02, 0x18,
1061 0x01, 0x52, 0x11, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69,
1062 0x65, 0x6c, 0x64, 0x73, 0x12, 0x40, 0x0a, 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73,
1063 0x18, 0x1f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1064 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x2e,
1065 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x76, 0x61,
1066 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x58, 0x0a, 0x11, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f,
1067 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x23, 0x20, 0x03, 0x28,
1068 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1069 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c,
1070 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10,
1071 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73,
1072 0x1a, 0x66, 0x0a, 0x0f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e,
1073 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1074 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
1075 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
1076 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x75,
1077 0x73, 0x74, 0x6f, 0x6d, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x05, 0x76,
1078 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x46, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65,
1079 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
1080 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x49, 0x4d, 0x41, 0x52,
1081 0x59, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x56, 0x41, 0x52, 0x49, 0x41, 0x4e, 0x54, 0x10, 0x02,
1082 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x4f, 0x4c, 0x4c, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03,
1083 0x22, 0x69, 0x0a, 0x0c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79,
1084 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59,
1085 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c,
1086 0x0a, 0x08, 0x49, 0x4e, 0x5f, 0x53, 0x54, 0x4f, 0x43, 0x4b, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c,
1087 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x53, 0x54, 0x4f, 0x43, 0x4b, 0x10, 0x02, 0x12, 0x0c,
1088 0x0a, 0x08, 0x50, 0x52, 0x45, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09,
1089 0x42, 0x41, 0x43, 0x4b, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x10, 0x04, 0x3a, 0x84, 0x01, 0xea, 0x41,
1090 0x80, 0x01, 0x0a, 0x1d, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1091 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
1092 0x74, 0x12, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f,
1093 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
1094 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c,
1095 0x6f, 0x67, 0x73, 0x2f, 0x7b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x7d, 0x2f, 0x62, 0x72,
1096 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x2f, 0x7b, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x7d, 0x2f,
1097 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
1098 0x74, 0x7d, 0x42, 0x0c, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1099 0x42, 0xa6, 0x02, 0xea, 0x41, 0x6c, 0x0a, 0x1c, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67,
1100 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x72,
1101 0x61, 0x6e, 0x63, 0x68, 0x12, 0x4c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b,
1102 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
1103 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x63, 0x61,
1104 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x7b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x7d,
1105 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x2f, 0x7b, 0x62, 0x72, 0x61, 0x6e, 0x63,
1106 0x68, 0x7d, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1107 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x42, 0x0c,
1108 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x32,
1109 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
1110 0x2f, 0x67, 0x6f, 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32,
1111 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x70, 0x62, 0x3b, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c,
1112 0x70, 0x62, 0xa2, 0x02, 0x06, 0x52, 0x45, 0x54, 0x41, 0x49, 0x4c, 0xaa, 0x02, 0x16, 0x47, 0x6f,
1113 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x52, 0x65, 0x74, 0x61, 0x69,
1114 0x6c, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c,
1115 0x6f, 0x75, 0x64, 0x5c, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x5c, 0x56, 0x32, 0xea, 0x02, 0x19,
1116 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x52,
1117 0x65, 0x74, 0x61, 0x69, 0x6c, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1118 0x33,
1119 }
1120
1121 var (
1122 file_google_cloud_retail_v2_product_proto_rawDescOnce sync.Once
1123 file_google_cloud_retail_v2_product_proto_rawDescData = file_google_cloud_retail_v2_product_proto_rawDesc
1124 )
1125
1126 func file_google_cloud_retail_v2_product_proto_rawDescGZIP() []byte {
1127 file_google_cloud_retail_v2_product_proto_rawDescOnce.Do(func() {
1128 file_google_cloud_retail_v2_product_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_retail_v2_product_proto_rawDescData)
1129 })
1130 return file_google_cloud_retail_v2_product_proto_rawDescData
1131 }
1132
1133 var file_google_cloud_retail_v2_product_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
1134 var file_google_cloud_retail_v2_product_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
1135 var file_google_cloud_retail_v2_product_proto_goTypes = []any{
1136 (Product_Type)(0), // 0: google.cloud.retail.v2.Product.Type
1137 (Product_Availability)(0), // 1: google.cloud.retail.v2.Product.Availability
1138 (*Product)(nil), // 2: google.cloud.retail.v2.Product
1139 nil, // 3: google.cloud.retail.v2.Product.AttributesEntry
1140 (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp
1141 (*durationpb.Duration)(nil), // 5: google.protobuf.Duration
1142 (*PriceInfo)(nil), // 6: google.cloud.retail.v2.PriceInfo
1143 (*Rating)(nil), // 7: google.cloud.retail.v2.Rating
1144 (*wrapperspb.Int32Value)(nil), // 8: google.protobuf.Int32Value
1145 (*FulfillmentInfo)(nil), // 9: google.cloud.retail.v2.FulfillmentInfo
1146 (*Image)(nil), // 10: google.cloud.retail.v2.Image
1147 (*Audience)(nil), // 11: google.cloud.retail.v2.Audience
1148 (*ColorInfo)(nil), // 12: google.cloud.retail.v2.ColorInfo
1149 (*Promotion)(nil), // 13: google.cloud.retail.v2.Promotion
1150 (*fieldmaskpb.FieldMask)(nil), // 14: google.protobuf.FieldMask
1151 (*LocalInventory)(nil), // 15: google.cloud.retail.v2.LocalInventory
1152 (*CustomAttribute)(nil), // 16: google.cloud.retail.v2.CustomAttribute
1153 }
1154 var file_google_cloud_retail_v2_product_proto_depIdxs = []int32{
1155 4, // 0: google.cloud.retail.v2.Product.expire_time:type_name -> google.protobuf.Timestamp
1156 5, // 1: google.cloud.retail.v2.Product.ttl:type_name -> google.protobuf.Duration
1157 0, // 2: google.cloud.retail.v2.Product.type:type_name -> google.cloud.retail.v2.Product.Type
1158 3, // 3: google.cloud.retail.v2.Product.attributes:type_name -> google.cloud.retail.v2.Product.AttributesEntry
1159 6, // 4: google.cloud.retail.v2.Product.price_info:type_name -> google.cloud.retail.v2.PriceInfo
1160 7, // 5: google.cloud.retail.v2.Product.rating:type_name -> google.cloud.retail.v2.Rating
1161 4, // 6: google.cloud.retail.v2.Product.available_time:type_name -> google.protobuf.Timestamp
1162 1, // 7: google.cloud.retail.v2.Product.availability:type_name -> google.cloud.retail.v2.Product.Availability
1163 8, // 8: google.cloud.retail.v2.Product.available_quantity:type_name -> google.protobuf.Int32Value
1164 9, // 9: google.cloud.retail.v2.Product.fulfillment_info:type_name -> google.cloud.retail.v2.FulfillmentInfo
1165 10, // 10: google.cloud.retail.v2.Product.images:type_name -> google.cloud.retail.v2.Image
1166 11, // 11: google.cloud.retail.v2.Product.audience:type_name -> google.cloud.retail.v2.Audience
1167 12, // 12: google.cloud.retail.v2.Product.color_info:type_name -> google.cloud.retail.v2.ColorInfo
1168 13, // 13: google.cloud.retail.v2.Product.promotions:type_name -> google.cloud.retail.v2.Promotion
1169 4, // 14: google.cloud.retail.v2.Product.publish_time:type_name -> google.protobuf.Timestamp
1170 14, // 15: google.cloud.retail.v2.Product.retrievable_fields:type_name -> google.protobuf.FieldMask
1171 2, // 16: google.cloud.retail.v2.Product.variants:type_name -> google.cloud.retail.v2.Product
1172 15, // 17: google.cloud.retail.v2.Product.local_inventories:type_name -> google.cloud.retail.v2.LocalInventory
1173 16, // 18: google.cloud.retail.v2.Product.AttributesEntry.value:type_name -> google.cloud.retail.v2.CustomAttribute
1174 19, // [19:19] is the sub-list for method output_type
1175 19, // [19:19] is the sub-list for method input_type
1176 19, // [19:19] is the sub-list for extension type_name
1177 19, // [19:19] is the sub-list for extension extendee
1178 0, // [0:19] is the sub-list for field type_name
1179 }
1180
1181 func init() { file_google_cloud_retail_v2_product_proto_init() }
1182 func file_google_cloud_retail_v2_product_proto_init() {
1183 if File_google_cloud_retail_v2_product_proto != nil {
1184 return
1185 }
1186 file_google_cloud_retail_v2_common_proto_init()
1187 file_google_cloud_retail_v2_promotion_proto_init()
1188 file_google_cloud_retail_v2_product_proto_msgTypes[0].OneofWrappers = []any{
1189 (*Product_ExpireTime)(nil),
1190 (*Product_Ttl)(nil),
1191 }
1192 type x struct{}
1193 out := protoimpl.TypeBuilder{
1194 File: protoimpl.DescBuilder{
1195 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1196 RawDescriptor: file_google_cloud_retail_v2_product_proto_rawDesc,
1197 NumEnums: 2,
1198 NumMessages: 2,
1199 NumExtensions: 0,
1200 NumServices: 0,
1201 },
1202 GoTypes: file_google_cloud_retail_v2_product_proto_goTypes,
1203 DependencyIndexes: file_google_cloud_retail_v2_product_proto_depIdxs,
1204 EnumInfos: file_google_cloud_retail_v2_product_proto_enumTypes,
1205 MessageInfos: file_google_cloud_retail_v2_product_proto_msgTypes,
1206 }.Build()
1207 File_google_cloud_retail_v2_product_proto = out.File
1208 file_google_cloud_retail_v2_product_proto_rawDesc = nil
1209 file_google_cloud_retail_v2_product_proto_goTypes = nil
1210 file_google_cloud_retail_v2_product_proto_depIdxs = nil
1211 }