Debian Codegraph @

retail/apiv2beta/retailpb/import_config.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/retail/v2beta/import_config.proto
20
21 package retailpb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 status "google.golang.org/genproto/googleapis/rpc/status"
26 date "google.golang.org/genproto/googleapis/type/date"
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
30 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
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 // Indicates how imported products are reconciled with the existing products
43 // created or imported before.
44 type ImportProductsRequest_ReconciliationMode int32
45
46 const (
47 // Defaults to INCREMENTAL.
48 ImportProductsRequest_RECONCILIATION_MODE_UNSPECIFIED ImportProductsRequest_ReconciliationMode = 0
49 // Inserts new products or updates existing products.
50 ImportProductsRequest_INCREMENTAL ImportProductsRequest_ReconciliationMode = 1
51 // Calculates diff and replaces the entire product dataset. Existing
52 // products may be deleted if they are not present in the source location.
53 ImportProductsRequest_FULL ImportProductsRequest_ReconciliationMode = 2
54 )
55
56 // Enum value maps for ImportProductsRequest_ReconciliationMode.
57 var (
58 ImportProductsRequest_ReconciliationMode_name = map[int32]string{
59 0: "RECONCILIATION_MODE_UNSPECIFIED",
60 1: "INCREMENTAL",
61 2: "FULL",
62 }
63 ImportProductsRequest_ReconciliationMode_value = map[string]int32{
64 "RECONCILIATION_MODE_UNSPECIFIED": 0,
65 "INCREMENTAL": 1,
66 "FULL": 2,
67 }
68 )
69
70 func (x ImportProductsRequest_ReconciliationMode) Enum() *ImportProductsRequest_ReconciliationMode {
71 p := new(ImportProductsRequest_ReconciliationMode)
72 *p = x
73 return p
74 }
75
76 func (x ImportProductsRequest_ReconciliationMode) String() string {
77 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
78 }
79
80 func (ImportProductsRequest_ReconciliationMode) Descriptor() protoreflect.EnumDescriptor {
81 return file_google_cloud_retail_v2beta_import_config_proto_enumTypes[0].Descriptor()
82 }
83
84 func (ImportProductsRequest_ReconciliationMode) Type() protoreflect.EnumType {
85 return &file_google_cloud_retail_v2beta_import_config_proto_enumTypes[0]
86 }
87
88 func (x ImportProductsRequest_ReconciliationMode) Number() protoreflect.EnumNumber {
89 return protoreflect.EnumNumber(x)
90 }
91
92 // Deprecated: Use ImportProductsRequest_ReconciliationMode.Descriptor instead.
93 func (ImportProductsRequest_ReconciliationMode) EnumDescriptor() ([]byte, []int) {
94 return file_google_cloud_retail_v2beta_import_config_proto_rawDescGZIP(), []int{5, 0}
95 }
96
97 // Google Cloud Storage location for input content.
98 type GcsSource struct {
99 state protoimpl.MessageState
100 sizeCache protoimpl.SizeCache
101 unknownFields protoimpl.UnknownFields
102
103 // Required. Google Cloud Storage URIs to input files. URI can be up to
104 // 2000 characters long. URIs can match the full object path (for example,
105 // `gs://bucket/directory/object.json`) or a pattern matching one or more
106 // files, such as `gs://bucket/directory/*.json`. A request can
107 // contain at most 100 files, and each file can be up to 2 GB. See
108 // [Importing product
109 // information](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog)
110 // for the expected file format and setup instructions.
111 InputUris []string `protobuf:"bytes,1,rep,name=input_uris,json=inputUris,proto3" json:"input_uris,omitempty"`
112 // The schema to use when parsing the data from the source.
113 //
114 // Supported values for product imports:
115 //
116 // * `product` (default): One JSON
117 // [Product][google.cloud.retail.v2beta.Product] per line. Each product must
118 //
119 // have a valid [Product.id][google.cloud.retail.v2beta.Product.id].
120 // - `product_merchant_center`: See [Importing catalog data from Merchant
121 // Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc).
122 //
123 // Supported values for user events imports:
124 //
125 // * `user_event` (default): One JSON
126 // [UserEvent][google.cloud.retail.v2beta.UserEvent] per line.
127 // - `user_event_ga360`: Using
128 // https://support.google.com/analytics/answer/3437719.
129 //
130 // Supported values for control imports:
131 //
132 // * `control` (default): One JSON
133 // [Control][google.cloud.retail.v2beta.Control] per line.
134 //
135 // Supported values for catalog attribute imports:
136 //
137 // * `catalog_attribute` (default): One CSV
138 // [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] per line.
139 DataSchema string `protobuf:"bytes,2,opt,name=data_schema,json=dataSchema,proto3" json:"data_schema,omitempty"`
140 }
141
142 func (x *GcsSource) Reset() {
143 *x = GcsSource{}
144 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[0]
145 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
146 ms.StoreMessageInfo(mi)
147 }
148
149 func (x *GcsSource) String() string {
150 return protoimpl.X.MessageStringOf(x)
151 }
152
153 func (*GcsSource) ProtoMessage() {}
154
155 func (x *GcsSource) ProtoReflect() protoreflect.Message {
156 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[0]
157 if x != nil {
158 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
159 if ms.LoadMessageInfo() == nil {
160 ms.StoreMessageInfo(mi)
161 }
162 return ms
163 }
164 return mi.MessageOf(x)
165 }
166
167 // Deprecated: Use GcsSource.ProtoReflect.Descriptor instead.
168 func (*GcsSource) Descriptor() ([]byte, []int) {
169 return file_google_cloud_retail_v2beta_import_config_proto_rawDescGZIP(), []int{0}
170 }
171
172 func (x *GcsSource) GetInputUris() []string {
173 if x != nil {
174 return x.InputUris
175 }
176 return nil
177 }
178
179 func (x *GcsSource) GetDataSchema() string {
180 if x != nil {
181 return x.DataSchema
182 }
183 return ""
184 }
185
186 // BigQuery source import data from.
187 type BigQuerySource struct {
188 state protoimpl.MessageState
189 sizeCache protoimpl.SizeCache
190 unknownFields protoimpl.UnknownFields
191
192 // BigQuery table partition info. Leave this empty if the BigQuery table
193 // is not partitioned.
194 //
195 // Types that are assignable to Partition:
196 //
197 // *BigQuerySource_PartitionDate
198 Partition isBigQuerySource_Partition `protobuf_oneof:"partition"`
199 // The project ID (can be project # or ID) that the BigQuery source is in with
200 // a length limit of 128 characters. If not specified, inherits the project
201 // ID from the parent request.
202 ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
203 // Required. The BigQuery data set to copy the data from with a length limit
204 // of 1,024 characters.
205 DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
206 // Required. The BigQuery table to copy the data from with a length limit of
207 // 1,024 characters.
208 TableId string `protobuf:"bytes,2,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
209 // Intermediate Cloud Storage directory used for the import with a length
210 // limit of 2,000 characters. Can be specified if one wants to have the
211 // BigQuery export to a specific Cloud Storage directory.
212 GcsStagingDir string `protobuf:"bytes,3,opt,name=gcs_staging_dir,json=gcsStagingDir,proto3" json:"gcs_staging_dir,omitempty"`
213 // The schema to use when parsing the data from the source.
214 //
215 // Supported values for product imports:
216 //
217 // * `product` (default): One JSON
218 // [Product][google.cloud.retail.v2beta.Product] per line. Each product must
219 //
220 // have a valid [Product.id][google.cloud.retail.v2beta.Product.id].
221 // - `product_merchant_center`: See [Importing catalog data from Merchant
222 // Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc).
223 //
224 // Supported values for user events imports:
225 //
226 // * `user_event` (default): One JSON
227 // [UserEvent][google.cloud.retail.v2beta.UserEvent] per line.
228 // - `user_event_ga360`:
229 // The schema is available here:
230 // https://support.google.com/analytics/answer/3437719.
231 // - `user_event_ga4`:
232 // The schema is available here:
233 // https://support.google.com/analytics/answer/7029846.
234 //
235 // Supported values for autocomplete imports:
236 //
237 // * `suggestions` (default): One JSON completion suggestion per line.
238 // * `denylist`: One JSON deny suggestion per line.
239 // * `allowlist`: One JSON allow suggestion per line.
240 DataSchema string `protobuf:"bytes,4,opt,name=data_schema,json=dataSchema,proto3" json:"data_schema,omitempty"`
241 }
242
243 func (x *BigQuerySource) Reset() {
244 *x = BigQuerySource{}
245 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[1]
246 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
247 ms.StoreMessageInfo(mi)
248 }
249
250 func (x *BigQuerySource) String() string {
251 return protoimpl.X.MessageStringOf(x)
252 }
253
254 func (*BigQuerySource) ProtoMessage() {}
255
256 func (x *BigQuerySource) ProtoReflect() protoreflect.Message {
257 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[1]
258 if x != nil {
259 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
260 if ms.LoadMessageInfo() == nil {
261 ms.StoreMessageInfo(mi)
262 }
263 return ms
264 }
265 return mi.MessageOf(x)
266 }
267
268 // Deprecated: Use BigQuerySource.ProtoReflect.Descriptor instead.
269 func (*BigQuerySource) Descriptor() ([]byte, []int) {
270 return file_google_cloud_retail_v2beta_import_config_proto_rawDescGZIP(), []int{1}
271 }
272
273 func (m *BigQuerySource) GetPartition() isBigQuerySource_Partition {
274 if m != nil {
275 return m.Partition
276 }
277 return nil
278 }
279
280 func (x *BigQuerySource) GetPartitionDate() *date.Date {
281 if x, ok := x.GetPartition().(*BigQuerySource_PartitionDate); ok {
282 return x.PartitionDate
283 }
284 return nil
285 }
286
287 func (x *BigQuerySource) GetProjectId() string {
288 if x != nil {
289 return x.ProjectId
290 }
291 return ""
292 }
293
294 func (x *BigQuerySource) GetDatasetId() string {
295 if x != nil {
296 return x.DatasetId
297 }
298 return ""
299 }
300
301 func (x *BigQuerySource) GetTableId() string {
302 if x != nil {
303 return x.TableId
304 }
305 return ""
306 }
307
308 func (x *BigQuerySource) GetGcsStagingDir() string {
309 if x != nil {
310 return x.GcsStagingDir
311 }
312 return ""
313 }
314
315 func (x *BigQuerySource) GetDataSchema() string {
316 if x != nil {
317 return x.DataSchema
318 }
319 return ""
320 }
321
322 type isBigQuerySource_Partition interface {
323 isBigQuerySource_Partition()
324 }
325
326 type BigQuerySource_PartitionDate struct {
327 // BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
328 PartitionDate *date.Date `protobuf:"bytes,6,opt,name=partition_date,json=partitionDate,proto3,oneof"`
329 }
330
331 func (*BigQuerySource_PartitionDate) isBigQuerySource_Partition() {}
332
333 // The inline source for the input config for ImportProducts method.
334 type ProductInlineSource struct {
335 state protoimpl.MessageState
336 sizeCache protoimpl.SizeCache
337 unknownFields protoimpl.UnknownFields
338
339 // Required. A list of products to update/create. Each product must have a
340 // valid [Product.id][google.cloud.retail.v2beta.Product.id]. Recommended max
341 // of 100 items.
342 Products []*Product `protobuf:"bytes,1,rep,name=products,proto3" json:"products,omitempty"`
343 }
344
345 func (x *ProductInlineSource) Reset() {
346 *x = ProductInlineSource{}
347 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[2]
348 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
349 ms.StoreMessageInfo(mi)
350 }
351
352 func (x *ProductInlineSource) String() string {
353 return protoimpl.X.MessageStringOf(x)
354 }
355
356 func (*ProductInlineSource) ProtoMessage() {}
357
358 func (x *ProductInlineSource) ProtoReflect() protoreflect.Message {
359 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[2]
360 if x != nil {
361 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
362 if ms.LoadMessageInfo() == nil {
363 ms.StoreMessageInfo(mi)
364 }
365 return ms
366 }
367 return mi.MessageOf(x)
368 }
369
370 // Deprecated: Use ProductInlineSource.ProtoReflect.Descriptor instead.
371 func (*ProductInlineSource) Descriptor() ([]byte, []int) {
372 return file_google_cloud_retail_v2beta_import_config_proto_rawDescGZIP(), []int{2}
373 }
374
375 func (x *ProductInlineSource) GetProducts() []*Product {
376 if x != nil {
377 return x.Products
378 }
379 return nil
380 }
381
382 // The inline source for the input config for ImportUserEvents method.
383 type UserEventInlineSource struct {
384 state protoimpl.MessageState
385 sizeCache protoimpl.SizeCache
386 unknownFields protoimpl.UnknownFields
387
388 // Required. A list of user events to import. Recommended max of 10k items.
389 UserEvents []*UserEvent `protobuf:"bytes,1,rep,name=user_events,json=userEvents,proto3" json:"user_events,omitempty"`
390 }
391
392 func (x *UserEventInlineSource) Reset() {
393 *x = UserEventInlineSource{}
394 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[3]
395 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
396 ms.StoreMessageInfo(mi)
397 }
398
399 func (x *UserEventInlineSource) String() string {
400 return protoimpl.X.MessageStringOf(x)
401 }
402
403 func (*UserEventInlineSource) ProtoMessage() {}
404
405 func (x *UserEventInlineSource) ProtoReflect() protoreflect.Message {
406 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[3]
407 if x != nil {
408 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
409 if ms.LoadMessageInfo() == nil {
410 ms.StoreMessageInfo(mi)
411 }
412 return ms
413 }
414 return mi.MessageOf(x)
415 }
416
417 // Deprecated: Use UserEventInlineSource.ProtoReflect.Descriptor instead.
418 func (*UserEventInlineSource) Descriptor() ([]byte, []int) {
419 return file_google_cloud_retail_v2beta_import_config_proto_rawDescGZIP(), []int{3}
420 }
421
422 func (x *UserEventInlineSource) GetUserEvents() []*UserEvent {
423 if x != nil {
424 return x.UserEvents
425 }
426 return nil
427 }
428
429 // Configuration of destination for Import related errors.
430 type ImportErrorsConfig struct {
431 state protoimpl.MessageState
432 sizeCache protoimpl.SizeCache
433 unknownFields protoimpl.UnknownFields
434
435 // Required. Errors destination.
436 //
437 // Types that are assignable to Destination:
438 //
439 // *ImportErrorsConfig_GcsPrefix
440 Destination isImportErrorsConfig_Destination `protobuf_oneof:"destination"`
441 }
442
443 func (x *ImportErrorsConfig) Reset() {
444 *x = ImportErrorsConfig{}
445 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[4]
446 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
447 ms.StoreMessageInfo(mi)
448 }
449
450 func (x *ImportErrorsConfig) String() string {
451 return protoimpl.X.MessageStringOf(x)
452 }
453
454 func (*ImportErrorsConfig) ProtoMessage() {}
455
456 func (x *ImportErrorsConfig) ProtoReflect() protoreflect.Message {
457 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[4]
458 if x != nil {
459 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
460 if ms.LoadMessageInfo() == nil {
461 ms.StoreMessageInfo(mi)
462 }
463 return ms
464 }
465 return mi.MessageOf(x)
466 }
467
468 // Deprecated: Use ImportErrorsConfig.ProtoReflect.Descriptor instead.
469 func (*ImportErrorsConfig) Descriptor() ([]byte, []int) {
470 return file_google_cloud_retail_v2beta_import_config_proto_rawDescGZIP(), []int{4}
471 }
472
473 func (m *ImportErrorsConfig) GetDestination() isImportErrorsConfig_Destination {
474 if m != nil {
475 return m.Destination
476 }
477 return nil
478 }
479
480 func (x *ImportErrorsConfig) GetGcsPrefix() string {
481 if x, ok := x.GetDestination().(*ImportErrorsConfig_GcsPrefix); ok {
482 return x.GcsPrefix
483 }
484 return ""
485 }
486
487 type isImportErrorsConfig_Destination interface {
488 isImportErrorsConfig_Destination()
489 }
490
491 type ImportErrorsConfig_GcsPrefix struct {
492 // Google Cloud Storage prefix for import errors. This must be an empty,
493 // existing Cloud Storage directory. Import errors are written to
494 // sharded files in this directory, one per line, as a JSON-encoded
495 // `google.rpc.Status` message.
496 GcsPrefix string `protobuf:"bytes,1,opt,name=gcs_prefix,json=gcsPrefix,proto3,oneof"`
497 }
498
499 func (*ImportErrorsConfig_GcsPrefix) isImportErrorsConfig_Destination() {}
500
501 // Request message for Import methods.
502 type ImportProductsRequest struct {
503 state protoimpl.MessageState
504 sizeCache protoimpl.SizeCache
505 unknownFields protoimpl.UnknownFields
506
507 // Required.
508 // `projects/1234/locations/global/catalogs/default_catalog/branches/default_branch`
509 //
510 // If no updateMask is specified, requires products.create permission.
511 // If updateMask is specified, requires products.update permission.
512 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
513 // Deprecated. This field has no effect.
514 //
515 // Deprecated: Marked as deprecated in google/cloud/retail/v2beta/import_config.proto.
516 RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
517 // Required. The desired input location of the data.
518 InputConfig *ProductInputConfig `protobuf:"bytes,2,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
519 // The desired location of errors incurred during the Import.
520 ErrorsConfig *ImportErrorsConfig `protobuf:"bytes,3,opt,name=errors_config,json=errorsConfig,proto3" json:"errors_config,omitempty"`
521 // Indicates which fields in the provided imported `products` to update. If
522 // not set, all fields are updated. If provided, only the existing product
523 // fields are updated. Missing products will not be created.
524 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
525 // The mode of reconciliation between existing products and the products to be
526 // imported. Defaults to
527 // [ReconciliationMode.INCREMENTAL][google.cloud.retail.v2beta.ImportProductsRequest.ReconciliationMode.INCREMENTAL].
528 ReconciliationMode ImportProductsRequest_ReconciliationMode `protobuf:"varint,5,opt,name=reconciliation_mode,json=reconciliationMode,proto3,enum=google.cloud.retail.v2beta.ImportProductsRequest_ReconciliationMode" json:"reconciliation_mode,omitempty"`
529 // Full Pub/Sub topic name for receiving notification. If this field is set,
530 // when the import is finished, a notification is sent to
531 // specified Pub/Sub topic. The message data is JSON string of a
532 // [Operation][google.longrunning.Operation].
533 //
534 // Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`. It has
535 // to be within the same project as
536 // [ImportProductsRequest.parent][google.cloud.retail.v2beta.ImportProductsRequest.parent].
537 // Make sure that both
538 // `[email protected]` and
539 // `service-<project number>@gcp-sa-retail.iam.gserviceaccount.com`
540 // have the `pubsub.topics.publish` IAM permission on the topic.
541 //
542 // Only supported when
543 // [ImportProductsRequest.reconciliation_mode][google.cloud.retail.v2beta.ImportProductsRequest.reconciliation_mode]
544 // is set to `FULL`.
545 NotificationPubsubTopic string `protobuf:"bytes,7,opt,name=notification_pubsub_topic,json=notificationPubsubTopic,proto3" json:"notification_pubsub_topic,omitempty"`
546 }
547
548 func (x *ImportProductsRequest) Reset() {
549 *x = ImportProductsRequest{}
550 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[5]
551 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
552 ms.StoreMessageInfo(mi)
553 }
554
555 func (x *ImportProductsRequest) String() string {
556 return protoimpl.X.MessageStringOf(x)
557 }
558
559 func (*ImportProductsRequest) ProtoMessage() {}
560
561 func (x *ImportProductsRequest) ProtoReflect() protoreflect.Message {
562 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[5]
563 if x != nil {
564 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
565 if ms.LoadMessageInfo() == nil {
566 ms.StoreMessageInfo(mi)
567 }
568 return ms
569 }
570 return mi.MessageOf(x)
571 }
572
573 // Deprecated: Use ImportProductsRequest.ProtoReflect.Descriptor instead.
574 func (*ImportProductsRequest) Descriptor() ([]byte, []int) {
575 return file_google_cloud_retail_v2beta_import_config_proto_rawDescGZIP(), []int{5}
576 }
577
578 func (x *ImportProductsRequest) GetParent() string {
579 if x != nil {
580 return x.Parent
581 }
582 return ""
583 }
584
585 // Deprecated: Marked as deprecated in google/cloud/retail/v2beta/import_config.proto.
586 func (x *ImportProductsRequest) GetRequestId() string {
587 if x != nil {
588 return x.RequestId
589 }
590 return ""
591 }
592
593 func (x *ImportProductsRequest) GetInputConfig() *ProductInputConfig {
594 if x != nil {
595 return x.InputConfig
596 }
597 return nil
598 }
599
600 func (x *ImportProductsRequest) GetErrorsConfig() *ImportErrorsConfig {
601 if x != nil {
602 return x.ErrorsConfig
603 }
604 return nil
605 }
606
607 func (x *ImportProductsRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
608 if x != nil {
609 return x.UpdateMask
610 }
611 return nil
612 }
613
614 func (x *ImportProductsRequest) GetReconciliationMode() ImportProductsRequest_ReconciliationMode {
615 if x != nil {
616 return x.ReconciliationMode
617 }
618 return ImportProductsRequest_RECONCILIATION_MODE_UNSPECIFIED
619 }
620
621 func (x *ImportProductsRequest) GetNotificationPubsubTopic() string {
622 if x != nil {
623 return x.NotificationPubsubTopic
624 }
625 return ""
626 }
627
628 // Request message for the ImportUserEvents request.
629 type ImportUserEventsRequest struct {
630 state protoimpl.MessageState
631 sizeCache protoimpl.SizeCache
632 unknownFields protoimpl.UnknownFields
633
634 // Required. `projects/1234/locations/global/catalogs/default_catalog`
635 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
636 // Required. The desired input location of the data.
637 InputConfig *UserEventInputConfig `protobuf:"bytes,2,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
638 // The desired location of errors incurred during the Import. Cannot be set
639 // for inline user event imports.
640 ErrorsConfig *ImportErrorsConfig `protobuf:"bytes,3,opt,name=errors_config,json=errorsConfig,proto3" json:"errors_config,omitempty"`
641 }
642
643 func (x *ImportUserEventsRequest) Reset() {
644 *x = ImportUserEventsRequest{}
645 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[6]
646 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
647 ms.StoreMessageInfo(mi)
648 }
649
650 func (x *ImportUserEventsRequest) String() string {
651 return protoimpl.X.MessageStringOf(x)
652 }
653
654 func (*ImportUserEventsRequest) ProtoMessage() {}
655
656 func (x *ImportUserEventsRequest) ProtoReflect() protoreflect.Message {
657 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[6]
658 if x != nil {
659 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
660 if ms.LoadMessageInfo() == nil {
661 ms.StoreMessageInfo(mi)
662 }
663 return ms
664 }
665 return mi.MessageOf(x)
666 }
667
668 // Deprecated: Use ImportUserEventsRequest.ProtoReflect.Descriptor instead.
669 func (*ImportUserEventsRequest) Descriptor() ([]byte, []int) {
670 return file_google_cloud_retail_v2beta_import_config_proto_rawDescGZIP(), []int{6}
671 }
672
673 func (x *ImportUserEventsRequest) GetParent() string {
674 if x != nil {
675 return x.Parent
676 }
677 return ""
678 }
679
680 func (x *ImportUserEventsRequest) GetInputConfig() *UserEventInputConfig {
681 if x != nil {
682 return x.InputConfig
683 }
684 return nil
685 }
686
687 func (x *ImportUserEventsRequest) GetErrorsConfig() *ImportErrorsConfig {
688 if x != nil {
689 return x.ErrorsConfig
690 }
691 return nil
692 }
693
694 // Request message for ImportCompletionData methods.
695 type ImportCompletionDataRequest struct {
696 state protoimpl.MessageState
697 sizeCache protoimpl.SizeCache
698 unknownFields protoimpl.UnknownFields
699
700 // Required. The catalog which the suggestions dataset belongs to.
701 //
702 // Format: `projects/1234/locations/global/catalogs/default_catalog`.
703 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
704 // Required. The desired input location of the data.
705 InputConfig *CompletionDataInputConfig `protobuf:"bytes,2,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
706 // Pub/Sub topic for receiving notification. If this field is set,
707 // when the import is finished, a notification is sent to
708 // specified Pub/Sub topic. The message data is JSON string of a
709 // [Operation][google.longrunning.Operation].
710 // Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.
711 NotificationPubsubTopic string `protobuf:"bytes,3,opt,name=notification_pubsub_topic,json=notificationPubsubTopic,proto3" json:"notification_pubsub_topic,omitempty"`
712 }
713
714 func (x *ImportCompletionDataRequest) Reset() {
715 *x = ImportCompletionDataRequest{}
716 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[7]
717 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
718 ms.StoreMessageInfo(mi)
719 }
720
721 func (x *ImportCompletionDataRequest) String() string {
722 return protoimpl.X.MessageStringOf(x)
723 }
724
725 func (*ImportCompletionDataRequest) ProtoMessage() {}
726
727 func (x *ImportCompletionDataRequest) ProtoReflect() protoreflect.Message {
728 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[7]
729 if x != nil {
730 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
731 if ms.LoadMessageInfo() == nil {
732 ms.StoreMessageInfo(mi)
733 }
734 return ms
735 }
736 return mi.MessageOf(x)
737 }
738
739 // Deprecated: Use ImportCompletionDataRequest.ProtoReflect.Descriptor instead.
740 func (*ImportCompletionDataRequest) Descriptor() ([]byte, []int) {
741 return file_google_cloud_retail_v2beta_import_config_proto_rawDescGZIP(), []int{7}
742 }
743
744 func (x *ImportCompletionDataRequest) GetParent() string {
745 if x != nil {
746 return x.Parent
747 }
748 return ""
749 }
750
751 func (x *ImportCompletionDataRequest) GetInputConfig() *CompletionDataInputConfig {
752 if x != nil {
753 return x.InputConfig
754 }
755 return nil
756 }
757
758 func (x *ImportCompletionDataRequest) GetNotificationPubsubTopic() string {
759 if x != nil {
760 return x.NotificationPubsubTopic
761 }
762 return ""
763 }
764
765 // The input config source for products.
766 type ProductInputConfig struct {
767 state protoimpl.MessageState
768 sizeCache protoimpl.SizeCache
769 unknownFields protoimpl.UnknownFields
770
771 // Required. The source of the input.
772 //
773 // Types that are assignable to Source:
774 //
775 // *ProductInputConfig_ProductInlineSource
776 // *ProductInputConfig_GcsSource
777 // *ProductInputConfig_BigQuerySource
778 Source isProductInputConfig_Source `protobuf_oneof:"source"`
779 }
780
781 func (x *ProductInputConfig) Reset() {
782 *x = ProductInputConfig{}
783 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[8]
784 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
785 ms.StoreMessageInfo(mi)
786 }
787
788 func (x *ProductInputConfig) String() string {
789 return protoimpl.X.MessageStringOf(x)
790 }
791
792 func (*ProductInputConfig) ProtoMessage() {}
793
794 func (x *ProductInputConfig) ProtoReflect() protoreflect.Message {
795 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[8]
796 if x != nil {
797 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
798 if ms.LoadMessageInfo() == nil {
799 ms.StoreMessageInfo(mi)
800 }
801 return ms
802 }
803 return mi.MessageOf(x)
804 }
805
806 // Deprecated: Use ProductInputConfig.ProtoReflect.Descriptor instead.
807 func (*ProductInputConfig) Descriptor() ([]byte, []int) {
808 return file_google_cloud_retail_v2beta_import_config_proto_rawDescGZIP(), []int{8}
809 }
810
811 func (m *ProductInputConfig) GetSource() isProductInputConfig_Source {
812 if m != nil {
813 return m.Source
814 }
815 return nil
816 }
817
818 func (x *ProductInputConfig) GetProductInlineSource() *ProductInlineSource {
819 if x, ok := x.GetSource().(*ProductInputConfig_ProductInlineSource); ok {
820 return x.ProductInlineSource
821 }
822 return nil
823 }
824
825 func (x *ProductInputConfig) GetGcsSource() *GcsSource {
826 if x, ok := x.GetSource().(*ProductInputConfig_GcsSource); ok {
827 return x.GcsSource
828 }
829 return nil
830 }
831
832 func (x *ProductInputConfig) GetBigQuerySource() *BigQuerySource {
833 if x, ok := x.GetSource().(*ProductInputConfig_BigQuerySource); ok {
834 return x.BigQuerySource
835 }
836 return nil
837 }
838
839 type isProductInputConfig_Source interface {
840 isProductInputConfig_Source()
841 }
842
843 type ProductInputConfig_ProductInlineSource struct {
844 // The Inline source for the input content for products.
845 ProductInlineSource *ProductInlineSource `protobuf:"bytes,1,opt,name=product_inline_source,json=productInlineSource,proto3,oneof"`
846 }
847
848 type ProductInputConfig_GcsSource struct {
849 // Google Cloud Storage location for the input content.
850 GcsSource *GcsSource `protobuf:"bytes,2,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
851 }
852
853 type ProductInputConfig_BigQuerySource struct {
854 // BigQuery input source.
855 BigQuerySource *BigQuerySource `protobuf:"bytes,3,opt,name=big_query_source,json=bigQuerySource,proto3,oneof"`
856 }
857
858 func (*ProductInputConfig_ProductInlineSource) isProductInputConfig_Source() {}
859
860 func (*ProductInputConfig_GcsSource) isProductInputConfig_Source() {}
861
862 func (*ProductInputConfig_BigQuerySource) isProductInputConfig_Source() {}
863
864 // The input config source for user events.
865 type UserEventInputConfig struct {
866 state protoimpl.MessageState
867 sizeCache protoimpl.SizeCache
868 unknownFields protoimpl.UnknownFields
869
870 // The source of the input.
871 //
872 // Types that are assignable to Source:
873 //
874 // *UserEventInputConfig_UserEventInlineSource
875 // *UserEventInputConfig_GcsSource
876 // *UserEventInputConfig_BigQuerySource
877 Source isUserEventInputConfig_Source `protobuf_oneof:"source"`
878 }
879
880 func (x *UserEventInputConfig) Reset() {
881 *x = UserEventInputConfig{}
882 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[9]
883 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
884 ms.StoreMessageInfo(mi)
885 }
886
887 func (x *UserEventInputConfig) String() string {
888 return protoimpl.X.MessageStringOf(x)
889 }
890
891 func (*UserEventInputConfig) ProtoMessage() {}
892
893 func (x *UserEventInputConfig) ProtoReflect() protoreflect.Message {
894 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[9]
895 if x != nil {
896 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
897 if ms.LoadMessageInfo() == nil {
898 ms.StoreMessageInfo(mi)
899 }
900 return ms
901 }
902 return mi.MessageOf(x)
903 }
904
905 // Deprecated: Use UserEventInputConfig.ProtoReflect.Descriptor instead.
906 func (*UserEventInputConfig) Descriptor() ([]byte, []int) {
907 return file_google_cloud_retail_v2beta_import_config_proto_rawDescGZIP(), []int{9}
908 }
909
910 func (m *UserEventInputConfig) GetSource() isUserEventInputConfig_Source {
911 if m != nil {
912 return m.Source
913 }
914 return nil
915 }
916
917 func (x *UserEventInputConfig) GetUserEventInlineSource() *UserEventInlineSource {
918 if x, ok := x.GetSource().(*UserEventInputConfig_UserEventInlineSource); ok {
919 return x.UserEventInlineSource
920 }
921 return nil
922 }
923
924 func (x *UserEventInputConfig) GetGcsSource() *GcsSource {
925 if x, ok := x.GetSource().(*UserEventInputConfig_GcsSource); ok {
926 return x.GcsSource
927 }
928 return nil
929 }
930
931 func (x *UserEventInputConfig) GetBigQuerySource() *BigQuerySource {
932 if x, ok := x.GetSource().(*UserEventInputConfig_BigQuerySource); ok {
933 return x.BigQuerySource
934 }
935 return nil
936 }
937
938 type isUserEventInputConfig_Source interface {
939 isUserEventInputConfig_Source()
940 }
941
942 type UserEventInputConfig_UserEventInlineSource struct {
943 // Required. The Inline source for the input content for UserEvents.
944 UserEventInlineSource *UserEventInlineSource `protobuf:"bytes,1,opt,name=user_event_inline_source,json=userEventInlineSource,proto3,oneof"`
945 }
946
947 type UserEventInputConfig_GcsSource struct {
948 // Required. Google Cloud Storage location for the input content.
949 GcsSource *GcsSource `protobuf:"bytes,2,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
950 }
951
952 type UserEventInputConfig_BigQuerySource struct {
953 // Required. BigQuery input source.
954 BigQuerySource *BigQuerySource `protobuf:"bytes,3,opt,name=big_query_source,json=bigQuerySource,proto3,oneof"`
955 }
956
957 func (*UserEventInputConfig_UserEventInlineSource) isUserEventInputConfig_Source() {}
958
959 func (*UserEventInputConfig_GcsSource) isUserEventInputConfig_Source() {}
960
961 func (*UserEventInputConfig_BigQuerySource) isUserEventInputConfig_Source() {}
962
963 // The input config source for completion data.
964 type CompletionDataInputConfig struct {
965 state protoimpl.MessageState
966 sizeCache protoimpl.SizeCache
967 unknownFields protoimpl.UnknownFields
968
969 // The source of the input.
970 //
971 // Supported
972 // [BigQuerySource.data_schema][google.cloud.retail.v2beta.BigQuerySource.data_schema]
973 // values for suggestions imports:
974 //
975 // * `suggestions` (default): One JSON completion suggestion per line.
976 // * `denylist`: One JSON deny suggestion per line.
977 // * `allowlist`: One JSON allow suggestion per line.
978 //
979 // Types that are assignable to Source:
980 //
981 // *CompletionDataInputConfig_BigQuerySource
982 Source isCompletionDataInputConfig_Source `protobuf_oneof:"source"`
983 }
984
985 func (x *CompletionDataInputConfig) Reset() {
986 *x = CompletionDataInputConfig{}
987 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[10]
988 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
989 ms.StoreMessageInfo(mi)
990 }
991
992 func (x *CompletionDataInputConfig) String() string {
993 return protoimpl.X.MessageStringOf(x)
994 }
995
996 func (*CompletionDataInputConfig) ProtoMessage() {}
997
998 func (x *CompletionDataInputConfig) ProtoReflect() protoreflect.Message {
999 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[10]
1000 if 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 CompletionDataInputConfig.ProtoReflect.Descriptor instead.
1011 func (*CompletionDataInputConfig) Descriptor() ([]byte, []int) {
1012 return file_google_cloud_retail_v2beta_import_config_proto_rawDescGZIP(), []int{10}
1013 }
1014
1015 func (m *CompletionDataInputConfig) GetSource() isCompletionDataInputConfig_Source {
1016 if m != nil {
1017 return m.Source
1018 }
1019 return nil
1020 }
1021
1022 func (x *CompletionDataInputConfig) GetBigQuerySource() *BigQuerySource {
1023 if x, ok := x.GetSource().(*CompletionDataInputConfig_BigQuerySource); ok {
1024 return x.BigQuerySource
1025 }
1026 return nil
1027 }
1028
1029 type isCompletionDataInputConfig_Source interface {
1030 isCompletionDataInputConfig_Source()
1031 }
1032
1033 type CompletionDataInputConfig_BigQuerySource struct {
1034 // Required. BigQuery input source.
1035 //
1036 // Add the IAM permission "BigQuery Data Viewer" for
1037 // [email protected] before
1038 // using this feature otherwise an error is thrown.
1039 BigQuerySource *BigQuerySource `protobuf:"bytes,1,opt,name=big_query_source,json=bigQuerySource,proto3,oneof"`
1040 }
1041
1042 func (*CompletionDataInputConfig_BigQuerySource) isCompletionDataInputConfig_Source() {}
1043
1044 // Metadata related to the progress of the Import operation. This is
1045 // returned by the google.longrunning.Operation.metadata field.
1046 type ImportMetadata struct {
1047 state protoimpl.MessageState
1048 sizeCache protoimpl.SizeCache
1049 unknownFields protoimpl.UnknownFields
1050
1051 // Operation create time.
1052 CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
1053 // Operation last update time. If the operation is done, this is also the
1054 // finish time.
1055 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
1056 // Count of entries that were processed successfully.
1057 SuccessCount int64 `protobuf:"varint,3,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"`
1058 // Count of entries that encountered errors while processing.
1059 FailureCount int64 `protobuf:"varint,4,opt,name=failure_count,json=failureCount,proto3" json:"failure_count,omitempty"`
1060 // Deprecated. This field is never set.
1061 //
1062 // Deprecated: Marked as deprecated in google/cloud/retail/v2beta/import_config.proto.
1063 RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
1064 // Pub/Sub topic for receiving notification. If this field is set,
1065 // when the import is finished, a notification is sent to
1066 // specified Pub/Sub topic. The message data is JSON string of a
1067 // [Operation][google.longrunning.Operation].
1068 // Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.
1069 NotificationPubsubTopic string `protobuf:"bytes,6,opt,name=notification_pubsub_topic,json=notificationPubsubTopic,proto3" json:"notification_pubsub_topic,omitempty"`
1070 }
1071
1072 func (x *ImportMetadata) Reset() {
1073 *x = ImportMetadata{}
1074 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[11]
1075 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1076 ms.StoreMessageInfo(mi)
1077 }
1078
1079 func (x *ImportMetadata) String() string {
1080 return protoimpl.X.MessageStringOf(x)
1081 }
1082
1083 func (*ImportMetadata) ProtoMessage() {}
1084
1085 func (x *ImportMetadata) ProtoReflect() protoreflect.Message {
1086 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[11]
1087 if x != nil {
1088 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1089 if ms.LoadMessageInfo() == nil {
1090 ms.StoreMessageInfo(mi)
1091 }
1092 return ms
1093 }
1094 return mi.MessageOf(x)
1095 }
1096
1097 // Deprecated: Use ImportMetadata.ProtoReflect.Descriptor instead.
1098 func (*ImportMetadata) Descriptor() ([]byte, []int) {
1099 return file_google_cloud_retail_v2beta_import_config_proto_rawDescGZIP(), []int{11}
1100 }
1101
1102 func (x *ImportMetadata) GetCreateTime() *timestamppb.Timestamp {
1103 if x != nil {
1104 return x.CreateTime
1105 }
1106 return nil
1107 }
1108
1109 func (x *ImportMetadata) GetUpdateTime() *timestamppb.Timestamp {
1110 if x != nil {
1111 return x.UpdateTime
1112 }
1113 return nil
1114 }
1115
1116 func (x *ImportMetadata) GetSuccessCount() int64 {
1117 if x != nil {
1118 return x.SuccessCount
1119 }
1120 return 0
1121 }
1122
1123 func (x *ImportMetadata) GetFailureCount() int64 {
1124 if x != nil {
1125 return x.FailureCount
1126 }
1127 return 0
1128 }
1129
1130 // Deprecated: Marked as deprecated in google/cloud/retail/v2beta/import_config.proto.
1131 func (x *ImportMetadata) GetRequestId() string {
1132 if x != nil {
1133 return x.RequestId
1134 }
1135 return ""
1136 }
1137
1138 func (x *ImportMetadata) GetNotificationPubsubTopic() string {
1139 if x != nil {
1140 return x.NotificationPubsubTopic
1141 }
1142 return ""
1143 }
1144
1145 // Response of the
1146 // [ImportProductsRequest][google.cloud.retail.v2beta.ImportProductsRequest]. If
1147 // the long running operation is done, then this message is returned by the
1148 // google.longrunning.Operations.response field if the operation was successful.
1149 type ImportProductsResponse struct {
1150 state protoimpl.MessageState
1151 sizeCache protoimpl.SizeCache
1152 unknownFields protoimpl.UnknownFields
1153
1154 // A sample of errors encountered while processing the request.
1155 ErrorSamples []*status.Status `protobuf:"bytes,1,rep,name=error_samples,json=errorSamples,proto3" json:"error_samples,omitempty"`
1156 // Echoes the destination for the complete errors in the request if set.
1157 ErrorsConfig *ImportErrorsConfig `protobuf:"bytes,2,opt,name=errors_config,json=errorsConfig,proto3" json:"errors_config,omitempty"`
1158 }
1159
1160 func (x *ImportProductsResponse) Reset() {
1161 *x = ImportProductsResponse{}
1162 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[12]
1163 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1164 ms.StoreMessageInfo(mi)
1165 }
1166
1167 func (x *ImportProductsResponse) String() string {
1168 return protoimpl.X.MessageStringOf(x)
1169 }
1170
1171 func (*ImportProductsResponse) ProtoMessage() {}
1172
1173 func (x *ImportProductsResponse) ProtoReflect() protoreflect.Message {
1174 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[12]
1175 if x != nil {
1176 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1177 if ms.LoadMessageInfo() == nil {
1178 ms.StoreMessageInfo(mi)
1179 }
1180 return ms
1181 }
1182 return mi.MessageOf(x)
1183 }
1184
1185 // Deprecated: Use ImportProductsResponse.ProtoReflect.Descriptor instead.
1186 func (*ImportProductsResponse) Descriptor() ([]byte, []int) {
1187 return file_google_cloud_retail_v2beta_import_config_proto_rawDescGZIP(), []int{12}
1188 }
1189
1190 func (x *ImportProductsResponse) GetErrorSamples() []*status.Status {
1191 if x != nil {
1192 return x.ErrorSamples
1193 }
1194 return nil
1195 }
1196
1197 func (x *ImportProductsResponse) GetErrorsConfig() *ImportErrorsConfig {
1198 if x != nil {
1199 return x.ErrorsConfig
1200 }
1201 return nil
1202 }
1203
1204 // Response of the ImportUserEventsRequest. If the long running
1205 // operation was successful, then this message is returned by the
1206 // google.longrunning.Operations.response field if the operation was successful.
1207 type ImportUserEventsResponse struct {
1208 state protoimpl.MessageState
1209 sizeCache protoimpl.SizeCache
1210 unknownFields protoimpl.UnknownFields
1211
1212 // A sample of errors encountered while processing the request.
1213 ErrorSamples []*status.Status `protobuf:"bytes,1,rep,name=error_samples,json=errorSamples,proto3" json:"error_samples,omitempty"`
1214 // Echoes the destination for the complete errors if this field was set in
1215 // the request.
1216 ErrorsConfig *ImportErrorsConfig `protobuf:"bytes,2,opt,name=errors_config,json=errorsConfig,proto3" json:"errors_config,omitempty"`
1217 // Aggregated statistics of user event import status.
1218 ImportSummary *UserEventImportSummary `protobuf:"bytes,3,opt,name=import_summary,json=importSummary,proto3" json:"import_summary,omitempty"`
1219 }
1220
1221 func (x *ImportUserEventsResponse) Reset() {
1222 *x = ImportUserEventsResponse{}
1223 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[13]
1224 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1225 ms.StoreMessageInfo(mi)
1226 }
1227
1228 func (x *ImportUserEventsResponse) String() string {
1229 return protoimpl.X.MessageStringOf(x)
1230 }
1231
1232 func (*ImportUserEventsResponse) ProtoMessage() {}
1233
1234 func (x *ImportUserEventsResponse) ProtoReflect() protoreflect.Message {
1235 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[13]
1236 if x != nil {
1237 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1238 if ms.LoadMessageInfo() == nil {
1239 ms.StoreMessageInfo(mi)
1240 }
1241 return ms
1242 }
1243 return mi.MessageOf(x)
1244 }
1245
1246 // Deprecated: Use ImportUserEventsResponse.ProtoReflect.Descriptor instead.
1247 func (*ImportUserEventsResponse) Descriptor() ([]byte, []int) {
1248 return file_google_cloud_retail_v2beta_import_config_proto_rawDescGZIP(), []int{13}
1249 }
1250
1251 func (x *ImportUserEventsResponse) GetErrorSamples() []*status.Status {
1252 if x != nil {
1253 return x.ErrorSamples
1254 }
1255 return nil
1256 }
1257
1258 func (x *ImportUserEventsResponse) GetErrorsConfig() *ImportErrorsConfig {
1259 if x != nil {
1260 return x.ErrorsConfig
1261 }
1262 return nil
1263 }
1264
1265 func (x *ImportUserEventsResponse) GetImportSummary() *UserEventImportSummary {
1266 if x != nil {
1267 return x.ImportSummary
1268 }
1269 return nil
1270 }
1271
1272 // A summary of import result. The UserEventImportSummary summarizes
1273 // the import status for user events.
1274 type UserEventImportSummary struct {
1275 state protoimpl.MessageState
1276 sizeCache protoimpl.SizeCache
1277 unknownFields protoimpl.UnknownFields
1278
1279 // Count of user events imported with complete existing catalog information.
1280 JoinedEventsCount int64 `protobuf:"varint,1,opt,name=joined_events_count,json=joinedEventsCount,proto3" json:"joined_events_count,omitempty"`
1281 // Count of user events imported, but with catalog information not found
1282 // in the imported catalog.
1283 UnjoinedEventsCount int64 `protobuf:"varint,2,opt,name=unjoined_events_count,json=unjoinedEventsCount,proto3" json:"unjoined_events_count,omitempty"`
1284 }
1285
1286 func (x *UserEventImportSummary) Reset() {
1287 *x = UserEventImportSummary{}
1288 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[14]
1289 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1290 ms.StoreMessageInfo(mi)
1291 }
1292
1293 func (x *UserEventImportSummary) String() string {
1294 return protoimpl.X.MessageStringOf(x)
1295 }
1296
1297 func (*UserEventImportSummary) ProtoMessage() {}
1298
1299 func (x *UserEventImportSummary) ProtoReflect() protoreflect.Message {
1300 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[14]
1301 if x != nil {
1302 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1303 if ms.LoadMessageInfo() == nil {
1304 ms.StoreMessageInfo(mi)
1305 }
1306 return ms
1307 }
1308 return mi.MessageOf(x)
1309 }
1310
1311 // Deprecated: Use UserEventImportSummary.ProtoReflect.Descriptor instead.
1312 func (*UserEventImportSummary) Descriptor() ([]byte, []int) {
1313 return file_google_cloud_retail_v2beta_import_config_proto_rawDescGZIP(), []int{14}
1314 }
1315
1316 func (x *UserEventImportSummary) GetJoinedEventsCount() int64 {
1317 if x != nil {
1318 return x.JoinedEventsCount
1319 }
1320 return 0
1321 }
1322
1323 func (x *UserEventImportSummary) GetUnjoinedEventsCount() int64 {
1324 if x != nil {
1325 return x.UnjoinedEventsCount
1326 }
1327 return 0
1328 }
1329
1330 // Response of the
1331 // [ImportCompletionDataRequest][google.cloud.retail.v2beta.ImportCompletionDataRequest].
1332 // If the long running operation is done, this message is returned by the
1333 // google.longrunning.Operations.response field if the operation is successful.
1334 type ImportCompletionDataResponse struct {
1335 state protoimpl.MessageState
1336 sizeCache protoimpl.SizeCache
1337 unknownFields protoimpl.UnknownFields
1338
1339 // A sample of errors encountered while processing the request.
1340 ErrorSamples []*status.Status `protobuf:"bytes,1,rep,name=error_samples,json=errorSamples,proto3" json:"error_samples,omitempty"`
1341 }
1342
1343 func (x *ImportCompletionDataResponse) Reset() {
1344 *x = ImportCompletionDataResponse{}
1345 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[15]
1346 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1347 ms.StoreMessageInfo(mi)
1348 }
1349
1350 func (x *ImportCompletionDataResponse) String() string {
1351 return protoimpl.X.MessageStringOf(x)
1352 }
1353
1354 func (*ImportCompletionDataResponse) ProtoMessage() {}
1355
1356 func (x *ImportCompletionDataResponse) ProtoReflect() protoreflect.Message {
1357 mi := &file_google_cloud_retail_v2beta_import_config_proto_msgTypes[15]
1358 if x != nil {
1359 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1360 if ms.LoadMessageInfo() == nil {
1361 ms.StoreMessageInfo(mi)
1362 }
1363 return ms
1364 }
1365 return mi.MessageOf(x)
1366 }
1367
1368 // Deprecated: Use ImportCompletionDataResponse.ProtoReflect.Descriptor instead.
1369 func (*ImportCompletionDataResponse) Descriptor() ([]byte, []int) {
1370 return file_google_cloud_retail_v2beta_import_config_proto_rawDescGZIP(), []int{15}
1371 }
1372
1373 func (x *ImportCompletionDataResponse) GetErrorSamples() []*status.Status {
1374 if x != nil {
1375 return x.ErrorSamples
1376 }
1377 return nil
1378 }
1379
1380 var File_google_cloud_retail_v2beta_import_config_proto protoreflect.FileDescriptor
1381
1382 var file_google_cloud_retail_v2beta_import_config_proto_rawDesc = []byte{
1383 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72,
1384 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x69, 0x6d, 0x70,
1385 0x6f, 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1386 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72,
1387 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1f, 0x67, 0x6f,
1388 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62,
1389 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67,
1390 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
1391 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1392 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32,
1393 0x62, 0x65, 0x74, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f,
1394 0x74, 0x6f, 0x1a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1395 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75,
1396 0x73, 0x65, 0x72, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1397 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1398 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1399 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1400 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
1401 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73,
1402 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x6f,
1403 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72,
1404 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x09, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
1405 0x12, 0x22, 0x0a, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x73, 0x18, 0x01,
1406 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74,
1407 0x55, 0x72, 0x69, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x63, 0x68,
1408 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x53,
1409 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x85, 0x02, 0x0a, 0x0e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65,
1410 0x72, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3a, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74,
1411 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
1412 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x44,
1413 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
1414 0x44, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f,
1415 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
1416 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69,
1417 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x64, 0x61,
1418 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65,
1419 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07,
1420 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x67, 0x63, 0x73, 0x5f, 0x73,
1421 0x74, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
1422 0x52, 0x0d, 0x67, 0x63, 0x73, 0x53, 0x74, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x72, 0x12,
1423 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x04,
1424 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
1425 0x42, 0x0b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x5b, 0x0a,
1426 0x13, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x6f,
1427 0x75, 0x72, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73,
1428 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1429 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62,
1430 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02,
1431 0x52, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x22, 0x64, 0x0a, 0x15, 0x55, 0x73,
1432 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x6f, 0x75,
1433 0x72, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x65, 0x76, 0x65, 0x6e,
1434 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1435 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76,
1436 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42,
1437 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73,
1438 0x22, 0x44, 0x0a, 0x12, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73,
1439 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1f, 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x70, 0x72,
1440 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x67, 0x63,
1441 0x73, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x42, 0x0d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69,
1442 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xeb, 0x04, 0x0a, 0x15, 0x49, 0x6d, 0x70, 0x6f, 0x72,
1443 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
1444 0x12, 0x3c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1445 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c,
1446 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
1447 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x21,
1448 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01,
1449 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49,
1450 0x64, 0x12, 0x56, 0x0a, 0x0c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
1451 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1452 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32,
1453 0x62, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75,
1454 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x69, 0x6e,
1455 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x53, 0x0a, 0x0d, 0x65, 0x72, 0x72,
1456 0x6f, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
1457 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1458 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x49, 0x6d,
1459 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
1460 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3b,
1461 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20,
1462 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1463 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52,
1464 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x75, 0x0a, 0x13, 0x72,
1465 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f,
1466 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1467 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76,
1468 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x64,
1469 0x75, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x6f,
1470 0x6e, 0x63, 0x69, 0x6c, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x12,
1471 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f,
1472 0x64, 0x65, 0x12, 0x3a, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
1473 0x6f, 0x6e, 0x5f, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18,
1474 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
1475 0x69, 0x6f, 0x6e, 0x50, 0x75, 0x62, 0x73, 0x75, 0x62, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x22, 0x54,
1476 0x0a, 0x12, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1477 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x52, 0x45, 0x43, 0x4f, 0x4e, 0x43, 0x49, 0x4c,
1478 0x49, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
1479 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x49, 0x4e, 0x43,
1480 0x52, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x55,
1481 0x4c, 0x4c, 0x10, 0x02, 0x22, 0x87, 0x02, 0x0a, 0x17, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x55,
1482 0x73, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
1483 0x12, 0x3d, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1484 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c,
1485 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
1486 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12,
1487 0x58, 0x0a, 0x0c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18,
1488 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1489 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65,
1490 0x74, 0x61, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x70, 0x75,
1491 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x69, 0x6e,
1492 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x53, 0x0a, 0x0d, 0x65, 0x72, 0x72,
1493 0x6f, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
1494 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1495 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x49, 0x6d,
1496 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
1497 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xf7,
1498 0x01, 0x0a, 0x1b, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74,
1499 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d,
1500 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25,
1501 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67,
1502 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61,
1503 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x5d, 0x0a,
1504 0x0c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20,
1505 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
1506 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61,
1507 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x49,
1508 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
1509 0x0b, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x19,
1510 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x75, 0x62,
1511 0x73, 0x75, 0x62, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
1512 0x17, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x75, 0x62,
1513 0x73, 0x75, 0x62, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x22, 0xa5, 0x02, 0x0a, 0x12, 0x50, 0x72, 0x6f,
1514 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
1515 0x65, 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x6e, 0x6c, 0x69, 0x6e,
1516 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f,
1517 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65,
1518 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x64,
1519 0x75, 0x63, 0x74, 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48,
1520 0x00, 0x52, 0x13, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65,
1521 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x46, 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x73, 0x6f,
1522 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f,
1523 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c,
1524 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63,
1525 0x65, 0x48, 0x00, 0x52, 0x09, 0x67, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x56,
1526 0x0a, 0x10, 0x62, 0x69, 0x67, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x6f, 0x75, 0x72,
1527 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1528 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76,
1529 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x6f,
1530 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x62, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79,
1531 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
1532 0x22, 0xbd, 0x02, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e,
1533 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x71, 0x0a, 0x18, 0x75, 0x73, 0x65,
1534 0x72, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x73,
1535 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f,
1536 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69,
1537 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x45, 0x76, 0x65,
1538 0x6e, 0x74, 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x03,
1539 0xe0, 0x41, 0x02, 0x48, 0x00, 0x52, 0x15, 0x75, 0x73, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74,
1540 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x0a,
1541 0x67, 0x63, 0x73, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
1542 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1543 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x63,
1544 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x48, 0x00, 0x52, 0x09,
1545 0x67, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x5b, 0x0a, 0x10, 0x62, 0x69, 0x67,
1546 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20,
1547 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
1548 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61,
1549 0x2e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42,
1550 0x03, 0xe0, 0x41, 0x02, 0x48, 0x00, 0x52, 0x0e, 0x62, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79,
1551 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
1552 0x22, 0x82, 0x01, 0x0a, 0x19, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x44,
1553 0x61, 0x74, 0x61, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5b,
1554 0x0a, 0x10, 0x62, 0x69, 0x67, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x6f, 0x75, 0x72,
1555 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1556 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76,
1557 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x6f,
1558 0x75, 0x72, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x48, 0x00, 0x52, 0x0e, 0x62, 0x69, 0x67,
1559 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x73,
1560 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0xb3, 0x02, 0x0a, 0x0e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74,
1561 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61,
1562 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
1563 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
1564 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74,
1565 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,
1566 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
1567 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
1568 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69,
1569 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x6f,
1570 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x75, 0x63, 0x63, 0x65,
1571 0x73, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x75,
1572 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c,
1573 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0a,
1574 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
1575 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12,
1576 0x3a, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
1577 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x06, 0x20, 0x01,
1578 0x28, 0x09, 0x52, 0x17, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1579 0x50, 0x75, 0x62, 0x73, 0x75, 0x62, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x22, 0xa6, 0x01, 0x0a, 0x16,
1580 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x52, 0x65,
1581 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f,
1582 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e,
1583 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75,
1584 0x73, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x12,
1585 0x53, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
1586 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1587 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62,
1588 0x65, 0x74, 0x61, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73,
1589 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x43, 0x6f,
1590 0x6e, 0x66, 0x69, 0x67, 0x22, 0x83, 0x02, 0x0a, 0x18, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x55,
1591 0x73, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1592 0x65, 0x12, 0x37, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c,
1593 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1594 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c, 0x65, 0x72,
1595 0x72, 0x6f, 0x72, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x12, 0x53, 0x0a, 0x0d, 0x65, 0x72,
1596 0x72, 0x6f, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28,
1597 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1598 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x49,
1599 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69,
1600 0x67, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
1601 0x59, 0x0a, 0x0e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72,
1602 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1603 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32,
1604 0x62, 0x65, 0x74, 0x61, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6d,
1605 0x70, 0x6f, 0x72, 0x74, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x0d, 0x69, 0x6d, 0x70,
1606 0x6f, 0x72, 0x74, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x7c, 0x0a, 0x16, 0x55, 0x73,
1607 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x75, 0x6d,
1608 0x6d, 0x61, 0x72, 0x79, 0x12, 0x2e, 0x0a, 0x13, 0x6a, 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x65,
1609 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
1610 0x03, 0x52, 0x11, 0x6a, 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x43,
1611 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x75, 0x6e, 0x6a, 0x6f, 0x69, 0x6e, 0x65, 0x64,
1612 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20,
1613 0x01, 0x28, 0x03, 0x52, 0x13, 0x75, 0x6e, 0x6a, 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x45, 0x76, 0x65,
1614 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x57, 0x0a, 0x1c, 0x49, 0x6d, 0x70, 0x6f,
1615 0x72, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61,
1616 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f,
1617 0x72, 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
1618 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61,
1619 0x74, 0x75, 0x73, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65,
1620 0x73, 0x42, 0xd0, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1621 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32,
1622 0x62, 0x65, 0x74, 0x61, 0x42, 0x11, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66,
1623 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1624 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x72,
1625 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f,
1626 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x70, 0x62, 0x3b, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x70,
1627 0x62, 0xa2, 0x02, 0x06, 0x52, 0x45, 0x54, 0x41, 0x49, 0x4c, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f,
1628 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c,
1629 0x2e, 0x56, 0x32, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1630 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x5c, 0x56, 0x32,
1631 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43,
1632 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x3a, 0x3a, 0x56, 0x32,
1633 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1634 }
1635
1636 var (
1637 file_google_cloud_retail_v2beta_import_config_proto_rawDescOnce sync.Once
1638 file_google_cloud_retail_v2beta_import_config_proto_rawDescData = file_google_cloud_retail_v2beta_import_config_proto_rawDesc
1639 )
1640
1641 func file_google_cloud_retail_v2beta_import_config_proto_rawDescGZIP() []byte {
1642 file_google_cloud_retail_v2beta_import_config_proto_rawDescOnce.Do(func() {
1643 file_google_cloud_retail_v2beta_import_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_retail_v2beta_import_config_proto_rawDescData)
1644 })
1645 return file_google_cloud_retail_v2beta_import_config_proto_rawDescData
1646 }
1647
1648 var file_google_cloud_retail_v2beta_import_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
1649 var file_google_cloud_retail_v2beta_import_config_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
1650 var file_google_cloud_retail_v2beta_import_config_proto_goTypes = []any{
1651 (ImportProductsRequest_ReconciliationMode)(0), // 0: google.cloud.retail.v2beta.ImportProductsRequest.ReconciliationMode
1652 (*GcsSource)(nil), // 1: google.cloud.retail.v2beta.GcsSource
1653 (*BigQuerySource)(nil), // 2: google.cloud.retail.v2beta.BigQuerySource
1654 (*ProductInlineSource)(nil), // 3: google.cloud.retail.v2beta.ProductInlineSource
1655 (*UserEventInlineSource)(nil), // 4: google.cloud.retail.v2beta.UserEventInlineSource
1656 (*ImportErrorsConfig)(nil), // 5: google.cloud.retail.v2beta.ImportErrorsConfig
1657 (*ImportProductsRequest)(nil), // 6: google.cloud.retail.v2beta.ImportProductsRequest
1658 (*ImportUserEventsRequest)(nil), // 7: google.cloud.retail.v2beta.ImportUserEventsRequest
1659 (*ImportCompletionDataRequest)(nil), // 8: google.cloud.retail.v2beta.ImportCompletionDataRequest
1660 (*ProductInputConfig)(nil), // 9: google.cloud.retail.v2beta.ProductInputConfig
1661 (*UserEventInputConfig)(nil), // 10: google.cloud.retail.v2beta.UserEventInputConfig
1662 (*CompletionDataInputConfig)(nil), // 11: google.cloud.retail.v2beta.CompletionDataInputConfig
1663 (*ImportMetadata)(nil), // 12: google.cloud.retail.v2beta.ImportMetadata
1664 (*ImportProductsResponse)(nil), // 13: google.cloud.retail.v2beta.ImportProductsResponse
1665 (*ImportUserEventsResponse)(nil), // 14: google.cloud.retail.v2beta.ImportUserEventsResponse
1666 (*UserEventImportSummary)(nil), // 15: google.cloud.retail.v2beta.UserEventImportSummary
1667 (*ImportCompletionDataResponse)(nil), // 16: google.cloud.retail.v2beta.ImportCompletionDataResponse
1668 (*date.Date)(nil), // 17: google.type.Date
1669 (*Product)(nil), // 18: google.cloud.retail.v2beta.Product
1670 (*UserEvent)(nil), // 19: google.cloud.retail.v2beta.UserEvent
1671 (*fieldmaskpb.FieldMask)(nil), // 20: google.protobuf.FieldMask
1672 (*timestamppb.Timestamp)(nil), // 21: google.protobuf.Timestamp
1673 (*status.Status)(nil), // 22: google.rpc.Status
1674 }
1675 var file_google_cloud_retail_v2beta_import_config_proto_depIdxs = []int32{
1676 17, // 0: google.cloud.retail.v2beta.BigQuerySource.partition_date:type_name -> google.type.Date
1677 18, // 1: google.cloud.retail.v2beta.ProductInlineSource.products:type_name -> google.cloud.retail.v2beta.Product
1678 19, // 2: google.cloud.retail.v2beta.UserEventInlineSource.user_events:type_name -> google.cloud.retail.v2beta.UserEvent
1679 9, // 3: google.cloud.retail.v2beta.ImportProductsRequest.input_config:type_name -> google.cloud.retail.v2beta.ProductInputConfig
1680 5, // 4: google.cloud.retail.v2beta.ImportProductsRequest.errors_config:type_name -> google.cloud.retail.v2beta.ImportErrorsConfig
1681 20, // 5: google.cloud.retail.v2beta.ImportProductsRequest.update_mask:type_name -> google.protobuf.FieldMask
1682 0, // 6: google.cloud.retail.v2beta.ImportProductsRequest.reconciliation_mode:type_name -> google.cloud.retail.v2beta.ImportProductsRequest.ReconciliationMode
1683 10, // 7: google.cloud.retail.v2beta.ImportUserEventsRequest.input_config:type_name -> google.cloud.retail.v2beta.UserEventInputConfig
1684 5, // 8: google.cloud.retail.v2beta.ImportUserEventsRequest.errors_config:type_name -> google.cloud.retail.v2beta.ImportErrorsConfig
1685 11, // 9: google.cloud.retail.v2beta.ImportCompletionDataRequest.input_config:type_name -> google.cloud.retail.v2beta.CompletionDataInputConfig
1686 3, // 10: google.cloud.retail.v2beta.ProductInputConfig.product_inline_source:type_name -> google.cloud.retail.v2beta.ProductInlineSource
1687 1, // 11: google.cloud.retail.v2beta.ProductInputConfig.gcs_source:type_name -> google.cloud.retail.v2beta.GcsSource
1688 2, // 12: google.cloud.retail.v2beta.ProductInputConfig.big_query_source:type_name -> google.cloud.retail.v2beta.BigQuerySource
1689 4, // 13: google.cloud.retail.v2beta.UserEventInputConfig.user_event_inline_source:type_name -> google.cloud.retail.v2beta.UserEventInlineSource
1690 1, // 14: google.cloud.retail.v2beta.UserEventInputConfig.gcs_source:type_name -> google.cloud.retail.v2beta.GcsSource
1691 2, // 15: google.cloud.retail.v2beta.UserEventInputConfig.big_query_source:type_name -> google.cloud.retail.v2beta.BigQuerySource
1692 2, // 16: google.cloud.retail.v2beta.CompletionDataInputConfig.big_query_source:type_name -> google.cloud.retail.v2beta.BigQuerySource
1693 21, // 17: google.cloud.retail.v2beta.ImportMetadata.create_time:type_name -> google.protobuf.Timestamp
1694 21, // 18: google.cloud.retail.v2beta.ImportMetadata.update_time:type_name -> google.protobuf.Timestamp
1695 22, // 19: google.cloud.retail.v2beta.ImportProductsResponse.error_samples:type_name -> google.rpc.Status
1696 5, // 20: google.cloud.retail.v2beta.ImportProductsResponse.errors_config:type_name -> google.cloud.retail.v2beta.ImportErrorsConfig
1697 22, // 21: google.cloud.retail.v2beta.ImportUserEventsResponse.error_samples:type_name -> google.rpc.Status
1698 5, // 22: google.cloud.retail.v2beta.ImportUserEventsResponse.errors_config:type_name -> google.cloud.retail.v2beta.ImportErrorsConfig
1699 15, // 23: google.cloud.retail.v2beta.ImportUserEventsResponse.import_summary:type_name -> google.cloud.retail.v2beta.UserEventImportSummary
1700 22, // 24: google.cloud.retail.v2beta.ImportCompletionDataResponse.error_samples:type_name -> google.rpc.Status
1701 25, // [25:25] is the sub-list for method output_type
1702 25, // [25:25] is the sub-list for method input_type
1703 25, // [25:25] is the sub-list for extension type_name
1704 25, // [25:25] is the sub-list for extension extendee
1705 0, // [0:25] is the sub-list for field type_name
1706 }
1707
1708 func init() { file_google_cloud_retail_v2beta_import_config_proto_init() }
1709 func file_google_cloud_retail_v2beta_import_config_proto_init() {
1710 if File_google_cloud_retail_v2beta_import_config_proto != nil {
1711 return
1712 }
1713 file_google_cloud_retail_v2beta_product_proto_init()
1714 file_google_cloud_retail_v2beta_user_event_proto_init()
1715 file_google_cloud_retail_v2beta_import_config_proto_msgTypes[1].OneofWrappers = []any{
1716 (*BigQuerySource_PartitionDate)(nil),
1717 }
1718 file_google_cloud_retail_v2beta_import_config_proto_msgTypes[4].OneofWrappers = []any{
1719 (*ImportErrorsConfig_GcsPrefix)(nil),
1720 }
1721 file_google_cloud_retail_v2beta_import_config_proto_msgTypes[8].OneofWrappers = []any{
1722 (*ProductInputConfig_ProductInlineSource)(nil),
1723 (*ProductInputConfig_GcsSource)(nil),
1724 (*ProductInputConfig_BigQuerySource)(nil),
1725 }
1726 file_google_cloud_retail_v2beta_import_config_proto_msgTypes[9].OneofWrappers = []any{
1727 (*UserEventInputConfig_UserEventInlineSource)(nil),
1728 (*UserEventInputConfig_GcsSource)(nil),
1729 (*UserEventInputConfig_BigQuerySource)(nil),
1730 }
1731 file_google_cloud_retail_v2beta_import_config_proto_msgTypes[10].OneofWrappers = []any{
1732 (*CompletionDataInputConfig_BigQuerySource)(nil),
1733 }
1734 type x struct{}
1735 out := protoimpl.TypeBuilder{
1736 File: protoimpl.DescBuilder{
1737 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1738 RawDescriptor: file_google_cloud_retail_v2beta_import_config_proto_rawDesc,
1739 NumEnums: 1,
1740 NumMessages: 16,
1741 NumExtensions: 0,
1742 NumServices: 0,
1743 },
1744 GoTypes: file_google_cloud_retail_v2beta_import_config_proto_goTypes,
1745 DependencyIndexes: file_google_cloud_retail_v2beta_import_config_proto_depIdxs,
1746 EnumInfos: file_google_cloud_retail_v2beta_import_config_proto_enumTypes,
1747 MessageInfos: file_google_cloud_retail_v2beta_import_config_proto_msgTypes,
1748 }.Build()
1749 File_google_cloud_retail_v2beta_import_config_proto = out.File
1750 file_google_cloud_retail_v2beta_import_config_proto_rawDesc = nil
1751 file_google_cloud_retail_v2beta_import_config_proto_goTypes = nil
1752 file_google_cloud_retail_v2beta_import_config_proto_depIdxs = nil
1753 }