Debian Codegraph @

shopping/merchant/productstudio/apiv1alpha/productstudiopb/image.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/shopping/merchant/productstudio/v1alpha/image.proto
20
21 package productstudiopb
22
23 import (
24 context "context"
25 _ "google.golang.org/genproto/googleapis/api/annotations"
26 grpc "google.golang.org/grpc"
27 codes "google.golang.org/grpc/codes"
28 status "google.golang.org/grpc/status"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
32 reflect "reflect"
33 sync "sync"
34 )
35
36 const (
37 // Verify that this generated code is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
39 // Verify that runtime/protoimpl is sufficiently up-to-date.
40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
41 )
42
43 // Request message for the GenerateProductImageBackground method.
44 type GenerateProductImageBackgroundRequest struct {
45 state protoimpl.MessageState
46 sizeCache protoimpl.SizeCache
47 unknownFields protoimpl.UnknownFields
48
49 // Required. The account for which to generate an image. This acts as a
50 // container for the request and does not affect the generation itself.
51 // Format: accounts/{account}
52 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
53 // Optional. Configuration for how the output image should be returned.
54 OutputConfig *OutputImageConfig `protobuf:"bytes,2,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
55 // Required. The input image.
56 InputImage *InputImage `protobuf:"bytes,3,opt,name=input_image,json=inputImage,proto3" json:"input_image,omitempty"`
57 // Required. Configuration parameters for the generation of the background.
58 Config *GenerateImageBackgroundConfig `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
59 }
60
61 func (x *GenerateProductImageBackgroundRequest) Reset() {
62 *x = GenerateProductImageBackgroundRequest{}
63 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[0]
64 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
65 ms.StoreMessageInfo(mi)
66 }
67
68 func (x *GenerateProductImageBackgroundRequest) String() string {
69 return protoimpl.X.MessageStringOf(x)
70 }
71
72 func (*GenerateProductImageBackgroundRequest) ProtoMessage() {}
73
74 func (x *GenerateProductImageBackgroundRequest) ProtoReflect() protoreflect.Message {
75 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[0]
76 if x != nil {
77 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
78 if ms.LoadMessageInfo() == nil {
79 ms.StoreMessageInfo(mi)
80 }
81 return ms
82 }
83 return mi.MessageOf(x)
84 }
85
86 // Deprecated: Use GenerateProductImageBackgroundRequest.ProtoReflect.Descriptor instead.
87 func (*GenerateProductImageBackgroundRequest) Descriptor() ([]byte, []int) {
88 return file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDescGZIP(), []int{0}
89 }
90
91 func (x *GenerateProductImageBackgroundRequest) GetName() string {
92 if x != nil {
93 return x.Name
94 }
95 return ""
96 }
97
98 func (x *GenerateProductImageBackgroundRequest) GetOutputConfig() *OutputImageConfig {
99 if x != nil {
100 return x.OutputConfig
101 }
102 return nil
103 }
104
105 func (x *GenerateProductImageBackgroundRequest) GetInputImage() *InputImage {
106 if x != nil {
107 return x.InputImage
108 }
109 return nil
110 }
111
112 func (x *GenerateProductImageBackgroundRequest) GetConfig() *GenerateImageBackgroundConfig {
113 if x != nil {
114 return x.Config
115 }
116 return nil
117 }
118
119 // Response message for the GenerateProductImageBackground method.
120 type GenerateProductImageBackgroundResponse struct {
121 state protoimpl.MessageState
122 sizeCache protoimpl.SizeCache
123 unknownFields protoimpl.UnknownFields
124
125 // The generated output image.
126 GeneratedImage *GeneratedImage `protobuf:"bytes,1,opt,name=generated_image,json=generatedImage,proto3" json:"generated_image,omitempty"`
127 }
128
129 func (x *GenerateProductImageBackgroundResponse) Reset() {
130 *x = GenerateProductImageBackgroundResponse{}
131 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[1]
132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
133 ms.StoreMessageInfo(mi)
134 }
135
136 func (x *GenerateProductImageBackgroundResponse) String() string {
137 return protoimpl.X.MessageStringOf(x)
138 }
139
140 func (*GenerateProductImageBackgroundResponse) ProtoMessage() {}
141
142 func (x *GenerateProductImageBackgroundResponse) ProtoReflect() protoreflect.Message {
143 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[1]
144 if x != nil {
145 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
146 if ms.LoadMessageInfo() == nil {
147 ms.StoreMessageInfo(mi)
148 }
149 return ms
150 }
151 return mi.MessageOf(x)
152 }
153
154 // Deprecated: Use GenerateProductImageBackgroundResponse.ProtoReflect.Descriptor instead.
155 func (*GenerateProductImageBackgroundResponse) Descriptor() ([]byte, []int) {
156 return file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDescGZIP(), []int{1}
157 }
158
159 func (x *GenerateProductImageBackgroundResponse) GetGeneratedImage() *GeneratedImage {
160 if x != nil {
161 return x.GeneratedImage
162 }
163 return nil
164 }
165
166 // Request message for the RemoveProductImageBackground method.
167 type RemoveProductImageBackgroundRequest struct {
168 state protoimpl.MessageState
169 sizeCache protoimpl.SizeCache
170 unknownFields protoimpl.UnknownFields
171
172 // Required. The account for which to generate an image. This acts as a
173 // container for the request and does not affect the generation itself.
174 // Format: accounts/{account}
175 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
176 // Optional. Configuration for how the output image should be returned.
177 OutputConfig *OutputImageConfig `protobuf:"bytes,2,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
178 // Required. The input image.
179 InputImage *InputImage `protobuf:"bytes,3,opt,name=input_image,json=inputImage,proto3" json:"input_image,omitempty"`
180 // Optional. Configuration parameters for the removal of the background.
181 Config *RemoveImageBackgroundConfig `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
182 }
183
184 func (x *RemoveProductImageBackgroundRequest) Reset() {
185 *x = RemoveProductImageBackgroundRequest{}
186 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[2]
187 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
188 ms.StoreMessageInfo(mi)
189 }
190
191 func (x *RemoveProductImageBackgroundRequest) String() string {
192 return protoimpl.X.MessageStringOf(x)
193 }
194
195 func (*RemoveProductImageBackgroundRequest) ProtoMessage() {}
196
197 func (x *RemoveProductImageBackgroundRequest) ProtoReflect() protoreflect.Message {
198 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[2]
199 if x != nil {
200 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
201 if ms.LoadMessageInfo() == nil {
202 ms.StoreMessageInfo(mi)
203 }
204 return ms
205 }
206 return mi.MessageOf(x)
207 }
208
209 // Deprecated: Use RemoveProductImageBackgroundRequest.ProtoReflect.Descriptor instead.
210 func (*RemoveProductImageBackgroundRequest) Descriptor() ([]byte, []int) {
211 return file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDescGZIP(), []int{2}
212 }
213
214 func (x *RemoveProductImageBackgroundRequest) GetName() string {
215 if x != nil {
216 return x.Name
217 }
218 return ""
219 }
220
221 func (x *RemoveProductImageBackgroundRequest) GetOutputConfig() *OutputImageConfig {
222 if x != nil {
223 return x.OutputConfig
224 }
225 return nil
226 }
227
228 func (x *RemoveProductImageBackgroundRequest) GetInputImage() *InputImage {
229 if x != nil {
230 return x.InputImage
231 }
232 return nil
233 }
234
235 func (x *RemoveProductImageBackgroundRequest) GetConfig() *RemoveImageBackgroundConfig {
236 if x != nil {
237 return x.Config
238 }
239 return nil
240 }
241
242 // Response message for the RemoveProductImageBackground method.
243 type RemoveProductImageBackgroundResponse struct {
244 state protoimpl.MessageState
245 sizeCache protoimpl.SizeCache
246 unknownFields protoimpl.UnknownFields
247
248 // The generated output image.
249 GeneratedImage *GeneratedImage `protobuf:"bytes,1,opt,name=generated_image,json=generatedImage,proto3" json:"generated_image,omitempty"`
250 }
251
252 func (x *RemoveProductImageBackgroundResponse) Reset() {
253 *x = RemoveProductImageBackgroundResponse{}
254 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[3]
255 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
256 ms.StoreMessageInfo(mi)
257 }
258
259 func (x *RemoveProductImageBackgroundResponse) String() string {
260 return protoimpl.X.MessageStringOf(x)
261 }
262
263 func (*RemoveProductImageBackgroundResponse) ProtoMessage() {}
264
265 func (x *RemoveProductImageBackgroundResponse) ProtoReflect() protoreflect.Message {
266 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[3]
267 if x != nil {
268 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
269 if ms.LoadMessageInfo() == nil {
270 ms.StoreMessageInfo(mi)
271 }
272 return ms
273 }
274 return mi.MessageOf(x)
275 }
276
277 // Deprecated: Use RemoveProductImageBackgroundResponse.ProtoReflect.Descriptor instead.
278 func (*RemoveProductImageBackgroundResponse) Descriptor() ([]byte, []int) {
279 return file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDescGZIP(), []int{3}
280 }
281
282 func (x *RemoveProductImageBackgroundResponse) GetGeneratedImage() *GeneratedImage {
283 if x != nil {
284 return x.GeneratedImage
285 }
286 return nil
287 }
288
289 // Request message for the UpscaleProductImage method.
290 type UpscaleProductImageRequest struct {
291 state protoimpl.MessageState
292 sizeCache protoimpl.SizeCache
293 unknownFields protoimpl.UnknownFields
294
295 // Required. The account for which to generate an image. This acts as a
296 // container for the request and does not affect the generation itself.
297 // Format: accounts/{account}
298 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
299 // Optional. Configuration for how the output image should be returned.
300 OutputConfig *OutputImageConfig `protobuf:"bytes,2,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
301 // Required. The input image.
302 InputImage *InputImage `protobuf:"bytes,3,opt,name=input_image,json=inputImage,proto3" json:"input_image,omitempty"`
303 }
304
305 func (x *UpscaleProductImageRequest) Reset() {
306 *x = UpscaleProductImageRequest{}
307 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[4]
308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
309 ms.StoreMessageInfo(mi)
310 }
311
312 func (x *UpscaleProductImageRequest) String() string {
313 return protoimpl.X.MessageStringOf(x)
314 }
315
316 func (*UpscaleProductImageRequest) ProtoMessage() {}
317
318 func (x *UpscaleProductImageRequest) ProtoReflect() protoreflect.Message {
319 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[4]
320 if x != nil {
321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
322 if ms.LoadMessageInfo() == nil {
323 ms.StoreMessageInfo(mi)
324 }
325 return ms
326 }
327 return mi.MessageOf(x)
328 }
329
330 // Deprecated: Use UpscaleProductImageRequest.ProtoReflect.Descriptor instead.
331 func (*UpscaleProductImageRequest) Descriptor() ([]byte, []int) {
332 return file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDescGZIP(), []int{4}
333 }
334
335 func (x *UpscaleProductImageRequest) GetName() string {
336 if x != nil {
337 return x.Name
338 }
339 return ""
340 }
341
342 func (x *UpscaleProductImageRequest) GetOutputConfig() *OutputImageConfig {
343 if x != nil {
344 return x.OutputConfig
345 }
346 return nil
347 }
348
349 func (x *UpscaleProductImageRequest) GetInputImage() *InputImage {
350 if x != nil {
351 return x.InputImage
352 }
353 return nil
354 }
355
356 // Response message for the UpscaleProductImage method.
357 type UpscaleProductImageResponse struct {
358 state protoimpl.MessageState
359 sizeCache protoimpl.SizeCache
360 unknownFields protoimpl.UnknownFields
361
362 // The generated output image.
363 GeneratedImage *GeneratedImage `protobuf:"bytes,1,opt,name=generated_image,json=generatedImage,proto3" json:"generated_image,omitempty"`
364 }
365
366 func (x *UpscaleProductImageResponse) Reset() {
367 *x = UpscaleProductImageResponse{}
368 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[5]
369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
370 ms.StoreMessageInfo(mi)
371 }
372
373 func (x *UpscaleProductImageResponse) String() string {
374 return protoimpl.X.MessageStringOf(x)
375 }
376
377 func (*UpscaleProductImageResponse) ProtoMessage() {}
378
379 func (x *UpscaleProductImageResponse) ProtoReflect() protoreflect.Message {
380 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[5]
381 if x != nil {
382 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
383 if ms.LoadMessageInfo() == nil {
384 ms.StoreMessageInfo(mi)
385 }
386 return ms
387 }
388 return mi.MessageOf(x)
389 }
390
391 // Deprecated: Use UpscaleProductImageResponse.ProtoReflect.Descriptor instead.
392 func (*UpscaleProductImageResponse) Descriptor() ([]byte, []int) {
393 return file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDescGZIP(), []int{5}
394 }
395
396 func (x *UpscaleProductImageResponse) GetGeneratedImage() *GeneratedImage {
397 if x != nil {
398 return x.GeneratedImage
399 }
400 return nil
401 }
402
403 // Represents a generated image object.
404 type GeneratedImage struct {
405 state protoimpl.MessageState
406 sizeCache protoimpl.SizeCache
407 unknownFields protoimpl.UnknownFields
408
409 // The generated image.
410 //
411 // Types that are assignable to Image:
412 //
413 // *GeneratedImage_Uri
414 // *GeneratedImage_ImageBytes
415 Image isGeneratedImage_Image `protobuf_oneof:"image"`
416 // Identifier. The unique key for the image.
417 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
418 // The timestamp when the image was generated.
419 GenerationTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=generation_time,json=generationTime,proto3" json:"generation_time,omitempty"`
420 }
421
422 func (x *GeneratedImage) Reset() {
423 *x = GeneratedImage{}
424 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[6]
425 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
426 ms.StoreMessageInfo(mi)
427 }
428
429 func (x *GeneratedImage) String() string {
430 return protoimpl.X.MessageStringOf(x)
431 }
432
433 func (*GeneratedImage) ProtoMessage() {}
434
435 func (x *GeneratedImage) ProtoReflect() protoreflect.Message {
436 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[6]
437 if x != nil {
438 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
439 if ms.LoadMessageInfo() == nil {
440 ms.StoreMessageInfo(mi)
441 }
442 return ms
443 }
444 return mi.MessageOf(x)
445 }
446
447 // Deprecated: Use GeneratedImage.ProtoReflect.Descriptor instead.
448 func (*GeneratedImage) Descriptor() ([]byte, []int) {
449 return file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDescGZIP(), []int{6}
450 }
451
452 func (m *GeneratedImage) GetImage() isGeneratedImage_Image {
453 if m != nil {
454 return m.Image
455 }
456 return nil
457 }
458
459 func (x *GeneratedImage) GetUri() string {
460 if x, ok := x.GetImage().(*GeneratedImage_Uri); ok {
461 return x.Uri
462 }
463 return ""
464 }
465
466 func (x *GeneratedImage) GetImageBytes() []byte {
467 if x, ok := x.GetImage().(*GeneratedImage_ImageBytes); ok {
468 return x.ImageBytes
469 }
470 return nil
471 }
472
473 func (x *GeneratedImage) GetName() string {
474 if x != nil {
475 return x.Name
476 }
477 return ""
478 }
479
480 func (x *GeneratedImage) GetGenerationTime() *timestamppb.Timestamp {
481 if x != nil {
482 return x.GenerationTime
483 }
484 return nil
485 }
486
487 type isGeneratedImage_Image interface {
488 isGeneratedImage_Image()
489 }
490
491 type GeneratedImage_Uri struct {
492 // Generally web-requestable URI of the generated image. This is a temporary
493 // URI and will expire after 6 months. A URI may not be populated
494 // immediately after generation. Use get or list api using image_id to get
495 // the URI.
496 Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"`
497 }
498
499 type GeneratedImage_ImageBytes struct {
500 // Raw bytes for the image.
501 ImageBytes []byte `protobuf:"bytes,3,opt,name=image_bytes,json=imageBytes,proto3,oneof"`
502 }
503
504 func (*GeneratedImage_Uri) isGeneratedImage_Image() {}
505
506 func (*GeneratedImage_ImageBytes) isGeneratedImage_Image() {}
507
508 // Configuration for how the output image should be returned.
509 type OutputImageConfig struct {
510 state protoimpl.MessageState
511 sizeCache protoimpl.SizeCache
512 unknownFields protoimpl.UnknownFields
513
514 // Optional. If true, returns the output images as serving uris instead of
515 // bytes.
516 ReturnImageUri bool `protobuf:"varint,1,opt,name=return_image_uri,json=returnImageUri,proto3" json:"return_image_uri,omitempty"`
517 }
518
519 func (x *OutputImageConfig) Reset() {
520 *x = OutputImageConfig{}
521 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[7]
522 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
523 ms.StoreMessageInfo(mi)
524 }
525
526 func (x *OutputImageConfig) String() string {
527 return protoimpl.X.MessageStringOf(x)
528 }
529
530 func (*OutputImageConfig) ProtoMessage() {}
531
532 func (x *OutputImageConfig) ProtoReflect() protoreflect.Message {
533 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[7]
534 if x != nil {
535 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
536 if ms.LoadMessageInfo() == nil {
537 ms.StoreMessageInfo(mi)
538 }
539 return ms
540 }
541 return mi.MessageOf(x)
542 }
543
544 // Deprecated: Use OutputImageConfig.ProtoReflect.Descriptor instead.
545 func (*OutputImageConfig) Descriptor() ([]byte, []int) {
546 return file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDescGZIP(), []int{7}
547 }
548
549 func (x *OutputImageConfig) GetReturnImageUri() bool {
550 if x != nil {
551 return x.ReturnImageUri
552 }
553 return false
554 }
555
556 // Client provided input configuration for generating the background.
557 type GenerateImageBackgroundConfig struct {
558 state protoimpl.MessageState
559 sizeCache protoimpl.SizeCache
560 unknownFields protoimpl.UnknownFields
561
562 // Required. Example: "Hat on a baseball field"
563 // "Hat" = product description
564 // Description of product.
565 ProductDescription string `protobuf:"bytes,1,opt,name=product_description,json=productDescription,proto3" json:"product_description,omitempty"`
566 // Required. Example: "Hat on a baseball field"
567 // "on a baseball field" = background description
568 // Description of wanted background.
569 BackgroundDescription string `protobuf:"bytes,2,opt,name=background_description,json=backgroundDescription,proto3" json:"background_description,omitempty"`
570 }
571
572 func (x *GenerateImageBackgroundConfig) Reset() {
573 *x = GenerateImageBackgroundConfig{}
574 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[8]
575 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
576 ms.StoreMessageInfo(mi)
577 }
578
579 func (x *GenerateImageBackgroundConfig) String() string {
580 return protoimpl.X.MessageStringOf(x)
581 }
582
583 func (*GenerateImageBackgroundConfig) ProtoMessage() {}
584
585 func (x *GenerateImageBackgroundConfig) ProtoReflect() protoreflect.Message {
586 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[8]
587 if x != nil {
588 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
589 if ms.LoadMessageInfo() == nil {
590 ms.StoreMessageInfo(mi)
591 }
592 return ms
593 }
594 return mi.MessageOf(x)
595 }
596
597 // Deprecated: Use GenerateImageBackgroundConfig.ProtoReflect.Descriptor instead.
598 func (*GenerateImageBackgroundConfig) Descriptor() ([]byte, []int) {
599 return file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDescGZIP(), []int{8}
600 }
601
602 func (x *GenerateImageBackgroundConfig) GetProductDescription() string {
603 if x != nil {
604 return x.ProductDescription
605 }
606 return ""
607 }
608
609 func (x *GenerateImageBackgroundConfig) GetBackgroundDescription() string {
610 if x != nil {
611 return x.BackgroundDescription
612 }
613 return ""
614 }
615
616 // Client provided input configuration for removing the background.
617 type RemoveImageBackgroundConfig struct {
618 state protoimpl.MessageState
619 sizeCache protoimpl.SizeCache
620 unknownFields protoimpl.UnknownFields
621
622 // Optional. If set, the result of background removal will be an RGB image
623 // with this given color as the background, instead of an RGBA 4-channel
624 // transparent image.
625 BackgroundColor *RgbColor `protobuf:"bytes,1,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"`
626 }
627
628 func (x *RemoveImageBackgroundConfig) Reset() {
629 *x = RemoveImageBackgroundConfig{}
630 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[9]
631 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
632 ms.StoreMessageInfo(mi)
633 }
634
635 func (x *RemoveImageBackgroundConfig) String() string {
636 return protoimpl.X.MessageStringOf(x)
637 }
638
639 func (*RemoveImageBackgroundConfig) ProtoMessage() {}
640
641 func (x *RemoveImageBackgroundConfig) ProtoReflect() protoreflect.Message {
642 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[9]
643 if x != nil {
644 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
645 if ms.LoadMessageInfo() == nil {
646 ms.StoreMessageInfo(mi)
647 }
648 return ms
649 }
650 return mi.MessageOf(x)
651 }
652
653 // Deprecated: Use RemoveImageBackgroundConfig.ProtoReflect.Descriptor instead.
654 func (*RemoveImageBackgroundConfig) Descriptor() ([]byte, []int) {
655 return file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDescGZIP(), []int{9}
656 }
657
658 func (x *RemoveImageBackgroundConfig) GetBackgroundColor() *RgbColor {
659 if x != nil {
660 return x.BackgroundColor
661 }
662 return nil
663 }
664
665 // Represents a color in RGB format.
666 type RgbColor struct {
667 state protoimpl.MessageState
668 sizeCache protoimpl.SizeCache
669 unknownFields protoimpl.UnknownFields
670
671 // Optional. Values in [0, 255].
672 Red int32 `protobuf:"varint,1,opt,name=red,proto3" json:"red,omitempty"`
673 // Optional. Values in [0, 255].
674 Green int32 `protobuf:"varint,2,opt,name=green,proto3" json:"green,omitempty"`
675 // Optional. Values in [0, 255].
676 Blue int32 `protobuf:"varint,3,opt,name=blue,proto3" json:"blue,omitempty"`
677 }
678
679 func (x *RgbColor) Reset() {
680 *x = RgbColor{}
681 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[10]
682 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
683 ms.StoreMessageInfo(mi)
684 }
685
686 func (x *RgbColor) String() string {
687 return protoimpl.X.MessageStringOf(x)
688 }
689
690 func (*RgbColor) ProtoMessage() {}
691
692 func (x *RgbColor) ProtoReflect() protoreflect.Message {
693 mi := &file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[10]
694 if x != nil {
695 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
696 if ms.LoadMessageInfo() == nil {
697 ms.StoreMessageInfo(mi)
698 }
699 return ms
700 }
701 return mi.MessageOf(x)
702 }
703
704 // Deprecated: Use RgbColor.ProtoReflect.Descriptor instead.
705 func (*RgbColor) Descriptor() ([]byte, []int) {
706 return file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDescGZIP(), []int{10}
707 }
708
709 func (x *RgbColor) GetRed() int32 {
710 if x != nil {
711 return x.Red
712 }
713 return 0
714 }
715
716 func (x *RgbColor) GetGreen() int32 {
717 if x != nil {
718 return x.Green
719 }
720 return 0
721 }
722
723 func (x *RgbColor) GetBlue() int32 {
724 if x != nil {
725 return x.Blue
726 }
727 return 0
728 }
729
730 var File_google_shopping_merchant_productstudio_v1alpha_image_proto protoreflect.FileDescriptor
731
732 var file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDesc = []byte{
733 0x0a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
734 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75,
735 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
736 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2e, 0x67, 0x6f,
737 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
738 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74,
739 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1c, 0x67, 0x6f,
740 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
741 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67,
742 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72,
743 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
744 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70,
745 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
746 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
747 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
748 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
749 0x1a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
750 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75,
751 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
752 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x63,
753 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfb, 0x02, 0x0a, 0x25,
754 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49,
755 0x6d, 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x65,
756 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
757 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x6b,
758 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18,
759 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
760 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74,
761 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76,
762 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x49, 0x6d, 0x61,
763 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x6f,
764 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x60, 0x0a, 0x0b, 0x69,
765 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
766 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
767 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64,
768 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
769 0x61, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x03, 0xe0, 0x41,
770 0x02, 0x52, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x6a, 0x0a,
771 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4d, 0x2e,
772 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e,
773 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
774 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47,
775 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b,
776 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41,
777 0x02, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x91, 0x01, 0x0a, 0x26, 0x47, 0x65,
778 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6d, 0x61,
779 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70,
780 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x67, 0x0a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,
781 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e,
782 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e,
783 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
784 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47,
785 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x0e, 0x67,
786 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x22, 0xf7, 0x02,
787 0x0a, 0x23, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49,
788 0x6d, 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x65,
789 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
790 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x6b,
791 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18,
792 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
793 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74,
794 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76,
795 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x49, 0x6d, 0x61,
796 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x6f,
797 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x60, 0x0a, 0x0b, 0x69,
798 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
799 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
800 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64,
801 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
802 0x61, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x03, 0xe0, 0x41,
803 0x02, 0x52, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x68, 0x0a,
804 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4b, 0x2e,
805 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e,
806 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
807 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52,
808 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x67, 0x72,
809 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
810 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x8f, 0x01, 0x0a, 0x24, 0x52, 0x65, 0x6d, 0x6f,
811 0x76, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x61,
812 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
813 0x12, 0x67, 0x0a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6d,
814 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
815 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63,
816 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64,
817 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72,
818 0x61, 0x74, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x72,
819 0x61, 0x74, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x22, 0x84, 0x02, 0x0a, 0x1a, 0x55, 0x70,
820 0x73, 0x63, 0x61, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6d, 0x61, 0x67,
821 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
822 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d,
823 0x65, 0x12, 0x6b, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
824 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
825 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68,
826 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69,
827 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74,
828 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01,
829 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x60,
830 0x0a, 0x0b, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20,
831 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f,
832 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70,
833 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61,
834 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42,
835 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65,
836 0x22, 0x86, 0x01, 0x0a, 0x1b, 0x55, 0x70, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x64,
837 0x75, 0x63, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
838 0x12, 0x67, 0x0a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6d,
839 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
840 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63,
841 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64,
842 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72,
843 0x61, 0x74, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x72,
844 0x61, 0x74, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x22, 0xb7, 0x02, 0x0a, 0x0e, 0x47, 0x65,
845 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x03,
846 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 0x69,
847 0x12, 0x21, 0x0a, 0x0b, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18,
848 0x03, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x79,
849 0x74, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
850 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0f,
851 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
852 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
853 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
854 0x70, 0x52, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d,
855 0x65, 0x3a, 0x86, 0x01, 0xea, 0x41, 0x82, 0x01, 0x0a, 0x29, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61,
856 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
857 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6d,
858 0x61, 0x67, 0x65, 0x12, 0x34, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61,
859 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,
860 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x7b, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
861 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x7d, 0x2a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72,
862 0x61, 0x74, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x32, 0x0e, 0x67, 0x65, 0x6e, 0x65,
863 0x72, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x69, 0x6d,
864 0x61, 0x67, 0x65, 0x22, 0x42, 0x0a, 0x11, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x49, 0x6d, 0x61,
865 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2d, 0x0a, 0x10, 0x72, 0x65, 0x74, 0x75,
866 0x72, 0x6e, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01,
867 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x49,
868 0x6d, 0x61, 0x67, 0x65, 0x55, 0x72, 0x69, 0x22, 0x91, 0x01, 0x0a, 0x1d, 0x47, 0x65, 0x6e, 0x65,
869 0x72, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f,
870 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x34, 0x0a, 0x13, 0x70, 0x72, 0x6f,
871 0x64, 0x75, 0x63, 0x74, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
872 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x12, 0x70, 0x72, 0x6f,
873 0x64, 0x75, 0x63, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12,
874 0x3a, 0x0a, 0x16, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x64, 0x65,
875 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
876 0x03, 0xe0, 0x41, 0x02, 0x52, 0x15, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64,
877 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x87, 0x01, 0x0a, 0x1b,
878 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x67,
879 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x68, 0x0a, 0x10, 0x62,
880 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18,
881 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
882 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74,
883 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76,
884 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x67, 0x62, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x42,
885 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64,
886 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x22, 0x55, 0x0a, 0x08, 0x52, 0x67, 0x62, 0x43, 0x6f, 0x6c, 0x6f,
887 0x72, 0x12, 0x15, 0x0a, 0x03, 0x72, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03,
888 0xe0, 0x41, 0x01, 0x52, 0x03, 0x72, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x05, 0x67, 0x72, 0x65, 0x65,
889 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x05, 0x67, 0x72,
890 0x65, 0x65, 0x6e, 0x12, 0x17, 0x0a, 0x04, 0x62, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
891 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x62, 0x6c, 0x75, 0x65, 0x32, 0xda, 0x07, 0x0a,
892 0x0c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xba, 0x02,
893 0x0a, 0x1e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
894 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64,
895 0x12, 0x55, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
896 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64,
897 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
898 0x61, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
899 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64,
900 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x56, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
901 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61,
902 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f,
903 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
904 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x61, 0x63,
905 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
906 0x69, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5c, 0x3a, 0x01,
907 0x2a, 0x22, 0x57, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69,
908 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
909 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x67, 0x65, 0x6e, 0x65,
910 0x72, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x3a, 0x67, 0x65, 0x6e, 0x65,
911 0x72, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65,
912 0x42, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0xb2, 0x02, 0x0a, 0x1c, 0x52,
913 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6d, 0x61, 0x67,
914 0x65, 0x42, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x53, 0x2e, 0x67, 0x6f,
915 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
916 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74,
917 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x6d,
918 0x6f, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42,
919 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
920 0x1a, 0x54, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
921 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64,
922 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
923 0x61, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49,
924 0x6d, 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x65,
925 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82,
926 0xd3, 0xe4, 0x93, 0x02, 0x5a, 0x3a, 0x01, 0x2a, 0x22, 0x55, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75,
927 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
928 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f,
929 0x2a, 0x7d, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67,
930 0x65, 0x73, 0x3a, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
931 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12,
932 0x8e, 0x02, 0x0a, 0x13, 0x55, 0x70, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75,
933 0x63, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x4a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
934 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61,
935 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f,
936 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x55, 0x70, 0x73, 0x63, 0x61, 0x6c, 0x65,
937 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75,
938 0x65, 0x73, 0x74, 0x1a, 0x4b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f,
939 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70,
940 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61,
941 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x55, 0x70, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x64,
942 0x75, 0x63, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
943 0x22, 0x5e, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x51, 0x3a,
944 0x01, 0x2a, 0x22, 0x4c, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64,
945 0x69, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
946 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x67, 0x65, 0x6e,
947 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x3a, 0x75, 0x70, 0x73,
948 0x63, 0x61, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65,
949 0x1a, 0x47, 0xca, 0x41, 0x1a, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69,
950 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2,
951 0x41, 0x27, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f,
952 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74,
953 0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0xa2, 0x01, 0x0a, 0x32, 0x63, 0x6f,
954 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
955 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75,
956 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
957 0x42, 0x0a, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5e,
958 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
959 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72,
960 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75,
961 0x64, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x70,
962 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x70, 0x62, 0x3b, 0x70,
963 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x70, 0x62, 0x62, 0x06,
964 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
965 }
966
967 var (
968 file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDescOnce sync.Once
969 file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDescData = file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDesc
970 )
971
972 func file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDescGZIP() []byte {
973 file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDescOnce.Do(func() {
974 file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDescData)
975 })
976 return file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDescData
977 }
978
979 var file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
980 var file_google_shopping_merchant_productstudio_v1alpha_image_proto_goTypes = []any{
981 (*GenerateProductImageBackgroundRequest)(nil), // 0: google.shopping.merchant.productstudio.v1alpha.GenerateProductImageBackgroundRequest
982 (*GenerateProductImageBackgroundResponse)(nil), // 1: google.shopping.merchant.productstudio.v1alpha.GenerateProductImageBackgroundResponse
983 (*RemoveProductImageBackgroundRequest)(nil), // 2: google.shopping.merchant.productstudio.v1alpha.RemoveProductImageBackgroundRequest
984 (*RemoveProductImageBackgroundResponse)(nil), // 3: google.shopping.merchant.productstudio.v1alpha.RemoveProductImageBackgroundResponse
985 (*UpscaleProductImageRequest)(nil), // 4: google.shopping.merchant.productstudio.v1alpha.UpscaleProductImageRequest
986 (*UpscaleProductImageResponse)(nil), // 5: google.shopping.merchant.productstudio.v1alpha.UpscaleProductImageResponse
987 (*GeneratedImage)(nil), // 6: google.shopping.merchant.productstudio.v1alpha.GeneratedImage
988 (*OutputImageConfig)(nil), // 7: google.shopping.merchant.productstudio.v1alpha.OutputImageConfig
989 (*GenerateImageBackgroundConfig)(nil), // 8: google.shopping.merchant.productstudio.v1alpha.GenerateImageBackgroundConfig
990 (*RemoveImageBackgroundConfig)(nil), // 9: google.shopping.merchant.productstudio.v1alpha.RemoveImageBackgroundConfig
991 (*RgbColor)(nil), // 10: google.shopping.merchant.productstudio.v1alpha.RgbColor
992 (*InputImage)(nil), // 11: google.shopping.merchant.productstudio.v1alpha.InputImage
993 (*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp
994 }
995 var file_google_shopping_merchant_productstudio_v1alpha_image_proto_depIdxs = []int32{
996 7, // 0: google.shopping.merchant.productstudio.v1alpha.GenerateProductImageBackgroundRequest.output_config:type_name -> google.shopping.merchant.productstudio.v1alpha.OutputImageConfig
997 11, // 1: google.shopping.merchant.productstudio.v1alpha.GenerateProductImageBackgroundRequest.input_image:type_name -> google.shopping.merchant.productstudio.v1alpha.InputImage
998 8, // 2: google.shopping.merchant.productstudio.v1alpha.GenerateProductImageBackgroundRequest.config:type_name -> google.shopping.merchant.productstudio.v1alpha.GenerateImageBackgroundConfig
999 6, // 3: google.shopping.merchant.productstudio.v1alpha.GenerateProductImageBackgroundResponse.generated_image:type_name -> google.shopping.merchant.productstudio.v1alpha.GeneratedImage
1000 7, // 4: google.shopping.merchant.productstudio.v1alpha.RemoveProductImageBackgroundRequest.output_config:type_name -> google.shopping.merchant.productstudio.v1alpha.OutputImageConfig
1001 11, // 5: google.shopping.merchant.productstudio.v1alpha.RemoveProductImageBackgroundRequest.input_image:type_name -> google.shopping.merchant.productstudio.v1alpha.InputImage
1002 9, // 6: google.shopping.merchant.productstudio.v1alpha.RemoveProductImageBackgroundRequest.config:type_name -> google.shopping.merchant.productstudio.v1alpha.RemoveImageBackgroundConfig
1003 6, // 7: google.shopping.merchant.productstudio.v1alpha.RemoveProductImageBackgroundResponse.generated_image:type_name -> google.shopping.merchant.productstudio.v1alpha.GeneratedImage
1004 7, // 8: google.shopping.merchant.productstudio.v1alpha.UpscaleProductImageRequest.output_config:type_name -> google.shopping.merchant.productstudio.v1alpha.OutputImageConfig
1005 11, // 9: google.shopping.merchant.productstudio.v1alpha.UpscaleProductImageRequest.input_image:type_name -> google.shopping.merchant.productstudio.v1alpha.InputImage
1006 6, // 10: google.shopping.merchant.productstudio.v1alpha.UpscaleProductImageResponse.generated_image:type_name -> google.shopping.merchant.productstudio.v1alpha.GeneratedImage
1007 12, // 11: google.shopping.merchant.productstudio.v1alpha.GeneratedImage.generation_time:type_name -> google.protobuf.Timestamp
1008 10, // 12: google.shopping.merchant.productstudio.v1alpha.RemoveImageBackgroundConfig.background_color:type_name -> google.shopping.merchant.productstudio.v1alpha.RgbColor
1009 0, // 13: google.shopping.merchant.productstudio.v1alpha.ImageService.GenerateProductImageBackground:input_type -> google.shopping.merchant.productstudio.v1alpha.GenerateProductImageBackgroundRequest
1010 2, // 14: google.shopping.merchant.productstudio.v1alpha.ImageService.RemoveProductImageBackground:input_type -> google.shopping.merchant.productstudio.v1alpha.RemoveProductImageBackgroundRequest
1011 4, // 15: google.shopping.merchant.productstudio.v1alpha.ImageService.UpscaleProductImage:input_type -> google.shopping.merchant.productstudio.v1alpha.UpscaleProductImageRequest
1012 1, // 16: google.shopping.merchant.productstudio.v1alpha.ImageService.GenerateProductImageBackground:output_type -> google.shopping.merchant.productstudio.v1alpha.GenerateProductImageBackgroundResponse
1013 3, // 17: google.shopping.merchant.productstudio.v1alpha.ImageService.RemoveProductImageBackground:output_type -> google.shopping.merchant.productstudio.v1alpha.RemoveProductImageBackgroundResponse
1014 5, // 18: google.shopping.merchant.productstudio.v1alpha.ImageService.UpscaleProductImage:output_type -> google.shopping.merchant.productstudio.v1alpha.UpscaleProductImageResponse
1015 16, // [16:19] is the sub-list for method output_type
1016 13, // [13:16] is the sub-list for method input_type
1017 13, // [13:13] is the sub-list for extension type_name
1018 13, // [13:13] is the sub-list for extension extendee
1019 0, // [0:13] is the sub-list for field type_name
1020 }
1021
1022 func init() { file_google_shopping_merchant_productstudio_v1alpha_image_proto_init() }
1023 func file_google_shopping_merchant_productstudio_v1alpha_image_proto_init() {
1024 if File_google_shopping_merchant_productstudio_v1alpha_image_proto != nil {
1025 return
1026 }
1027 file_google_shopping_merchant_productstudio_v1alpha_productstudio_common_proto_init()
1028 file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes[6].OneofWrappers = []any{
1029 (*GeneratedImage_Uri)(nil),
1030 (*GeneratedImage_ImageBytes)(nil),
1031 }
1032 type x struct{}
1033 out := protoimpl.TypeBuilder{
1034 File: protoimpl.DescBuilder{
1035 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1036 RawDescriptor: file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDesc,
1037 NumEnums: 0,
1038 NumMessages: 11,
1039 NumExtensions: 0,
1040 NumServices: 1,
1041 },
1042 GoTypes: file_google_shopping_merchant_productstudio_v1alpha_image_proto_goTypes,
1043 DependencyIndexes: file_google_shopping_merchant_productstudio_v1alpha_image_proto_depIdxs,
1044 MessageInfos: file_google_shopping_merchant_productstudio_v1alpha_image_proto_msgTypes,
1045 }.Build()
1046 File_google_shopping_merchant_productstudio_v1alpha_image_proto = out.File
1047 file_google_shopping_merchant_productstudio_v1alpha_image_proto_rawDesc = nil
1048 file_google_shopping_merchant_productstudio_v1alpha_image_proto_goTypes = nil
1049 file_google_shopping_merchant_productstudio_v1alpha_image_proto_depIdxs = nil
1050 }
1051
1052 // Reference imports to suppress errors if they are not otherwise used.
1053 var _ context.Context
1054 var _ grpc.ClientConnInterface
1055
1056 // This is a compile-time assertion to ensure that this generated file
1057 // is compatible with the grpc package it is being compiled against.
1058 const _ = grpc.SupportPackageIsVersion6
1059
1060 // ImageServiceClient is the client API for ImageService service.
1061 //
1062 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1063 type ImageServiceClient interface {
1064 // GenerateProductImageBackground generates a new image where the background
1065 // of the original image is replaced by an AI generated scene based on
1066 // provided product information and a text prompt.
1067 GenerateProductImageBackground(ctx context.Context, in *GenerateProductImageBackgroundRequest, opts ...grpc.CallOption) (*GenerateProductImageBackgroundResponse, error)
1068 // RemoveProductImageBackground generates a new image where the background of
1069 // the original image is removed.
1070 RemoveProductImageBackground(ctx context.Context, in *RemoveProductImageBackgroundRequest, opts ...grpc.CallOption) (*RemoveProductImageBackgroundResponse, error)
1071 // UpscaleProductImage generates a new image where the resolution of the
1072 // original image is enhanced.
1073 UpscaleProductImage(ctx context.Context, in *UpscaleProductImageRequest, opts ...grpc.CallOption) (*UpscaleProductImageResponse, error)
1074 }
1075
1076 type imageServiceClient struct {
1077 cc grpc.ClientConnInterface
1078 }
1079
1080 func NewImageServiceClient(cc grpc.ClientConnInterface) ImageServiceClient {
1081 return &imageServiceClient{cc}
1082 }
1083
1084 func (c *imageServiceClient) GenerateProductImageBackground(ctx context.Context, in *GenerateProductImageBackgroundRequest, opts ...grpc.CallOption) (*GenerateProductImageBackgroundResponse, error) {
1085 out := new(GenerateProductImageBackgroundResponse)
1086 err := c.cc.Invoke(ctx, "/google.shopping.merchant.productstudio.v1alpha.ImageService/GenerateProductImageBackground", in, out, opts...)
1087 if err != nil {
1088 return nil, err
1089 }
1090 return out, nil
1091 }
1092
1093 func (c *imageServiceClient) RemoveProductImageBackground(ctx context.Context, in *RemoveProductImageBackgroundRequest, opts ...grpc.CallOption) (*RemoveProductImageBackgroundResponse, error) {
1094 out := new(RemoveProductImageBackgroundResponse)
1095 err := c.cc.Invoke(ctx, "/google.shopping.merchant.productstudio.v1alpha.ImageService/RemoveProductImageBackground", in, out, opts...)
1096 if err != nil {
1097 return nil, err
1098 }
1099 return out, nil
1100 }
1101
1102 func (c *imageServiceClient) UpscaleProductImage(ctx context.Context, in *UpscaleProductImageRequest, opts ...grpc.CallOption) (*UpscaleProductImageResponse, error) {
1103 out := new(UpscaleProductImageResponse)
1104 err := c.cc.Invoke(ctx, "/google.shopping.merchant.productstudio.v1alpha.ImageService/UpscaleProductImage", in, out, opts...)
1105 if err != nil {
1106 return nil, err
1107 }
1108 return out, nil
1109 }
1110
1111 // ImageServiceServer is the server API for ImageService service.
1112 type ImageServiceServer interface {
1113 // GenerateProductImageBackground generates a new image where the background
1114 // of the original image is replaced by an AI generated scene based on
1115 // provided product information and a text prompt.
1116 GenerateProductImageBackground(context.Context, *GenerateProductImageBackgroundRequest) (*GenerateProductImageBackgroundResponse, error)
1117 // RemoveProductImageBackground generates a new image where the background of
1118 // the original image is removed.
1119 RemoveProductImageBackground(context.Context, *RemoveProductImageBackgroundRequest) (*RemoveProductImageBackgroundResponse, error)
1120 // UpscaleProductImage generates a new image where the resolution of the
1121 // original image is enhanced.
1122 UpscaleProductImage(context.Context, *UpscaleProductImageRequest) (*UpscaleProductImageResponse, error)
1123 }
1124
1125 // UnimplementedImageServiceServer can be embedded to have forward compatible implementations.
1126 type UnimplementedImageServiceServer struct {
1127 }
1128
1129 func (*UnimplementedImageServiceServer) GenerateProductImageBackground(context.Context, *GenerateProductImageBackgroundRequest) (*GenerateProductImageBackgroundResponse, error) {
1130 return nil, status.Errorf(codes.Unimplemented, "method GenerateProductImageBackground not implemented")
1131 }
1132 func (*UnimplementedImageServiceServer) RemoveProductImageBackground(context.Context, *RemoveProductImageBackgroundRequest) (*RemoveProductImageBackgroundResponse, error) {
1133 return nil, status.Errorf(codes.Unimplemented, "method RemoveProductImageBackground not implemented")
1134 }
1135 func (*UnimplementedImageServiceServer) UpscaleProductImage(context.Context, *UpscaleProductImageRequest) (*UpscaleProductImageResponse, error) {
1136 return nil, status.Errorf(codes.Unimplemented, "method UpscaleProductImage not implemented")
1137 }
1138
1139 func RegisterImageServiceServer(s *grpc.Server, srv ImageServiceServer) {
1140 s.RegisterService(&_ImageService_serviceDesc, srv)
1141 }
1142
1143 func _ImageService_GenerateProductImageBackground_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1144 in := new(GenerateProductImageBackgroundRequest)
1145 if err := dec(in); err != nil {
1146 return nil, err
1147 }
1148 if interceptor == nil {
1149 return srv.(ImageServiceServer).GenerateProductImageBackground(ctx, in)
1150 }
1151 info := &grpc.UnaryServerInfo{
1152 Server: srv,
1153 FullMethod: "/google.shopping.merchant.productstudio.v1alpha.ImageService/GenerateProductImageBackground",
1154 }
1155 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1156 return srv.(ImageServiceServer).GenerateProductImageBackground(ctx, req.(*GenerateProductImageBackgroundRequest))
1157 }
1158 return interceptor(ctx, in, info, handler)
1159 }
1160
1161 func _ImageService_RemoveProductImageBackground_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1162 in := new(RemoveProductImageBackgroundRequest)
1163 if err := dec(in); err != nil {
1164 return nil, err
1165 }
1166 if interceptor == nil {
1167 return srv.(ImageServiceServer).RemoveProductImageBackground(ctx, in)
1168 }
1169 info := &grpc.UnaryServerInfo{
1170 Server: srv,
1171 FullMethod: "/google.shopping.merchant.productstudio.v1alpha.ImageService/RemoveProductImageBackground",
1172 }
1173 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1174 return srv.(ImageServiceServer).RemoveProductImageBackground(ctx, req.(*RemoveProductImageBackgroundRequest))
1175 }
1176 return interceptor(ctx, in, info, handler)
1177 }
1178
1179 func _ImageService_UpscaleProductImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1180 in := new(UpscaleProductImageRequest)
1181 if err := dec(in); err != nil {
1182 return nil, err
1183 }
1184 if interceptor == nil {
1185 return srv.(ImageServiceServer).UpscaleProductImage(ctx, in)
1186 }
1187 info := &grpc.UnaryServerInfo{
1188 Server: srv,
1189 FullMethod: "/google.shopping.merchant.productstudio.v1alpha.ImageService/UpscaleProductImage",
1190 }
1191 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1192 return srv.(ImageServiceServer).UpscaleProductImage(ctx, req.(*UpscaleProductImageRequest))
1193 }
1194 return interceptor(ctx, in, info, handler)
1195 }
1196
1197 var _ImageService_serviceDesc = grpc.ServiceDesc{
1198 ServiceName: "google.shopping.merchant.productstudio.v1alpha.ImageService",
1199 HandlerType: (*ImageServiceServer)(nil),
1200 Methods: []grpc.MethodDesc{
1201 {
1202 MethodName: "GenerateProductImageBackground",
1203 Handler: _ImageService_GenerateProductImageBackground_Handler,
1204 },
1205 {
1206 MethodName: "RemoveProductImageBackground",
1207 Handler: _ImageService_RemoveProductImageBackground_Handler,
1208 },
1209 {
1210 MethodName: "UpscaleProductImage",
1211 Handler: _ImageService_UpscaleProductImage_Handler,
1212 },
1213 },
1214 Streams: []grpc.StreamDesc{},
1215 Metadata: "google/shopping/merchant/productstudio/v1alpha/image.proto",
1216 }