Debian Codegraph @

vision/apiv1/visionpb/product_search_service.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/vision/v1/product_search_service.proto
20
21 package visionpb
22
23 import (
24 longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
25 context "context"
26 _ "google.golang.org/genproto/googleapis/api/annotations"
27 status "google.golang.org/genproto/googleapis/rpc/status"
28 grpc "google.golang.org/grpc"
29 codes "google.golang.org/grpc/codes"
30 status1 "google.golang.org/grpc/status"
31 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
32 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
33 emptypb "google.golang.org/protobuf/types/known/emptypb"
34 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
35 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
36 reflect "reflect"
37 sync "sync"
38 )
39
40 const (
41 // Verify that this generated code is sufficiently up-to-date.
42 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
43 // Verify that runtime/protoimpl is sufficiently up-to-date.
44 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
45 )
46
47 // Enumerates the possible states that the batch request can be in.
48 type BatchOperationMetadata_State int32
49
50 const (
51 // Invalid.
52 BatchOperationMetadata_STATE_UNSPECIFIED BatchOperationMetadata_State = 0
53 // Request is actively being processed.
54 BatchOperationMetadata_PROCESSING BatchOperationMetadata_State = 1
55 // The request is done and at least one item has been successfully
56 // processed.
57 BatchOperationMetadata_SUCCESSFUL BatchOperationMetadata_State = 2
58 // The request is done and no item has been successfully processed.
59 BatchOperationMetadata_FAILED BatchOperationMetadata_State = 3
60 // The request is done after the longrunning.Operations.CancelOperation has
61 // been called by the user. Any records that were processed before the
62 // cancel command are output as specified in the request.
63 BatchOperationMetadata_CANCELLED BatchOperationMetadata_State = 4
64 )
65
66 // Enum value maps for BatchOperationMetadata_State.
67 var (
68 BatchOperationMetadata_State_name = map[int32]string{
69 0: "STATE_UNSPECIFIED",
70 1: "PROCESSING",
71 2: "SUCCESSFUL",
72 3: "FAILED",
73 4: "CANCELLED",
74 }
75 BatchOperationMetadata_State_value = map[string]int32{
76 "STATE_UNSPECIFIED": 0,
77 "PROCESSING": 1,
78 "SUCCESSFUL": 2,
79 "FAILED": 3,
80 "CANCELLED": 4,
81 }
82 )
83
84 func (x BatchOperationMetadata_State) Enum() *BatchOperationMetadata_State {
85 p := new(BatchOperationMetadata_State)
86 *p = x
87 return p
88 }
89
90 func (x BatchOperationMetadata_State) String() string {
91 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
92 }
93
94 func (BatchOperationMetadata_State) Descriptor() protoreflect.EnumDescriptor {
95 return file_google_cloud_vision_v1_product_search_service_proto_enumTypes[0].Descriptor()
96 }
97
98 func (BatchOperationMetadata_State) Type() protoreflect.EnumType {
99 return &file_google_cloud_vision_v1_product_search_service_proto_enumTypes[0]
100 }
101
102 func (x BatchOperationMetadata_State) Number() protoreflect.EnumNumber {
103 return protoreflect.EnumNumber(x)
104 }
105
106 // Deprecated: Use BatchOperationMetadata_State.Descriptor instead.
107 func (BatchOperationMetadata_State) EnumDescriptor() ([]byte, []int) {
108 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{28, 0}
109 }
110
111 // A Product contains ReferenceImages.
112 type Product struct {
113 state protoimpl.MessageState
114 sizeCache protoimpl.SizeCache
115 unknownFields protoimpl.UnknownFields
116
117 // The resource name of the product.
118 //
119 // Format is:
120 // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
121 //
122 // This field is ignored when creating a product.
123 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
124 // The user-provided name for this Product. Must not be empty. Must be at most
125 // 4096 characters long.
126 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
127 // User-provided metadata to be stored with this product. Must be at most 4096
128 // characters long.
129 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
130 // Immutable. The category for the product identified by the reference image.
131 // This should be one of "homegoods-v2", "apparel-v2", "toys-v2",
132 // "packagedgoods-v1" or "general-v1". The legacy categories "homegoods",
133 // "apparel", and "toys" are still supported, but these should not be used for
134 // new products.
135 ProductCategory string `protobuf:"bytes,4,opt,name=product_category,json=productCategory,proto3" json:"product_category,omitempty"`
136 // Key-value pairs that can be attached to a product. At query time,
137 // constraints can be specified based on the product_labels.
138 //
139 // Note that integer values can be provided as strings, e.g. "1199". Only
140 // strings with integer values can match a range-based restriction which is
141 // to be supported soon.
142 //
143 // Multiple values can be assigned to the same key. One product may have up to
144 // 500 product_labels.
145 //
146 // Notice that the total number of distinct product_labels over all products
147 // in one ProductSet cannot exceed 1M, otherwise the product search pipeline
148 // will refuse to work for that ProductSet.
149 ProductLabels []*Product_KeyValue `protobuf:"bytes,5,rep,name=product_labels,json=productLabels,proto3" json:"product_labels,omitempty"`
150 }
151
152 func (x *Product) Reset() {
153 *x = Product{}
154 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[0]
155 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
156 ms.StoreMessageInfo(mi)
157 }
158
159 func (x *Product) String() string {
160 return protoimpl.X.MessageStringOf(x)
161 }
162
163 func (*Product) ProtoMessage() {}
164
165 func (x *Product) ProtoReflect() protoreflect.Message {
166 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[0]
167 if x != nil {
168 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
169 if ms.LoadMessageInfo() == nil {
170 ms.StoreMessageInfo(mi)
171 }
172 return ms
173 }
174 return mi.MessageOf(x)
175 }
176
177 // Deprecated: Use Product.ProtoReflect.Descriptor instead.
178 func (*Product) Descriptor() ([]byte, []int) {
179 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{0}
180 }
181
182 func (x *Product) GetName() string {
183 if x != nil {
184 return x.Name
185 }
186 return ""
187 }
188
189 func (x *Product) GetDisplayName() string {
190 if x != nil {
191 return x.DisplayName
192 }
193 return ""
194 }
195
196 func (x *Product) GetDescription() string {
197 if x != nil {
198 return x.Description
199 }
200 return ""
201 }
202
203 func (x *Product) GetProductCategory() string {
204 if x != nil {
205 return x.ProductCategory
206 }
207 return ""
208 }
209
210 func (x *Product) GetProductLabels() []*Product_KeyValue {
211 if x != nil {
212 return x.ProductLabels
213 }
214 return nil
215 }
216
217 // A ProductSet contains Products. A ProductSet can contain a maximum of 1
218 // million reference images. If the limit is exceeded, periodic indexing will
219 // fail.
220 type ProductSet struct {
221 state protoimpl.MessageState
222 sizeCache protoimpl.SizeCache
223 unknownFields protoimpl.UnknownFields
224
225 // The resource name of the ProductSet.
226 //
227 // Format is:
228 // `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
229 //
230 // This field is ignored when creating a ProductSet.
231 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
232 // The user-provided name for this ProductSet. Must not be empty. Must be at
233 // most 4096 characters long.
234 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
235 // Output only. The time at which this ProductSet was last indexed. Query
236 // results will reflect all updates before this time. If this ProductSet has
237 // never been indexed, this timestamp is the default value
238 // "1970-01-01T00:00:00Z".
239 //
240 // This field is ignored when creating a ProductSet.
241 IndexTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=index_time,json=indexTime,proto3" json:"index_time,omitempty"`
242 // Output only. If there was an error with indexing the product set, the field
243 // is populated.
244 //
245 // This field is ignored when creating a ProductSet.
246 IndexError *status.Status `protobuf:"bytes,4,opt,name=index_error,json=indexError,proto3" json:"index_error,omitempty"`
247 }
248
249 func (x *ProductSet) Reset() {
250 *x = ProductSet{}
251 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[1]
252 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
253 ms.StoreMessageInfo(mi)
254 }
255
256 func (x *ProductSet) String() string {
257 return protoimpl.X.MessageStringOf(x)
258 }
259
260 func (*ProductSet) ProtoMessage() {}
261
262 func (x *ProductSet) ProtoReflect() protoreflect.Message {
263 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[1]
264 if x != nil {
265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
266 if ms.LoadMessageInfo() == nil {
267 ms.StoreMessageInfo(mi)
268 }
269 return ms
270 }
271 return mi.MessageOf(x)
272 }
273
274 // Deprecated: Use ProductSet.ProtoReflect.Descriptor instead.
275 func (*ProductSet) Descriptor() ([]byte, []int) {
276 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{1}
277 }
278
279 func (x *ProductSet) GetName() string {
280 if x != nil {
281 return x.Name
282 }
283 return ""
284 }
285
286 func (x *ProductSet) GetDisplayName() string {
287 if x != nil {
288 return x.DisplayName
289 }
290 return ""
291 }
292
293 func (x *ProductSet) GetIndexTime() *timestamppb.Timestamp {
294 if x != nil {
295 return x.IndexTime
296 }
297 return nil
298 }
299
300 func (x *ProductSet) GetIndexError() *status.Status {
301 if x != nil {
302 return x.IndexError
303 }
304 return nil
305 }
306
307 // A `ReferenceImage` represents a product image and its associated metadata,
308 // such as bounding boxes.
309 type ReferenceImage struct {
310 state protoimpl.MessageState
311 sizeCache protoimpl.SizeCache
312 unknownFields protoimpl.UnknownFields
313
314 // The resource name of the reference image.
315 //
316 // Format is:
317 // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`.
318 //
319 // This field is ignored when creating a reference image.
320 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
321 // Required. The Google Cloud Storage URI of the reference image.
322 //
323 // The URI must start with `gs://`.
324 Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
325 // Optional. Bounding polygons around the areas of interest in the reference
326 // image. If this field is empty, the system will try to detect regions of
327 // interest. At most 10 bounding polygons will be used.
328 //
329 // The provided shape is converted into a non-rotated rectangle. Once
330 // converted, the small edge of the rectangle must be greater than or equal
331 // to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5
332 // is not).
333 BoundingPolys []*BoundingPoly `protobuf:"bytes,3,rep,name=bounding_polys,json=boundingPolys,proto3" json:"bounding_polys,omitempty"`
334 }
335
336 func (x *ReferenceImage) Reset() {
337 *x = ReferenceImage{}
338 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[2]
339 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
340 ms.StoreMessageInfo(mi)
341 }
342
343 func (x *ReferenceImage) String() string {
344 return protoimpl.X.MessageStringOf(x)
345 }
346
347 func (*ReferenceImage) ProtoMessage() {}
348
349 func (x *ReferenceImage) ProtoReflect() protoreflect.Message {
350 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[2]
351 if x != nil {
352 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
353 if ms.LoadMessageInfo() == nil {
354 ms.StoreMessageInfo(mi)
355 }
356 return ms
357 }
358 return mi.MessageOf(x)
359 }
360
361 // Deprecated: Use ReferenceImage.ProtoReflect.Descriptor instead.
362 func (*ReferenceImage) Descriptor() ([]byte, []int) {
363 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{2}
364 }
365
366 func (x *ReferenceImage) GetName() string {
367 if x != nil {
368 return x.Name
369 }
370 return ""
371 }
372
373 func (x *ReferenceImage) GetUri() string {
374 if x != nil {
375 return x.Uri
376 }
377 return ""
378 }
379
380 func (x *ReferenceImage) GetBoundingPolys() []*BoundingPoly {
381 if x != nil {
382 return x.BoundingPolys
383 }
384 return nil
385 }
386
387 // Request message for the `CreateProduct` method.
388 type CreateProductRequest struct {
389 state protoimpl.MessageState
390 sizeCache protoimpl.SizeCache
391 unknownFields protoimpl.UnknownFields
392
393 // Required. The project in which the Product should be created.
394 //
395 // Format is
396 // `projects/PROJECT_ID/locations/LOC_ID`.
397 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
398 // Required. The product to create.
399 Product *Product `protobuf:"bytes,2,opt,name=product,proto3" json:"product,omitempty"`
400 // A user-supplied resource id for this Product. If set, the server will
401 // attempt to use this value as the resource id. If it is already in use, an
402 // error is returned with code ALREADY_EXISTS. Must be at most 128 characters
403 // long. It cannot contain the character `/`.
404 ProductId string `protobuf:"bytes,3,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
405 }
406
407 func (x *CreateProductRequest) Reset() {
408 *x = CreateProductRequest{}
409 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[3]
410 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
411 ms.StoreMessageInfo(mi)
412 }
413
414 func (x *CreateProductRequest) String() string {
415 return protoimpl.X.MessageStringOf(x)
416 }
417
418 func (*CreateProductRequest) ProtoMessage() {}
419
420 func (x *CreateProductRequest) ProtoReflect() protoreflect.Message {
421 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[3]
422 if x != nil {
423 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
424 if ms.LoadMessageInfo() == nil {
425 ms.StoreMessageInfo(mi)
426 }
427 return ms
428 }
429 return mi.MessageOf(x)
430 }
431
432 // Deprecated: Use CreateProductRequest.ProtoReflect.Descriptor instead.
433 func (*CreateProductRequest) Descriptor() ([]byte, []int) {
434 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{3}
435 }
436
437 func (x *CreateProductRequest) GetParent() string {
438 if x != nil {
439 return x.Parent
440 }
441 return ""
442 }
443
444 func (x *CreateProductRequest) GetProduct() *Product {
445 if x != nil {
446 return x.Product
447 }
448 return nil
449 }
450
451 func (x *CreateProductRequest) GetProductId() string {
452 if x != nil {
453 return x.ProductId
454 }
455 return ""
456 }
457
458 // Request message for the `ListProducts` method.
459 type ListProductsRequest struct {
460 state protoimpl.MessageState
461 sizeCache protoimpl.SizeCache
462 unknownFields protoimpl.UnknownFields
463
464 // Required. The project OR ProductSet from which Products should be listed.
465 //
466 // Format:
467 // `projects/PROJECT_ID/locations/LOC_ID`
468 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
469 // The maximum number of items to return. Default 10, maximum 100.
470 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
471 // The next_page_token returned from a previous List request, if any.
472 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
473 }
474
475 func (x *ListProductsRequest) Reset() {
476 *x = ListProductsRequest{}
477 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[4]
478 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
479 ms.StoreMessageInfo(mi)
480 }
481
482 func (x *ListProductsRequest) String() string {
483 return protoimpl.X.MessageStringOf(x)
484 }
485
486 func (*ListProductsRequest) ProtoMessage() {}
487
488 func (x *ListProductsRequest) ProtoReflect() protoreflect.Message {
489 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[4]
490 if x != nil {
491 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
492 if ms.LoadMessageInfo() == nil {
493 ms.StoreMessageInfo(mi)
494 }
495 return ms
496 }
497 return mi.MessageOf(x)
498 }
499
500 // Deprecated: Use ListProductsRequest.ProtoReflect.Descriptor instead.
501 func (*ListProductsRequest) Descriptor() ([]byte, []int) {
502 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{4}
503 }
504
505 func (x *ListProductsRequest) GetParent() string {
506 if x != nil {
507 return x.Parent
508 }
509 return ""
510 }
511
512 func (x *ListProductsRequest) GetPageSize() int32 {
513 if x != nil {
514 return x.PageSize
515 }
516 return 0
517 }
518
519 func (x *ListProductsRequest) GetPageToken() string {
520 if x != nil {
521 return x.PageToken
522 }
523 return ""
524 }
525
526 // Response message for the `ListProducts` method.
527 type ListProductsResponse struct {
528 state protoimpl.MessageState
529 sizeCache protoimpl.SizeCache
530 unknownFields protoimpl.UnknownFields
531
532 // List of products.
533 Products []*Product `protobuf:"bytes,1,rep,name=products,proto3" json:"products,omitempty"`
534 // Token to retrieve the next page of results, or empty if there are no more
535 // results in the list.
536 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
537 }
538
539 func (x *ListProductsResponse) Reset() {
540 *x = ListProductsResponse{}
541 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[5]
542 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
543 ms.StoreMessageInfo(mi)
544 }
545
546 func (x *ListProductsResponse) String() string {
547 return protoimpl.X.MessageStringOf(x)
548 }
549
550 func (*ListProductsResponse) ProtoMessage() {}
551
552 func (x *ListProductsResponse) ProtoReflect() protoreflect.Message {
553 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[5]
554 if x != nil {
555 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
556 if ms.LoadMessageInfo() == nil {
557 ms.StoreMessageInfo(mi)
558 }
559 return ms
560 }
561 return mi.MessageOf(x)
562 }
563
564 // Deprecated: Use ListProductsResponse.ProtoReflect.Descriptor instead.
565 func (*ListProductsResponse) Descriptor() ([]byte, []int) {
566 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{5}
567 }
568
569 func (x *ListProductsResponse) GetProducts() []*Product {
570 if x != nil {
571 return x.Products
572 }
573 return nil
574 }
575
576 func (x *ListProductsResponse) GetNextPageToken() string {
577 if x != nil {
578 return x.NextPageToken
579 }
580 return ""
581 }
582
583 // Request message for the `GetProduct` method.
584 type GetProductRequest struct {
585 state protoimpl.MessageState
586 sizeCache protoimpl.SizeCache
587 unknownFields protoimpl.UnknownFields
588
589 // Required. Resource name of the Product to get.
590 //
591 // Format is:
592 // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`
593 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
594 }
595
596 func (x *GetProductRequest) Reset() {
597 *x = GetProductRequest{}
598 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[6]
599 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
600 ms.StoreMessageInfo(mi)
601 }
602
603 func (x *GetProductRequest) String() string {
604 return protoimpl.X.MessageStringOf(x)
605 }
606
607 func (*GetProductRequest) ProtoMessage() {}
608
609 func (x *GetProductRequest) ProtoReflect() protoreflect.Message {
610 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[6]
611 if x != nil {
612 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
613 if ms.LoadMessageInfo() == nil {
614 ms.StoreMessageInfo(mi)
615 }
616 return ms
617 }
618 return mi.MessageOf(x)
619 }
620
621 // Deprecated: Use GetProductRequest.ProtoReflect.Descriptor instead.
622 func (*GetProductRequest) Descriptor() ([]byte, []int) {
623 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{6}
624 }
625
626 func (x *GetProductRequest) GetName() string {
627 if x != nil {
628 return x.Name
629 }
630 return ""
631 }
632
633 // Request message for the `UpdateProduct` method.
634 type UpdateProductRequest struct {
635 state protoimpl.MessageState
636 sizeCache protoimpl.SizeCache
637 unknownFields protoimpl.UnknownFields
638
639 // Required. The Product resource which replaces the one on the server.
640 // product.name is immutable.
641 Product *Product `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"`
642 // The [FieldMask][google.protobuf.FieldMask] that specifies which fields
643 // to update.
644 // If update_mask isn't specified, all mutable fields are to be updated.
645 // Valid mask paths include `product_labels`, `display_name`, and
646 // `description`.
647 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
648 }
649
650 func (x *UpdateProductRequest) Reset() {
651 *x = UpdateProductRequest{}
652 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[7]
653 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
654 ms.StoreMessageInfo(mi)
655 }
656
657 func (x *UpdateProductRequest) String() string {
658 return protoimpl.X.MessageStringOf(x)
659 }
660
661 func (*UpdateProductRequest) ProtoMessage() {}
662
663 func (x *UpdateProductRequest) ProtoReflect() protoreflect.Message {
664 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[7]
665 if x != nil {
666 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
667 if ms.LoadMessageInfo() == nil {
668 ms.StoreMessageInfo(mi)
669 }
670 return ms
671 }
672 return mi.MessageOf(x)
673 }
674
675 // Deprecated: Use UpdateProductRequest.ProtoReflect.Descriptor instead.
676 func (*UpdateProductRequest) Descriptor() ([]byte, []int) {
677 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{7}
678 }
679
680 func (x *UpdateProductRequest) GetProduct() *Product {
681 if x != nil {
682 return x.Product
683 }
684 return nil
685 }
686
687 func (x *UpdateProductRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
688 if x != nil {
689 return x.UpdateMask
690 }
691 return nil
692 }
693
694 // Request message for the `DeleteProduct` method.
695 type DeleteProductRequest struct {
696 state protoimpl.MessageState
697 sizeCache protoimpl.SizeCache
698 unknownFields protoimpl.UnknownFields
699
700 // Required. Resource name of product to delete.
701 //
702 // Format is:
703 // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`
704 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
705 }
706
707 func (x *DeleteProductRequest) Reset() {
708 *x = DeleteProductRequest{}
709 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[8]
710 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
711 ms.StoreMessageInfo(mi)
712 }
713
714 func (x *DeleteProductRequest) String() string {
715 return protoimpl.X.MessageStringOf(x)
716 }
717
718 func (*DeleteProductRequest) ProtoMessage() {}
719
720 func (x *DeleteProductRequest) ProtoReflect() protoreflect.Message {
721 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[8]
722 if x != nil {
723 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
724 if ms.LoadMessageInfo() == nil {
725 ms.StoreMessageInfo(mi)
726 }
727 return ms
728 }
729 return mi.MessageOf(x)
730 }
731
732 // Deprecated: Use DeleteProductRequest.ProtoReflect.Descriptor instead.
733 func (*DeleteProductRequest) Descriptor() ([]byte, []int) {
734 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{8}
735 }
736
737 func (x *DeleteProductRequest) GetName() string {
738 if x != nil {
739 return x.Name
740 }
741 return ""
742 }
743
744 // Request message for the `CreateProductSet` method.
745 type CreateProductSetRequest struct {
746 state protoimpl.MessageState
747 sizeCache protoimpl.SizeCache
748 unknownFields protoimpl.UnknownFields
749
750 // Required. The project in which the ProductSet should be created.
751 //
752 // Format is `projects/PROJECT_ID/locations/LOC_ID`.
753 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
754 // Required. The ProductSet to create.
755 ProductSet *ProductSet `protobuf:"bytes,2,opt,name=product_set,json=productSet,proto3" json:"product_set,omitempty"`
756 // A user-supplied resource id for this ProductSet. If set, the server will
757 // attempt to use this value as the resource id. If it is already in use, an
758 // error is returned with code ALREADY_EXISTS. Must be at most 128 characters
759 // long. It cannot contain the character `/`.
760 ProductSetId string `protobuf:"bytes,3,opt,name=product_set_id,json=productSetId,proto3" json:"product_set_id,omitempty"`
761 }
762
763 func (x *CreateProductSetRequest) Reset() {
764 *x = CreateProductSetRequest{}
765 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[9]
766 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
767 ms.StoreMessageInfo(mi)
768 }
769
770 func (x *CreateProductSetRequest) String() string {
771 return protoimpl.X.MessageStringOf(x)
772 }
773
774 func (*CreateProductSetRequest) ProtoMessage() {}
775
776 func (x *CreateProductSetRequest) ProtoReflect() protoreflect.Message {
777 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[9]
778 if x != nil {
779 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
780 if ms.LoadMessageInfo() == nil {
781 ms.StoreMessageInfo(mi)
782 }
783 return ms
784 }
785 return mi.MessageOf(x)
786 }
787
788 // Deprecated: Use CreateProductSetRequest.ProtoReflect.Descriptor instead.
789 func (*CreateProductSetRequest) Descriptor() ([]byte, []int) {
790 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{9}
791 }
792
793 func (x *CreateProductSetRequest) GetParent() string {
794 if x != nil {
795 return x.Parent
796 }
797 return ""
798 }
799
800 func (x *CreateProductSetRequest) GetProductSet() *ProductSet {
801 if x != nil {
802 return x.ProductSet
803 }
804 return nil
805 }
806
807 func (x *CreateProductSetRequest) GetProductSetId() string {
808 if x != nil {
809 return x.ProductSetId
810 }
811 return ""
812 }
813
814 // Request message for the `ListProductSets` method.
815 type ListProductSetsRequest struct {
816 state protoimpl.MessageState
817 sizeCache protoimpl.SizeCache
818 unknownFields protoimpl.UnknownFields
819
820 // Required. The project from which ProductSets should be listed.
821 //
822 // Format is `projects/PROJECT_ID/locations/LOC_ID`.
823 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
824 // The maximum number of items to return. Default 10, maximum 100.
825 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
826 // The next_page_token returned from a previous List request, if any.
827 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
828 }
829
830 func (x *ListProductSetsRequest) Reset() {
831 *x = ListProductSetsRequest{}
832 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[10]
833 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
834 ms.StoreMessageInfo(mi)
835 }
836
837 func (x *ListProductSetsRequest) String() string {
838 return protoimpl.X.MessageStringOf(x)
839 }
840
841 func (*ListProductSetsRequest) ProtoMessage() {}
842
843 func (x *ListProductSetsRequest) ProtoReflect() protoreflect.Message {
844 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[10]
845 if x != nil {
846 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
847 if ms.LoadMessageInfo() == nil {
848 ms.StoreMessageInfo(mi)
849 }
850 return ms
851 }
852 return mi.MessageOf(x)
853 }
854
855 // Deprecated: Use ListProductSetsRequest.ProtoReflect.Descriptor instead.
856 func (*ListProductSetsRequest) Descriptor() ([]byte, []int) {
857 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{10}
858 }
859
860 func (x *ListProductSetsRequest) GetParent() string {
861 if x != nil {
862 return x.Parent
863 }
864 return ""
865 }
866
867 func (x *ListProductSetsRequest) GetPageSize() int32 {
868 if x != nil {
869 return x.PageSize
870 }
871 return 0
872 }
873
874 func (x *ListProductSetsRequest) GetPageToken() string {
875 if x != nil {
876 return x.PageToken
877 }
878 return ""
879 }
880
881 // Response message for the `ListProductSets` method.
882 type ListProductSetsResponse struct {
883 state protoimpl.MessageState
884 sizeCache protoimpl.SizeCache
885 unknownFields protoimpl.UnknownFields
886
887 // List of ProductSets.
888 ProductSets []*ProductSet `protobuf:"bytes,1,rep,name=product_sets,json=productSets,proto3" json:"product_sets,omitempty"`
889 // Token to retrieve the next page of results, or empty if there are no more
890 // results in the list.
891 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
892 }
893
894 func (x *ListProductSetsResponse) Reset() {
895 *x = ListProductSetsResponse{}
896 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[11]
897 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
898 ms.StoreMessageInfo(mi)
899 }
900
901 func (x *ListProductSetsResponse) String() string {
902 return protoimpl.X.MessageStringOf(x)
903 }
904
905 func (*ListProductSetsResponse) ProtoMessage() {}
906
907 func (x *ListProductSetsResponse) ProtoReflect() protoreflect.Message {
908 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[11]
909 if x != nil {
910 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
911 if ms.LoadMessageInfo() == nil {
912 ms.StoreMessageInfo(mi)
913 }
914 return ms
915 }
916 return mi.MessageOf(x)
917 }
918
919 // Deprecated: Use ListProductSetsResponse.ProtoReflect.Descriptor instead.
920 func (*ListProductSetsResponse) Descriptor() ([]byte, []int) {
921 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{11}
922 }
923
924 func (x *ListProductSetsResponse) GetProductSets() []*ProductSet {
925 if x != nil {
926 return x.ProductSets
927 }
928 return nil
929 }
930
931 func (x *ListProductSetsResponse) GetNextPageToken() string {
932 if x != nil {
933 return x.NextPageToken
934 }
935 return ""
936 }
937
938 // Request message for the `GetProductSet` method.
939 type GetProductSetRequest struct {
940 state protoimpl.MessageState
941 sizeCache protoimpl.SizeCache
942 unknownFields protoimpl.UnknownFields
943
944 // Required. Resource name of the ProductSet to get.
945 //
946 // Format is:
947 // `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`
948 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
949 }
950
951 func (x *GetProductSetRequest) Reset() {
952 *x = GetProductSetRequest{}
953 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[12]
954 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
955 ms.StoreMessageInfo(mi)
956 }
957
958 func (x *GetProductSetRequest) String() string {
959 return protoimpl.X.MessageStringOf(x)
960 }
961
962 func (*GetProductSetRequest) ProtoMessage() {}
963
964 func (x *GetProductSetRequest) ProtoReflect() protoreflect.Message {
965 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[12]
966 if x != nil {
967 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
968 if ms.LoadMessageInfo() == nil {
969 ms.StoreMessageInfo(mi)
970 }
971 return ms
972 }
973 return mi.MessageOf(x)
974 }
975
976 // Deprecated: Use GetProductSetRequest.ProtoReflect.Descriptor instead.
977 func (*GetProductSetRequest) Descriptor() ([]byte, []int) {
978 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{12}
979 }
980
981 func (x *GetProductSetRequest) GetName() string {
982 if x != nil {
983 return x.Name
984 }
985 return ""
986 }
987
988 // Request message for the `UpdateProductSet` method.
989 type UpdateProductSetRequest struct {
990 state protoimpl.MessageState
991 sizeCache protoimpl.SizeCache
992 unknownFields protoimpl.UnknownFields
993
994 // Required. The ProductSet resource which replaces the one on the server.
995 ProductSet *ProductSet `protobuf:"bytes,1,opt,name=product_set,json=productSet,proto3" json:"product_set,omitempty"`
996 // The [FieldMask][google.protobuf.FieldMask] that specifies which fields to
997 // update.
998 // If update_mask isn't specified, all mutable fields are to be updated.
999 // Valid mask path is `display_name`.
1000 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
1001 }
1002
1003 func (x *UpdateProductSetRequest) Reset() {
1004 *x = UpdateProductSetRequest{}
1005 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[13]
1006 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1007 ms.StoreMessageInfo(mi)
1008 }
1009
1010 func (x *UpdateProductSetRequest) String() string {
1011 return protoimpl.X.MessageStringOf(x)
1012 }
1013
1014 func (*UpdateProductSetRequest) ProtoMessage() {}
1015
1016 func (x *UpdateProductSetRequest) ProtoReflect() protoreflect.Message {
1017 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[13]
1018 if x != nil {
1019 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1020 if ms.LoadMessageInfo() == nil {
1021 ms.StoreMessageInfo(mi)
1022 }
1023 return ms
1024 }
1025 return mi.MessageOf(x)
1026 }
1027
1028 // Deprecated: Use UpdateProductSetRequest.ProtoReflect.Descriptor instead.
1029 func (*UpdateProductSetRequest) Descriptor() ([]byte, []int) {
1030 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{13}
1031 }
1032
1033 func (x *UpdateProductSetRequest) GetProductSet() *ProductSet {
1034 if x != nil {
1035 return x.ProductSet
1036 }
1037 return nil
1038 }
1039
1040 func (x *UpdateProductSetRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
1041 if x != nil {
1042 return x.UpdateMask
1043 }
1044 return nil
1045 }
1046
1047 // Request message for the `DeleteProductSet` method.
1048 type DeleteProductSetRequest struct {
1049 state protoimpl.MessageState
1050 sizeCache protoimpl.SizeCache
1051 unknownFields protoimpl.UnknownFields
1052
1053 // Required. Resource name of the ProductSet to delete.
1054 //
1055 // Format is:
1056 // `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`
1057 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1058 }
1059
1060 func (x *DeleteProductSetRequest) Reset() {
1061 *x = DeleteProductSetRequest{}
1062 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[14]
1063 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1064 ms.StoreMessageInfo(mi)
1065 }
1066
1067 func (x *DeleteProductSetRequest) String() string {
1068 return protoimpl.X.MessageStringOf(x)
1069 }
1070
1071 func (*DeleteProductSetRequest) ProtoMessage() {}
1072
1073 func (x *DeleteProductSetRequest) ProtoReflect() protoreflect.Message {
1074 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[14]
1075 if x != nil {
1076 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1077 if ms.LoadMessageInfo() == nil {
1078 ms.StoreMessageInfo(mi)
1079 }
1080 return ms
1081 }
1082 return mi.MessageOf(x)
1083 }
1084
1085 // Deprecated: Use DeleteProductSetRequest.ProtoReflect.Descriptor instead.
1086 func (*DeleteProductSetRequest) Descriptor() ([]byte, []int) {
1087 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{14}
1088 }
1089
1090 func (x *DeleteProductSetRequest) GetName() string {
1091 if x != nil {
1092 return x.Name
1093 }
1094 return ""
1095 }
1096
1097 // Request message for the `CreateReferenceImage` method.
1098 type CreateReferenceImageRequest struct {
1099 state protoimpl.MessageState
1100 sizeCache protoimpl.SizeCache
1101 unknownFields protoimpl.UnknownFields
1102
1103 // Required. Resource name of the product in which to create the reference
1104 // image.
1105 //
1106 // Format is
1107 // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
1108 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
1109 // Required. The reference image to create.
1110 // If an image ID is specified, it is ignored.
1111 ReferenceImage *ReferenceImage `protobuf:"bytes,2,opt,name=reference_image,json=referenceImage,proto3" json:"reference_image,omitempty"`
1112 // A user-supplied resource id for the ReferenceImage to be added. If set,
1113 // the server will attempt to use this value as the resource id. If it is
1114 // already in use, an error is returned with code ALREADY_EXISTS. Must be at
1115 // most 128 characters long. It cannot contain the character `/`.
1116 ReferenceImageId string `protobuf:"bytes,3,opt,name=reference_image_id,json=referenceImageId,proto3" json:"reference_image_id,omitempty"`
1117 }
1118
1119 func (x *CreateReferenceImageRequest) Reset() {
1120 *x = CreateReferenceImageRequest{}
1121 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[15]
1122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1123 ms.StoreMessageInfo(mi)
1124 }
1125
1126 func (x *CreateReferenceImageRequest) String() string {
1127 return protoimpl.X.MessageStringOf(x)
1128 }
1129
1130 func (*CreateReferenceImageRequest) ProtoMessage() {}
1131
1132 func (x *CreateReferenceImageRequest) ProtoReflect() protoreflect.Message {
1133 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[15]
1134 if x != nil {
1135 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1136 if ms.LoadMessageInfo() == nil {
1137 ms.StoreMessageInfo(mi)
1138 }
1139 return ms
1140 }
1141 return mi.MessageOf(x)
1142 }
1143
1144 // Deprecated: Use CreateReferenceImageRequest.ProtoReflect.Descriptor instead.
1145 func (*CreateReferenceImageRequest) Descriptor() ([]byte, []int) {
1146 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{15}
1147 }
1148
1149 func (x *CreateReferenceImageRequest) GetParent() string {
1150 if x != nil {
1151 return x.Parent
1152 }
1153 return ""
1154 }
1155
1156 func (x *CreateReferenceImageRequest) GetReferenceImage() *ReferenceImage {
1157 if x != nil {
1158 return x.ReferenceImage
1159 }
1160 return nil
1161 }
1162
1163 func (x *CreateReferenceImageRequest) GetReferenceImageId() string {
1164 if x != nil {
1165 return x.ReferenceImageId
1166 }
1167 return ""
1168 }
1169
1170 // Request message for the `ListReferenceImages` method.
1171 type ListReferenceImagesRequest struct {
1172 state protoimpl.MessageState
1173 sizeCache protoimpl.SizeCache
1174 unknownFields protoimpl.UnknownFields
1175
1176 // Required. Resource name of the product containing the reference images.
1177 //
1178 // Format is
1179 // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
1180 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
1181 // The maximum number of items to return. Default 10, maximum 100.
1182 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
1183 // A token identifying a page of results to be returned. This is the value
1184 // of `nextPageToken` returned in a previous reference image list request.
1185 //
1186 // Defaults to the first page if not specified.
1187 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
1188 }
1189
1190 func (x *ListReferenceImagesRequest) Reset() {
1191 *x = ListReferenceImagesRequest{}
1192 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[16]
1193 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1194 ms.StoreMessageInfo(mi)
1195 }
1196
1197 func (x *ListReferenceImagesRequest) String() string {
1198 return protoimpl.X.MessageStringOf(x)
1199 }
1200
1201 func (*ListReferenceImagesRequest) ProtoMessage() {}
1202
1203 func (x *ListReferenceImagesRequest) ProtoReflect() protoreflect.Message {
1204 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[16]
1205 if x != nil {
1206 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1207 if ms.LoadMessageInfo() == nil {
1208 ms.StoreMessageInfo(mi)
1209 }
1210 return ms
1211 }
1212 return mi.MessageOf(x)
1213 }
1214
1215 // Deprecated: Use ListReferenceImagesRequest.ProtoReflect.Descriptor instead.
1216 func (*ListReferenceImagesRequest) Descriptor() ([]byte, []int) {
1217 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{16}
1218 }
1219
1220 func (x *ListReferenceImagesRequest) GetParent() string {
1221 if x != nil {
1222 return x.Parent
1223 }
1224 return ""
1225 }
1226
1227 func (x *ListReferenceImagesRequest) GetPageSize() int32 {
1228 if x != nil {
1229 return x.PageSize
1230 }
1231 return 0
1232 }
1233
1234 func (x *ListReferenceImagesRequest) GetPageToken() string {
1235 if x != nil {
1236 return x.PageToken
1237 }
1238 return ""
1239 }
1240
1241 // Response message for the `ListReferenceImages` method.
1242 type ListReferenceImagesResponse struct {
1243 state protoimpl.MessageState
1244 sizeCache protoimpl.SizeCache
1245 unknownFields protoimpl.UnknownFields
1246
1247 // The list of reference images.
1248 ReferenceImages []*ReferenceImage `protobuf:"bytes,1,rep,name=reference_images,json=referenceImages,proto3" json:"reference_images,omitempty"`
1249 // The maximum number of items to return. Default 10, maximum 100.
1250 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
1251 // The next_page_token returned from a previous List request, if any.
1252 NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
1253 }
1254
1255 func (x *ListReferenceImagesResponse) Reset() {
1256 *x = ListReferenceImagesResponse{}
1257 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[17]
1258 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1259 ms.StoreMessageInfo(mi)
1260 }
1261
1262 func (x *ListReferenceImagesResponse) String() string {
1263 return protoimpl.X.MessageStringOf(x)
1264 }
1265
1266 func (*ListReferenceImagesResponse) ProtoMessage() {}
1267
1268 func (x *ListReferenceImagesResponse) ProtoReflect() protoreflect.Message {
1269 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[17]
1270 if x != nil {
1271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1272 if ms.LoadMessageInfo() == nil {
1273 ms.StoreMessageInfo(mi)
1274 }
1275 return ms
1276 }
1277 return mi.MessageOf(x)
1278 }
1279
1280 // Deprecated: Use ListReferenceImagesResponse.ProtoReflect.Descriptor instead.
1281 func (*ListReferenceImagesResponse) Descriptor() ([]byte, []int) {
1282 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{17}
1283 }
1284
1285 func (x *ListReferenceImagesResponse) GetReferenceImages() []*ReferenceImage {
1286 if x != nil {
1287 return x.ReferenceImages
1288 }
1289 return nil
1290 }
1291
1292 func (x *ListReferenceImagesResponse) GetPageSize() int32 {
1293 if x != nil {
1294 return x.PageSize
1295 }
1296 return 0
1297 }
1298
1299 func (x *ListReferenceImagesResponse) GetNextPageToken() string {
1300 if x != nil {
1301 return x.NextPageToken
1302 }
1303 return ""
1304 }
1305
1306 // Request message for the `GetReferenceImage` method.
1307 type GetReferenceImageRequest struct {
1308 state protoimpl.MessageState
1309 sizeCache protoimpl.SizeCache
1310 unknownFields protoimpl.UnknownFields
1311
1312 // Required. The resource name of the ReferenceImage to get.
1313 //
1314 // Format is:
1315 // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`.
1316 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1317 }
1318
1319 func (x *GetReferenceImageRequest) Reset() {
1320 *x = GetReferenceImageRequest{}
1321 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[18]
1322 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1323 ms.StoreMessageInfo(mi)
1324 }
1325
1326 func (x *GetReferenceImageRequest) String() string {
1327 return protoimpl.X.MessageStringOf(x)
1328 }
1329
1330 func (*GetReferenceImageRequest) ProtoMessage() {}
1331
1332 func (x *GetReferenceImageRequest) ProtoReflect() protoreflect.Message {
1333 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[18]
1334 if x != nil {
1335 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1336 if ms.LoadMessageInfo() == nil {
1337 ms.StoreMessageInfo(mi)
1338 }
1339 return ms
1340 }
1341 return mi.MessageOf(x)
1342 }
1343
1344 // Deprecated: Use GetReferenceImageRequest.ProtoReflect.Descriptor instead.
1345 func (*GetReferenceImageRequest) Descriptor() ([]byte, []int) {
1346 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{18}
1347 }
1348
1349 func (x *GetReferenceImageRequest) GetName() string {
1350 if x != nil {
1351 return x.Name
1352 }
1353 return ""
1354 }
1355
1356 // Request message for the `DeleteReferenceImage` method.
1357 type DeleteReferenceImageRequest struct {
1358 state protoimpl.MessageState
1359 sizeCache protoimpl.SizeCache
1360 unknownFields protoimpl.UnknownFields
1361
1362 // Required. The resource name of the reference image to delete.
1363 //
1364 // Format is:
1365 // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`
1366 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1367 }
1368
1369 func (x *DeleteReferenceImageRequest) Reset() {
1370 *x = DeleteReferenceImageRequest{}
1371 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[19]
1372 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1373 ms.StoreMessageInfo(mi)
1374 }
1375
1376 func (x *DeleteReferenceImageRequest) String() string {
1377 return protoimpl.X.MessageStringOf(x)
1378 }
1379
1380 func (*DeleteReferenceImageRequest) ProtoMessage() {}
1381
1382 func (x *DeleteReferenceImageRequest) ProtoReflect() protoreflect.Message {
1383 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[19]
1384 if x != nil {
1385 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1386 if ms.LoadMessageInfo() == nil {
1387 ms.StoreMessageInfo(mi)
1388 }
1389 return ms
1390 }
1391 return mi.MessageOf(x)
1392 }
1393
1394 // Deprecated: Use DeleteReferenceImageRequest.ProtoReflect.Descriptor instead.
1395 func (*DeleteReferenceImageRequest) Descriptor() ([]byte, []int) {
1396 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{19}
1397 }
1398
1399 func (x *DeleteReferenceImageRequest) GetName() string {
1400 if x != nil {
1401 return x.Name
1402 }
1403 return ""
1404 }
1405
1406 // Request message for the `AddProductToProductSet` method.
1407 type AddProductToProductSetRequest struct {
1408 state protoimpl.MessageState
1409 sizeCache protoimpl.SizeCache
1410 unknownFields protoimpl.UnknownFields
1411
1412 // Required. The resource name for the ProductSet to modify.
1413 //
1414 // Format is:
1415 // `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`
1416 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1417 // Required. The resource name for the Product to be added to this ProductSet.
1418 //
1419 // Format is:
1420 // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`
1421 Product string `protobuf:"bytes,2,opt,name=product,proto3" json:"product,omitempty"`
1422 }
1423
1424 func (x *AddProductToProductSetRequest) Reset() {
1425 *x = AddProductToProductSetRequest{}
1426 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[20]
1427 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1428 ms.StoreMessageInfo(mi)
1429 }
1430
1431 func (x *AddProductToProductSetRequest) String() string {
1432 return protoimpl.X.MessageStringOf(x)
1433 }
1434
1435 func (*AddProductToProductSetRequest) ProtoMessage() {}
1436
1437 func (x *AddProductToProductSetRequest) ProtoReflect() protoreflect.Message {
1438 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[20]
1439 if x != nil {
1440 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1441 if ms.LoadMessageInfo() == nil {
1442 ms.StoreMessageInfo(mi)
1443 }
1444 return ms
1445 }
1446 return mi.MessageOf(x)
1447 }
1448
1449 // Deprecated: Use AddProductToProductSetRequest.ProtoReflect.Descriptor instead.
1450 func (*AddProductToProductSetRequest) Descriptor() ([]byte, []int) {
1451 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{20}
1452 }
1453
1454 func (x *AddProductToProductSetRequest) GetName() string {
1455 if x != nil {
1456 return x.Name
1457 }
1458 return ""
1459 }
1460
1461 func (x *AddProductToProductSetRequest) GetProduct() string {
1462 if x != nil {
1463 return x.Product
1464 }
1465 return ""
1466 }
1467
1468 // Request message for the `RemoveProductFromProductSet` method.
1469 type RemoveProductFromProductSetRequest struct {
1470 state protoimpl.MessageState
1471 sizeCache protoimpl.SizeCache
1472 unknownFields protoimpl.UnknownFields
1473
1474 // Required. The resource name for the ProductSet to modify.
1475 //
1476 // Format is:
1477 // `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`
1478 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1479 // Required. The resource name for the Product to be removed from this
1480 // ProductSet.
1481 //
1482 // Format is:
1483 // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`
1484 Product string `protobuf:"bytes,2,opt,name=product,proto3" json:"product,omitempty"`
1485 }
1486
1487 func (x *RemoveProductFromProductSetRequest) Reset() {
1488 *x = RemoveProductFromProductSetRequest{}
1489 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[21]
1490 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1491 ms.StoreMessageInfo(mi)
1492 }
1493
1494 func (x *RemoveProductFromProductSetRequest) String() string {
1495 return protoimpl.X.MessageStringOf(x)
1496 }
1497
1498 func (*RemoveProductFromProductSetRequest) ProtoMessage() {}
1499
1500 func (x *RemoveProductFromProductSetRequest) ProtoReflect() protoreflect.Message {
1501 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[21]
1502 if x != nil {
1503 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1504 if ms.LoadMessageInfo() == nil {
1505 ms.StoreMessageInfo(mi)
1506 }
1507 return ms
1508 }
1509 return mi.MessageOf(x)
1510 }
1511
1512 // Deprecated: Use RemoveProductFromProductSetRequest.ProtoReflect.Descriptor instead.
1513 func (*RemoveProductFromProductSetRequest) Descriptor() ([]byte, []int) {
1514 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{21}
1515 }
1516
1517 func (x *RemoveProductFromProductSetRequest) GetName() string {
1518 if x != nil {
1519 return x.Name
1520 }
1521 return ""
1522 }
1523
1524 func (x *RemoveProductFromProductSetRequest) GetProduct() string {
1525 if x != nil {
1526 return x.Product
1527 }
1528 return ""
1529 }
1530
1531 // Request message for the `ListProductsInProductSet` method.
1532 type ListProductsInProductSetRequest struct {
1533 state protoimpl.MessageState
1534 sizeCache protoimpl.SizeCache
1535 unknownFields protoimpl.UnknownFields
1536
1537 // Required. The ProductSet resource for which to retrieve Products.
1538 //
1539 // Format is:
1540 // `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`
1541 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1542 // The maximum number of items to return. Default 10, maximum 100.
1543 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
1544 // The next_page_token returned from a previous List request, if any.
1545 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
1546 }
1547
1548 func (x *ListProductsInProductSetRequest) Reset() {
1549 *x = ListProductsInProductSetRequest{}
1550 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[22]
1551 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1552 ms.StoreMessageInfo(mi)
1553 }
1554
1555 func (x *ListProductsInProductSetRequest) String() string {
1556 return protoimpl.X.MessageStringOf(x)
1557 }
1558
1559 func (*ListProductsInProductSetRequest) ProtoMessage() {}
1560
1561 func (x *ListProductsInProductSetRequest) ProtoReflect() protoreflect.Message {
1562 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[22]
1563 if x != nil {
1564 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1565 if ms.LoadMessageInfo() == nil {
1566 ms.StoreMessageInfo(mi)
1567 }
1568 return ms
1569 }
1570 return mi.MessageOf(x)
1571 }
1572
1573 // Deprecated: Use ListProductsInProductSetRequest.ProtoReflect.Descriptor instead.
1574 func (*ListProductsInProductSetRequest) Descriptor() ([]byte, []int) {
1575 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{22}
1576 }
1577
1578 func (x *ListProductsInProductSetRequest) GetName() string {
1579 if x != nil {
1580 return x.Name
1581 }
1582 return ""
1583 }
1584
1585 func (x *ListProductsInProductSetRequest) GetPageSize() int32 {
1586 if x != nil {
1587 return x.PageSize
1588 }
1589 return 0
1590 }
1591
1592 func (x *ListProductsInProductSetRequest) GetPageToken() string {
1593 if x != nil {
1594 return x.PageToken
1595 }
1596 return ""
1597 }
1598
1599 // Response message for the `ListProductsInProductSet` method.
1600 type ListProductsInProductSetResponse struct {
1601 state protoimpl.MessageState
1602 sizeCache protoimpl.SizeCache
1603 unknownFields protoimpl.UnknownFields
1604
1605 // The list of Products.
1606 Products []*Product `protobuf:"bytes,1,rep,name=products,proto3" json:"products,omitempty"`
1607 // Token to retrieve the next page of results, or empty if there are no more
1608 // results in the list.
1609 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
1610 }
1611
1612 func (x *ListProductsInProductSetResponse) Reset() {
1613 *x = ListProductsInProductSetResponse{}
1614 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[23]
1615 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1616 ms.StoreMessageInfo(mi)
1617 }
1618
1619 func (x *ListProductsInProductSetResponse) String() string {
1620 return protoimpl.X.MessageStringOf(x)
1621 }
1622
1623 func (*ListProductsInProductSetResponse) ProtoMessage() {}
1624
1625 func (x *ListProductsInProductSetResponse) ProtoReflect() protoreflect.Message {
1626 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[23]
1627 if x != nil {
1628 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1629 if ms.LoadMessageInfo() == nil {
1630 ms.StoreMessageInfo(mi)
1631 }
1632 return ms
1633 }
1634 return mi.MessageOf(x)
1635 }
1636
1637 // Deprecated: Use ListProductsInProductSetResponse.ProtoReflect.Descriptor instead.
1638 func (*ListProductsInProductSetResponse) Descriptor() ([]byte, []int) {
1639 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{23}
1640 }
1641
1642 func (x *ListProductsInProductSetResponse) GetProducts() []*Product {
1643 if x != nil {
1644 return x.Products
1645 }
1646 return nil
1647 }
1648
1649 func (x *ListProductsInProductSetResponse) GetNextPageToken() string {
1650 if x != nil {
1651 return x.NextPageToken
1652 }
1653 return ""
1654 }
1655
1656 // The Google Cloud Storage location for a csv file which preserves a list of
1657 // ImportProductSetRequests in each line.
1658 type ImportProductSetsGcsSource struct {
1659 state protoimpl.MessageState
1660 sizeCache protoimpl.SizeCache
1661 unknownFields protoimpl.UnknownFields
1662
1663 // The Google Cloud Storage URI of the input csv file.
1664 //
1665 // The URI must start with `gs://`.
1666 //
1667 // The format of the input csv file should be one image per line.
1668 // In each line, there are 8 columns.
1669 //
1670 // 1. image-uri
1671 // 2. image-id
1672 // 3. product-set-id
1673 // 4. product-id
1674 // 5. product-category
1675 // 6. product-display-name
1676 // 7. labels
1677 // 8. bounding-poly
1678 //
1679 // The `image-uri`, `product-set-id`, `product-id`, and `product-category`
1680 // columns are required. All other columns are optional.
1681 //
1682 // If the `ProductSet` or `Product` specified by the `product-set-id` and
1683 // `product-id` values does not exist, then the system will create a new
1684 // `ProductSet` or `Product` for the image. In this case, the
1685 // `product-display-name` column refers to
1686 // [display_name][google.cloud.vision.v1.Product.display_name], the
1687 // `product-category` column refers to
1688 // [product_category][google.cloud.vision.v1.Product.product_category], and
1689 // the `labels` column refers to
1690 // [product_labels][google.cloud.vision.v1.Product.product_labels].
1691 //
1692 // The `image-id` column is optional but must be unique if provided. If it is
1693 // empty, the system will automatically assign a unique id to the image.
1694 //
1695 // The `product-display-name` column is optional. If it is empty, the system
1696 // sets the [display_name][google.cloud.vision.v1.Product.display_name] field
1697 // for the product to a space (" "). You can update the `display_name` later
1698 // by using the API.
1699 //
1700 // If a `Product` with the specified `product-id` already exists, then the
1701 // system ignores the `product-display-name`, `product-category`, and `labels`
1702 // columns.
1703 //
1704 // The `labels` column (optional) is a line containing a list of
1705 // comma-separated key-value pairs, in the following format:
1706 //
1707 // "key_1=value_1,key_2=value_2,...,key_n=value_n"
1708 //
1709 // The `bounding-poly` column (optional) identifies one region of
1710 // interest from the image in the same manner as `CreateReferenceImage`. If
1711 // you do not specify the `bounding-poly` column, then the system will try to
1712 // detect regions of interest automatically.
1713 //
1714 // At most one `bounding-poly` column is allowed per line. If the image
1715 // contains multiple regions of interest, add a line to the CSV file that
1716 // includes the same product information, and the `bounding-poly` values for
1717 // each region of interest.
1718 //
1719 // The `bounding-poly` column must contain an even number of comma-separated
1720 // numbers, in the format "p1_x,p1_y,p2_x,p2_y,...,pn_x,pn_y". Use
1721 // non-negative integers for absolute bounding polygons, and float values
1722 // in [0, 1] for normalized bounding polygons.
1723 //
1724 // The system will resize the image if the image resolution is too
1725 // large to process (larger than 20MP).
1726 CsvFileUri string `protobuf:"bytes,1,opt,name=csv_file_uri,json=csvFileUri,proto3" json:"csv_file_uri,omitempty"`
1727 }
1728
1729 func (x *ImportProductSetsGcsSource) Reset() {
1730 *x = ImportProductSetsGcsSource{}
1731 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[24]
1732 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1733 ms.StoreMessageInfo(mi)
1734 }
1735
1736 func (x *ImportProductSetsGcsSource) String() string {
1737 return protoimpl.X.MessageStringOf(x)
1738 }
1739
1740 func (*ImportProductSetsGcsSource) ProtoMessage() {}
1741
1742 func (x *ImportProductSetsGcsSource) ProtoReflect() protoreflect.Message {
1743 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[24]
1744 if x != nil {
1745 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1746 if ms.LoadMessageInfo() == nil {
1747 ms.StoreMessageInfo(mi)
1748 }
1749 return ms
1750 }
1751 return mi.MessageOf(x)
1752 }
1753
1754 // Deprecated: Use ImportProductSetsGcsSource.ProtoReflect.Descriptor instead.
1755 func (*ImportProductSetsGcsSource) Descriptor() ([]byte, []int) {
1756 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{24}
1757 }
1758
1759 func (x *ImportProductSetsGcsSource) GetCsvFileUri() string {
1760 if x != nil {
1761 return x.CsvFileUri
1762 }
1763 return ""
1764 }
1765
1766 // The input content for the `ImportProductSets` method.
1767 type ImportProductSetsInputConfig struct {
1768 state protoimpl.MessageState
1769 sizeCache protoimpl.SizeCache
1770 unknownFields protoimpl.UnknownFields
1771
1772 // The source of the input.
1773 //
1774 // Types that are assignable to Source:
1775 //
1776 // *ImportProductSetsInputConfig_GcsSource
1777 Source isImportProductSetsInputConfig_Source `protobuf_oneof:"source"`
1778 }
1779
1780 func (x *ImportProductSetsInputConfig) Reset() {
1781 *x = ImportProductSetsInputConfig{}
1782 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[25]
1783 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1784 ms.StoreMessageInfo(mi)
1785 }
1786
1787 func (x *ImportProductSetsInputConfig) String() string {
1788 return protoimpl.X.MessageStringOf(x)
1789 }
1790
1791 func (*ImportProductSetsInputConfig) ProtoMessage() {}
1792
1793 func (x *ImportProductSetsInputConfig) ProtoReflect() protoreflect.Message {
1794 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[25]
1795 if x != nil {
1796 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1797 if ms.LoadMessageInfo() == nil {
1798 ms.StoreMessageInfo(mi)
1799 }
1800 return ms
1801 }
1802 return mi.MessageOf(x)
1803 }
1804
1805 // Deprecated: Use ImportProductSetsInputConfig.ProtoReflect.Descriptor instead.
1806 func (*ImportProductSetsInputConfig) Descriptor() ([]byte, []int) {
1807 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{25}
1808 }
1809
1810 func (m *ImportProductSetsInputConfig) GetSource() isImportProductSetsInputConfig_Source {
1811 if m != nil {
1812 return m.Source
1813 }
1814 return nil
1815 }
1816
1817 func (x *ImportProductSetsInputConfig) GetGcsSource() *ImportProductSetsGcsSource {
1818 if x, ok := x.GetSource().(*ImportProductSetsInputConfig_GcsSource); ok {
1819 return x.GcsSource
1820 }
1821 return nil
1822 }
1823
1824 type isImportProductSetsInputConfig_Source interface {
1825 isImportProductSetsInputConfig_Source()
1826 }
1827
1828 type ImportProductSetsInputConfig_GcsSource struct {
1829 // The Google Cloud Storage location for a csv file which preserves a list
1830 // of ImportProductSetRequests in each line.
1831 GcsSource *ImportProductSetsGcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
1832 }
1833
1834 func (*ImportProductSetsInputConfig_GcsSource) isImportProductSetsInputConfig_Source() {}
1835
1836 // Request message for the `ImportProductSets` method.
1837 type ImportProductSetsRequest struct {
1838 state protoimpl.MessageState
1839 sizeCache protoimpl.SizeCache
1840 unknownFields protoimpl.UnknownFields
1841
1842 // Required. The project in which the ProductSets should be imported.
1843 //
1844 // Format is `projects/PROJECT_ID/locations/LOC_ID`.
1845 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
1846 // Required. The input content for the list of requests.
1847 InputConfig *ImportProductSetsInputConfig `protobuf:"bytes,2,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
1848 }
1849
1850 func (x *ImportProductSetsRequest) Reset() {
1851 *x = ImportProductSetsRequest{}
1852 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[26]
1853 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1854 ms.StoreMessageInfo(mi)
1855 }
1856
1857 func (x *ImportProductSetsRequest) String() string {
1858 return protoimpl.X.MessageStringOf(x)
1859 }
1860
1861 func (*ImportProductSetsRequest) ProtoMessage() {}
1862
1863 func (x *ImportProductSetsRequest) ProtoReflect() protoreflect.Message {
1864 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[26]
1865 if x != nil {
1866 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1867 if ms.LoadMessageInfo() == nil {
1868 ms.StoreMessageInfo(mi)
1869 }
1870 return ms
1871 }
1872 return mi.MessageOf(x)
1873 }
1874
1875 // Deprecated: Use ImportProductSetsRequest.ProtoReflect.Descriptor instead.
1876 func (*ImportProductSetsRequest) Descriptor() ([]byte, []int) {
1877 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{26}
1878 }
1879
1880 func (x *ImportProductSetsRequest) GetParent() string {
1881 if x != nil {
1882 return x.Parent
1883 }
1884 return ""
1885 }
1886
1887 func (x *ImportProductSetsRequest) GetInputConfig() *ImportProductSetsInputConfig {
1888 if x != nil {
1889 return x.InputConfig
1890 }
1891 return nil
1892 }
1893
1894 // Response message for the `ImportProductSets` method.
1895 //
1896 // This message is returned by the
1897 // [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation]
1898 // method in the returned
1899 // [google.longrunning.Operation.response][google.longrunning.Operation.response]
1900 // field.
1901 type ImportProductSetsResponse struct {
1902 state protoimpl.MessageState
1903 sizeCache protoimpl.SizeCache
1904 unknownFields protoimpl.UnknownFields
1905
1906 // The list of reference_images that are imported successfully.
1907 ReferenceImages []*ReferenceImage `protobuf:"bytes,1,rep,name=reference_images,json=referenceImages,proto3" json:"reference_images,omitempty"`
1908 // The rpc status for each ImportProductSet request, including both successes
1909 // and errors.
1910 //
1911 // The number of statuses here matches the number of lines in the csv file,
1912 // and statuses[i] stores the success or failure status of processing the i-th
1913 // line of the csv, starting from line 0.
1914 Statuses []*status.Status `protobuf:"bytes,2,rep,name=statuses,proto3" json:"statuses,omitempty"`
1915 }
1916
1917 func (x *ImportProductSetsResponse) Reset() {
1918 *x = ImportProductSetsResponse{}
1919 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[27]
1920 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1921 ms.StoreMessageInfo(mi)
1922 }
1923
1924 func (x *ImportProductSetsResponse) String() string {
1925 return protoimpl.X.MessageStringOf(x)
1926 }
1927
1928 func (*ImportProductSetsResponse) ProtoMessage() {}
1929
1930 func (x *ImportProductSetsResponse) ProtoReflect() protoreflect.Message {
1931 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[27]
1932 if x != nil {
1933 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1934 if ms.LoadMessageInfo() == nil {
1935 ms.StoreMessageInfo(mi)
1936 }
1937 return ms
1938 }
1939 return mi.MessageOf(x)
1940 }
1941
1942 // Deprecated: Use ImportProductSetsResponse.ProtoReflect.Descriptor instead.
1943 func (*ImportProductSetsResponse) Descriptor() ([]byte, []int) {
1944 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{27}
1945 }
1946
1947 func (x *ImportProductSetsResponse) GetReferenceImages() []*ReferenceImage {
1948 if x != nil {
1949 return x.ReferenceImages
1950 }
1951 return nil
1952 }
1953
1954 func (x *ImportProductSetsResponse) GetStatuses() []*status.Status {
1955 if x != nil {
1956 return x.Statuses
1957 }
1958 return nil
1959 }
1960
1961 // Metadata for the batch operations such as the current state.
1962 //
1963 // This is included in the `metadata` field of the `Operation` returned by the
1964 // `GetOperation` call of the `google::longrunning::Operations` service.
1965 type BatchOperationMetadata struct {
1966 state protoimpl.MessageState
1967 sizeCache protoimpl.SizeCache
1968 unknownFields protoimpl.UnknownFields
1969
1970 // The current state of the batch operation.
1971 State BatchOperationMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.vision.v1.BatchOperationMetadata_State" json:"state,omitempty"`
1972 // The time when the batch request was submitted to the server.
1973 SubmitTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=submit_time,json=submitTime,proto3" json:"submit_time,omitempty"`
1974 // The time when the batch request is finished and
1975 // [google.longrunning.Operation.done][google.longrunning.Operation.done] is
1976 // set to true.
1977 EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
1978 }
1979
1980 func (x *BatchOperationMetadata) Reset() {
1981 *x = BatchOperationMetadata{}
1982 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[28]
1983 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1984 ms.StoreMessageInfo(mi)
1985 }
1986
1987 func (x *BatchOperationMetadata) String() string {
1988 return protoimpl.X.MessageStringOf(x)
1989 }
1990
1991 func (*BatchOperationMetadata) ProtoMessage() {}
1992
1993 func (x *BatchOperationMetadata) ProtoReflect() protoreflect.Message {
1994 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[28]
1995 if x != nil {
1996 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1997 if ms.LoadMessageInfo() == nil {
1998 ms.StoreMessageInfo(mi)
1999 }
2000 return ms
2001 }
2002 return mi.MessageOf(x)
2003 }
2004
2005 // Deprecated: Use BatchOperationMetadata.ProtoReflect.Descriptor instead.
2006 func (*BatchOperationMetadata) Descriptor() ([]byte, []int) {
2007 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{28}
2008 }
2009
2010 func (x *BatchOperationMetadata) GetState() BatchOperationMetadata_State {
2011 if x != nil {
2012 return x.State
2013 }
2014 return BatchOperationMetadata_STATE_UNSPECIFIED
2015 }
2016
2017 func (x *BatchOperationMetadata) GetSubmitTime() *timestamppb.Timestamp {
2018 if x != nil {
2019 return x.SubmitTime
2020 }
2021 return nil
2022 }
2023
2024 func (x *BatchOperationMetadata) GetEndTime() *timestamppb.Timestamp {
2025 if x != nil {
2026 return x.EndTime
2027 }
2028 return nil
2029 }
2030
2031 // Config to control which ProductSet contains the Products to be deleted.
2032 type ProductSetPurgeConfig struct {
2033 state protoimpl.MessageState
2034 sizeCache protoimpl.SizeCache
2035 unknownFields protoimpl.UnknownFields
2036
2037 // The ProductSet that contains the Products to delete. If a Product is a
2038 // member of product_set_id in addition to other ProductSets, the Product will
2039 // still be deleted.
2040 ProductSetId string `protobuf:"bytes,1,opt,name=product_set_id,json=productSetId,proto3" json:"product_set_id,omitempty"`
2041 }
2042
2043 func (x *ProductSetPurgeConfig) Reset() {
2044 *x = ProductSetPurgeConfig{}
2045 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[29]
2046 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2047 ms.StoreMessageInfo(mi)
2048 }
2049
2050 func (x *ProductSetPurgeConfig) String() string {
2051 return protoimpl.X.MessageStringOf(x)
2052 }
2053
2054 func (*ProductSetPurgeConfig) ProtoMessage() {}
2055
2056 func (x *ProductSetPurgeConfig) ProtoReflect() protoreflect.Message {
2057 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[29]
2058 if x != nil {
2059 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2060 if ms.LoadMessageInfo() == nil {
2061 ms.StoreMessageInfo(mi)
2062 }
2063 return ms
2064 }
2065 return mi.MessageOf(x)
2066 }
2067
2068 // Deprecated: Use ProductSetPurgeConfig.ProtoReflect.Descriptor instead.
2069 func (*ProductSetPurgeConfig) Descriptor() ([]byte, []int) {
2070 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{29}
2071 }
2072
2073 func (x *ProductSetPurgeConfig) GetProductSetId() string {
2074 if x != nil {
2075 return x.ProductSetId
2076 }
2077 return ""
2078 }
2079
2080 // Request message for the `PurgeProducts` method.
2081 type PurgeProductsRequest struct {
2082 state protoimpl.MessageState
2083 sizeCache protoimpl.SizeCache
2084 unknownFields protoimpl.UnknownFields
2085
2086 // The Products to delete.
2087 //
2088 // Types that are assignable to Target:
2089 //
2090 // *PurgeProductsRequest_ProductSetPurgeConfig
2091 // *PurgeProductsRequest_DeleteOrphanProducts
2092 Target isPurgeProductsRequest_Target `protobuf_oneof:"target"`
2093 // Required. The project and location in which the Products should be deleted.
2094 //
2095 // Format is `projects/PROJECT_ID/locations/LOC_ID`.
2096 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
2097 // The default value is false. Override this value to true to actually perform
2098 // the purge.
2099 Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"`
2100 }
2101
2102 func (x *PurgeProductsRequest) Reset() {
2103 *x = PurgeProductsRequest{}
2104 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[30]
2105 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2106 ms.StoreMessageInfo(mi)
2107 }
2108
2109 func (x *PurgeProductsRequest) String() string {
2110 return protoimpl.X.MessageStringOf(x)
2111 }
2112
2113 func (*PurgeProductsRequest) ProtoMessage() {}
2114
2115 func (x *PurgeProductsRequest) ProtoReflect() protoreflect.Message {
2116 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[30]
2117 if x != nil {
2118 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2119 if ms.LoadMessageInfo() == nil {
2120 ms.StoreMessageInfo(mi)
2121 }
2122 return ms
2123 }
2124 return mi.MessageOf(x)
2125 }
2126
2127 // Deprecated: Use PurgeProductsRequest.ProtoReflect.Descriptor instead.
2128 func (*PurgeProductsRequest) Descriptor() ([]byte, []int) {
2129 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{30}
2130 }
2131
2132 func (m *PurgeProductsRequest) GetTarget() isPurgeProductsRequest_Target {
2133 if m != nil {
2134 return m.Target
2135 }
2136 return nil
2137 }
2138
2139 func (x *PurgeProductsRequest) GetProductSetPurgeConfig() *ProductSetPurgeConfig {
2140 if x, ok := x.GetTarget().(*PurgeProductsRequest_ProductSetPurgeConfig); ok {
2141 return x.ProductSetPurgeConfig
2142 }
2143 return nil
2144 }
2145
2146 func (x *PurgeProductsRequest) GetDeleteOrphanProducts() bool {
2147 if x, ok := x.GetTarget().(*PurgeProductsRequest_DeleteOrphanProducts); ok {
2148 return x.DeleteOrphanProducts
2149 }
2150 return false
2151 }
2152
2153 func (x *PurgeProductsRequest) GetParent() string {
2154 if x != nil {
2155 return x.Parent
2156 }
2157 return ""
2158 }
2159
2160 func (x *PurgeProductsRequest) GetForce() bool {
2161 if x != nil {
2162 return x.Force
2163 }
2164 return false
2165 }
2166
2167 type isPurgeProductsRequest_Target interface {
2168 isPurgeProductsRequest_Target()
2169 }
2170
2171 type PurgeProductsRequest_ProductSetPurgeConfig struct {
2172 // Specify which ProductSet contains the Products to be deleted.
2173 ProductSetPurgeConfig *ProductSetPurgeConfig `protobuf:"bytes,2,opt,name=product_set_purge_config,json=productSetPurgeConfig,proto3,oneof"`
2174 }
2175
2176 type PurgeProductsRequest_DeleteOrphanProducts struct {
2177 // If delete_orphan_products is true, all Products that are not in any
2178 // ProductSet will be deleted.
2179 DeleteOrphanProducts bool `protobuf:"varint,3,opt,name=delete_orphan_products,json=deleteOrphanProducts,proto3,oneof"`
2180 }
2181
2182 func (*PurgeProductsRequest_ProductSetPurgeConfig) isPurgeProductsRequest_Target() {}
2183
2184 func (*PurgeProductsRequest_DeleteOrphanProducts) isPurgeProductsRequest_Target() {}
2185
2186 // A product label represented as a key-value pair.
2187 type Product_KeyValue struct {
2188 state protoimpl.MessageState
2189 sizeCache protoimpl.SizeCache
2190 unknownFields protoimpl.UnknownFields
2191
2192 // The key of the label attached to the product. Cannot be empty and cannot
2193 // exceed 128 bytes.
2194 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
2195 // The value of the label attached to the product. Cannot be empty and
2196 // cannot exceed 128 bytes.
2197 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
2198 }
2199
2200 func (x *Product_KeyValue) Reset() {
2201 *x = Product_KeyValue{}
2202 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[31]
2203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2204 ms.StoreMessageInfo(mi)
2205 }
2206
2207 func (x *Product_KeyValue) String() string {
2208 return protoimpl.X.MessageStringOf(x)
2209 }
2210
2211 func (*Product_KeyValue) ProtoMessage() {}
2212
2213 func (x *Product_KeyValue) ProtoReflect() protoreflect.Message {
2214 mi := &file_google_cloud_vision_v1_product_search_service_proto_msgTypes[31]
2215 if x != nil {
2216 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2217 if ms.LoadMessageInfo() == nil {
2218 ms.StoreMessageInfo(mi)
2219 }
2220 return ms
2221 }
2222 return mi.MessageOf(x)
2223 }
2224
2225 // Deprecated: Use Product_KeyValue.ProtoReflect.Descriptor instead.
2226 func (*Product_KeyValue) Descriptor() ([]byte, []int) {
2227 return file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP(), []int{0, 0}
2228 }
2229
2230 func (x *Product_KeyValue) GetKey() string {
2231 if x != nil {
2232 return x.Key
2233 }
2234 return ""
2235 }
2236
2237 func (x *Product_KeyValue) GetValue() string {
2238 if x != nil {
2239 return x.Value
2240 }
2241 return ""
2242 }
2243
2244 var File_google_cloud_vision_v1_product_search_service_proto protoreflect.FileDescriptor
2245
2246 var file_google_cloud_vision_v1_product_search_service_proto_rawDesc = []byte{
2247 0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76,
2248 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
2249 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
2250 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
2251 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67,
2252 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
2253 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f,
2254 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70,
2255 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
2256 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e,
2257 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
2258 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
2259 0x1a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76,
2260 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72,
2261 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
2262 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72,
2263 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f,
2264 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d,
2265 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2266 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,
2267 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
2268 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d,
2269 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f,
2270 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
2271 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf7, 0x02, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
2272 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
2273 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
2274 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73,
2275 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63,
2276 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
2277 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x10, 0x70, 0x72,
2278 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x04,
2279 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x64, 0x75,
2280 0x63, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x4f, 0x0a, 0x0e, 0x70, 0x72,
2281 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03,
2282 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
2283 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x64,
2284 0x75, 0x63, 0x74, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0d, 0x70, 0x72,
2285 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x32, 0x0a, 0x08, 0x4b,
2286 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
2287 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
2288 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
2289 0x5e, 0xea, 0x41, 0x5b, 0x0a, 0x1d, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f,
2290 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x64,
2291 0x75, 0x63, 0x74, 0x12, 0x3a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70,
2292 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
2293 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x70, 0x72, 0x6f,
2294 0x64, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x7d, 0x22,
2295 0xa7, 0x02, 0x0a, 0x0a, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x12, 0x12,
2296 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
2297 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61,
2298 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
2299 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0a, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x74,
2300 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2301 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
2302 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x69, 0x6e, 0x64, 0x65,
2303 0x78, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x65,
2304 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f,
2305 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x03,
2306 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x3a,
2307 0x68, 0xea, 0x41, 0x65, 0x0a, 0x20, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f,
2308 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x64,
2309 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x12, 0x41, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
2310 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
2311 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f,
2312 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f,
2313 0x64, 0x75, 0x63, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x7d, 0x22, 0x98, 0x02, 0x0a, 0x0e, 0x52, 0x65,
2314 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04,
2315 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
2316 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
2317 0x41, 0x02, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x50, 0x0a, 0x0e, 0x62, 0x6f, 0x75, 0x6e, 0x64,
2318 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x79, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
2319 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76,
2320 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e,
2321 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x62, 0x6f, 0x75, 0x6e,
2322 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x73, 0x3a, 0x88, 0x01, 0xea, 0x41, 0x84, 0x01,
2323 0x0a, 0x24, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
2324 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
2325 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x5c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
2326 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
2327 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f,
2328 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
2329 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67,
2330 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x6d,
2331 0x61, 0x67, 0x65, 0x7d, 0x22, 0xb8, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50,
2332 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a,
2333 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0,
2334 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
2335 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
2336 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
2337 0x12, 0x3e, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
2338 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2339 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75,
2340 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
2341 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03,
2342 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x22,
2343 0x94, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73,
2344 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
2345 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a,
2346 0x21, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2347 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
2348 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61,
2349 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70,
2350 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f,
2351 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67,
2352 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x7b, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72,
2353 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b,
2354 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
2355 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2356 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
2357 0x74, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e,
2358 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02,
2359 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f,
2360 0x6b, 0x65, 0x6e, 0x22, 0x4e, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
2361 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
2362 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d,
2363 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
2364 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x04, 0x6e,
2365 0x61, 0x6d, 0x65, 0x22, 0x93, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72,
2366 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x07,
2367 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
2368 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73,
2369 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x42, 0x03,
2370 0xe0, 0x41, 0x02, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x3b, 0x0a, 0x0b,
2371 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28,
2372 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
2373 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75,
2374 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x51, 0x0a, 0x14, 0x44, 0x65, 0x6c,
2375 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
2376 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
2377 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e,
2378 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50,
2379 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xcc, 0x01, 0x0a,
2380 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65,
2381 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65,
2382 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23,
2383 0x0a, 0x21, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2384 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74,
2385 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x48, 0x0a, 0x0b, 0x70,
2386 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
2387 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2388 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
2389 0x74, 0x53, 0x65, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75,
2390 0x63, 0x74, 0x53, 0x65, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
2391 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70,
2392 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x49, 0x64, 0x22, 0x97, 0x01, 0x0a, 0x16,
2393 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x73, 0x52,
2394 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
2395 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21,
2396 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2397 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
2398 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67,
2399 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61,
2400 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74,
2401 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65,
2402 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x88, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72,
2403 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
2404 0x65, 0x12, 0x45, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x73, 0x65, 0x74,
2405 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2406 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
2407 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x52, 0x0b, 0x70, 0x72, 0x6f,
2408 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74,
2409 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
2410 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
2411 0x22, 0x54, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65,
2412 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
2413 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20,
2414 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
2415 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74,
2416 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xa0, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74,
2417 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
2418 0x73, 0x74, 0x12, 0x48, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x73, 0x65,
2419 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2420 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
2421 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02,
2422 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x12, 0x3b, 0x0a, 0x0b,
2423 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28,
2424 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
2425 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75,
2426 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x57, 0x0a, 0x17, 0x44, 0x65, 0x6c,
2427 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71,
2428 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
2429 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x76, 0x69, 0x73, 0x69,
2430 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
2431 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x52, 0x04, 0x6e, 0x61,
2432 0x6d, 0x65, 0x22, 0xe0, 0x01, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66,
2433 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
2434 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
2435 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x76, 0x69, 0x73, 0x69,
2436 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
2437 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
2438 0x74, 0x12, 0x54, 0x0a, 0x0f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69,
2439 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f,
2440 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
2441 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61,
2442 0x67, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
2443 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x66, 0x65, 0x72,
2444 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
2445 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d,
2446 0x61, 0x67, 0x65, 0x49, 0x64, 0x22, 0x97, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
2447 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71,
2448 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01,
2449 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x76, 0x69,
2450 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
2451 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72,
2452 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65,
2453 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
2454 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03,
2455 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22,
2456 0xb5, 0x01, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
2457 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
2458 0x51, 0x0a, 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x6d, 0x61,
2459 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2460 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e,
2461 0x76, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67,
2462 0x65, 0x52, 0x0f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67,
2463 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
2464 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12,
2465 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b,
2466 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61,
2467 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x5c, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x65,
2468 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75,
2469 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
2470 0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x0a, 0x24, 0x76, 0x69, 0x73, 0x69, 0x6f,
2471 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
2472 0x2f, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52,
2473 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x5f, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52,
2474 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71,
2475 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
2476 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x0a, 0x24, 0x76, 0x69, 0x73, 0x69,
2477 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
2478 0x6d, 0x2f, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65,
2479 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x9e, 0x01, 0x0a, 0x1d, 0x41, 0x64, 0x64, 0x50, 0x72,
2480 0x6f, 0x64, 0x75, 0x63, 0x74, 0x54, 0x6f, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65,
2481 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
2482 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20,
2483 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
2484 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74,
2485 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
2486 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a,
2487 0x1d, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
2488 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x07,
2489 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x22, 0xa3, 0x01, 0x0a, 0x22, 0x52, 0x65, 0x6d, 0x6f,
2490 0x76, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x72, 0x6f,
2491 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c,
2492 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41,
2493 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f,
2494 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x64,
2495 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x07,
2496 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe0,
2497 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f,
2498 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f,
2499 0x64, 0x75, 0x63, 0x74, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x22, 0x9b, 0x01,
2500 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x49, 0x6e,
2501 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
2502 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
2503 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e,
2504 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50,
2505 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
2506 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01,
2507 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
2508 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
2509 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x87, 0x01, 0x0a, 0x20,
2510 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x49, 0x6e, 0x50, 0x72,
2511 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
2512 0x12, 0x3b, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03,
2513 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
2514 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x64,
2515 0x75, 0x63, 0x74, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x12, 0x26, 0x0a,
2516 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
2517 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65,
2518 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x3e, 0x0a, 0x1a, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50,
2519 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x73, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75,
2520 0x72, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x63, 0x73, 0x76, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f,
2521 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x73, 0x76, 0x46, 0x69,
2522 0x6c, 0x65, 0x55, 0x72, 0x69, 0x22, 0x7d, 0x0a, 0x1c, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50,
2523 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x73, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43,
2524 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x53, 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x73, 0x6f, 0x75,
2525 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2526 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e,
2527 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
2528 0x53, 0x65, 0x74, 0x73, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52,
2529 0x09, 0x67, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f,
2530 0x75, 0x72, 0x63, 0x65, 0x22, 0xbb, 0x01, 0x0a, 0x18, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50,
2531 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
2532 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
2533 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6c, 0x6f, 0x63, 0x61, 0x74,
2534 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
2535 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x61,
2536 0x72, 0x65, 0x6e, 0x74, 0x12, 0x5c, 0x0a, 0x0c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f,
2537 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f,
2538 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
2539 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
2540 0x74, 0x53, 0x65, 0x74, 0x73, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
2541 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66,
2542 0x69, 0x67, 0x22, 0x9e, 0x01, 0x0a, 0x19, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f,
2543 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
2544 0x12, 0x51, 0x0a, 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x6d,
2545 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f,
2546 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
2547 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61,
2548 0x67, 0x65, 0x52, 0x0f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61,
2549 0x67, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18,
2550 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72,
2551 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75,
2552 0x73, 0x65, 0x73, 0x22, 0xb3, 0x02, 0x0a, 0x16, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x70, 0x65,
2553 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4a,
2554 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e,
2555 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73,
2556 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x70, 0x65, 0x72,
2557 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x74,
2558 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x73, 0x75,
2559 0x62, 0x6d, 0x69, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
2560 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
2561 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x73, 0x75, 0x62,
2562 0x6d, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74,
2563 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2564 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
2565 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x59,
2566 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45,
2567 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e,
2568 0x0a, 0x0a, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0e,
2569 0x0a, 0x0a, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x46, 0x55, 0x4c, 0x10, 0x02, 0x12, 0x0a,
2570 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41,
2571 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x22, 0x3d, 0x0a, 0x15, 0x50, 0x72, 0x6f,
2572 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x50, 0x75, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66,
2573 0x69, 0x67, 0x12, 0x24, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x73, 0x65,
2574 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x64,
2575 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x49, 0x64, 0x22, 0x9b, 0x02, 0x0a, 0x14, 0x50, 0x75, 0x72,
2576 0x67, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
2577 0x74, 0x12, 0x68, 0x0a, 0x18, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x73, 0x65, 0x74,
2578 0x5f, 0x70, 0x75, 0x72, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20,
2579 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
2580 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f,
2581 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x50, 0x75, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66,
2582 0x69, 0x67, 0x48, 0x00, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74,
2583 0x50, 0x75, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x36, 0x0a, 0x16, 0x64,
2584 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x6f, 0x72, 0x70, 0x68, 0x61, 0x6e, 0x5f, 0x70, 0x72, 0x6f,
2585 0x64, 0x75, 0x63, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x14, 0x64,
2586 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x70, 0x68, 0x61, 0x6e, 0x50, 0x72, 0x6f, 0x64, 0x75,
2587 0x63, 0x74, 0x73, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20,
2588 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6c, 0x6f, 0x63,
2589 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
2590 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06,
2591 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18,
2592 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x42, 0x08, 0x0a, 0x06,
2593 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x32, 0xf4, 0x1d, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x64, 0x75,
2594 0x63, 0x74, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0xd1, 0x01, 0x0a, 0x10, 0x43, 0x72, 0x65,
2595 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x12, 0x2f, 0x2e,
2596 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73,
2597 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f,
2598 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22,
2599 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69,
2600 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53,
2601 0x65, 0x74, 0x22, 0x68, 0xda, 0x41, 0x21, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x70, 0x72,
2602 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x2c, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
2603 0x74, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x3a, 0x0b,
2604 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x22, 0x2f, 0x2f, 0x76, 0x31,
2605 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
2606 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d,
2607 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x73, 0x12, 0xb4, 0x01, 0x0a,
2608 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x73,
2609 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2610 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72,
2611 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
2612 0x1a, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2613 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72,
2614 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
2615 0x65, 0x22, 0x40, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93,
2616 0x02, 0x31, 0x12, 0x2f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,
2617 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
2618 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53,
2619 0x65, 0x74, 0x73, 0x12, 0xa1, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75,
2620 0x63, 0x74, 0x53, 0x65, 0x74, 0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
2621 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47,
2622 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75,
2623 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
2624 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f,
2625 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x22, 0x3e, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65,
2626 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,
2627 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63,
2628 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
2629 0x53, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xd3, 0x01, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61,
2630 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x12, 0x2f, 0x2e, 0x67,
2631 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69,
2632 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64,
2633 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e,
2634 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73,
2635 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65,
2636 0x74, 0x22, 0x6a, 0xda, 0x41, 0x17, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x73, 0x65,
2637 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4,
2638 0x93, 0x02, 0x4a, 0x3a, 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x73, 0x65, 0x74,
2639 0x32, 0x3b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x73,
2640 0x65, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
2641 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x70,
2642 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x9b, 0x01,
2643 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53,
2644 0x65, 0x74, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
2645 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65,
2646 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75,
2647 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
2648 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x3e, 0xda, 0x41, 0x04,
2649 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x2a, 0x2f, 0x2f, 0x76, 0x31, 0x2f,
2650 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
2651 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f,
2652 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb9, 0x01, 0x0a, 0x0d,
2653 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x2c, 0x2e,
2654 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73,
2655 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f,
2656 0x64, 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x6f,
2657 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f,
2658 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x22, 0x59, 0xda, 0x41,
2659 0x19, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x2c,
2660 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37,
2661 0x3a, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x22, 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
2662 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
2663 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70,
2664 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x12, 0xa8, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74,
2665 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x12, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2666 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76,
2667 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x52, 0x65,
2668 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
2669 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
2670 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
2671 0x6e, 0x73, 0x65, 0x22, 0x3d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3,
2672 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e,
2673 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63,
2674 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
2675 0x74, 0x73, 0x12, 0x95, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
2676 0x74, 0x12, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2677 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72,
2678 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67,
2679 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69,
2680 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x22, 0x3b, 0xda,
2681 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x76,
2682 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
2683 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x70,
2684 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xbb, 0x01, 0x0a, 0x0d, 0x55,
2685 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x2c, 0x2e, 0x67,
2686 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69,
2687 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64,
2688 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x6f, 0x6f,
2689 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
2690 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x22, 0x5b, 0xda, 0x41, 0x13,
2691 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d,
2692 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x3a, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75,
2693 0x63, 0x74, 0x32, 0x34, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
2694 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
2695 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f,
2696 0x64, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x92, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c,
2697 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f,
2698 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
2699 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
2700 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2701 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
2702 0x22, 0x3b, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x2a,
2703 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
2704 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
2705 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xf9, 0x01,
2706 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
2707 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2708 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e,
2709 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49,
2710 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x67, 0x6f,
2711 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f,
2712 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d,
2713 0x61, 0x67, 0x65, 0x22, 0x83, 0x01, 0xda, 0x41, 0x29, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c,
2714 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2c,
2715 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f,
2716 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x51, 0x3a, 0x0f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65,
2717 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x22, 0x3e, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
2718 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
2719 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72,
2720 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65,
2721 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0xb2, 0x01, 0x0a, 0x14, 0x44, 0x65,
2722 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61,
2723 0x67, 0x65, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
2724 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65,
2725 0x74, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65,
2726 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2727 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22,
2728 0x4d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40, 0x2a, 0x3e,
2729 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
2730 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a,
2731 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x66, 0x65,
2732 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xcf,
2733 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
2734 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2735 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e,
2736 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61,
2737 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x67, 0x6f, 0x6f,
2738 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
2739 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
2740 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
2741 0x4f, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40,
2742 0x12, 0x3e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72,
2743 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
2744 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d,
2745 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73,
2746 0x12, 0xbc, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
2747 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2748 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e,
2749 0x47, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67,
2750 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2751 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76,
2752 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65,
2753 0x22, 0x4d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40, 0x12,
2754 0x3e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
2755 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
2756 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x66,
2757 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12,
2758 0xbd, 0x01, 0x0a, 0x16, 0x41, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x54, 0x6f,
2759 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x12, 0x35, 0x2e, 0x67, 0x6f, 0x6f,
2760 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
2761 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x54, 0x6f,
2762 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
2763 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
2764 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x54, 0xda, 0x41, 0x0c, 0x6e, 0x61,
2765 0x6d, 0x65, 0x2c, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f,
2766 0x3a, 0x01, 0x2a, 0x22, 0x3a, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70,
2767 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
2768 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74,
2769 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x61, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12,
2770 0xca, 0x01, 0x0a, 0x1b, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
2771 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x12,
2772 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76,
2773 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50,
2774 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
2775 0x74, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f,
2776 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
2777 0x70, 0x74, 0x79, 0x22, 0x57, 0xda, 0x41, 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x70, 0x72, 0x6f,
2778 0x64, 0x75, 0x63, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x3a, 0x01, 0x2a, 0x22, 0x3d, 0x2f,
2779 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
2780 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f,
2781 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72,
2782 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0xd6, 0x01, 0x0a,
2783 0x18, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x49, 0x6e, 0x50,
2784 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2785 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e,
2786 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x49,
2787 0x6e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
2788 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
2789 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,
2790 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
2791 0x74, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x47, 0xda, 0x41,
2792 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x12, 0x38, 0x2f, 0x76, 0x31,
2793 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
2794 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72,
2795 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x72, 0x6f,
2796 0x64, 0x75, 0x63, 0x74, 0x73, 0x12, 0xf4, 0x01, 0x0a, 0x11, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74,
2797 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x74, 0x73, 0x12, 0x30, 0x2e, 0x67, 0x6f,
2798 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f,
2799 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75,
2800 0x63, 0x74, 0x53, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e,
2801 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69,
2802 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8d, 0x01, 0xca,
2803 0x41, 0x33, 0x0a, 0x19, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
2804 0x74, 0x53, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x42,
2805 0x61, 0x74, 0x63, 0x68, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74,
2806 0x61, 0x64, 0x61, 0x74, 0x61, 0xda, 0x41, 0x13, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x69,
2807 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x82, 0xd3, 0xe4, 0x93, 0x02,
2808 0x3b, 0x3a, 0x01, 0x2a, 0x22, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e,
2809 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63,
2810 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
2811 0x74, 0x53, 0x65, 0x74, 0x73, 0x3a, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x12, 0xd6, 0x01, 0x0a,
2812 0x0d, 0x50, 0x75, 0x72, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x12, 0x2c,
2813 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69,
2814 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x75, 0x72, 0x67, 0x65, 0x50, 0x72, 0x6f,
2815 0x64, 0x75, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67,
2816 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e,
2817 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x78, 0xca, 0x41, 0x2f,
2818 0x0a, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
2819 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x16, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x70,
2820 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xda,
2821 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x3a, 0x01,
2822 0x2a, 0x22, 0x32, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70,
2823 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
2824 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x3a,
2825 0x70, 0x75, 0x72, 0x67, 0x65, 0x1a, 0x76, 0xca, 0x41, 0x15, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
2826 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2,
2827 0x41, 0x5b, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f,
2828 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74,
2829 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
2830 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f,
2831 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68,
2832 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x7a, 0x0a,
2833 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
2834 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x19, 0x50, 0x72, 0x6f,
2835 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
2836 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2837 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x69,
2838 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x76, 0x69,
2839 0x73, 0x69, 0x6f, 0x6e, 0x70, 0x62, 0x3b, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x70, 0x62, 0xf8,
2840 0x01, 0x01, 0xa2, 0x02, 0x04, 0x47, 0x43, 0x56, 0x4e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
2841 0x33,
2842 }
2843
2844 var (
2845 file_google_cloud_vision_v1_product_search_service_proto_rawDescOnce sync.Once
2846 file_google_cloud_vision_v1_product_search_service_proto_rawDescData = file_google_cloud_vision_v1_product_search_service_proto_rawDesc
2847 )
2848
2849 func file_google_cloud_vision_v1_product_search_service_proto_rawDescGZIP() []byte {
2850 file_google_cloud_vision_v1_product_search_service_proto_rawDescOnce.Do(func() {
2851 file_google_cloud_vision_v1_product_search_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_vision_v1_product_search_service_proto_rawDescData)
2852 })
2853 return file_google_cloud_vision_v1_product_search_service_proto_rawDescData
2854 }
2855
2856 var file_google_cloud_vision_v1_product_search_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
2857 var file_google_cloud_vision_v1_product_search_service_proto_msgTypes = make([]protoimpl.MessageInfo, 32)
2858 var file_google_cloud_vision_v1_product_search_service_proto_goTypes = []any{
2859 (BatchOperationMetadata_State)(0), // 0: google.cloud.vision.v1.BatchOperationMetadata.State
2860 (*Product)(nil), // 1: google.cloud.vision.v1.Product
2861 (*ProductSet)(nil), // 2: google.cloud.vision.v1.ProductSet
2862 (*ReferenceImage)(nil), // 3: google.cloud.vision.v1.ReferenceImage
2863 (*CreateProductRequest)(nil), // 4: google.cloud.vision.v1.CreateProductRequest
2864 (*ListProductsRequest)(nil), // 5: google.cloud.vision.v1.ListProductsRequest
2865 (*ListProductsResponse)(nil), // 6: google.cloud.vision.v1.ListProductsResponse
2866 (*GetProductRequest)(nil), // 7: google.cloud.vision.v1.GetProductRequest
2867 (*UpdateProductRequest)(nil), // 8: google.cloud.vision.v1.UpdateProductRequest
2868 (*DeleteProductRequest)(nil), // 9: google.cloud.vision.v1.DeleteProductRequest
2869 (*CreateProductSetRequest)(nil), // 10: google.cloud.vision.v1.CreateProductSetRequest
2870 (*ListProductSetsRequest)(nil), // 11: google.cloud.vision.v1.ListProductSetsRequest
2871 (*ListProductSetsResponse)(nil), // 12: google.cloud.vision.v1.ListProductSetsResponse
2872 (*GetProductSetRequest)(nil), // 13: google.cloud.vision.v1.GetProductSetRequest
2873 (*UpdateProductSetRequest)(nil), // 14: google.cloud.vision.v1.UpdateProductSetRequest
2874 (*DeleteProductSetRequest)(nil), // 15: google.cloud.vision.v1.DeleteProductSetRequest
2875 (*CreateReferenceImageRequest)(nil), // 16: google.cloud.vision.v1.CreateReferenceImageRequest
2876 (*ListReferenceImagesRequest)(nil), // 17: google.cloud.vision.v1.ListReferenceImagesRequest
2877 (*ListReferenceImagesResponse)(nil), // 18: google.cloud.vision.v1.ListReferenceImagesResponse
2878 (*GetReferenceImageRequest)(nil), // 19: google.cloud.vision.v1.GetReferenceImageRequest
2879 (*DeleteReferenceImageRequest)(nil), // 20: google.cloud.vision.v1.DeleteReferenceImageRequest
2880 (*AddProductToProductSetRequest)(nil), // 21: google.cloud.vision.v1.AddProductToProductSetRequest
2881 (*RemoveProductFromProductSetRequest)(nil), // 22: google.cloud.vision.v1.RemoveProductFromProductSetRequest
2882 (*ListProductsInProductSetRequest)(nil), // 23: google.cloud.vision.v1.ListProductsInProductSetRequest
2883 (*ListProductsInProductSetResponse)(nil), // 24: google.cloud.vision.v1.ListProductsInProductSetResponse
2884 (*ImportProductSetsGcsSource)(nil), // 25: google.cloud.vision.v1.ImportProductSetsGcsSource
2885 (*ImportProductSetsInputConfig)(nil), // 26: google.cloud.vision.v1.ImportProductSetsInputConfig
2886 (*ImportProductSetsRequest)(nil), // 27: google.cloud.vision.v1.ImportProductSetsRequest
2887 (*ImportProductSetsResponse)(nil), // 28: google.cloud.vision.v1.ImportProductSetsResponse
2888 (*BatchOperationMetadata)(nil), // 29: google.cloud.vision.v1.BatchOperationMetadata
2889 (*ProductSetPurgeConfig)(nil), // 30: google.cloud.vision.v1.ProductSetPurgeConfig
2890 (*PurgeProductsRequest)(nil), // 31: google.cloud.vision.v1.PurgeProductsRequest
2891 (*Product_KeyValue)(nil), // 32: google.cloud.vision.v1.Product.KeyValue
2892 (*timestamppb.Timestamp)(nil), // 33: google.protobuf.Timestamp
2893 (*status.Status)(nil), // 34: google.rpc.Status
2894 (*BoundingPoly)(nil), // 35: google.cloud.vision.v1.BoundingPoly
2895 (*fieldmaskpb.FieldMask)(nil), // 36: google.protobuf.FieldMask
2896 (*emptypb.Empty)(nil), // 37: google.protobuf.Empty
2897 (*longrunningpb.Operation)(nil), // 38: google.longrunning.Operation
2898 }
2899 var file_google_cloud_vision_v1_product_search_service_proto_depIdxs = []int32{
2900 32, // 0: google.cloud.vision.v1.Product.product_labels:type_name -> google.cloud.vision.v1.Product.KeyValue
2901 33, // 1: google.cloud.vision.v1.ProductSet.index_time:type_name -> google.protobuf.Timestamp
2902 34, // 2: google.cloud.vision.v1.ProductSet.index_error:type_name -> google.rpc.Status
2903 35, // 3: google.cloud.vision.v1.ReferenceImage.bounding_polys:type_name -> google.cloud.vision.v1.BoundingPoly
2904 1, // 4: google.cloud.vision.v1.CreateProductRequest.product:type_name -> google.cloud.vision.v1.Product
2905 1, // 5: google.cloud.vision.v1.ListProductsResponse.products:type_name -> google.cloud.vision.v1.Product
2906 1, // 6: google.cloud.vision.v1.UpdateProductRequest.product:type_name -> google.cloud.vision.v1.Product
2907 36, // 7: google.cloud.vision.v1.UpdateProductRequest.update_mask:type_name -> google.protobuf.FieldMask
2908 2, // 8: google.cloud.vision.v1.CreateProductSetRequest.product_set:type_name -> google.cloud.vision.v1.ProductSet
2909 2, // 9: google.cloud.vision.v1.ListProductSetsResponse.product_sets:type_name -> google.cloud.vision.v1.ProductSet
2910 2, // 10: google.cloud.vision.v1.UpdateProductSetRequest.product_set:type_name -> google.cloud.vision.v1.ProductSet
2911 36, // 11: google.cloud.vision.v1.UpdateProductSetRequest.update_mask:type_name -> google.protobuf.FieldMask
2912 3, // 12: google.cloud.vision.v1.CreateReferenceImageRequest.reference_image:type_name -> google.cloud.vision.v1.ReferenceImage
2913 3, // 13: google.cloud.vision.v1.ListReferenceImagesResponse.reference_images:type_name -> google.cloud.vision.v1.ReferenceImage
2914 1, // 14: google.cloud.vision.v1.ListProductsInProductSetResponse.products:type_name -> google.cloud.vision.v1.Product
2915 25, // 15: google.cloud.vision.v1.ImportProductSetsInputConfig.gcs_source:type_name -> google.cloud.vision.v1.ImportProductSetsGcsSource
2916 26, // 16: google.cloud.vision.v1.ImportProductSetsRequest.input_config:type_name -> google.cloud.vision.v1.ImportProductSetsInputConfig
2917 3, // 17: google.cloud.vision.v1.ImportProductSetsResponse.reference_images:type_name -> google.cloud.vision.v1.ReferenceImage
2918 34, // 18: google.cloud.vision.v1.ImportProductSetsResponse.statuses:type_name -> google.rpc.Status
2919 0, // 19: google.cloud.vision.v1.BatchOperationMetadata.state:type_name -> google.cloud.vision.v1.BatchOperationMetadata.State
2920 33, // 20: google.cloud.vision.v1.BatchOperationMetadata.submit_time:type_name -> google.protobuf.Timestamp
2921 33, // 21: google.cloud.vision.v1.BatchOperationMetadata.end_time:type_name -> google.protobuf.Timestamp
2922 30, // 22: google.cloud.vision.v1.PurgeProductsRequest.product_set_purge_config:type_name -> google.cloud.vision.v1.ProductSetPurgeConfig
2923 10, // 23: google.cloud.vision.v1.ProductSearch.CreateProductSet:input_type -> google.cloud.vision.v1.CreateProductSetRequest
2924 11, // 24: google.cloud.vision.v1.ProductSearch.ListProductSets:input_type -> google.cloud.vision.v1.ListProductSetsRequest
2925 13, // 25: google.cloud.vision.v1.ProductSearch.GetProductSet:input_type -> google.cloud.vision.v1.GetProductSetRequest
2926 14, // 26: google.cloud.vision.v1.ProductSearch.UpdateProductSet:input_type -> google.cloud.vision.v1.UpdateProductSetRequest
2927 15, // 27: google.cloud.vision.v1.ProductSearch.DeleteProductSet:input_type -> google.cloud.vision.v1.DeleteProductSetRequest
2928 4, // 28: google.cloud.vision.v1.ProductSearch.CreateProduct:input_type -> google.cloud.vision.v1.CreateProductRequest
2929 5, // 29: google.cloud.vision.v1.ProductSearch.ListProducts:input_type -> google.cloud.vision.v1.ListProductsRequest
2930 7, // 30: google.cloud.vision.v1.ProductSearch.GetProduct:input_type -> google.cloud.vision.v1.GetProductRequest
2931 8, // 31: google.cloud.vision.v1.ProductSearch.UpdateProduct:input_type -> google.cloud.vision.v1.UpdateProductRequest
2932 9, // 32: google.cloud.vision.v1.ProductSearch.DeleteProduct:input_type -> google.cloud.vision.v1.DeleteProductRequest
2933 16, // 33: google.cloud.vision.v1.ProductSearch.CreateReferenceImage:input_type -> google.cloud.vision.v1.CreateReferenceImageRequest
2934 20, // 34: google.cloud.vision.v1.ProductSearch.DeleteReferenceImage:input_type -> google.cloud.vision.v1.DeleteReferenceImageRequest
2935 17, // 35: google.cloud.vision.v1.ProductSearch.ListReferenceImages:input_type -> google.cloud.vision.v1.ListReferenceImagesRequest
2936 19, // 36: google.cloud.vision.v1.ProductSearch.GetReferenceImage:input_type -> google.cloud.vision.v1.GetReferenceImageRequest
2937 21, // 37: google.cloud.vision.v1.ProductSearch.AddProductToProductSet:input_type -> google.cloud.vision.v1.AddProductToProductSetRequest
2938 22, // 38: google.cloud.vision.v1.ProductSearch.RemoveProductFromProductSet:input_type -> google.cloud.vision.v1.RemoveProductFromProductSetRequest
2939 23, // 39: google.cloud.vision.v1.ProductSearch.ListProductsInProductSet:input_type -> google.cloud.vision.v1.ListProductsInProductSetRequest
2940 27, // 40: google.cloud.vision.v1.ProductSearch.ImportProductSets:input_type -> google.cloud.vision.v1.ImportProductSetsRequest
2941 31, // 41: google.cloud.vision.v1.ProductSearch.PurgeProducts:input_type -> google.cloud.vision.v1.PurgeProductsRequest
2942 2, // 42: google.cloud.vision.v1.ProductSearch.CreateProductSet:output_type -> google.cloud.vision.v1.ProductSet
2943 12, // 43: google.cloud.vision.v1.ProductSearch.ListProductSets:output_type -> google.cloud.vision.v1.ListProductSetsResponse
2944 2, // 44: google.cloud.vision.v1.ProductSearch.GetProductSet:output_type -> google.cloud.vision.v1.ProductSet
2945 2, // 45: google.cloud.vision.v1.ProductSearch.UpdateProductSet:output_type -> google.cloud.vision.v1.ProductSet
2946 37, // 46: google.cloud.vision.v1.ProductSearch.DeleteProductSet:output_type -> google.protobuf.Empty
2947 1, // 47: google.cloud.vision.v1.ProductSearch.CreateProduct:output_type -> google.cloud.vision.v1.Product
2948 6, // 48: google.cloud.vision.v1.ProductSearch.ListProducts:output_type -> google.cloud.vision.v1.ListProductsResponse
2949 1, // 49: google.cloud.vision.v1.ProductSearch.GetProduct:output_type -> google.cloud.vision.v1.Product
2950 1, // 50: google.cloud.vision.v1.ProductSearch.UpdateProduct:output_type -> google.cloud.vision.v1.Product
2951 37, // 51: google.cloud.vision.v1.ProductSearch.DeleteProduct:output_type -> google.protobuf.Empty
2952 3, // 52: google.cloud.vision.v1.ProductSearch.CreateReferenceImage:output_type -> google.cloud.vision.v1.ReferenceImage
2953 37, // 53: google.cloud.vision.v1.ProductSearch.DeleteReferenceImage:output_type -> google.protobuf.Empty
2954 18, // 54: google.cloud.vision.v1.ProductSearch.ListReferenceImages:output_type -> google.cloud.vision.v1.ListReferenceImagesResponse
2955 3, // 55: google.cloud.vision.v1.ProductSearch.GetReferenceImage:output_type -> google.cloud.vision.v1.ReferenceImage
2956 37, // 56: google.cloud.vision.v1.ProductSearch.AddProductToProductSet:output_type -> google.protobuf.Empty
2957 37, // 57: google.cloud.vision.v1.ProductSearch.RemoveProductFromProductSet:output_type -> google.protobuf.Empty
2958 24, // 58: google.cloud.vision.v1.ProductSearch.ListProductsInProductSet:output_type -> google.cloud.vision.v1.ListProductsInProductSetResponse
2959 38, // 59: google.cloud.vision.v1.ProductSearch.ImportProductSets:output_type -> google.longrunning.Operation
2960 38, // 60: google.cloud.vision.v1.ProductSearch.PurgeProducts:output_type -> google.longrunning.Operation
2961 42, // [42:61] is the sub-list for method output_type
2962 23, // [23:42] is the sub-list for method input_type
2963 23, // [23:23] is the sub-list for extension type_name
2964 23, // [23:23] is the sub-list for extension extendee
2965 0, // [0:23] is the sub-list for field type_name
2966 }
2967
2968 func init() { file_google_cloud_vision_v1_product_search_service_proto_init() }
2969 func file_google_cloud_vision_v1_product_search_service_proto_init() {
2970 if File_google_cloud_vision_v1_product_search_service_proto != nil {
2971 return
2972 }
2973 file_google_cloud_vision_v1_geometry_proto_init()
2974 file_google_cloud_vision_v1_product_search_service_proto_msgTypes[25].OneofWrappers = []any{
2975 (*ImportProductSetsInputConfig_GcsSource)(nil),
2976 }
2977 file_google_cloud_vision_v1_product_search_service_proto_msgTypes[30].OneofWrappers = []any{
2978 (*PurgeProductsRequest_ProductSetPurgeConfig)(nil),
2979 (*PurgeProductsRequest_DeleteOrphanProducts)(nil),
2980 }
2981 type x struct{}
2982 out := protoimpl.TypeBuilder{
2983 File: protoimpl.DescBuilder{
2984 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2985 RawDescriptor: file_google_cloud_vision_v1_product_search_service_proto_rawDesc,
2986 NumEnums: 1,
2987 NumMessages: 32,
2988 NumExtensions: 0,
2989 NumServices: 1,
2990 },
2991 GoTypes: file_google_cloud_vision_v1_product_search_service_proto_goTypes,
2992 DependencyIndexes: file_google_cloud_vision_v1_product_search_service_proto_depIdxs,
2993 EnumInfos: file_google_cloud_vision_v1_product_search_service_proto_enumTypes,
2994 MessageInfos: file_google_cloud_vision_v1_product_search_service_proto_msgTypes,
2995 }.Build()
2996 File_google_cloud_vision_v1_product_search_service_proto = out.File
2997 file_google_cloud_vision_v1_product_search_service_proto_rawDesc = nil
2998 file_google_cloud_vision_v1_product_search_service_proto_goTypes = nil
2999 file_google_cloud_vision_v1_product_search_service_proto_depIdxs = nil
3000 }
3001
3002 // Reference imports to suppress errors if they are not otherwise used.
3003 var _ context.Context
3004 var _ grpc.ClientConnInterface
3005
3006 // This is a compile-time assertion to ensure that this generated file
3007 // is compatible with the grpc package it is being compiled against.
3008 const _ = grpc.SupportPackageIsVersion6
3009
3010 // ProductSearchClient is the client API for ProductSearch service.
3011 //
3012 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
3013 type ProductSearchClient interface {
3014 // Creates and returns a new ProductSet resource.
3015 //
3016 // Possible errors:
3017 //
3018 // - Returns INVALID_ARGUMENT if display_name is missing, or is longer than
3019 // 4096 characters.
3020 CreateProductSet(ctx context.Context, in *CreateProductSetRequest, opts ...grpc.CallOption) (*ProductSet, error)
3021 // Lists ProductSets in an unspecified order.
3022 //
3023 // Possible errors:
3024 //
3025 // - Returns INVALID_ARGUMENT if page_size is greater than 100, or less
3026 // than 1.
3027 ListProductSets(ctx context.Context, in *ListProductSetsRequest, opts ...grpc.CallOption) (*ListProductSetsResponse, error)
3028 // Gets information associated with a ProductSet.
3029 //
3030 // Possible errors:
3031 //
3032 // * Returns NOT_FOUND if the ProductSet does not exist.
3033 GetProductSet(ctx context.Context, in *GetProductSetRequest, opts ...grpc.CallOption) (*ProductSet, error)
3034 // Makes changes to a ProductSet resource.
3035 // Only display_name can be updated currently.
3036 //
3037 // Possible errors:
3038 //
3039 // - Returns NOT_FOUND if the ProductSet does not exist.
3040 // - Returns INVALID_ARGUMENT if display_name is present in update_mask but
3041 // missing from the request or longer than 4096 characters.
3042 UpdateProductSet(ctx context.Context, in *UpdateProductSetRequest, opts ...grpc.CallOption) (*ProductSet, error)
3043 // Permanently deletes a ProductSet. Products and ReferenceImages in the
3044 // ProductSet are not deleted.
3045 //
3046 // The actual image files are not deleted from Google Cloud Storage.
3047 DeleteProductSet(ctx context.Context, in *DeleteProductSetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
3048 // Creates and returns a new product resource.
3049 //
3050 // Possible errors:
3051 //
3052 // - Returns INVALID_ARGUMENT if display_name is missing or longer than 4096
3053 // characters.
3054 // - Returns INVALID_ARGUMENT if description is longer than 4096 characters.
3055 // - Returns INVALID_ARGUMENT if product_category is missing or invalid.
3056 CreateProduct(ctx context.Context, in *CreateProductRequest, opts ...grpc.CallOption) (*Product, error)
3057 // Lists products in an unspecified order.
3058 //
3059 // Possible errors:
3060 //
3061 // * Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1.
3062 ListProducts(ctx context.Context, in *ListProductsRequest, opts ...grpc.CallOption) (*ListProductsResponse, error)
3063 // Gets information associated with a Product.
3064 //
3065 // Possible errors:
3066 //
3067 // * Returns NOT_FOUND if the Product does not exist.
3068 GetProduct(ctx context.Context, in *GetProductRequest, opts ...grpc.CallOption) (*Product, error)
3069 // Makes changes to a Product resource.
3070 // Only the `display_name`, `description`, and `labels` fields can be updated
3071 // right now.
3072 //
3073 // If labels are updated, the change will not be reflected in queries until
3074 // the next index time.
3075 //
3076 // Possible errors:
3077 //
3078 // - Returns NOT_FOUND if the Product does not exist.
3079 // - Returns INVALID_ARGUMENT if display_name is present in update_mask but is
3080 // missing from the request or longer than 4096 characters.
3081 // - Returns INVALID_ARGUMENT if description is present in update_mask but is
3082 // longer than 4096 characters.
3083 // - Returns INVALID_ARGUMENT if product_category is present in update_mask.
3084 UpdateProduct(ctx context.Context, in *UpdateProductRequest, opts ...grpc.CallOption) (*Product, error)
3085 // Permanently deletes a product and its reference images.
3086 //
3087 // Metadata of the product and all its images will be deleted right away, but
3088 // search queries against ProductSets containing the product may still work
3089 // until all related caches are refreshed.
3090 DeleteProduct(ctx context.Context, in *DeleteProductRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
3091 // Creates and returns a new ReferenceImage resource.
3092 //
3093 // The `bounding_poly` field is optional. If `bounding_poly` is not specified,
3094 // the system will try to detect regions of interest in the image that are
3095 // compatible with the product_category on the parent product. If it is
3096 // specified, detection is ALWAYS skipped. The system converts polygons into
3097 // non-rotated rectangles.
3098 //
3099 // Note that the pipeline will resize the image if the image resolution is too
3100 // large to process (above 50MP).
3101 //
3102 // Possible errors:
3103 //
3104 // - Returns INVALID_ARGUMENT if the image_uri is missing or longer than 4096
3105 // characters.
3106 // - Returns INVALID_ARGUMENT if the product does not exist.
3107 // - Returns INVALID_ARGUMENT if bounding_poly is not provided, and nothing
3108 // compatible with the parent product's product_category is detected.
3109 // - Returns INVALID_ARGUMENT if bounding_poly contains more than 10 polygons.
3110 CreateReferenceImage(ctx context.Context, in *CreateReferenceImageRequest, opts ...grpc.CallOption) (*ReferenceImage, error)
3111 // Permanently deletes a reference image.
3112 //
3113 // The image metadata will be deleted right away, but search queries
3114 // against ProductSets containing the image may still work until all related
3115 // caches are refreshed.
3116 //
3117 // The actual image files are not deleted from Google Cloud Storage.
3118 DeleteReferenceImage(ctx context.Context, in *DeleteReferenceImageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
3119 // Lists reference images.
3120 //
3121 // Possible errors:
3122 //
3123 // - Returns NOT_FOUND if the parent product does not exist.
3124 // - Returns INVALID_ARGUMENT if the page_size is greater than 100, or less
3125 // than 1.
3126 ListReferenceImages(ctx context.Context, in *ListReferenceImagesRequest, opts ...grpc.CallOption) (*ListReferenceImagesResponse, error)
3127 // Gets information associated with a ReferenceImage.
3128 //
3129 // Possible errors:
3130 //
3131 // * Returns NOT_FOUND if the specified image does not exist.
3132 GetReferenceImage(ctx context.Context, in *GetReferenceImageRequest, opts ...grpc.CallOption) (*ReferenceImage, error)
3133 // Adds a Product to the specified ProductSet. If the Product is already
3134 // present, no change is made.
3135 //
3136 // One Product can be added to at most 100 ProductSets.
3137 //
3138 // Possible errors:
3139 //
3140 // * Returns NOT_FOUND if the Product or the ProductSet doesn't exist.
3141 AddProductToProductSet(ctx context.Context, in *AddProductToProductSetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
3142 // Removes a Product from the specified ProductSet.
3143 RemoveProductFromProductSet(ctx context.Context, in *RemoveProductFromProductSetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
3144 // Lists the Products in a ProductSet, in an unspecified order. If the
3145 // ProductSet does not exist, the products field of the response will be
3146 // empty.
3147 //
3148 // Possible errors:
3149 //
3150 // * Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1.
3151 ListProductsInProductSet(ctx context.Context, in *ListProductsInProductSetRequest, opts ...grpc.CallOption) (*ListProductsInProductSetResponse, error)
3152 // Asynchronous API that imports a list of reference images to specified
3153 // product sets based on a list of image information.
3154 //
3155 // The [google.longrunning.Operation][google.longrunning.Operation] API can be
3156 // used to keep track of the progress and results of the request.
3157 // `Operation.metadata` contains `BatchOperationMetadata`. (progress)
3158 // `Operation.response` contains `ImportProductSetsResponse`. (results)
3159 //
3160 // The input source of this method is a csv file on Google Cloud Storage.
3161 // For the format of the csv file please see
3162 // [ImportProductSetsGcsSource.csv_file_uri][google.cloud.vision.v1.ImportProductSetsGcsSource.csv_file_uri].
3163 ImportProductSets(ctx context.Context, in *ImportProductSetsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
3164 // Asynchronous API to delete all Products in a ProductSet or all Products
3165 // that are in no ProductSet.
3166 //
3167 // If a Product is a member of the specified ProductSet in addition to other
3168 // ProductSets, the Product will still be deleted.
3169 //
3170 // It is recommended to not delete the specified ProductSet until after this
3171 // operation has completed. It is also recommended to not add any of the
3172 // Products involved in the batch delete to a new ProductSet while this
3173 // operation is running because those Products may still end up deleted.
3174 //
3175 // It's not possible to undo the PurgeProducts operation. Therefore, it is
3176 // recommended to keep the csv files used in ImportProductSets (if that was
3177 // how you originally built the Product Set) before starting PurgeProducts, in
3178 // case you need to re-import the data after deletion.
3179 //
3180 // If the plan is to purge all of the Products from a ProductSet and then
3181 // re-use the empty ProductSet to re-import new Products into the empty
3182 // ProductSet, you must wait until the PurgeProducts operation has finished
3183 // for that ProductSet.
3184 //
3185 // The [google.longrunning.Operation][google.longrunning.Operation] API can be
3186 // used to keep track of the progress and results of the request.
3187 // `Operation.metadata` contains `BatchOperationMetadata`. (progress)
3188 PurgeProducts(ctx context.Context, in *PurgeProductsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
3189 }
3190
3191 type productSearchClient struct {
3192 cc grpc.ClientConnInterface
3193 }
3194
3195 func NewProductSearchClient(cc grpc.ClientConnInterface) ProductSearchClient {
3196 return &productSearchClient{cc}
3197 }
3198
3199 func (c *productSearchClient) CreateProductSet(ctx context.Context, in *CreateProductSetRequest, opts ...grpc.CallOption) (*ProductSet, error) {
3200 out := new(ProductSet)
3201 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/CreateProductSet", in, out, opts...)
3202 if err != nil {
3203 return nil, err
3204 }
3205 return out, nil
3206 }
3207
3208 func (c *productSearchClient) ListProductSets(ctx context.Context, in *ListProductSetsRequest, opts ...grpc.CallOption) (*ListProductSetsResponse, error) {
3209 out := new(ListProductSetsResponse)
3210 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/ListProductSets", in, out, opts...)
3211 if err != nil {
3212 return nil, err
3213 }
3214 return out, nil
3215 }
3216
3217 func (c *productSearchClient) GetProductSet(ctx context.Context, in *GetProductSetRequest, opts ...grpc.CallOption) (*ProductSet, error) {
3218 out := new(ProductSet)
3219 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/GetProductSet", in, out, opts...)
3220 if err != nil {
3221 return nil, err
3222 }
3223 return out, nil
3224 }
3225
3226 func (c *productSearchClient) UpdateProductSet(ctx context.Context, in *UpdateProductSetRequest, opts ...grpc.CallOption) (*ProductSet, error) {
3227 out := new(ProductSet)
3228 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/UpdateProductSet", in, out, opts...)
3229 if err != nil {
3230 return nil, err
3231 }
3232 return out, nil
3233 }
3234
3235 func (c *productSearchClient) DeleteProductSet(ctx context.Context, in *DeleteProductSetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
3236 out := new(emptypb.Empty)
3237 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/DeleteProductSet", in, out, opts...)
3238 if err != nil {
3239 return nil, err
3240 }
3241 return out, nil
3242 }
3243
3244 func (c *productSearchClient) CreateProduct(ctx context.Context, in *CreateProductRequest, opts ...grpc.CallOption) (*Product, error) {
3245 out := new(Product)
3246 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/CreateProduct", in, out, opts...)
3247 if err != nil {
3248 return nil, err
3249 }
3250 return out, nil
3251 }
3252
3253 func (c *productSearchClient) ListProducts(ctx context.Context, in *ListProductsRequest, opts ...grpc.CallOption) (*ListProductsResponse, error) {
3254 out := new(ListProductsResponse)
3255 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/ListProducts", in, out, opts...)
3256 if err != nil {
3257 return nil, err
3258 }
3259 return out, nil
3260 }
3261
3262 func (c *productSearchClient) GetProduct(ctx context.Context, in *GetProductRequest, opts ...grpc.CallOption) (*Product, error) {
3263 out := new(Product)
3264 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/GetProduct", in, out, opts...)
3265 if err != nil {
3266 return nil, err
3267 }
3268 return out, nil
3269 }
3270
3271 func (c *productSearchClient) UpdateProduct(ctx context.Context, in *UpdateProductRequest, opts ...grpc.CallOption) (*Product, error) {
3272 out := new(Product)
3273 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/UpdateProduct", in, out, opts...)
3274 if err != nil {
3275 return nil, err
3276 }
3277 return out, nil
3278 }
3279
3280 func (c *productSearchClient) DeleteProduct(ctx context.Context, in *DeleteProductRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
3281 out := new(emptypb.Empty)
3282 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/DeleteProduct", in, out, opts...)
3283 if err != nil {
3284 return nil, err
3285 }
3286 return out, nil
3287 }
3288
3289 func (c *productSearchClient) CreateReferenceImage(ctx context.Context, in *CreateReferenceImageRequest, opts ...grpc.CallOption) (*ReferenceImage, error) {
3290 out := new(ReferenceImage)
3291 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/CreateReferenceImage", in, out, opts...)
3292 if err != nil {
3293 return nil, err
3294 }
3295 return out, nil
3296 }
3297
3298 func (c *productSearchClient) DeleteReferenceImage(ctx context.Context, in *DeleteReferenceImageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
3299 out := new(emptypb.Empty)
3300 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/DeleteReferenceImage", in, out, opts...)
3301 if err != nil {
3302 return nil, err
3303 }
3304 return out, nil
3305 }
3306
3307 func (c *productSearchClient) ListReferenceImages(ctx context.Context, in *ListReferenceImagesRequest, opts ...grpc.CallOption) (*ListReferenceImagesResponse, error) {
3308 out := new(ListReferenceImagesResponse)
3309 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/ListReferenceImages", in, out, opts...)
3310 if err != nil {
3311 return nil, err
3312 }
3313 return out, nil
3314 }
3315
3316 func (c *productSearchClient) GetReferenceImage(ctx context.Context, in *GetReferenceImageRequest, opts ...grpc.CallOption) (*ReferenceImage, error) {
3317 out := new(ReferenceImage)
3318 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/GetReferenceImage", in, out, opts...)
3319 if err != nil {
3320 return nil, err
3321 }
3322 return out, nil
3323 }
3324
3325 func (c *productSearchClient) AddProductToProductSet(ctx context.Context, in *AddProductToProductSetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
3326 out := new(emptypb.Empty)
3327 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/AddProductToProductSet", in, out, opts...)
3328 if err != nil {
3329 return nil, err
3330 }
3331 return out, nil
3332 }
3333
3334 func (c *productSearchClient) RemoveProductFromProductSet(ctx context.Context, in *RemoveProductFromProductSetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
3335 out := new(emptypb.Empty)
3336 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/RemoveProductFromProductSet", in, out, opts...)
3337 if err != nil {
3338 return nil, err
3339 }
3340 return out, nil
3341 }
3342
3343 func (c *productSearchClient) ListProductsInProductSet(ctx context.Context, in *ListProductsInProductSetRequest, opts ...grpc.CallOption) (*ListProductsInProductSetResponse, error) {
3344 out := new(ListProductsInProductSetResponse)
3345 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/ListProductsInProductSet", in, out, opts...)
3346 if err != nil {
3347 return nil, err
3348 }
3349 return out, nil
3350 }
3351
3352 func (c *productSearchClient) ImportProductSets(ctx context.Context, in *ImportProductSetsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
3353 out := new(longrunningpb.Operation)
3354 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/ImportProductSets", in, out, opts...)
3355 if err != nil {
3356 return nil, err
3357 }
3358 return out, nil
3359 }
3360
3361 func (c *productSearchClient) PurgeProducts(ctx context.Context, in *PurgeProductsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
3362 out := new(longrunningpb.Operation)
3363 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/PurgeProducts", in, out, opts...)
3364 if err != nil {
3365 return nil, err
3366 }
3367 return out, nil
3368 }
3369
3370 // ProductSearchServer is the server API for ProductSearch service.
3371 type ProductSearchServer interface {
3372 // Creates and returns a new ProductSet resource.
3373 //
3374 // Possible errors:
3375 //
3376 // - Returns INVALID_ARGUMENT if display_name is missing, or is longer than
3377 // 4096 characters.
3378 CreateProductSet(context.Context, *CreateProductSetRequest) (*ProductSet, error)
3379 // Lists ProductSets in an unspecified order.
3380 //
3381 // Possible errors:
3382 //
3383 // - Returns INVALID_ARGUMENT if page_size is greater than 100, or less
3384 // than 1.
3385 ListProductSets(context.Context, *ListProductSetsRequest) (*ListProductSetsResponse, error)
3386 // Gets information associated with a ProductSet.
3387 //
3388 // Possible errors:
3389 //
3390 // * Returns NOT_FOUND if the ProductSet does not exist.
3391 GetProductSet(context.Context, *GetProductSetRequest) (*ProductSet, error)
3392 // Makes changes to a ProductSet resource.
3393 // Only display_name can be updated currently.
3394 //
3395 // Possible errors:
3396 //
3397 // - Returns NOT_FOUND if the ProductSet does not exist.
3398 // - Returns INVALID_ARGUMENT if display_name is present in update_mask but
3399 // missing from the request or longer than 4096 characters.
3400 UpdateProductSet(context.Context, *UpdateProductSetRequest) (*ProductSet, error)
3401 // Permanently deletes a ProductSet. Products and ReferenceImages in the
3402 // ProductSet are not deleted.
3403 //
3404 // The actual image files are not deleted from Google Cloud Storage.
3405 DeleteProductSet(context.Context, *DeleteProductSetRequest) (*emptypb.Empty, error)
3406 // Creates and returns a new product resource.
3407 //
3408 // Possible errors:
3409 //
3410 // - Returns INVALID_ARGUMENT if display_name is missing or longer than 4096
3411 // characters.
3412 // - Returns INVALID_ARGUMENT if description is longer than 4096 characters.
3413 // - Returns INVALID_ARGUMENT if product_category is missing or invalid.
3414 CreateProduct(context.Context, *CreateProductRequest) (*Product, error)
3415 // Lists products in an unspecified order.
3416 //
3417 // Possible errors:
3418 //
3419 // * Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1.
3420 ListProducts(context.Context, *ListProductsRequest) (*ListProductsResponse, error)
3421 // Gets information associated with a Product.
3422 //
3423 // Possible errors:
3424 //
3425 // * Returns NOT_FOUND if the Product does not exist.
3426 GetProduct(context.Context, *GetProductRequest) (*Product, error)
3427 // Makes changes to a Product resource.
3428 // Only the `display_name`, `description`, and `labels` fields can be updated
3429 // right now.
3430 //
3431 // If labels are updated, the change will not be reflected in queries until
3432 // the next index time.
3433 //
3434 // Possible errors:
3435 //
3436 // - Returns NOT_FOUND if the Product does not exist.
3437 // - Returns INVALID_ARGUMENT if display_name is present in update_mask but is
3438 // missing from the request or longer than 4096 characters.
3439 // - Returns INVALID_ARGUMENT if description is present in update_mask but is
3440 // longer than 4096 characters.
3441 // - Returns INVALID_ARGUMENT if product_category is present in update_mask.
3442 UpdateProduct(context.Context, *UpdateProductRequest) (*Product, error)
3443 // Permanently deletes a product and its reference images.
3444 //
3445 // Metadata of the product and all its images will be deleted right away, but
3446 // search queries against ProductSets containing the product may still work
3447 // until all related caches are refreshed.
3448 DeleteProduct(context.Context, *DeleteProductRequest) (*emptypb.Empty, error)
3449 // Creates and returns a new ReferenceImage resource.
3450 //
3451 // The `bounding_poly` field is optional. If `bounding_poly` is not specified,
3452 // the system will try to detect regions of interest in the image that are
3453 // compatible with the product_category on the parent product. If it is
3454 // specified, detection is ALWAYS skipped. The system converts polygons into
3455 // non-rotated rectangles.
3456 //
3457 // Note that the pipeline will resize the image if the image resolution is too
3458 // large to process (above 50MP).
3459 //
3460 // Possible errors:
3461 //
3462 // - Returns INVALID_ARGUMENT if the image_uri is missing or longer than 4096
3463 // characters.
3464 // - Returns INVALID_ARGUMENT if the product does not exist.
3465 // - Returns INVALID_ARGUMENT if bounding_poly is not provided, and nothing
3466 // compatible with the parent product's product_category is detected.
3467 // - Returns INVALID_ARGUMENT if bounding_poly contains more than 10 polygons.
3468 CreateReferenceImage(context.Context, *CreateReferenceImageRequest) (*ReferenceImage, error)
3469 // Permanently deletes a reference image.
3470 //
3471 // The image metadata will be deleted right away, but search queries
3472 // against ProductSets containing the image may still work until all related
3473 // caches are refreshed.
3474 //
3475 // The actual image files are not deleted from Google Cloud Storage.
3476 DeleteReferenceImage(context.Context, *DeleteReferenceImageRequest) (*emptypb.Empty, error)
3477 // Lists reference images.
3478 //
3479 // Possible errors:
3480 //
3481 // - Returns NOT_FOUND if the parent product does not exist.
3482 // - Returns INVALID_ARGUMENT if the page_size is greater than 100, or less
3483 // than 1.
3484 ListReferenceImages(context.Context, *ListReferenceImagesRequest) (*ListReferenceImagesResponse, error)
3485 // Gets information associated with a ReferenceImage.
3486 //
3487 // Possible errors:
3488 //
3489 // * Returns NOT_FOUND if the specified image does not exist.
3490 GetReferenceImage(context.Context, *GetReferenceImageRequest) (*ReferenceImage, error)
3491 // Adds a Product to the specified ProductSet. If the Product is already
3492 // present, no change is made.
3493 //
3494 // One Product can be added to at most 100 ProductSets.
3495 //
3496 // Possible errors:
3497 //
3498 // * Returns NOT_FOUND if the Product or the ProductSet doesn't exist.
3499 AddProductToProductSet(context.Context, *AddProductToProductSetRequest) (*emptypb.Empty, error)
3500 // Removes a Product from the specified ProductSet.
3501 RemoveProductFromProductSet(context.Context, *RemoveProductFromProductSetRequest) (*emptypb.Empty, error)
3502 // Lists the Products in a ProductSet, in an unspecified order. If the
3503 // ProductSet does not exist, the products field of the response will be
3504 // empty.
3505 //
3506 // Possible errors:
3507 //
3508 // * Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1.
3509 ListProductsInProductSet(context.Context, *ListProductsInProductSetRequest) (*ListProductsInProductSetResponse, error)
3510 // Asynchronous API that imports a list of reference images to specified
3511 // product sets based on a list of image information.
3512 //
3513 // The [google.longrunning.Operation][google.longrunning.Operation] API can be
3514 // used to keep track of the progress and results of the request.
3515 // `Operation.metadata` contains `BatchOperationMetadata`. (progress)
3516 // `Operation.response` contains `ImportProductSetsResponse`. (results)
3517 //
3518 // The input source of this method is a csv file on Google Cloud Storage.
3519 // For the format of the csv file please see
3520 // [ImportProductSetsGcsSource.csv_file_uri][google.cloud.vision.v1.ImportProductSetsGcsSource.csv_file_uri].
3521 ImportProductSets(context.Context, *ImportProductSetsRequest) (*longrunningpb.Operation, error)
3522 // Asynchronous API to delete all Products in a ProductSet or all Products
3523 // that are in no ProductSet.
3524 //
3525 // If a Product is a member of the specified ProductSet in addition to other
3526 // ProductSets, the Product will still be deleted.
3527 //
3528 // It is recommended to not delete the specified ProductSet until after this
3529 // operation has completed. It is also recommended to not add any of the
3530 // Products involved in the batch delete to a new ProductSet while this
3531 // operation is running because those Products may still end up deleted.
3532 //
3533 // It's not possible to undo the PurgeProducts operation. Therefore, it is
3534 // recommended to keep the csv files used in ImportProductSets (if that was
3535 // how you originally built the Product Set) before starting PurgeProducts, in
3536 // case you need to re-import the data after deletion.
3537 //
3538 // If the plan is to purge all of the Products from a ProductSet and then
3539 // re-use the empty ProductSet to re-import new Products into the empty
3540 // ProductSet, you must wait until the PurgeProducts operation has finished
3541 // for that ProductSet.
3542 //
3543 // The [google.longrunning.Operation][google.longrunning.Operation] API can be
3544 // used to keep track of the progress and results of the request.
3545 // `Operation.metadata` contains `BatchOperationMetadata`. (progress)
3546 PurgeProducts(context.Context, *PurgeProductsRequest) (*longrunningpb.Operation, error)
3547 }
3548
3549 // UnimplementedProductSearchServer can be embedded to have forward compatible implementations.
3550 type UnimplementedProductSearchServer struct {
3551 }
3552
3553 func (*UnimplementedProductSearchServer) CreateProductSet(context.Context, *CreateProductSetRequest) (*ProductSet, error) {
3554 return nil, status1.Errorf(codes.Unimplemented, "method CreateProductSet not implemented")
3555 }
3556 func (*UnimplementedProductSearchServer) ListProductSets(context.Context, *ListProductSetsRequest) (*ListProductSetsResponse, error) {
3557 return nil, status1.Errorf(codes.Unimplemented, "method ListProductSets not implemented")
3558 }
3559 func (*UnimplementedProductSearchServer) GetProductSet(context.Context, *GetProductSetRequest) (*ProductSet, error) {
3560 return nil, status1.Errorf(codes.Unimplemented, "method GetProductSet not implemented")
3561 }
3562 func (*UnimplementedProductSearchServer) UpdateProductSet(context.Context, *UpdateProductSetRequest) (*ProductSet, error) {
3563 return nil, status1.Errorf(codes.Unimplemented, "method UpdateProductSet not implemented")
3564 }
3565 func (*UnimplementedProductSearchServer) DeleteProductSet(context.Context, *DeleteProductSetRequest) (*emptypb.Empty, error) {
3566 return nil, status1.Errorf(codes.Unimplemented, "method DeleteProductSet not implemented")
3567 }
3568 func (*UnimplementedProductSearchServer) CreateProduct(context.Context, *CreateProductRequest) (*Product, error) {
3569 return nil, status1.Errorf(codes.Unimplemented, "method CreateProduct not implemented")
3570 }
3571 func (*UnimplementedProductSearchServer) ListProducts(context.Context, *ListProductsRequest) (*ListProductsResponse, error) {
3572 return nil, status1.Errorf(codes.Unimplemented, "method ListProducts not implemented")
3573 }
3574 func (*UnimplementedProductSearchServer) GetProduct(context.Context, *GetProductRequest) (*Product, error) {
3575 return nil, status1.Errorf(codes.Unimplemented, "method GetProduct not implemented")
3576 }
3577 func (*UnimplementedProductSearchServer) UpdateProduct(context.Context, *UpdateProductRequest) (*Product, error) {
3578 return nil, status1.Errorf(codes.Unimplemented, "method UpdateProduct not implemented")
3579 }
3580 func (*UnimplementedProductSearchServer) DeleteProduct(context.Context, *DeleteProductRequest) (*emptypb.Empty, error) {
3581 return nil, status1.Errorf(codes.Unimplemented, "method DeleteProduct not implemented")
3582 }
3583 func (*UnimplementedProductSearchServer) CreateReferenceImage(context.Context, *CreateReferenceImageRequest) (*ReferenceImage, error) {
3584 return nil, status1.Errorf(codes.Unimplemented, "method CreateReferenceImage not implemented")
3585 }
3586 func (*UnimplementedProductSearchServer) DeleteReferenceImage(context.Context, *DeleteReferenceImageRequest) (*emptypb.Empty, error) {
3587 return nil, status1.Errorf(codes.Unimplemented, "method DeleteReferenceImage not implemented")
3588 }
3589 func (*UnimplementedProductSearchServer) ListReferenceImages(context.Context, *ListReferenceImagesRequest) (*ListReferenceImagesResponse, error) {
3590 return nil, status1.Errorf(codes.Unimplemented, "method ListReferenceImages not implemented")
3591 }
3592 func (*UnimplementedProductSearchServer) GetReferenceImage(context.Context, *GetReferenceImageRequest) (*ReferenceImage, error) {
3593 return nil, status1.Errorf(codes.Unimplemented, "method GetReferenceImage not implemented")
3594 }
3595 func (*UnimplementedProductSearchServer) AddProductToProductSet(context.Context, *AddProductToProductSetRequest) (*emptypb.Empty, error) {
3596 return nil, status1.Errorf(codes.Unimplemented, "method AddProductToProductSet not implemented")
3597 }
3598 func (*UnimplementedProductSearchServer) RemoveProductFromProductSet(context.Context, *RemoveProductFromProductSetRequest) (*emptypb.Empty, error) {
3599 return nil, status1.Errorf(codes.Unimplemented, "method RemoveProductFromProductSet not implemented")
3600 }
3601 func (*UnimplementedProductSearchServer) ListProductsInProductSet(context.Context, *ListProductsInProductSetRequest) (*ListProductsInProductSetResponse, error) {
3602 return nil, status1.Errorf(codes.Unimplemented, "method ListProductsInProductSet not implemented")
3603 }
3604 func (*UnimplementedProductSearchServer) ImportProductSets(context.Context, *ImportProductSetsRequest) (*longrunningpb.Operation, error) {
3605 return nil, status1.Errorf(codes.Unimplemented, "method ImportProductSets not implemented")
3606 }
3607 func (*UnimplementedProductSearchServer) PurgeProducts(context.Context, *PurgeProductsRequest) (*longrunningpb.Operation, error) {
3608 return nil, status1.Errorf(codes.Unimplemented, "method PurgeProducts not implemented")
3609 }
3610
3611 func RegisterProductSearchServer(s *grpc.Server, srv ProductSearchServer) {
3612 s.RegisterService(&_ProductSearch_serviceDesc, srv)
3613 }
3614
3615 func _ProductSearch_CreateProductSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3616 in := new(CreateProductSetRequest)
3617 if err := dec(in); err != nil {
3618 return nil, err
3619 }
3620 if interceptor == nil {
3621 return srv.(ProductSearchServer).CreateProductSet(ctx, in)
3622 }
3623 info := &grpc.UnaryServerInfo{
3624 Server: srv,
3625 FullMethod: "/google.cloud.vision.v1.ProductSearch/CreateProductSet",
3626 }
3627 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3628 return srv.(ProductSearchServer).CreateProductSet(ctx, req.(*CreateProductSetRequest))
3629 }
3630 return interceptor(ctx, in, info, handler)
3631 }
3632
3633 func _ProductSearch_ListProductSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3634 in := new(ListProductSetsRequest)
3635 if err := dec(in); err != nil {
3636 return nil, err
3637 }
3638 if interceptor == nil {
3639 return srv.(ProductSearchServer).ListProductSets(ctx, in)
3640 }
3641 info := &grpc.UnaryServerInfo{
3642 Server: srv,
3643 FullMethod: "/google.cloud.vision.v1.ProductSearch/ListProductSets",
3644 }
3645 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3646 return srv.(ProductSearchServer).ListProductSets(ctx, req.(*ListProductSetsRequest))
3647 }
3648 return interceptor(ctx, in, info, handler)
3649 }
3650
3651 func _ProductSearch_GetProductSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3652 in := new(GetProductSetRequest)
3653 if err := dec(in); err != nil {
3654 return nil, err
3655 }
3656 if interceptor == nil {
3657 return srv.(ProductSearchServer).GetProductSet(ctx, in)
3658 }
3659 info := &grpc.UnaryServerInfo{
3660 Server: srv,
3661 FullMethod: "/google.cloud.vision.v1.ProductSearch/GetProductSet",
3662 }
3663 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3664 return srv.(ProductSearchServer).GetProductSet(ctx, req.(*GetProductSetRequest))
3665 }
3666 return interceptor(ctx, in, info, handler)
3667 }
3668
3669 func _ProductSearch_UpdateProductSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3670 in := new(UpdateProductSetRequest)
3671 if err := dec(in); err != nil {
3672 return nil, err
3673 }
3674 if interceptor == nil {
3675 return srv.(ProductSearchServer).UpdateProductSet(ctx, in)
3676 }
3677 info := &grpc.UnaryServerInfo{
3678 Server: srv,
3679 FullMethod: "/google.cloud.vision.v1.ProductSearch/UpdateProductSet",
3680 }
3681 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3682 return srv.(ProductSearchServer).UpdateProductSet(ctx, req.(*UpdateProductSetRequest))
3683 }
3684 return interceptor(ctx, in, info, handler)
3685 }
3686
3687 func _ProductSearch_DeleteProductSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3688 in := new(DeleteProductSetRequest)
3689 if err := dec(in); err != nil {
3690 return nil, err
3691 }
3692 if interceptor == nil {
3693 return srv.(ProductSearchServer).DeleteProductSet(ctx, in)
3694 }
3695 info := &grpc.UnaryServerInfo{
3696 Server: srv,
3697 FullMethod: "/google.cloud.vision.v1.ProductSearch/DeleteProductSet",
3698 }
3699 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3700 return srv.(ProductSearchServer).DeleteProductSet(ctx, req.(*DeleteProductSetRequest))
3701 }
3702 return interceptor(ctx, in, info, handler)
3703 }
3704
3705 func _ProductSearch_CreateProduct_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3706 in := new(CreateProductRequest)
3707 if err := dec(in); err != nil {
3708 return nil, err
3709 }
3710 if interceptor == nil {
3711 return srv.(ProductSearchServer).CreateProduct(ctx, in)
3712 }
3713 info := &grpc.UnaryServerInfo{
3714 Server: srv,
3715 FullMethod: "/google.cloud.vision.v1.ProductSearch/CreateProduct",
3716 }
3717 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3718 return srv.(ProductSearchServer).CreateProduct(ctx, req.(*CreateProductRequest))
3719 }
3720 return interceptor(ctx, in, info, handler)
3721 }
3722
3723 func _ProductSearch_ListProducts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3724 in := new(ListProductsRequest)
3725 if err := dec(in); err != nil {
3726 return nil, err
3727 }
3728 if interceptor == nil {
3729 return srv.(ProductSearchServer).ListProducts(ctx, in)
3730 }
3731 info := &grpc.UnaryServerInfo{
3732 Server: srv,
3733 FullMethod: "/google.cloud.vision.v1.ProductSearch/ListProducts",
3734 }
3735 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3736 return srv.(ProductSearchServer).ListProducts(ctx, req.(*ListProductsRequest))
3737 }
3738 return interceptor(ctx, in, info, handler)
3739 }
3740
3741 func _ProductSearch_GetProduct_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3742 in := new(GetProductRequest)
3743 if err := dec(in); err != nil {
3744 return nil, err
3745 }
3746 if interceptor == nil {
3747 return srv.(ProductSearchServer).GetProduct(ctx, in)
3748 }
3749 info := &grpc.UnaryServerInfo{
3750 Server: srv,
3751 FullMethod: "/google.cloud.vision.v1.ProductSearch/GetProduct",
3752 }
3753 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3754 return srv.(ProductSearchServer).GetProduct(ctx, req.(*GetProductRequest))
3755 }
3756 return interceptor(ctx, in, info, handler)
3757 }
3758
3759 func _ProductSearch_UpdateProduct_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3760 in := new(UpdateProductRequest)
3761 if err := dec(in); err != nil {
3762 return nil, err
3763 }
3764 if interceptor == nil {
3765 return srv.(ProductSearchServer).UpdateProduct(ctx, in)
3766 }
3767 info := &grpc.UnaryServerInfo{
3768 Server: srv,
3769 FullMethod: "/google.cloud.vision.v1.ProductSearch/UpdateProduct",
3770 }
3771 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3772 return srv.(ProductSearchServer).UpdateProduct(ctx, req.(*UpdateProductRequest))
3773 }
3774 return interceptor(ctx, in, info, handler)
3775 }
3776
3777 func _ProductSearch_DeleteProduct_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3778 in := new(DeleteProductRequest)
3779 if err := dec(in); err != nil {
3780 return nil, err
3781 }
3782 if interceptor == nil {
3783 return srv.(ProductSearchServer).DeleteProduct(ctx, in)
3784 }
3785 info := &grpc.UnaryServerInfo{
3786 Server: srv,
3787 FullMethod: "/google.cloud.vision.v1.ProductSearch/DeleteProduct",
3788 }
3789 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3790 return srv.(ProductSearchServer).DeleteProduct(ctx, req.(*DeleteProductRequest))
3791 }
3792 return interceptor(ctx, in, info, handler)
3793 }
3794
3795 func _ProductSearch_CreateReferenceImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3796 in := new(CreateReferenceImageRequest)
3797 if err := dec(in); err != nil {
3798 return nil, err
3799 }
3800 if interceptor == nil {
3801 return srv.(ProductSearchServer).CreateReferenceImage(ctx, in)
3802 }
3803 info := &grpc.UnaryServerInfo{
3804 Server: srv,
3805 FullMethod: "/google.cloud.vision.v1.ProductSearch/CreateReferenceImage",
3806 }
3807 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3808 return srv.(ProductSearchServer).CreateReferenceImage(ctx, req.(*CreateReferenceImageRequest))
3809 }
3810 return interceptor(ctx, in, info, handler)
3811 }
3812
3813 func _ProductSearch_DeleteReferenceImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3814 in := new(DeleteReferenceImageRequest)
3815 if err := dec(in); err != nil {
3816 return nil, err
3817 }
3818 if interceptor == nil {
3819 return srv.(ProductSearchServer).DeleteReferenceImage(ctx, in)
3820 }
3821 info := &grpc.UnaryServerInfo{
3822 Server: srv,
3823 FullMethod: "/google.cloud.vision.v1.ProductSearch/DeleteReferenceImage",
3824 }
3825 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3826 return srv.(ProductSearchServer).DeleteReferenceImage(ctx, req.(*DeleteReferenceImageRequest))
3827 }
3828 return interceptor(ctx, in, info, handler)
3829 }
3830
3831 func _ProductSearch_ListReferenceImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3832 in := new(ListReferenceImagesRequest)
3833 if err := dec(in); err != nil {
3834 return nil, err
3835 }
3836 if interceptor == nil {
3837 return srv.(ProductSearchServer).ListReferenceImages(ctx, in)
3838 }
3839 info := &grpc.UnaryServerInfo{
3840 Server: srv,
3841 FullMethod: "/google.cloud.vision.v1.ProductSearch/ListReferenceImages",
3842 }
3843 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3844 return srv.(ProductSearchServer).ListReferenceImages(ctx, req.(*ListReferenceImagesRequest))
3845 }
3846 return interceptor(ctx, in, info, handler)
3847 }
3848
3849 func _ProductSearch_GetReferenceImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3850 in := new(GetReferenceImageRequest)
3851 if err := dec(in); err != nil {
3852 return nil, err
3853 }
3854 if interceptor == nil {
3855 return srv.(ProductSearchServer).GetReferenceImage(ctx, in)
3856 }
3857 info := &grpc.UnaryServerInfo{
3858 Server: srv,
3859 FullMethod: "/google.cloud.vision.v1.ProductSearch/GetReferenceImage",
3860 }
3861 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3862 return srv.(ProductSearchServer).GetReferenceImage(ctx, req.(*GetReferenceImageRequest))
3863 }
3864 return interceptor(ctx, in, info, handler)
3865 }
3866
3867 func _ProductSearch_AddProductToProductSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3868 in := new(AddProductToProductSetRequest)
3869 if err := dec(in); err != nil {
3870 return nil, err
3871 }
3872 if interceptor == nil {
3873 return srv.(ProductSearchServer).AddProductToProductSet(ctx, in)
3874 }
3875 info := &grpc.UnaryServerInfo{
3876 Server: srv,
3877 FullMethod: "/google.cloud.vision.v1.ProductSearch/AddProductToProductSet",
3878 }
3879 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3880 return srv.(ProductSearchServer).AddProductToProductSet(ctx, req.(*AddProductToProductSetRequest))
3881 }
3882 return interceptor(ctx, in, info, handler)
3883 }
3884
3885 func _ProductSearch_RemoveProductFromProductSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3886 in := new(RemoveProductFromProductSetRequest)
3887 if err := dec(in); err != nil {
3888 return nil, err
3889 }
3890 if interceptor == nil {
3891 return srv.(ProductSearchServer).RemoveProductFromProductSet(ctx, in)
3892 }
3893 info := &grpc.UnaryServerInfo{
3894 Server: srv,
3895 FullMethod: "/google.cloud.vision.v1.ProductSearch/RemoveProductFromProductSet",
3896 }
3897 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3898 return srv.(ProductSearchServer).RemoveProductFromProductSet(ctx, req.(*RemoveProductFromProductSetRequest))
3899 }
3900 return interceptor(ctx, in, info, handler)
3901 }
3902
3903 func _ProductSearch_ListProductsInProductSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3904 in := new(ListProductsInProductSetRequest)
3905 if err := dec(in); err != nil {
3906 return nil, err
3907 }
3908 if interceptor == nil {
3909 return srv.(ProductSearchServer).ListProductsInProductSet(ctx, in)
3910 }
3911 info := &grpc.UnaryServerInfo{
3912 Server: srv,
3913 FullMethod: "/google.cloud.vision.v1.ProductSearch/ListProductsInProductSet",
3914 }
3915 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3916 return srv.(ProductSearchServer).ListProductsInProductSet(ctx, req.(*ListProductsInProductSetRequest))
3917 }
3918 return interceptor(ctx, in, info, handler)
3919 }
3920
3921 func _ProductSearch_ImportProductSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3922 in := new(ImportProductSetsRequest)
3923 if err := dec(in); err != nil {
3924 return nil, err
3925 }
3926 if interceptor == nil {
3927 return srv.(ProductSearchServer).ImportProductSets(ctx, in)
3928 }
3929 info := &grpc.UnaryServerInfo{
3930 Server: srv,
3931 FullMethod: "/google.cloud.vision.v1.ProductSearch/ImportProductSets",
3932 }
3933 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3934 return srv.(ProductSearchServer).ImportProductSets(ctx, req.(*ImportProductSetsRequest))
3935 }
3936 return interceptor(ctx, in, info, handler)
3937 }
3938
3939 func _ProductSearch_PurgeProducts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3940 in := new(PurgeProductsRequest)
3941 if err := dec(in); err != nil {
3942 return nil, err
3943 }
3944 if interceptor == nil {
3945 return srv.(ProductSearchServer).PurgeProducts(ctx, in)
3946 }
3947 info := &grpc.UnaryServerInfo{
3948 Server: srv,
3949 FullMethod: "/google.cloud.vision.v1.ProductSearch/PurgeProducts",
3950 }
3951 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3952 return srv.(ProductSearchServer).PurgeProducts(ctx, req.(*PurgeProductsRequest))
3953 }
3954 return interceptor(ctx, in, info, handler)
3955 }
3956
3957 var _ProductSearch_serviceDesc = grpc.ServiceDesc{
3958 ServiceName: "google.cloud.vision.v1.ProductSearch",
3959 HandlerType: (*ProductSearchServer)(nil),
3960 Methods: []grpc.MethodDesc{
3961 {
3962 MethodName: "CreateProductSet",
3963 Handler: _ProductSearch_CreateProductSet_Handler,
3964 },
3965 {
3966 MethodName: "ListProductSets",
3967 Handler: _ProductSearch_ListProductSets_Handler,
3968 },
3969 {
3970 MethodName: "GetProductSet",
3971 Handler: _ProductSearch_GetProductSet_Handler,
3972 },
3973 {
3974 MethodName: "UpdateProductSet",
3975 Handler: _ProductSearch_UpdateProductSet_Handler,
3976 },
3977 {
3978 MethodName: "DeleteProductSet",
3979 Handler: _ProductSearch_DeleteProductSet_Handler,
3980 },
3981 {
3982 MethodName: "CreateProduct",
3983 Handler: _ProductSearch_CreateProduct_Handler,
3984 },
3985 {
3986 MethodName: "ListProducts",
3987 Handler: _ProductSearch_ListProducts_Handler,
3988 },
3989 {
3990 MethodName: "GetProduct",
3991 Handler: _ProductSearch_GetProduct_Handler,
3992 },
3993 {
3994 MethodName: "UpdateProduct",
3995 Handler: _ProductSearch_UpdateProduct_Handler,
3996 },
3997 {
3998 MethodName: "DeleteProduct",
3999 Handler: _ProductSearch_DeleteProduct_Handler,
4000 },
4001 {
4002 MethodName: "CreateReferenceImage",
4003 Handler: _ProductSearch_CreateReferenceImage_Handler,
4004 },
4005 {
4006 MethodName: "DeleteReferenceImage",
4007 Handler: _ProductSearch_DeleteReferenceImage_Handler,
4008 },
4009 {
4010 MethodName: "ListReferenceImages",
4011 Handler: _ProductSearch_ListReferenceImages_Handler,
4012 },
4013 {
4014 MethodName: "GetReferenceImage",
4015 Handler: _ProductSearch_GetReferenceImage_Handler,
4016 },
4017 {
4018 MethodName: "AddProductToProductSet",
4019 Handler: _ProductSearch_AddProductToProductSet_Handler,
4020 },
4021 {
4022 MethodName: "RemoveProductFromProductSet",
4023 Handler: _ProductSearch_RemoveProductFromProductSet_Handler,
4024 },
4025 {
4026 MethodName: "ListProductsInProductSet",
4027 Handler: _ProductSearch_ListProductsInProductSet_Handler,
4028 },
4029 {
4030 MethodName: "ImportProductSets",
4031 Handler: _ProductSearch_ImportProductSets_Handler,
4032 },
4033 {
4034 MethodName: "PurgeProducts",
4035 Handler: _ProductSearch_PurgeProducts_Handler,
4036 },
4037 },
4038 Streams: []grpc.StreamDesc{},
4039 Metadata: "google/cloud/vision/v1/product_search_service.proto",
4040 }