1// Copyright 2020 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.25.0 18// protoc v3.13.0 19// source: google/cloud/retail/v2beta/common.proto 20 21package retail 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 28 _ "google.golang.org/genproto/googleapis/api/annotations" 29 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 30 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 31 _ "google.golang.org/protobuf/types/known/timestamppb" 32) 33 34const ( 35 // Verify that this generated code is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 37 // Verify that runtime/protoimpl is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 39) 40 41// This is a compile-time assertion that a sufficiently up-to-date version 42// of the legacy proto package is being used. 43const _ = proto.ProtoPackageIsVersion4 44 45// A custom attribute that is not explicitly modeled in 46// [Product][google.cloud.retail.v2beta.Product]]. 47type CustomAttribute struct { 48 state protoimpl.MessageState 49 sizeCache protoimpl.SizeCache 50 unknownFields protoimpl.UnknownFields 51 52 // The textual values of this custom attribute. For example, `["yellow", 53 // "green"]` when the key is "color". 54 // 55 // At most 400 values are allowed. Empty values are not allowed. Each value 56 // must be a UTF-8 encoded string with a length limit of 256 characters. 57 // Otherwise, an INVALID_ARGUMENT error is returned. 58 // 59 // Exactly one of [text][google.cloud.retail.v2beta.CustomAttribute.text] or 60 // [numbers][google.cloud.retail.v2beta.CustomAttribute.numbers] should be 61 // set. Otherwise, an INVALID_ARGUMENT error is returned. 62 Text []string `protobuf:"bytes,1,rep,name=text,proto3" json:"text,omitempty"` 63 // The numerical values of this custom attribute. For example, `[2.3, 15.4]` 64 // when the key is "lengths_cm". 65 // 66 // At most 400 values are allowed.Otherwise, an INVALID_ARGUMENT error is 67 // returned. 68 // 69 // Exactly one of [text][google.cloud.retail.v2beta.CustomAttribute.text] or 70 // [numbers][google.cloud.retail.v2beta.CustomAttribute.numbers] should be 71 // set. Otherwise, an INVALID_ARGUMENT error is returned. 72 Numbers []float64 `protobuf:"fixed64,2,rep,packed,name=numbers,proto3" json:"numbers,omitempty"` 73} 74 75func (x *CustomAttribute) Reset() { 76 *x = CustomAttribute{} 77 if protoimpl.UnsafeEnabled { 78 mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[0] 79 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 80 ms.StoreMessageInfo(mi) 81 } 82} 83 84func (x *CustomAttribute) String() string { 85 return protoimpl.X.MessageStringOf(x) 86} 87 88func (*CustomAttribute) ProtoMessage() {} 89 90func (x *CustomAttribute) ProtoReflect() protoreflect.Message { 91 mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[0] 92 if protoimpl.UnsafeEnabled && x != nil { 93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 94 if ms.LoadMessageInfo() == nil { 95 ms.StoreMessageInfo(mi) 96 } 97 return ms 98 } 99 return mi.MessageOf(x) 100} 101 102// Deprecated: Use CustomAttribute.ProtoReflect.Descriptor instead. 103func (*CustomAttribute) Descriptor() ([]byte, []int) { 104 return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{0} 105} 106 107func (x *CustomAttribute) GetText() []string { 108 if x != nil { 109 return x.Text 110 } 111 return nil 112} 113 114func (x *CustomAttribute) GetNumbers() []float64 { 115 if x != nil { 116 return x.Numbers 117 } 118 return nil 119} 120 121// [Product][google.cloud.retail.v2beta.Product] thumbnail/detail image. 122type Image struct { 123 state protoimpl.MessageState 124 sizeCache protoimpl.SizeCache 125 unknownFields protoimpl.UnknownFields 126 127 // Required. URI of the image. 128 // 129 // This field must be a valid UTF-8 encoded URI with a length limit of 5,000 130 // characters. Otherwise, an INVALID_ARGUMENT error is returned. 131 // 132 // Google Merchant Center property 133 // [image_link](https://support.google.com/merchants/answer/6324350). 134 // Schema.org property [Product.image](https://schema.org/image). 135 Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` 136 // Height of the image in number of pixels. 137 // 138 // This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is 139 // returned. 140 Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` 141 // Width of the image in number of pixels. 142 // 143 // This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is 144 // returned. 145 Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` 146} 147 148func (x *Image) Reset() { 149 *x = Image{} 150 if protoimpl.UnsafeEnabled { 151 mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[1] 152 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 153 ms.StoreMessageInfo(mi) 154 } 155} 156 157func (x *Image) String() string { 158 return protoimpl.X.MessageStringOf(x) 159} 160 161func (*Image) ProtoMessage() {} 162 163func (x *Image) ProtoReflect() protoreflect.Message { 164 mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[1] 165 if protoimpl.UnsafeEnabled && x != nil { 166 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 167 if ms.LoadMessageInfo() == nil { 168 ms.StoreMessageInfo(mi) 169 } 170 return ms 171 } 172 return mi.MessageOf(x) 173} 174 175// Deprecated: Use Image.ProtoReflect.Descriptor instead. 176func (*Image) Descriptor() ([]byte, []int) { 177 return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{1} 178} 179 180func (x *Image) GetUri() string { 181 if x != nil { 182 return x.Uri 183 } 184 return "" 185} 186 187func (x *Image) GetHeight() int32 { 188 if x != nil { 189 return x.Height 190 } 191 return 0 192} 193 194func (x *Image) GetWidth() int32 { 195 if x != nil { 196 return x.Width 197 } 198 return 0 199} 200 201// The price information of a [Product][google.cloud.retail.v2beta.Product]. 202type PriceInfo struct { 203 state protoimpl.MessageState 204 sizeCache protoimpl.SizeCache 205 unknownFields protoimpl.UnknownFields 206 207 // The 3-letter currency code defined in [ISO 208 // 4217](https://www.iso.org/iso-4217-currency-codes.html). 209 // 210 // If this field is an unrecognizable currency code, an INVALID_ARGUMENT 211 // error is returned. 212 CurrencyCode string `protobuf:"bytes,1,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` 213 // Price of the product. 214 // 215 // Google Merchant Center property 216 // [price](https://support.google.com/merchants/answer/6324371). Schema.org 217 // property [Offer.priceSpecification](https://schema.org/priceSpecification). 218 Price float32 `protobuf:"fixed32,2,opt,name=price,proto3" json:"price,omitempty"` 219 // Price of the product without any discount. If zero, by default set to be 220 // the [price][google.cloud.retail.v2beta.PriceInfo.price]. 221 OriginalPrice float32 `protobuf:"fixed32,3,opt,name=original_price,json=originalPrice,proto3" json:"original_price,omitempty"` 222 // The costs associated with the sale of a particular product. Used for gross 223 // profit reporting. 224 // 225 // * Profit = [price][google.cloud.retail.v2beta.PriceInfo.price] - 226 // [cost][google.cloud.retail.v2beta.PriceInfo.cost] 227 // 228 // Google Merchant Center property 229 // [cost_of_goods_sold](https://support.google.com/merchants/answer/9017895). 230 Cost float32 `protobuf:"fixed32,4,opt,name=cost,proto3" json:"cost,omitempty"` 231} 232 233func (x *PriceInfo) Reset() { 234 *x = PriceInfo{} 235 if protoimpl.UnsafeEnabled { 236 mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[2] 237 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 238 ms.StoreMessageInfo(mi) 239 } 240} 241 242func (x *PriceInfo) String() string { 243 return protoimpl.X.MessageStringOf(x) 244} 245 246func (*PriceInfo) ProtoMessage() {} 247 248func (x *PriceInfo) ProtoReflect() protoreflect.Message { 249 mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[2] 250 if protoimpl.UnsafeEnabled && x != nil { 251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 252 if ms.LoadMessageInfo() == nil { 253 ms.StoreMessageInfo(mi) 254 } 255 return ms 256 } 257 return mi.MessageOf(x) 258} 259 260// Deprecated: Use PriceInfo.ProtoReflect.Descriptor instead. 261func (*PriceInfo) Descriptor() ([]byte, []int) { 262 return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{2} 263} 264 265func (x *PriceInfo) GetCurrencyCode() string { 266 if x != nil { 267 return x.CurrencyCode 268 } 269 return "" 270} 271 272func (x *PriceInfo) GetPrice() float32 { 273 if x != nil { 274 return x.Price 275 } 276 return 0 277} 278 279func (x *PriceInfo) GetOriginalPrice() float32 { 280 if x != nil { 281 return x.OriginalPrice 282 } 283 return 0 284} 285 286func (x *PriceInfo) GetCost() float32 { 287 if x != nil { 288 return x.Cost 289 } 290 return 0 291} 292 293// Information of an end user. 294type UserInfo struct { 295 state protoimpl.MessageState 296 sizeCache protoimpl.SizeCache 297 unknownFields protoimpl.UnknownFields 298 299 // Highly recommended for logged-in users. Unique identifier for logged-in 300 // user, such as a user name. 301 // 302 // The field must be a UTF-8 encoded string with a length limit of 128 303 // characters. Otherwise, an INVALID_ARGUMENT error is returned. 304 UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` 305 // The end user's IP address. This field is used to extract location 306 // information for personalization. 307 // 308 // This field must be either an IPv4 address (e.g. "104.133.9.80") or an IPv6 309 // address (e.g. "2001:0db8:85a3:0000:0000:8a2e:0370:7334"). Otherwise, an 310 // INVALID_ARGUMENT error is returned. 311 // 312 // This should not be set when using the JavaScript tag in 313 // [UserEventService.CollectUserEvent][google.cloud.retail.v2beta.UserEventService.CollectUserEvent] 314 // or if 315 // [direct_user_request][google.cloud.retail.v2beta.UserInfo.direct_user_request] 316 // is set. 317 IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` 318 // User agent as included in the HTTP header. 319 // 320 // The field must be a UTF-8 encoded string with a length limit of 1,000 321 // characters. Otherwise, an INVALID_ARGUMENT error is returned. 322 // 323 // This should not be set when using the client side event reporting with 324 // GTM or JavaScript tag in 325 // [UserEventService.CollectUserEvent][google.cloud.retail.v2beta.UserEventService.CollectUserEvent] 326 // or if 327 // [direct_user_request][google.cloud.retail.v2beta.UserInfo.direct_user_request] 328 // is set. 329 UserAgent string `protobuf:"bytes,3,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` 330 // True if the request is made directly from the end user, in which case the 331 // [ip_address][google.cloud.retail.v2beta.UserInfo.ip_address] and 332 // [user_agent][google.cloud.retail.v2beta.UserInfo.user_agent] can be 333 // populated from the HTTP request. This flag should be set only if the API 334 // request is made directly from the end user such as a mobile app (and not if 335 // a gateway or a server is processing and pushing the user events). 336 // 337 // This should not be set when using the JavaScript tag in 338 // [UserEventService.CollectUserEvent][google.cloud.retail.v2beta.UserEventService.CollectUserEvent]. 339 DirectUserRequest bool `protobuf:"varint,4,opt,name=direct_user_request,json=directUserRequest,proto3" json:"direct_user_request,omitempty"` 340} 341 342func (x *UserInfo) Reset() { 343 *x = UserInfo{} 344 if protoimpl.UnsafeEnabled { 345 mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[3] 346 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 347 ms.StoreMessageInfo(mi) 348 } 349} 350 351func (x *UserInfo) String() string { 352 return protoimpl.X.MessageStringOf(x) 353} 354 355func (*UserInfo) ProtoMessage() {} 356 357func (x *UserInfo) ProtoReflect() protoreflect.Message { 358 mi := &file_google_cloud_retail_v2beta_common_proto_msgTypes[3] 359 if protoimpl.UnsafeEnabled && x != nil { 360 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 361 if ms.LoadMessageInfo() == nil { 362 ms.StoreMessageInfo(mi) 363 } 364 return ms 365 } 366 return mi.MessageOf(x) 367} 368 369// Deprecated: Use UserInfo.ProtoReflect.Descriptor instead. 370func (*UserInfo) Descriptor() ([]byte, []int) { 371 return file_google_cloud_retail_v2beta_common_proto_rawDescGZIP(), []int{3} 372} 373 374func (x *UserInfo) GetUserId() string { 375 if x != nil { 376 return x.UserId 377 } 378 return "" 379} 380 381func (x *UserInfo) GetIpAddress() string { 382 if x != nil { 383 return x.IpAddress 384 } 385 return "" 386} 387 388func (x *UserInfo) GetUserAgent() string { 389 if x != nil { 390 return x.UserAgent 391 } 392 return "" 393} 394 395func (x *UserInfo) GetDirectUserRequest() bool { 396 if x != nil { 397 return x.DirectUserRequest 398 } 399 return false 400} 401 402var File_google_cloud_retail_v2beta_common_proto protoreflect.FileDescriptor 403 404var file_google_cloud_retail_v2beta_common_proto_rawDesc = []byte{ 405 0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 406 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x63, 0x6f, 0x6d, 407 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 408 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 409 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 410 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 411 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 412 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 413 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 414 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 415 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x0f, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x41, 416 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 417 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x18, 0x0a, 0x07, 418 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x01, 0x52, 0x07, 0x6e, 419 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x22, 0x4c, 0x0a, 0x05, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 420 0x15, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 421 0x02, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 422 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 423 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x77, 424 0x69, 0x64, 0x74, 0x68, 0x22, 0x81, 0x01, 0x0a, 0x09, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x6e, 425 0x66, 0x6f, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x63, 426 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 427 0x6e, 0x63, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 428 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x25, 0x0a, 429 0x0e, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 430 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0d, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x50, 431 0x72, 0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 432 0x28, 0x02, 0x52, 0x04, 0x63, 0x6f, 0x73, 0x74, 0x22, 0x91, 0x01, 0x0a, 0x08, 0x55, 0x73, 0x65, 433 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 434 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 435 0x0a, 0x0a, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 436 0x28, 0x09, 0x52, 0x09, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 437 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 438 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x13, 439 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x71, 0x75, 440 0x65, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x72, 0x65, 0x63, 441 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0xd4, 0x01, 0x0a, 442 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 443 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x42, 444 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40, 445 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 446 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 447 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x74, 0x61, 448 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 449 0xa2, 0x02, 0x06, 0x52, 0x45, 0x54, 0x41, 0x49, 0x4c, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 450 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 451 0x56, 0x32, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 452 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x5c, 0x56, 0x32, 0x62, 453 0x65, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 454 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x3a, 0x3a, 0x56, 0x32, 0x62, 455 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 456} 457 458var ( 459 file_google_cloud_retail_v2beta_common_proto_rawDescOnce sync.Once 460 file_google_cloud_retail_v2beta_common_proto_rawDescData = file_google_cloud_retail_v2beta_common_proto_rawDesc 461) 462 463func file_google_cloud_retail_v2beta_common_proto_rawDescGZIP() []byte { 464 file_google_cloud_retail_v2beta_common_proto_rawDescOnce.Do(func() { 465 file_google_cloud_retail_v2beta_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_retail_v2beta_common_proto_rawDescData) 466 }) 467 return file_google_cloud_retail_v2beta_common_proto_rawDescData 468} 469 470var file_google_cloud_retail_v2beta_common_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 471var file_google_cloud_retail_v2beta_common_proto_goTypes = []interface{}{ 472 (*CustomAttribute)(nil), // 0: google.cloud.retail.v2beta.CustomAttribute 473 (*Image)(nil), // 1: google.cloud.retail.v2beta.Image 474 (*PriceInfo)(nil), // 2: google.cloud.retail.v2beta.PriceInfo 475 (*UserInfo)(nil), // 3: google.cloud.retail.v2beta.UserInfo 476} 477var file_google_cloud_retail_v2beta_common_proto_depIdxs = []int32{ 478 0, // [0:0] is the sub-list for method output_type 479 0, // [0:0] is the sub-list for method input_type 480 0, // [0:0] is the sub-list for extension type_name 481 0, // [0:0] is the sub-list for extension extendee 482 0, // [0:0] is the sub-list for field type_name 483} 484 485func init() { file_google_cloud_retail_v2beta_common_proto_init() } 486func file_google_cloud_retail_v2beta_common_proto_init() { 487 if File_google_cloud_retail_v2beta_common_proto != nil { 488 return 489 } 490 if !protoimpl.UnsafeEnabled { 491 file_google_cloud_retail_v2beta_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 492 switch v := v.(*CustomAttribute); i { 493 case 0: 494 return &v.state 495 case 1: 496 return &v.sizeCache 497 case 2: 498 return &v.unknownFields 499 default: 500 return nil 501 } 502 } 503 file_google_cloud_retail_v2beta_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 504 switch v := v.(*Image); i { 505 case 0: 506 return &v.state 507 case 1: 508 return &v.sizeCache 509 case 2: 510 return &v.unknownFields 511 default: 512 return nil 513 } 514 } 515 file_google_cloud_retail_v2beta_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 516 switch v := v.(*PriceInfo); i { 517 case 0: 518 return &v.state 519 case 1: 520 return &v.sizeCache 521 case 2: 522 return &v.unknownFields 523 default: 524 return nil 525 } 526 } 527 file_google_cloud_retail_v2beta_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 528 switch v := v.(*UserInfo); i { 529 case 0: 530 return &v.state 531 case 1: 532 return &v.sizeCache 533 case 2: 534 return &v.unknownFields 535 default: 536 return nil 537 } 538 } 539 } 540 type x struct{} 541 out := protoimpl.TypeBuilder{ 542 File: protoimpl.DescBuilder{ 543 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 544 RawDescriptor: file_google_cloud_retail_v2beta_common_proto_rawDesc, 545 NumEnums: 0, 546 NumMessages: 4, 547 NumExtensions: 0, 548 NumServices: 0, 549 }, 550 GoTypes: file_google_cloud_retail_v2beta_common_proto_goTypes, 551 DependencyIndexes: file_google_cloud_retail_v2beta_common_proto_depIdxs, 552 MessageInfos: file_google_cloud_retail_v2beta_common_proto_msgTypes, 553 }.Build() 554 File_google_cloud_retail_v2beta_common_proto = out.File 555 file_google_cloud_retail_v2beta_common_proto_rawDesc = nil 556 file_google_cloud_retail_v2beta_common_proto_goTypes = nil 557 file_google_cloud_retail_v2beta_common_proto_depIdxs = nil 558} 559