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/v2alpha/import_config.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 status "google.golang.org/genproto/googleapis/rpc/status" 30 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 31 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 32 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 33 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 34) 35 36const ( 37 // Verify that this generated code is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 39 // Verify that runtime/protoimpl is sufficiently up-to-date. 40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 41) 42 43// This is a compile-time assertion that a sufficiently up-to-date version 44// of the legacy proto package is being used. 45const _ = proto.ProtoPackageIsVersion4 46 47// Google Cloud Storage location for input content. 48// format. 49type GcsSource struct { 50 state protoimpl.MessageState 51 sizeCache protoimpl.SizeCache 52 unknownFields protoimpl.UnknownFields 53 54 // Required. Google Cloud Storage URIs to input files. URI can be up to 55 // 2000 characters long. URIs can match the full object path (for example, 56 // gs://bucket/directory/object.json) or a pattern matching one or more 57 // files, such as gs://bucket/directory/*.json. A request can 58 // contain at most 100 files, and each file can be up to 2 GB. See 59 // [Importing product information](/recommendations-ai/docs/upload-catalog) 60 // for the expected file format and setup instructions. 61 InputUris []string `protobuf:"bytes,1,rep,name=input_uris,json=inputUris,proto3" json:"input_uris,omitempty"` 62 // The schema to use when parsing the data from the source. 63 // 64 // Supported values for product imports: 65 // 66 // 1: "product" using 67 // https://cloud.google.com/recommendations-ai/docs/upload-catalog#json 68 // (Default for products.import) 69 // 70 // 2: "product_merchant_center" using 71 // https://cloud.google.com/recommendations-ai/docs/upload-catalog#mc 72 // 73 // Supported values for user events imports: 74 // 75 // 1: "user_event" using 76 // https://cloud.google.com/recommendations-ai/docs/manage-user-events#import 77 // (Default for userEvents.import) 78 // 79 // 2. "user_event_ga360" using 80 // https://support.google.com/analytics/answer/3437719?hl=en 81 DataSchema string `protobuf:"bytes,2,opt,name=data_schema,json=dataSchema,proto3" json:"data_schema,omitempty"` 82} 83 84func (x *GcsSource) Reset() { 85 *x = GcsSource{} 86 if protoimpl.UnsafeEnabled { 87 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[0] 88 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 89 ms.StoreMessageInfo(mi) 90 } 91} 92 93func (x *GcsSource) String() string { 94 return protoimpl.X.MessageStringOf(x) 95} 96 97func (*GcsSource) ProtoMessage() {} 98 99func (x *GcsSource) ProtoReflect() protoreflect.Message { 100 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[0] 101 if protoimpl.UnsafeEnabled && x != nil { 102 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 103 if ms.LoadMessageInfo() == nil { 104 ms.StoreMessageInfo(mi) 105 } 106 return ms 107 } 108 return mi.MessageOf(x) 109} 110 111// Deprecated: Use GcsSource.ProtoReflect.Descriptor instead. 112func (*GcsSource) Descriptor() ([]byte, []int) { 113 return file_google_cloud_retail_v2alpha_import_config_proto_rawDescGZIP(), []int{0} 114} 115 116func (x *GcsSource) GetInputUris() []string { 117 if x != nil { 118 return x.InputUris 119 } 120 return nil 121} 122 123func (x *GcsSource) GetDataSchema() string { 124 if x != nil { 125 return x.DataSchema 126 } 127 return "" 128} 129 130// BigQuery source import data from. 131type BigQuerySource struct { 132 state protoimpl.MessageState 133 sizeCache protoimpl.SizeCache 134 unknownFields protoimpl.UnknownFields 135 136 // The project id (can be project # or id) that the BigQuery source is in with 137 // a length limit of 128 characters. If not specified, inherits the project 138 // id from the parent request. 139 ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 140 // Required. The BigQuery data set to copy the data from with a length limit 141 // of 1,024 characters. 142 DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` 143 // Required. The BigQuery table to copy the data from with a length limit of 144 // 1,024 characters. 145 TableId string `protobuf:"bytes,2,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` 146 // Intermediate Cloud Storage directory used for the import with a length 147 // limit of 2,000 characters. Can be specified if one wants to have the 148 // BigQuery export to a specific Cloud Storage directory. 149 GcsStagingDir string `protobuf:"bytes,3,opt,name=gcs_staging_dir,json=gcsStagingDir,proto3" json:"gcs_staging_dir,omitempty"` 150 // The schema to use when parsing the data from the source. 151 // 152 // Supported values for catalog imports: 153 // 154 // 1: "product" using 155 // https://cloud.google.com/recommendations-ai/docs/upload-catalog#json 156 // (Default for products.import) 157 // 158 // 2: "product_merchant_center" using 159 // https://cloud.google.com/recommendations-ai/docs/upload-catalog#mc 160 // 161 // Supported values for user event imports: 162 // 163 // 1: "user_event" using 164 // https://cloud.google.com/recommendations-ai/docs/manage-user-events#import 165 // (Default for userEvents.import) 166 // 167 // 2. "user_event_ga360" using 168 // https://support.google.com/analytics/answer/3437719?hl=en 169 DataSchema string `protobuf:"bytes,4,opt,name=data_schema,json=dataSchema,proto3" json:"data_schema,omitempty"` 170} 171 172func (x *BigQuerySource) Reset() { 173 *x = BigQuerySource{} 174 if protoimpl.UnsafeEnabled { 175 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[1] 176 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 177 ms.StoreMessageInfo(mi) 178 } 179} 180 181func (x *BigQuerySource) String() string { 182 return protoimpl.X.MessageStringOf(x) 183} 184 185func (*BigQuerySource) ProtoMessage() {} 186 187func (x *BigQuerySource) ProtoReflect() protoreflect.Message { 188 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[1] 189 if protoimpl.UnsafeEnabled && x != nil { 190 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 191 if ms.LoadMessageInfo() == nil { 192 ms.StoreMessageInfo(mi) 193 } 194 return ms 195 } 196 return mi.MessageOf(x) 197} 198 199// Deprecated: Use BigQuerySource.ProtoReflect.Descriptor instead. 200func (*BigQuerySource) Descriptor() ([]byte, []int) { 201 return file_google_cloud_retail_v2alpha_import_config_proto_rawDescGZIP(), []int{1} 202} 203 204func (x *BigQuerySource) GetProjectId() string { 205 if x != nil { 206 return x.ProjectId 207 } 208 return "" 209} 210 211func (x *BigQuerySource) GetDatasetId() string { 212 if x != nil { 213 return x.DatasetId 214 } 215 return "" 216} 217 218func (x *BigQuerySource) GetTableId() string { 219 if x != nil { 220 return x.TableId 221 } 222 return "" 223} 224 225func (x *BigQuerySource) GetGcsStagingDir() string { 226 if x != nil { 227 return x.GcsStagingDir 228 } 229 return "" 230} 231 232func (x *BigQuerySource) GetDataSchema() string { 233 if x != nil { 234 return x.DataSchema 235 } 236 return "" 237} 238 239// The inline source for the input config for ImportProducts method. 240type ProductInlineSource struct { 241 state protoimpl.MessageState 242 sizeCache protoimpl.SizeCache 243 unknownFields protoimpl.UnknownFields 244 245 // Required. A list of products to update/create. Recommended max of 10k 246 // items. 247 Products []*Product `protobuf:"bytes,1,rep,name=products,proto3" json:"products,omitempty"` 248} 249 250func (x *ProductInlineSource) Reset() { 251 *x = ProductInlineSource{} 252 if protoimpl.UnsafeEnabled { 253 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[2] 254 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 255 ms.StoreMessageInfo(mi) 256 } 257} 258 259func (x *ProductInlineSource) String() string { 260 return protoimpl.X.MessageStringOf(x) 261} 262 263func (*ProductInlineSource) ProtoMessage() {} 264 265func (x *ProductInlineSource) ProtoReflect() protoreflect.Message { 266 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[2] 267 if protoimpl.UnsafeEnabled && x != nil { 268 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 269 if ms.LoadMessageInfo() == nil { 270 ms.StoreMessageInfo(mi) 271 } 272 return ms 273 } 274 return mi.MessageOf(x) 275} 276 277// Deprecated: Use ProductInlineSource.ProtoReflect.Descriptor instead. 278func (*ProductInlineSource) Descriptor() ([]byte, []int) { 279 return file_google_cloud_retail_v2alpha_import_config_proto_rawDescGZIP(), []int{2} 280} 281 282func (x *ProductInlineSource) GetProducts() []*Product { 283 if x != nil { 284 return x.Products 285 } 286 return nil 287} 288 289// The inline source for the input config for ImportUserEvents method. 290type UserEventInlineSource struct { 291 state protoimpl.MessageState 292 sizeCache protoimpl.SizeCache 293 unknownFields protoimpl.UnknownFields 294 295 // Required. A list of user events to import. Recommended max of 10k items. 296 UserEvents []*UserEvent `protobuf:"bytes,1,rep,name=user_events,json=userEvents,proto3" json:"user_events,omitempty"` 297} 298 299func (x *UserEventInlineSource) Reset() { 300 *x = UserEventInlineSource{} 301 if protoimpl.UnsafeEnabled { 302 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[3] 303 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 304 ms.StoreMessageInfo(mi) 305 } 306} 307 308func (x *UserEventInlineSource) String() string { 309 return protoimpl.X.MessageStringOf(x) 310} 311 312func (*UserEventInlineSource) ProtoMessage() {} 313 314func (x *UserEventInlineSource) ProtoReflect() protoreflect.Message { 315 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[3] 316 if protoimpl.UnsafeEnabled && x != nil { 317 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 318 if ms.LoadMessageInfo() == nil { 319 ms.StoreMessageInfo(mi) 320 } 321 return ms 322 } 323 return mi.MessageOf(x) 324} 325 326// Deprecated: Use UserEventInlineSource.ProtoReflect.Descriptor instead. 327func (*UserEventInlineSource) Descriptor() ([]byte, []int) { 328 return file_google_cloud_retail_v2alpha_import_config_proto_rawDescGZIP(), []int{3} 329} 330 331func (x *UserEventInlineSource) GetUserEvents() []*UserEvent { 332 if x != nil { 333 return x.UserEvents 334 } 335 return nil 336} 337 338// Configuration of destination for Import related errors. 339type ImportErrorsConfig struct { 340 state protoimpl.MessageState 341 sizeCache protoimpl.SizeCache 342 unknownFields protoimpl.UnknownFields 343 344 // Required. Errors destination. 345 // 346 // Types that are assignable to Destination: 347 // *ImportErrorsConfig_GcsPrefix 348 Destination isImportErrorsConfig_Destination `protobuf_oneof:"destination"` 349} 350 351func (x *ImportErrorsConfig) Reset() { 352 *x = ImportErrorsConfig{} 353 if protoimpl.UnsafeEnabled { 354 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[4] 355 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 356 ms.StoreMessageInfo(mi) 357 } 358} 359 360func (x *ImportErrorsConfig) String() string { 361 return protoimpl.X.MessageStringOf(x) 362} 363 364func (*ImportErrorsConfig) ProtoMessage() {} 365 366func (x *ImportErrorsConfig) ProtoReflect() protoreflect.Message { 367 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[4] 368 if protoimpl.UnsafeEnabled && x != nil { 369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 370 if ms.LoadMessageInfo() == nil { 371 ms.StoreMessageInfo(mi) 372 } 373 return ms 374 } 375 return mi.MessageOf(x) 376} 377 378// Deprecated: Use ImportErrorsConfig.ProtoReflect.Descriptor instead. 379func (*ImportErrorsConfig) Descriptor() ([]byte, []int) { 380 return file_google_cloud_retail_v2alpha_import_config_proto_rawDescGZIP(), []int{4} 381} 382 383func (m *ImportErrorsConfig) GetDestination() isImportErrorsConfig_Destination { 384 if m != nil { 385 return m.Destination 386 } 387 return nil 388} 389 390func (x *ImportErrorsConfig) GetGcsPrefix() string { 391 if x, ok := x.GetDestination().(*ImportErrorsConfig_GcsPrefix); ok { 392 return x.GcsPrefix 393 } 394 return "" 395} 396 397type isImportErrorsConfig_Destination interface { 398 isImportErrorsConfig_Destination() 399} 400 401type ImportErrorsConfig_GcsPrefix struct { 402 // Google Cloud Storage path for import errors. This must be an empty, 403 // existing Cloud Storage bucket. Import errors will be written to a file in 404 // this bucket, one per line, as a JSON-encoded 405 // `google.rpc.Status` message. 406 GcsPrefix string `protobuf:"bytes,1,opt,name=gcs_prefix,json=gcsPrefix,proto3,oneof"` 407} 408 409func (*ImportErrorsConfig_GcsPrefix) isImportErrorsConfig_Destination() {} 410 411// Request message for Import methods. 412type ImportProductsRequest struct { 413 state protoimpl.MessageState 414 sizeCache protoimpl.SizeCache 415 unknownFields protoimpl.UnknownFields 416 417 // Required. 418 // "projects/1234/locations/global/catalogs/default_catalog/branches/default_branch" 419 // 420 // If no updateMask is specified, requires products.create permission. 421 // If updateMask is specified, requires products.update permission. 422 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 423 // Required. The desired input location of the data. 424 InputConfig *ProductInputConfig `protobuf:"bytes,2,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` 425 // The desired location of errors incurred during the Import. 426 ErrorsConfig *ImportErrorsConfig `protobuf:"bytes,3,opt,name=errors_config,json=errorsConfig,proto3" json:"errors_config,omitempty"` 427 // Indicates which fields in the provided imported 'products' to update. If 428 // not set, will by default update all fields. 429 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 430} 431 432func (x *ImportProductsRequest) Reset() { 433 *x = ImportProductsRequest{} 434 if protoimpl.UnsafeEnabled { 435 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[5] 436 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 437 ms.StoreMessageInfo(mi) 438 } 439} 440 441func (x *ImportProductsRequest) String() string { 442 return protoimpl.X.MessageStringOf(x) 443} 444 445func (*ImportProductsRequest) ProtoMessage() {} 446 447func (x *ImportProductsRequest) ProtoReflect() protoreflect.Message { 448 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[5] 449 if protoimpl.UnsafeEnabled && x != nil { 450 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 451 if ms.LoadMessageInfo() == nil { 452 ms.StoreMessageInfo(mi) 453 } 454 return ms 455 } 456 return mi.MessageOf(x) 457} 458 459// Deprecated: Use ImportProductsRequest.ProtoReflect.Descriptor instead. 460func (*ImportProductsRequest) Descriptor() ([]byte, []int) { 461 return file_google_cloud_retail_v2alpha_import_config_proto_rawDescGZIP(), []int{5} 462} 463 464func (x *ImportProductsRequest) GetParent() string { 465 if x != nil { 466 return x.Parent 467 } 468 return "" 469} 470 471func (x *ImportProductsRequest) GetInputConfig() *ProductInputConfig { 472 if x != nil { 473 return x.InputConfig 474 } 475 return nil 476} 477 478func (x *ImportProductsRequest) GetErrorsConfig() *ImportErrorsConfig { 479 if x != nil { 480 return x.ErrorsConfig 481 } 482 return nil 483} 484 485func (x *ImportProductsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { 486 if x != nil { 487 return x.UpdateMask 488 } 489 return nil 490} 491 492// Request message for the ImportUserEvents request. 493type ImportUserEventsRequest struct { 494 state protoimpl.MessageState 495 sizeCache protoimpl.SizeCache 496 unknownFields protoimpl.UnknownFields 497 498 // Required. "projects/1234/locations/global/catalogs/default_catalog" 499 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 500 // Required. The desired input location of the data. 501 InputConfig *UserEventInputConfig `protobuf:"bytes,2,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` 502 // The desired location of errors incurred during the Import. Cannot be set 503 // for inline user event imports. 504 ErrorsConfig *ImportErrorsConfig `protobuf:"bytes,3,opt,name=errors_config,json=errorsConfig,proto3" json:"errors_config,omitempty"` 505} 506 507func (x *ImportUserEventsRequest) Reset() { 508 *x = ImportUserEventsRequest{} 509 if protoimpl.UnsafeEnabled { 510 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[6] 511 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 512 ms.StoreMessageInfo(mi) 513 } 514} 515 516func (x *ImportUserEventsRequest) String() string { 517 return protoimpl.X.MessageStringOf(x) 518} 519 520func (*ImportUserEventsRequest) ProtoMessage() {} 521 522func (x *ImportUserEventsRequest) ProtoReflect() protoreflect.Message { 523 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[6] 524 if protoimpl.UnsafeEnabled && x != nil { 525 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 526 if ms.LoadMessageInfo() == nil { 527 ms.StoreMessageInfo(mi) 528 } 529 return ms 530 } 531 return mi.MessageOf(x) 532} 533 534// Deprecated: Use ImportUserEventsRequest.ProtoReflect.Descriptor instead. 535func (*ImportUserEventsRequest) Descriptor() ([]byte, []int) { 536 return file_google_cloud_retail_v2alpha_import_config_proto_rawDescGZIP(), []int{6} 537} 538 539func (x *ImportUserEventsRequest) GetParent() string { 540 if x != nil { 541 return x.Parent 542 } 543 return "" 544} 545 546func (x *ImportUserEventsRequest) GetInputConfig() *UserEventInputConfig { 547 if x != nil { 548 return x.InputConfig 549 } 550 return nil 551} 552 553func (x *ImportUserEventsRequest) GetErrorsConfig() *ImportErrorsConfig { 554 if x != nil { 555 return x.ErrorsConfig 556 } 557 return nil 558} 559 560// The input config source for products. 561type ProductInputConfig struct { 562 state protoimpl.MessageState 563 sizeCache protoimpl.SizeCache 564 unknownFields protoimpl.UnknownFields 565 566 // Required. The source of the input. 567 // 568 // Types that are assignable to Source: 569 // *ProductInputConfig_ProductInlineSource 570 // *ProductInputConfig_GcsSource 571 // *ProductInputConfig_BigQuerySource 572 Source isProductInputConfig_Source `protobuf_oneof:"source"` 573} 574 575func (x *ProductInputConfig) Reset() { 576 *x = ProductInputConfig{} 577 if protoimpl.UnsafeEnabled { 578 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[7] 579 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 580 ms.StoreMessageInfo(mi) 581 } 582} 583 584func (x *ProductInputConfig) String() string { 585 return protoimpl.X.MessageStringOf(x) 586} 587 588func (*ProductInputConfig) ProtoMessage() {} 589 590func (x *ProductInputConfig) ProtoReflect() protoreflect.Message { 591 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[7] 592 if protoimpl.UnsafeEnabled && x != nil { 593 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 594 if ms.LoadMessageInfo() == nil { 595 ms.StoreMessageInfo(mi) 596 } 597 return ms 598 } 599 return mi.MessageOf(x) 600} 601 602// Deprecated: Use ProductInputConfig.ProtoReflect.Descriptor instead. 603func (*ProductInputConfig) Descriptor() ([]byte, []int) { 604 return file_google_cloud_retail_v2alpha_import_config_proto_rawDescGZIP(), []int{7} 605} 606 607func (m *ProductInputConfig) GetSource() isProductInputConfig_Source { 608 if m != nil { 609 return m.Source 610 } 611 return nil 612} 613 614func (x *ProductInputConfig) GetProductInlineSource() *ProductInlineSource { 615 if x, ok := x.GetSource().(*ProductInputConfig_ProductInlineSource); ok { 616 return x.ProductInlineSource 617 } 618 return nil 619} 620 621func (x *ProductInputConfig) GetGcsSource() *GcsSource { 622 if x, ok := x.GetSource().(*ProductInputConfig_GcsSource); ok { 623 return x.GcsSource 624 } 625 return nil 626} 627 628func (x *ProductInputConfig) GetBigQuerySource() *BigQuerySource { 629 if x, ok := x.GetSource().(*ProductInputConfig_BigQuerySource); ok { 630 return x.BigQuerySource 631 } 632 return nil 633} 634 635type isProductInputConfig_Source interface { 636 isProductInputConfig_Source() 637} 638 639type ProductInputConfig_ProductInlineSource struct { 640 // The Inline source for the input content for products. 641 ProductInlineSource *ProductInlineSource `protobuf:"bytes,1,opt,name=product_inline_source,json=productInlineSource,proto3,oneof"` 642} 643 644type ProductInputConfig_GcsSource struct { 645 // Google Cloud Storage location for the input content. 646 GcsSource *GcsSource `protobuf:"bytes,2,opt,name=gcs_source,json=gcsSource,proto3,oneof"` 647} 648 649type ProductInputConfig_BigQuerySource struct { 650 // BigQuery input source. 651 BigQuerySource *BigQuerySource `protobuf:"bytes,3,opt,name=big_query_source,json=bigQuerySource,proto3,oneof"` 652} 653 654func (*ProductInputConfig_ProductInlineSource) isProductInputConfig_Source() {} 655 656func (*ProductInputConfig_GcsSource) isProductInputConfig_Source() {} 657 658func (*ProductInputConfig_BigQuerySource) isProductInputConfig_Source() {} 659 660// The input config source for user events. 661type UserEventInputConfig struct { 662 state protoimpl.MessageState 663 sizeCache protoimpl.SizeCache 664 unknownFields protoimpl.UnknownFields 665 666 // The source of the input. 667 // 668 // Types that are assignable to Source: 669 // *UserEventInputConfig_UserEventInlineSource 670 // *UserEventInputConfig_GcsSource 671 // *UserEventInputConfig_BigQuerySource 672 Source isUserEventInputConfig_Source `protobuf_oneof:"source"` 673} 674 675func (x *UserEventInputConfig) Reset() { 676 *x = UserEventInputConfig{} 677 if protoimpl.UnsafeEnabled { 678 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[8] 679 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 680 ms.StoreMessageInfo(mi) 681 } 682} 683 684func (x *UserEventInputConfig) String() string { 685 return protoimpl.X.MessageStringOf(x) 686} 687 688func (*UserEventInputConfig) ProtoMessage() {} 689 690func (x *UserEventInputConfig) ProtoReflect() protoreflect.Message { 691 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[8] 692 if protoimpl.UnsafeEnabled && x != nil { 693 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 694 if ms.LoadMessageInfo() == nil { 695 ms.StoreMessageInfo(mi) 696 } 697 return ms 698 } 699 return mi.MessageOf(x) 700} 701 702// Deprecated: Use UserEventInputConfig.ProtoReflect.Descriptor instead. 703func (*UserEventInputConfig) Descriptor() ([]byte, []int) { 704 return file_google_cloud_retail_v2alpha_import_config_proto_rawDescGZIP(), []int{8} 705} 706 707func (m *UserEventInputConfig) GetSource() isUserEventInputConfig_Source { 708 if m != nil { 709 return m.Source 710 } 711 return nil 712} 713 714func (x *UserEventInputConfig) GetUserEventInlineSource() *UserEventInlineSource { 715 if x, ok := x.GetSource().(*UserEventInputConfig_UserEventInlineSource); ok { 716 return x.UserEventInlineSource 717 } 718 return nil 719} 720 721func (x *UserEventInputConfig) GetGcsSource() *GcsSource { 722 if x, ok := x.GetSource().(*UserEventInputConfig_GcsSource); ok { 723 return x.GcsSource 724 } 725 return nil 726} 727 728func (x *UserEventInputConfig) GetBigQuerySource() *BigQuerySource { 729 if x, ok := x.GetSource().(*UserEventInputConfig_BigQuerySource); ok { 730 return x.BigQuerySource 731 } 732 return nil 733} 734 735type isUserEventInputConfig_Source interface { 736 isUserEventInputConfig_Source() 737} 738 739type UserEventInputConfig_UserEventInlineSource struct { 740 // Required. The Inline source for the input content for UserEvents. 741 UserEventInlineSource *UserEventInlineSource `protobuf:"bytes,1,opt,name=user_event_inline_source,json=userEventInlineSource,proto3,oneof"` 742} 743 744type UserEventInputConfig_GcsSource struct { 745 // Required. Google Cloud Storage location for the input content. 746 GcsSource *GcsSource `protobuf:"bytes,2,opt,name=gcs_source,json=gcsSource,proto3,oneof"` 747} 748 749type UserEventInputConfig_BigQuerySource struct { 750 // Required. BigQuery input source. 751 BigQuerySource *BigQuerySource `protobuf:"bytes,3,opt,name=big_query_source,json=bigQuerySource,proto3,oneof"` 752} 753 754func (*UserEventInputConfig_UserEventInlineSource) isUserEventInputConfig_Source() {} 755 756func (*UserEventInputConfig_GcsSource) isUserEventInputConfig_Source() {} 757 758func (*UserEventInputConfig_BigQuerySource) isUserEventInputConfig_Source() {} 759 760// Metadata related to the progress of the Import operation. This will be 761// returned by the google.longrunning.Operation.metadata field. 762type ImportMetadata struct { 763 state protoimpl.MessageState 764 sizeCache protoimpl.SizeCache 765 unknownFields protoimpl.UnknownFields 766 767 // Operation create time. 768 CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 769 // Operation last update time. If the operation is done, this is also the 770 // finish time. 771 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 772 // Count of entries that were processed successfully. 773 SuccessCount int64 `protobuf:"varint,3,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"` 774 // Count of entries that encountered errors while processing. 775 FailureCount int64 `protobuf:"varint,4,opt,name=failure_count,json=failureCount,proto3" json:"failure_count,omitempty"` 776} 777 778func (x *ImportMetadata) Reset() { 779 *x = ImportMetadata{} 780 if protoimpl.UnsafeEnabled { 781 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[9] 782 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 783 ms.StoreMessageInfo(mi) 784 } 785} 786 787func (x *ImportMetadata) String() string { 788 return protoimpl.X.MessageStringOf(x) 789} 790 791func (*ImportMetadata) ProtoMessage() {} 792 793func (x *ImportMetadata) ProtoReflect() protoreflect.Message { 794 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[9] 795 if protoimpl.UnsafeEnabled && x != nil { 796 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 797 if ms.LoadMessageInfo() == nil { 798 ms.StoreMessageInfo(mi) 799 } 800 return ms 801 } 802 return mi.MessageOf(x) 803} 804 805// Deprecated: Use ImportMetadata.ProtoReflect.Descriptor instead. 806func (*ImportMetadata) Descriptor() ([]byte, []int) { 807 return file_google_cloud_retail_v2alpha_import_config_proto_rawDescGZIP(), []int{9} 808} 809 810func (x *ImportMetadata) GetCreateTime() *timestamppb.Timestamp { 811 if x != nil { 812 return x.CreateTime 813 } 814 return nil 815} 816 817func (x *ImportMetadata) GetUpdateTime() *timestamppb.Timestamp { 818 if x != nil { 819 return x.UpdateTime 820 } 821 return nil 822} 823 824func (x *ImportMetadata) GetSuccessCount() int64 { 825 if x != nil { 826 return x.SuccessCount 827 } 828 return 0 829} 830 831func (x *ImportMetadata) GetFailureCount() int64 { 832 if x != nil { 833 return x.FailureCount 834 } 835 return 0 836} 837 838// Response of the 839// [ImportProductsRequest][google.cloud.retail.v2alpha.ImportProductsRequest]. 840// If the long running operation is done, then this message is returned by the 841// google.longrunning.Operations.response field if the operation was successful. 842type ImportProductsResponse struct { 843 state protoimpl.MessageState 844 sizeCache protoimpl.SizeCache 845 unknownFields protoimpl.UnknownFields 846 847 // A sample of errors encountered while processing the request. 848 ErrorSamples []*status.Status `protobuf:"bytes,1,rep,name=error_samples,json=errorSamples,proto3" json:"error_samples,omitempty"` 849 // Echoes the destination for the complete errors in the request if set. 850 ErrorsConfig *ImportErrorsConfig `protobuf:"bytes,2,opt,name=errors_config,json=errorsConfig,proto3" json:"errors_config,omitempty"` 851} 852 853func (x *ImportProductsResponse) Reset() { 854 *x = ImportProductsResponse{} 855 if protoimpl.UnsafeEnabled { 856 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[10] 857 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 858 ms.StoreMessageInfo(mi) 859 } 860} 861 862func (x *ImportProductsResponse) String() string { 863 return protoimpl.X.MessageStringOf(x) 864} 865 866func (*ImportProductsResponse) ProtoMessage() {} 867 868func (x *ImportProductsResponse) ProtoReflect() protoreflect.Message { 869 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[10] 870 if protoimpl.UnsafeEnabled && x != nil { 871 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 872 if ms.LoadMessageInfo() == nil { 873 ms.StoreMessageInfo(mi) 874 } 875 return ms 876 } 877 return mi.MessageOf(x) 878} 879 880// Deprecated: Use ImportProductsResponse.ProtoReflect.Descriptor instead. 881func (*ImportProductsResponse) Descriptor() ([]byte, []int) { 882 return file_google_cloud_retail_v2alpha_import_config_proto_rawDescGZIP(), []int{10} 883} 884 885func (x *ImportProductsResponse) GetErrorSamples() []*status.Status { 886 if x != nil { 887 return x.ErrorSamples 888 } 889 return nil 890} 891 892func (x *ImportProductsResponse) GetErrorsConfig() *ImportErrorsConfig { 893 if x != nil { 894 return x.ErrorsConfig 895 } 896 return nil 897} 898 899// Response of the ImportUserEventsRequest. If the long running 900// operation was successful, then this message is returned by the 901// google.longrunning.Operations.response field if the operation was successful. 902type ImportUserEventsResponse struct { 903 state protoimpl.MessageState 904 sizeCache protoimpl.SizeCache 905 unknownFields protoimpl.UnknownFields 906 907 // A sample of errors encountered while processing the request. 908 ErrorSamples []*status.Status `protobuf:"bytes,1,rep,name=error_samples,json=errorSamples,proto3" json:"error_samples,omitempty"` 909 // Echoes the destination for the complete errors if this field was set in 910 // the request. 911 ErrorsConfig *ImportErrorsConfig `protobuf:"bytes,2,opt,name=errors_config,json=errorsConfig,proto3" json:"errors_config,omitempty"` 912 // Aggregated statistics of user event import status. 913 ImportSummary *UserEventImportSummary `protobuf:"bytes,3,opt,name=import_summary,json=importSummary,proto3" json:"import_summary,omitempty"` 914} 915 916func (x *ImportUserEventsResponse) Reset() { 917 *x = ImportUserEventsResponse{} 918 if protoimpl.UnsafeEnabled { 919 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[11] 920 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 921 ms.StoreMessageInfo(mi) 922 } 923} 924 925func (x *ImportUserEventsResponse) String() string { 926 return protoimpl.X.MessageStringOf(x) 927} 928 929func (*ImportUserEventsResponse) ProtoMessage() {} 930 931func (x *ImportUserEventsResponse) ProtoReflect() protoreflect.Message { 932 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[11] 933 if protoimpl.UnsafeEnabled && x != nil { 934 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 935 if ms.LoadMessageInfo() == nil { 936 ms.StoreMessageInfo(mi) 937 } 938 return ms 939 } 940 return mi.MessageOf(x) 941} 942 943// Deprecated: Use ImportUserEventsResponse.ProtoReflect.Descriptor instead. 944func (*ImportUserEventsResponse) Descriptor() ([]byte, []int) { 945 return file_google_cloud_retail_v2alpha_import_config_proto_rawDescGZIP(), []int{11} 946} 947 948func (x *ImportUserEventsResponse) GetErrorSamples() []*status.Status { 949 if x != nil { 950 return x.ErrorSamples 951 } 952 return nil 953} 954 955func (x *ImportUserEventsResponse) GetErrorsConfig() *ImportErrorsConfig { 956 if x != nil { 957 return x.ErrorsConfig 958 } 959 return nil 960} 961 962func (x *ImportUserEventsResponse) GetImportSummary() *UserEventImportSummary { 963 if x != nil { 964 return x.ImportSummary 965 } 966 return nil 967} 968 969// A summary of import result. The UserEventImportSummary summarizes 970// the import status for user events. 971type UserEventImportSummary struct { 972 state protoimpl.MessageState 973 sizeCache protoimpl.SizeCache 974 unknownFields protoimpl.UnknownFields 975 976 // Count of user events imported with complete existing catalog information. 977 JoinedEventsCount int64 `protobuf:"varint,1,opt,name=joined_events_count,json=joinedEventsCount,proto3" json:"joined_events_count,omitempty"` 978 // Count of user events imported, but with catalog information not found 979 // in the imported catalog. 980 UnjoinedEventsCount int64 `protobuf:"varint,2,opt,name=unjoined_events_count,json=unjoinedEventsCount,proto3" json:"unjoined_events_count,omitempty"` 981} 982 983func (x *UserEventImportSummary) Reset() { 984 *x = UserEventImportSummary{} 985 if protoimpl.UnsafeEnabled { 986 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[12] 987 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 988 ms.StoreMessageInfo(mi) 989 } 990} 991 992func (x *UserEventImportSummary) String() string { 993 return protoimpl.X.MessageStringOf(x) 994} 995 996func (*UserEventImportSummary) ProtoMessage() {} 997 998func (x *UserEventImportSummary) ProtoReflect() protoreflect.Message { 999 mi := &file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[12] 1000 if protoimpl.UnsafeEnabled && x != nil { 1001 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1002 if ms.LoadMessageInfo() == nil { 1003 ms.StoreMessageInfo(mi) 1004 } 1005 return ms 1006 } 1007 return mi.MessageOf(x) 1008} 1009 1010// Deprecated: Use UserEventImportSummary.ProtoReflect.Descriptor instead. 1011func (*UserEventImportSummary) Descriptor() ([]byte, []int) { 1012 return file_google_cloud_retail_v2alpha_import_config_proto_rawDescGZIP(), []int{12} 1013} 1014 1015func (x *UserEventImportSummary) GetJoinedEventsCount() int64 { 1016 if x != nil { 1017 return x.JoinedEventsCount 1018 } 1019 return 0 1020} 1021 1022func (x *UserEventImportSummary) GetUnjoinedEventsCount() int64 { 1023 if x != nil { 1024 return x.UnjoinedEventsCount 1025 } 1026 return 0 1027} 1028 1029var File_google_cloud_retail_v2alpha_import_config_proto protoreflect.FileDescriptor 1030 1031var file_google_cloud_retail_v2alpha_import_config_proto_rawDesc = []byte{ 1032 0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 1033 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x69, 0x6d, 1034 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1035 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1036 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1c, 1037 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 1038 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 1039 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 1040 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 1041 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 1042 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1043 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 1044 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 1045 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 1046 0x64, 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 1047 0x2f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1048 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 1049 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 1050 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 1051 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 1052 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 1053 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 1054 0x09, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x69, 0x6e, 1055 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 1056 0xe0, 0x41, 0x02, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x55, 0x72, 0x69, 0x73, 0x12, 0x1f, 1057 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 1058 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 1059 0xbc, 0x01, 0x0a, 0x0e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x6f, 0x75, 0x72, 1060 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 1061 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 1062 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 1063 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 1064 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 1065 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x74, 0x61, 1066 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x67, 0x63, 0x73, 0x5f, 0x73, 0x74, 0x61, 1067 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 1068 0x67, 0x63, 0x73, 0x53, 0x74, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x72, 0x12, 0x1f, 0x0a, 1069 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x04, 0x20, 0x01, 1070 0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x5c, 1071 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 1072 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x45, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 1073 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1074 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 1075 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x42, 0x03, 0xe0, 1076 0x41, 0x02, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x22, 0x65, 0x0a, 0x15, 1077 0x55, 0x73, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 1078 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x4c, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x65, 0x76, 1079 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 1080 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 1081 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x45, 0x76, 0x65, 1082 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x45, 0x76, 0x65, 1083 0x6e, 0x74, 0x73, 0x22, 0x44, 0x0a, 0x12, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 1084 0x6f, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1f, 0x0a, 0x0a, 0x67, 0x63, 0x73, 1085 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 1086 0x09, 0x67, 0x63, 0x73, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x42, 0x0d, 0x0a, 0x0b, 0x64, 0x65, 1087 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa0, 0x02, 0x0a, 0x15, 0x49, 0x6d, 1088 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 1089 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 1090 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 1091 0x12, 0x57, 0x0a, 0x0c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 1092 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1093 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 1094 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75, 1095 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x69, 0x6e, 1096 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x54, 0x0a, 0x0d, 0x65, 0x72, 0x72, 1097 0x6f, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 1098 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1099 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x49, 1100 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 1101 0x67, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 1102 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x04, 1103 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 1104 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 1105 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xe7, 0x01, 0x0a, 1106 0x17, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x55, 0x73, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 1107 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 1108 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 1109 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x59, 0x0a, 0x0c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 1110 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 1111 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 1112 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x45, 0x76, 1113 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 1114 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 1115 0x12, 0x54, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 1116 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1117 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 1118 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 1119 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 1120 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xa8, 0x02, 0x0a, 0x12, 0x50, 0x72, 0x6f, 0x64, 0x75, 1121 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x66, 0x0a, 1122 0x15, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 1123 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 1124 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 1125 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 1126 0x63, 0x74, 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 1127 0x52, 0x13, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 1128 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x73, 0x6f, 0x75, 1129 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1130 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 1131 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 1132 0x65, 0x48, 0x00, 0x52, 0x09, 0x67, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x57, 1133 0x0a, 0x10, 0x62, 0x69, 0x67, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x6f, 0x75, 0x72, 1134 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1135 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 1136 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 1137 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x62, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 1138 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 1139 0x65, 0x22, 0xc0, 0x02, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 1140 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x72, 0x0a, 0x18, 0x75, 0x73, 1141 0x65, 0x72, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 1142 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 1143 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 1144 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x45, 1145 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 1146 0x42, 0x03, 0xe0, 0x41, 0x02, 0x48, 0x00, 0x52, 0x15, 0x75, 0x73, 0x65, 0x72, 0x45, 0x76, 0x65, 1147 0x6e, 0x74, 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x4c, 1148 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 1149 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1150 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 1151 0x2e, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x48, 1152 0x00, 0x52, 0x09, 0x67, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x5c, 0x0a, 0x10, 1153 0x62, 0x69, 0x67, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 1154 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1155 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 1156 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x6f, 0x75, 1157 0x72, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x48, 0x00, 0x52, 0x0e, 0x62, 0x69, 0x67, 0x51, 1158 0x75, 0x65, 0x72, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 1159 0x75, 0x72, 0x63, 0x65, 0x22, 0x92, 0x02, 0x0a, 0x0e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 1160 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 1161 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 1162 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 1163 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 1164 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 1165 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1166 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 1167 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 1168 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x75, 1169 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 1170 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 1171 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 1172 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x3c, 0xea, 0x41, 0x39, 1173 0x0a, 0x1f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 1174 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 1175 0x6e, 0x12, 0x16, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 1176 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x22, 0xa7, 0x01, 0x0a, 0x16, 0x49, 0x6d, 1177 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 1178 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x73, 0x61, 1179 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 1180 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 1181 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x12, 0x54, 0x0a, 1182 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 1183 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1184 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 1185 0x68, 0x61, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x43, 1186 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x43, 0x6f, 0x6e, 1187 0x66, 0x69, 0x67, 0x22, 0x85, 0x02, 0x0a, 0x18, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x55, 0x73, 1188 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 1189 0x12, 0x37, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 1190 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1191 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c, 0x65, 0x72, 0x72, 1192 0x6f, 0x72, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x12, 0x54, 0x0a, 0x0d, 0x65, 0x72, 0x72, 1193 0x6f, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 1194 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1195 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x49, 1196 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 1197 0x67, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 1198 0x5a, 0x0a, 0x0e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 1199 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1200 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 1201 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 1202 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x0d, 0x69, 0x6d, 1203 0x70, 0x6f, 0x72, 0x74, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x7c, 0x0a, 0x16, 0x55, 1204 0x73, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x75, 1205 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x2e, 0x0a, 0x13, 0x6a, 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x5f, 1206 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 1207 0x28, 0x03, 0x52, 0x11, 0x6a, 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 1208 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x75, 0x6e, 0x6a, 0x6f, 0x69, 0x6e, 0x65, 1209 0x64, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 1210 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x75, 0x6e, 0x6a, 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x45, 0x76, 1211 0x65, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0xdf, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 1212 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 1213 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x11, 0x49, 1214 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 1215 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 1216 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 1217 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 1218 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x72, 1219 0x65, 0x74, 0x61, 0x69, 0x6c, 0xa2, 0x02, 0x06, 0x52, 0x45, 0x54, 0x41, 0x49, 0x4c, 0xaa, 0x02, 1220 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x52, 0x65, 1221 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0xca, 0x02, 0x1b, 0x47, 1222 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x52, 0x65, 0x74, 0x61, 1223 0x69, 0x6c, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 1224 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x52, 0x65, 0x74, 0x61, 1225 0x69, 0x6c, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 1226 0x74, 0x6f, 0x33, 1227} 1228 1229var ( 1230 file_google_cloud_retail_v2alpha_import_config_proto_rawDescOnce sync.Once 1231 file_google_cloud_retail_v2alpha_import_config_proto_rawDescData = file_google_cloud_retail_v2alpha_import_config_proto_rawDesc 1232) 1233 1234func file_google_cloud_retail_v2alpha_import_config_proto_rawDescGZIP() []byte { 1235 file_google_cloud_retail_v2alpha_import_config_proto_rawDescOnce.Do(func() { 1236 file_google_cloud_retail_v2alpha_import_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_retail_v2alpha_import_config_proto_rawDescData) 1237 }) 1238 return file_google_cloud_retail_v2alpha_import_config_proto_rawDescData 1239} 1240 1241var file_google_cloud_retail_v2alpha_import_config_proto_msgTypes = make([]protoimpl.MessageInfo, 13) 1242var file_google_cloud_retail_v2alpha_import_config_proto_goTypes = []interface{}{ 1243 (*GcsSource)(nil), // 0: google.cloud.retail.v2alpha.GcsSource 1244 (*BigQuerySource)(nil), // 1: google.cloud.retail.v2alpha.BigQuerySource 1245 (*ProductInlineSource)(nil), // 2: google.cloud.retail.v2alpha.ProductInlineSource 1246 (*UserEventInlineSource)(nil), // 3: google.cloud.retail.v2alpha.UserEventInlineSource 1247 (*ImportErrorsConfig)(nil), // 4: google.cloud.retail.v2alpha.ImportErrorsConfig 1248 (*ImportProductsRequest)(nil), // 5: google.cloud.retail.v2alpha.ImportProductsRequest 1249 (*ImportUserEventsRequest)(nil), // 6: google.cloud.retail.v2alpha.ImportUserEventsRequest 1250 (*ProductInputConfig)(nil), // 7: google.cloud.retail.v2alpha.ProductInputConfig 1251 (*UserEventInputConfig)(nil), // 8: google.cloud.retail.v2alpha.UserEventInputConfig 1252 (*ImportMetadata)(nil), // 9: google.cloud.retail.v2alpha.ImportMetadata 1253 (*ImportProductsResponse)(nil), // 10: google.cloud.retail.v2alpha.ImportProductsResponse 1254 (*ImportUserEventsResponse)(nil), // 11: google.cloud.retail.v2alpha.ImportUserEventsResponse 1255 (*UserEventImportSummary)(nil), // 12: google.cloud.retail.v2alpha.UserEventImportSummary 1256 (*Product)(nil), // 13: google.cloud.retail.v2alpha.Product 1257 (*UserEvent)(nil), // 14: google.cloud.retail.v2alpha.UserEvent 1258 (*fieldmaskpb.FieldMask)(nil), // 15: google.protobuf.FieldMask 1259 (*timestamppb.Timestamp)(nil), // 16: google.protobuf.Timestamp 1260 (*status.Status)(nil), // 17: google.rpc.Status 1261} 1262var file_google_cloud_retail_v2alpha_import_config_proto_depIdxs = []int32{ 1263 13, // 0: google.cloud.retail.v2alpha.ProductInlineSource.products:type_name -> google.cloud.retail.v2alpha.Product 1264 14, // 1: google.cloud.retail.v2alpha.UserEventInlineSource.user_events:type_name -> google.cloud.retail.v2alpha.UserEvent 1265 7, // 2: google.cloud.retail.v2alpha.ImportProductsRequest.input_config:type_name -> google.cloud.retail.v2alpha.ProductInputConfig 1266 4, // 3: google.cloud.retail.v2alpha.ImportProductsRequest.errors_config:type_name -> google.cloud.retail.v2alpha.ImportErrorsConfig 1267 15, // 4: google.cloud.retail.v2alpha.ImportProductsRequest.update_mask:type_name -> google.protobuf.FieldMask 1268 8, // 5: google.cloud.retail.v2alpha.ImportUserEventsRequest.input_config:type_name -> google.cloud.retail.v2alpha.UserEventInputConfig 1269 4, // 6: google.cloud.retail.v2alpha.ImportUserEventsRequest.errors_config:type_name -> google.cloud.retail.v2alpha.ImportErrorsConfig 1270 2, // 7: google.cloud.retail.v2alpha.ProductInputConfig.product_inline_source:type_name -> google.cloud.retail.v2alpha.ProductInlineSource 1271 0, // 8: google.cloud.retail.v2alpha.ProductInputConfig.gcs_source:type_name -> google.cloud.retail.v2alpha.GcsSource 1272 1, // 9: google.cloud.retail.v2alpha.ProductInputConfig.big_query_source:type_name -> google.cloud.retail.v2alpha.BigQuerySource 1273 3, // 10: google.cloud.retail.v2alpha.UserEventInputConfig.user_event_inline_source:type_name -> google.cloud.retail.v2alpha.UserEventInlineSource 1274 0, // 11: google.cloud.retail.v2alpha.UserEventInputConfig.gcs_source:type_name -> google.cloud.retail.v2alpha.GcsSource 1275 1, // 12: google.cloud.retail.v2alpha.UserEventInputConfig.big_query_source:type_name -> google.cloud.retail.v2alpha.BigQuerySource 1276 16, // 13: google.cloud.retail.v2alpha.ImportMetadata.create_time:type_name -> google.protobuf.Timestamp 1277 16, // 14: google.cloud.retail.v2alpha.ImportMetadata.update_time:type_name -> google.protobuf.Timestamp 1278 17, // 15: google.cloud.retail.v2alpha.ImportProductsResponse.error_samples:type_name -> google.rpc.Status 1279 4, // 16: google.cloud.retail.v2alpha.ImportProductsResponse.errors_config:type_name -> google.cloud.retail.v2alpha.ImportErrorsConfig 1280 17, // 17: google.cloud.retail.v2alpha.ImportUserEventsResponse.error_samples:type_name -> google.rpc.Status 1281 4, // 18: google.cloud.retail.v2alpha.ImportUserEventsResponse.errors_config:type_name -> google.cloud.retail.v2alpha.ImportErrorsConfig 1282 12, // 19: google.cloud.retail.v2alpha.ImportUserEventsResponse.import_summary:type_name -> google.cloud.retail.v2alpha.UserEventImportSummary 1283 20, // [20:20] is the sub-list for method output_type 1284 20, // [20:20] is the sub-list for method input_type 1285 20, // [20:20] is the sub-list for extension type_name 1286 20, // [20:20] is the sub-list for extension extendee 1287 0, // [0:20] is the sub-list for field type_name 1288} 1289 1290func init() { file_google_cloud_retail_v2alpha_import_config_proto_init() } 1291func file_google_cloud_retail_v2alpha_import_config_proto_init() { 1292 if File_google_cloud_retail_v2alpha_import_config_proto != nil { 1293 return 1294 } 1295 file_google_cloud_retail_v2alpha_product_proto_init() 1296 file_google_cloud_retail_v2alpha_user_event_proto_init() 1297 if !protoimpl.UnsafeEnabled { 1298 file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1299 switch v := v.(*GcsSource); i { 1300 case 0: 1301 return &v.state 1302 case 1: 1303 return &v.sizeCache 1304 case 2: 1305 return &v.unknownFields 1306 default: 1307 return nil 1308 } 1309 } 1310 file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1311 switch v := v.(*BigQuerySource); i { 1312 case 0: 1313 return &v.state 1314 case 1: 1315 return &v.sizeCache 1316 case 2: 1317 return &v.unknownFields 1318 default: 1319 return nil 1320 } 1321 } 1322 file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1323 switch v := v.(*ProductInlineSource); i { 1324 case 0: 1325 return &v.state 1326 case 1: 1327 return &v.sizeCache 1328 case 2: 1329 return &v.unknownFields 1330 default: 1331 return nil 1332 } 1333 } 1334 file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1335 switch v := v.(*UserEventInlineSource); i { 1336 case 0: 1337 return &v.state 1338 case 1: 1339 return &v.sizeCache 1340 case 2: 1341 return &v.unknownFields 1342 default: 1343 return nil 1344 } 1345 } 1346 file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1347 switch v := v.(*ImportErrorsConfig); i { 1348 case 0: 1349 return &v.state 1350 case 1: 1351 return &v.sizeCache 1352 case 2: 1353 return &v.unknownFields 1354 default: 1355 return nil 1356 } 1357 } 1358 file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1359 switch v := v.(*ImportProductsRequest); i { 1360 case 0: 1361 return &v.state 1362 case 1: 1363 return &v.sizeCache 1364 case 2: 1365 return &v.unknownFields 1366 default: 1367 return nil 1368 } 1369 } 1370 file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1371 switch v := v.(*ImportUserEventsRequest); i { 1372 case 0: 1373 return &v.state 1374 case 1: 1375 return &v.sizeCache 1376 case 2: 1377 return &v.unknownFields 1378 default: 1379 return nil 1380 } 1381 } 1382 file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1383 switch v := v.(*ProductInputConfig); i { 1384 case 0: 1385 return &v.state 1386 case 1: 1387 return &v.sizeCache 1388 case 2: 1389 return &v.unknownFields 1390 default: 1391 return nil 1392 } 1393 } 1394 file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1395 switch v := v.(*UserEventInputConfig); i { 1396 case 0: 1397 return &v.state 1398 case 1: 1399 return &v.sizeCache 1400 case 2: 1401 return &v.unknownFields 1402 default: 1403 return nil 1404 } 1405 } 1406 file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1407 switch v := v.(*ImportMetadata); i { 1408 case 0: 1409 return &v.state 1410 case 1: 1411 return &v.sizeCache 1412 case 2: 1413 return &v.unknownFields 1414 default: 1415 return nil 1416 } 1417 } 1418 file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1419 switch v := v.(*ImportProductsResponse); i { 1420 case 0: 1421 return &v.state 1422 case 1: 1423 return &v.sizeCache 1424 case 2: 1425 return &v.unknownFields 1426 default: 1427 return nil 1428 } 1429 } 1430 file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1431 switch v := v.(*ImportUserEventsResponse); i { 1432 case 0: 1433 return &v.state 1434 case 1: 1435 return &v.sizeCache 1436 case 2: 1437 return &v.unknownFields 1438 default: 1439 return nil 1440 } 1441 } 1442 file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1443 switch v := v.(*UserEventImportSummary); i { 1444 case 0: 1445 return &v.state 1446 case 1: 1447 return &v.sizeCache 1448 case 2: 1449 return &v.unknownFields 1450 default: 1451 return nil 1452 } 1453 } 1454 } 1455 file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[4].OneofWrappers = []interface{}{ 1456 (*ImportErrorsConfig_GcsPrefix)(nil), 1457 } 1458 file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[7].OneofWrappers = []interface{}{ 1459 (*ProductInputConfig_ProductInlineSource)(nil), 1460 (*ProductInputConfig_GcsSource)(nil), 1461 (*ProductInputConfig_BigQuerySource)(nil), 1462 } 1463 file_google_cloud_retail_v2alpha_import_config_proto_msgTypes[8].OneofWrappers = []interface{}{ 1464 (*UserEventInputConfig_UserEventInlineSource)(nil), 1465 (*UserEventInputConfig_GcsSource)(nil), 1466 (*UserEventInputConfig_BigQuerySource)(nil), 1467 } 1468 type x struct{} 1469 out := protoimpl.TypeBuilder{ 1470 File: protoimpl.DescBuilder{ 1471 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1472 RawDescriptor: file_google_cloud_retail_v2alpha_import_config_proto_rawDesc, 1473 NumEnums: 0, 1474 NumMessages: 13, 1475 NumExtensions: 0, 1476 NumServices: 0, 1477 }, 1478 GoTypes: file_google_cloud_retail_v2alpha_import_config_proto_goTypes, 1479 DependencyIndexes: file_google_cloud_retail_v2alpha_import_config_proto_depIdxs, 1480 MessageInfos: file_google_cloud_retail_v2alpha_import_config_proto_msgTypes, 1481 }.Build() 1482 File_google_cloud_retail_v2alpha_import_config_proto = out.File 1483 file_google_cloud_retail_v2alpha_import_config_proto_rawDesc = nil 1484 file_google_cloud_retail_v2alpha_import_config_proto_goTypes = nil 1485 file_google_cloud_retail_v2alpha_import_config_proto_depIdxs = nil 1486} 1487