Debian Codegraph @

shopping/merchant/productstudio/apiv1alpha/productstudiopb/textsuggestions.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/textsuggestions.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 structpb "google.golang.org/protobuf/types/known/structpb"
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 GenerateProductTextSuggestions method.
44 type GenerateProductTextSuggestionsRequest struct {
45 state protoimpl.MessageState
46 sizeCache protoimpl.SizeCache
47 unknownFields protoimpl.UnknownFields
48
49 // Required. The name of the account to generate text suggestions for. This
50 // acts as a container for the request and does not affect the generation
51 // itself, as this is a stateless API. Format: accounts/{account}
52 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
53 // Required. Available information about the product. Used to inform the genAI
54 // models.
55 ProductInfo *ProductInfo `protobuf:"bytes,2,opt,name=product_info,json=productInfo,proto3" json:"product_info,omitempty"`
56 // Optional. Configuration parameters that directly influence what content is
57 // generated, and how that content is rendered in the final response.
58 OutputSpec *OutputSpec `protobuf:"bytes,3,opt,name=output_spec,json=outputSpec,proto3,oneof" json:"output_spec,omitempty"`
59 // Optional. Provide some hand-crafted examples of title improvements that are
60 // unique to your use case. This is a general tool that handles multiple
61 // product categories, but your brand identity may require custom
62 // functionality. Feel free to specify that here.
63 TitleExamples []*TitleExample `protobuf:"bytes,4,rep,name=title_examples,json=titleExamples,proto3" json:"title_examples,omitempty"`
64 }
65
66 func (x *GenerateProductTextSuggestionsRequest) Reset() {
67 *x = GenerateProductTextSuggestionsRequest{}
68 mi := &file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[0]
69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
70 ms.StoreMessageInfo(mi)
71 }
72
73 func (x *GenerateProductTextSuggestionsRequest) String() string {
74 return protoimpl.X.MessageStringOf(x)
75 }
76
77 func (*GenerateProductTextSuggestionsRequest) ProtoMessage() {}
78
79 func (x *GenerateProductTextSuggestionsRequest) ProtoReflect() protoreflect.Message {
80 mi := &file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[0]
81 if x != nil {
82 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
83 if ms.LoadMessageInfo() == nil {
84 ms.StoreMessageInfo(mi)
85 }
86 return ms
87 }
88 return mi.MessageOf(x)
89 }
90
91 // Deprecated: Use GenerateProductTextSuggestionsRequest.ProtoReflect.Descriptor instead.
92 func (*GenerateProductTextSuggestionsRequest) Descriptor() ([]byte, []int) {
93 return file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_rawDescGZIP(), []int{0}
94 }
95
96 func (x *GenerateProductTextSuggestionsRequest) GetName() string {
97 if x != nil {
98 return x.Name
99 }
100 return ""
101 }
102
103 func (x *GenerateProductTextSuggestionsRequest) GetProductInfo() *ProductInfo {
104 if x != nil {
105 return x.ProductInfo
106 }
107 return nil
108 }
109
110 func (x *GenerateProductTextSuggestionsRequest) GetOutputSpec() *OutputSpec {
111 if x != nil {
112 return x.OutputSpec
113 }
114 return nil
115 }
116
117 func (x *GenerateProductTextSuggestionsRequest) GetTitleExamples() []*TitleExample {
118 if x != nil {
119 return x.TitleExamples
120 }
121 return nil
122 }
123
124 // Response message for the GenerateProductTextSuggestions method.
125 type GenerateProductTextSuggestionsResponse struct {
126 state protoimpl.MessageState
127 sizeCache protoimpl.SizeCache
128 unknownFields protoimpl.UnknownFields
129
130 // Generated title suggestion.
131 Title *ProductTextGenerationSuggestion `protobuf:"bytes,1,opt,name=title,proto3,oneof" json:"title,omitempty"`
132 // Generated description suggestion.
133 Description *ProductTextGenerationSuggestion `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
134 // Any other generated attributes.
135 Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
136 // Additional info that clients may want to audit surrounding the generation.
137 Metadata *ProductTextGenerationMetadata `protobuf:"bytes,4,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
138 }
139
140 func (x *GenerateProductTextSuggestionsResponse) Reset() {
141 *x = GenerateProductTextSuggestionsResponse{}
142 mi := &file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[1]
143 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
144 ms.StoreMessageInfo(mi)
145 }
146
147 func (x *GenerateProductTextSuggestionsResponse) String() string {
148 return protoimpl.X.MessageStringOf(x)
149 }
150
151 func (*GenerateProductTextSuggestionsResponse) ProtoMessage() {}
152
153 func (x *GenerateProductTextSuggestionsResponse) ProtoReflect() protoreflect.Message {
154 mi := &file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[1]
155 if x != nil {
156 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
157 if ms.LoadMessageInfo() == nil {
158 ms.StoreMessageInfo(mi)
159 }
160 return ms
161 }
162 return mi.MessageOf(x)
163 }
164
165 // Deprecated: Use GenerateProductTextSuggestionsResponse.ProtoReflect.Descriptor instead.
166 func (*GenerateProductTextSuggestionsResponse) Descriptor() ([]byte, []int) {
167 return file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_rawDescGZIP(), []int{1}
168 }
169
170 func (x *GenerateProductTextSuggestionsResponse) GetTitle() *ProductTextGenerationSuggestion {
171 if x != nil {
172 return x.Title
173 }
174 return nil
175 }
176
177 func (x *GenerateProductTextSuggestionsResponse) GetDescription() *ProductTextGenerationSuggestion {
178 if x != nil {
179 return x.Description
180 }
181 return nil
182 }
183
184 func (x *GenerateProductTextSuggestionsResponse) GetAttributes() map[string]string {
185 if x != nil {
186 return x.Attributes
187 }
188 return nil
189 }
190
191 func (x *GenerateProductTextSuggestionsResponse) GetMetadata() *ProductTextGenerationMetadata {
192 if x != nil {
193 return x.Metadata
194 }
195 return nil
196 }
197
198 // A hand-crafted example of a product title improvement. These examples are
199 // provided to the AI to improve its quality and guide it towards required
200 // outputs.
201 type TitleExample struct {
202 state protoimpl.MessageState
203 sizeCache protoimpl.SizeCache
204 unknownFields protoimpl.UnknownFields
205
206 // Required. A map containing all existing product information. For example:
207 // {"title": "dress", "description": "A red dress", "brand": "Dresses4All"}
208 // Any information that you might use to populate your product feed.
209 ProductInfo map[string]string `protobuf:"bytes,1,rep,name=product_info,json=productInfo,proto3" json:"product_info,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
210 // Required. The product's category. This helps the AI understand when certain
211 // examples are more relevant than others.
212 Category *string `protobuf:"bytes,2,opt,name=category,proto3,oneof" json:"category,omitempty"`
213 // Required. The attributes or approximate attributes that make up the title.
214 // For example, title "Google GShoe M" title_format can be "brand | product |
215 // size".
216 TitleFormat *string `protobuf:"bytes,3,opt,name=title_format,json=titleFormat,proto3,oneof" json:"title_format,omitempty"`
217 // Required. A map in the same format as product_info but with all
218 // improvements included. For example, {"brand": "Dresses4All", "product":
219 // "dress", "color": "red", ...}. The order of attributes in this map may be
220 // used to guide the order in which they appear in the final generated title.
221 // For instance, the above will become: Dresses4All dress | red
222 FinalProductInfo map[string]string `protobuf:"bytes,4,rep,name=final_product_info,json=finalProductInfo,proto3" json:"final_product_info,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
223 }
224
225 func (x *TitleExample) Reset() {
226 *x = TitleExample{}
227 mi := &file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[2]
228 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
229 ms.StoreMessageInfo(mi)
230 }
231
232 func (x *TitleExample) String() string {
233 return protoimpl.X.MessageStringOf(x)
234 }
235
236 func (*TitleExample) ProtoMessage() {}
237
238 func (x *TitleExample) ProtoReflect() protoreflect.Message {
239 mi := &file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[2]
240 if x != nil {
241 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
242 if ms.LoadMessageInfo() == nil {
243 ms.StoreMessageInfo(mi)
244 }
245 return ms
246 }
247 return mi.MessageOf(x)
248 }
249
250 // Deprecated: Use TitleExample.ProtoReflect.Descriptor instead.
251 func (*TitleExample) Descriptor() ([]byte, []int) {
252 return file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_rawDescGZIP(), []int{2}
253 }
254
255 func (x *TitleExample) GetProductInfo() map[string]string {
256 if x != nil {
257 return x.ProductInfo
258 }
259 return nil
260 }
261
262 func (x *TitleExample) GetCategory() string {
263 if x != nil && x.Category != nil {
264 return *x.Category
265 }
266 return ""
267 }
268
269 func (x *TitleExample) GetTitleFormat() string {
270 if x != nil && x.TitleFormat != nil {
271 return *x.TitleFormat
272 }
273 return ""
274 }
275
276 func (x *TitleExample) GetFinalProductInfo() map[string]string {
277 if x != nil {
278 return x.FinalProductInfo
279 }
280 return nil
281 }
282
283 // Wrapper data type for any metadata associated with text generation.
284 type ProductTextGenerationMetadata struct {
285 state protoimpl.MessageState
286 sizeCache protoimpl.SizeCache
287 unknownFields protoimpl.UnknownFields
288
289 // Metadata is a pretty loose concept. The data is modeled as a map here to
290 // indicate that there is no guaranteed structure to the output past a simple
291 // K:V association.
292 // The first use-case is to track words added/removed/changed in generations.
293 Metadata *structpb.Struct `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
294 }
295
296 func (x *ProductTextGenerationMetadata) Reset() {
297 *x = ProductTextGenerationMetadata{}
298 mi := &file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[3]
299 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
300 ms.StoreMessageInfo(mi)
301 }
302
303 func (x *ProductTextGenerationMetadata) String() string {
304 return protoimpl.X.MessageStringOf(x)
305 }
306
307 func (*ProductTextGenerationMetadata) ProtoMessage() {}
308
309 func (x *ProductTextGenerationMetadata) ProtoReflect() protoreflect.Message {
310 mi := &file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[3]
311 if x != nil {
312 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
313 if ms.LoadMessageInfo() == nil {
314 ms.StoreMessageInfo(mi)
315 }
316 return ms
317 }
318 return mi.MessageOf(x)
319 }
320
321 // Deprecated: Use ProductTextGenerationMetadata.ProtoReflect.Descriptor instead.
322 func (*ProductTextGenerationMetadata) Descriptor() ([]byte, []int) {
323 return file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_rawDescGZIP(), []int{3}
324 }
325
326 func (x *ProductTextGenerationMetadata) GetMetadata() *structpb.Struct {
327 if x != nil {
328 return x.Metadata
329 }
330 return nil
331 }
332
333 // Product image represented as bytes directly or a URI.
334 type Image struct {
335 state protoimpl.MessageState
336 sizeCache protoimpl.SizeCache
337 unknownFields protoimpl.UnknownFields
338
339 // Required. The image to use for text generation.
340 //
341 // Types that are assignable to Image:
342 //
343 // *Image_Uri
344 // *Image_Data
345 Image isImage_Image `protobuf_oneof:"image"`
346 }
347
348 func (x *Image) Reset() {
349 *x = Image{}
350 mi := &file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[4]
351 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
352 ms.StoreMessageInfo(mi)
353 }
354
355 func (x *Image) String() string {
356 return protoimpl.X.MessageStringOf(x)
357 }
358
359 func (*Image) ProtoMessage() {}
360
361 func (x *Image) ProtoReflect() protoreflect.Message {
362 mi := &file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[4]
363 if x != nil {
364 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
365 if ms.LoadMessageInfo() == nil {
366 ms.StoreMessageInfo(mi)
367 }
368 return ms
369 }
370 return mi.MessageOf(x)
371 }
372
373 // Deprecated: Use Image.ProtoReflect.Descriptor instead.
374 func (*Image) Descriptor() ([]byte, []int) {
375 return file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_rawDescGZIP(), []int{4}
376 }
377
378 func (m *Image) GetImage() isImage_Image {
379 if m != nil {
380 return m.Image
381 }
382 return nil
383 }
384
385 func (x *Image) GetUri() string {
386 if x, ok := x.GetImage().(*Image_Uri); ok {
387 return x.Uri
388 }
389 return ""
390 }
391
392 func (x *Image) GetData() []byte {
393 if x, ok := x.GetImage().(*Image_Data); ok {
394 return x.Data
395 }
396 return nil
397 }
398
399 type isImage_Image interface {
400 isImage_Image()
401 }
402
403 type Image_Uri struct {
404 // Generally web-requestable URI.
405 Uri string `protobuf:"bytes,1,opt,name=uri,proto3,oneof"`
406 }
407
408 type Image_Data struct {
409 // Raw bytes for the image.
410 Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
411 }
412
413 func (*Image_Uri) isImage_Image() {}
414
415 func (*Image_Data) isImage_Image() {}
416
417 // Available information about the product. Used to inform the genAI models.
418 type ProductInfo struct {
419 state protoimpl.MessageState
420 sizeCache protoimpl.SizeCache
421 unknownFields protoimpl.UnknownFields
422
423 // Required. A mapping of all available product attributes. This may include
424 // title, description, brand, gender, color, size, etc.
425 ProductAttributes map[string]string `protobuf:"bytes,1,rep,name=product_attributes,json=productAttributes,proto3" json:"product_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
426 // Optional. Image associated with the product.
427 ProductImage *Image `protobuf:"bytes,2,opt,name=product_image,json=productImage,proto3,oneof" json:"product_image,omitempty"`
428 }
429
430 func (x *ProductInfo) Reset() {
431 *x = ProductInfo{}
432 mi := &file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[5]
433 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
434 ms.StoreMessageInfo(mi)
435 }
436
437 func (x *ProductInfo) String() string {
438 return protoimpl.X.MessageStringOf(x)
439 }
440
441 func (*ProductInfo) ProtoMessage() {}
442
443 func (x *ProductInfo) ProtoReflect() protoreflect.Message {
444 mi := &file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[5]
445 if x != nil {
446 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
447 if ms.LoadMessageInfo() == nil {
448 ms.StoreMessageInfo(mi)
449 }
450 return ms
451 }
452 return mi.MessageOf(x)
453 }
454
455 // Deprecated: Use ProductInfo.ProtoReflect.Descriptor instead.
456 func (*ProductInfo) Descriptor() ([]byte, []int) {
457 return file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_rawDescGZIP(), []int{5}
458 }
459
460 func (x *ProductInfo) GetProductAttributes() map[string]string {
461 if x != nil {
462 return x.ProductAttributes
463 }
464 return nil
465 }
466
467 func (x *ProductInfo) GetProductImage() *Image {
468 if x != nil {
469 return x.ProductImage
470 }
471 return nil
472 }
473
474 // Configuration parameters that directly influence what content is generated,
475 // and how that content is rendered in the final response.
476 type OutputSpec struct {
477 state protoimpl.MessageState
478 sizeCache protoimpl.SizeCache
479 unknownFields protoimpl.UnknownFields
480
481 // Optional. The workflow to execute for the provided product data. Workflows
482 // may populate the response's title, description, or both. Currently
483 // supported workflow_ids are: "title", "description", and "tide"
484 WorkflowId *string `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3,oneof" json:"workflow_id,omitempty"`
485 // Optional. The tone of the output generated text. Supported tones are:
486 // "playful", "formal", "persuasive", and "conversational"
487 Tone *string `protobuf:"bytes,2,opt,name=tone,proto3,oneof" json:"tone,omitempty"`
488 // Optional. Any editorial changes for the generated product data. For
489 // example, replace Small with "S", do not modify color if already present.
490 EditorialChanges *string `protobuf:"bytes,3,opt,name=editorial_changes,json=editorialChanges,proto3,oneof" json:"editorial_changes,omitempty"`
491 // Optional. The language for output titles/descriptions. For example.
492 // 'German', 'es', 'FR'. Default is 'en'.
493 TargetLanguage *string `protobuf:"bytes,4,opt,name=target_language,json=targetLanguage,proto3,oneof" json:"target_language,omitempty"`
494 // Optional. The order that generated attributes should be placed in the
495 // generated title. Eg., if the attribute order is ["brand", "product",
496 // "size"], the generated title will have brand first, followed by the product
497 // name, and then size information after that.
498 AttributeOrder []string `protobuf:"bytes,5,rep,name=attribute_order,json=attributeOrder,proto3" json:"attribute_order,omitempty"`
499 // Optional. Character used to separate attributes in the generated title.
500 // For example, '|', '-', ','.
501 AttributeSeparator *string `protobuf:"bytes,6,opt,name=attribute_separator,json=attributeSeparator,proto3,oneof" json:"attribute_separator,omitempty"`
502 }
503
504 func (x *OutputSpec) Reset() {
505 *x = OutputSpec{}
506 mi := &file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[6]
507 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
508 ms.StoreMessageInfo(mi)
509 }
510
511 func (x *OutputSpec) String() string {
512 return protoimpl.X.MessageStringOf(x)
513 }
514
515 func (*OutputSpec) ProtoMessage() {}
516
517 func (x *OutputSpec) ProtoReflect() protoreflect.Message {
518 mi := &file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[6]
519 if x != nil {
520 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
521 if ms.LoadMessageInfo() == nil {
522 ms.StoreMessageInfo(mi)
523 }
524 return ms
525 }
526 return mi.MessageOf(x)
527 }
528
529 // Deprecated: Use OutputSpec.ProtoReflect.Descriptor instead.
530 func (*OutputSpec) Descriptor() ([]byte, []int) {
531 return file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_rawDescGZIP(), []int{6}
532 }
533
534 func (x *OutputSpec) GetWorkflowId() string {
535 if x != nil && x.WorkflowId != nil {
536 return *x.WorkflowId
537 }
538 return ""
539 }
540
541 func (x *OutputSpec) GetTone() string {
542 if x != nil && x.Tone != nil {
543 return *x.Tone
544 }
545 return ""
546 }
547
548 func (x *OutputSpec) GetEditorialChanges() string {
549 if x != nil && x.EditorialChanges != nil {
550 return *x.EditorialChanges
551 }
552 return ""
553 }
554
555 func (x *OutputSpec) GetTargetLanguage() string {
556 if x != nil && x.TargetLanguage != nil {
557 return *x.TargetLanguage
558 }
559 return ""
560 }
561
562 func (x *OutputSpec) GetAttributeOrder() []string {
563 if x != nil {
564 return x.AttributeOrder
565 }
566 return nil
567 }
568
569 func (x *OutputSpec) GetAttributeSeparator() string {
570 if x != nil && x.AttributeSeparator != nil {
571 return *x.AttributeSeparator
572 }
573 return ""
574 }
575
576 // Text generated for a product, optionally including its quality score.
577 type ProductTextGenerationSuggestion struct {
578 state protoimpl.MessageState
579 sizeCache protoimpl.SizeCache
580 unknownFields protoimpl.UnknownFields
581
582 // The text generated
583 Text *string `protobuf:"bytes,1,opt,name=text,proto3,oneof" json:"text,omitempty"`
584 // The quality score associated with the generation. Heuristic implemented
585 // according to the feedgen team's implementation styles.
586 Score *float32 `protobuf:"fixed32,2,opt,name=score,proto3,oneof" json:"score,omitempty"`
587 // A brief summarization of all the changes that have been made.
588 ChangeSummary *string `protobuf:"bytes,3,opt,name=change_summary,json=changeSummary,proto3,oneof" json:"change_summary,omitempty"`
589 }
590
591 func (x *ProductTextGenerationSuggestion) Reset() {
592 *x = ProductTextGenerationSuggestion{}
593 mi := &file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[7]
594 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
595 ms.StoreMessageInfo(mi)
596 }
597
598 func (x *ProductTextGenerationSuggestion) String() string {
599 return protoimpl.X.MessageStringOf(x)
600 }
601
602 func (*ProductTextGenerationSuggestion) ProtoMessage() {}
603
604 func (x *ProductTextGenerationSuggestion) ProtoReflect() protoreflect.Message {
605 mi := &file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[7]
606 if x != nil {
607 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
608 if ms.LoadMessageInfo() == nil {
609 ms.StoreMessageInfo(mi)
610 }
611 return ms
612 }
613 return mi.MessageOf(x)
614 }
615
616 // Deprecated: Use ProductTextGenerationSuggestion.ProtoReflect.Descriptor instead.
617 func (*ProductTextGenerationSuggestion) Descriptor() ([]byte, []int) {
618 return file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_rawDescGZIP(), []int{7}
619 }
620
621 func (x *ProductTextGenerationSuggestion) GetText() string {
622 if x != nil && x.Text != nil {
623 return *x.Text
624 }
625 return ""
626 }
627
628 func (x *ProductTextGenerationSuggestion) GetScore() float32 {
629 if x != nil && x.Score != nil {
630 return *x.Score
631 }
632 return 0
633 }
634
635 func (x *ProductTextGenerationSuggestion) GetChangeSummary() string {
636 if x != nil && x.ChangeSummary != nil {
637 return *x.ChangeSummary
638 }
639 return ""
640 }
641
642 var File_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto protoreflect.FileDescriptor
643
644 var file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_rawDesc = []byte{
645 0x0a, 0x44, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
646 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75,
647 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
648 0x2f, 0x74, 0x65, 0x78, 0x74, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73,
649 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
650 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74,
651 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76,
652 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
653 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
654 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
655 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
656 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f,
657 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c,
658 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
659 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x03, 0x0a,
660 0x25, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
661 0x54, 0x65, 0x78, 0x74, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52,
662 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
663 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
664 0x63, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18,
665 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
666 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74,
667 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76,
668 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e,
669 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
670 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x65, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x73,
671 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
672 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63,
673 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64,
674 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75,
675 0x74, 0x53, 0x70, 0x65, 0x63, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x6f, 0x75,
676 0x74, 0x70, 0x75, 0x74, 0x53, 0x70, 0x65, 0x63, 0x88, 0x01, 0x01, 0x12, 0x68, 0x0a, 0x0e, 0x74,
677 0x69, 0x74, 0x6c, 0x65, 0x5f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20,
678 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f,
679 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70,
680 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61,
681 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c,
682 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x45, 0x78, 0x61,
683 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74,
684 0x5f, 0x73, 0x70, 0x65, 0x63, 0x22, 0xeb, 0x04, 0x0a, 0x26, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61,
685 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x54, 0x65, 0x78, 0x74, 0x53, 0x75, 0x67,
686 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
687 0x12, 0x6a, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
688 0x4f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
689 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75,
690 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
691 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x54, 0x65, 0x78, 0x74, 0x47, 0x65, 0x6e, 0x65,
692 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e,
693 0x48, 0x00, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x76, 0x0a, 0x0b,
694 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
695 0x0b, 0x32, 0x4f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70,
696 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f,
697 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
698 0x68, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x54, 0x65, 0x78, 0x74, 0x47, 0x65,
699 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69,
700 0x6f, 0x6e, 0x48, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
701 0x6e, 0x88, 0x01, 0x01, 0x12, 0x86, 0x01, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
702 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x66, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
703 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63,
704 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64,
705 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72,
706 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x54, 0x65, 0x78, 0x74, 0x53, 0x75,
707 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
708 0x65, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72,
709 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x6e, 0x0a,
710 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
711 0x4d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
712 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75,
713 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
714 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x54, 0x65, 0x78, 0x74, 0x47, 0x65, 0x6e, 0x65,
715 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x02,
716 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x88, 0x01, 0x01, 0x1a, 0x3d, 0x0a,
717 0x0f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
718 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
719 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
720 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x08, 0x0a, 0x06,
721 0x5f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72,
722 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64,
723 0x61, 0x74, 0x61, 0x22, 0x83, 0x04, 0x0a, 0x0c, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x45, 0x78, 0x61,
724 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x75, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f,
725 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x67, 0x6f, 0x6f,
726 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72,
727 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75,
728 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x69, 0x74, 0x6c,
729 0x65, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
730 0x49, 0x6e, 0x66, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b,
731 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, 0x08, 0x63,
732 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
733 0x41, 0x02, 0x48, 0x00, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x88, 0x01,
734 0x01, 0x12, 0x2b, 0x0a, 0x0c, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61,
735 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x48, 0x01, 0x52, 0x0b,
736 0x74, 0x69, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x88, 0x01, 0x01, 0x12, 0x85,
737 0x01, 0x0a, 0x12, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
738 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x52, 0x2e, 0x67, 0x6f,
739 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
740 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74,
741 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x69, 0x74,
742 0x6c, 0x65, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x50,
743 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42,
744 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x64, 0x75,
745 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x3e, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
746 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
747 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
748 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
749 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x43, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x50,
750 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
751 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
752 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
753 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f,
754 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x74, 0x69, 0x74,
755 0x6c, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x54, 0x0a, 0x1d, 0x50, 0x72, 0x6f,
756 0x64, 0x75, 0x63, 0x74, 0x54, 0x65, 0x78, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69,
757 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x33, 0x0a, 0x08, 0x6d, 0x65,
758 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67,
759 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53,
760 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22,
761 0x3a, 0x0a, 0x05, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18,
762 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x14, 0x0a, 0x04,
763 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61,
764 0x74, 0x61, 0x42, 0x07, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x22, 0xd4, 0x02, 0x0a, 0x0b,
765 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x86, 0x01, 0x0a, 0x12,
766 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
767 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x52, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
768 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68,
769 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69,
770 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
771 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74,
772 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41,
773 0x02, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62,
774 0x75, 0x74, 0x65, 0x73, 0x12, 0x64, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f,
775 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f,
776 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
777 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74,
778 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x49, 0x6d, 0x61,
779 0x67, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x64, 0x75,
780 0x63, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x88, 0x01, 0x01, 0x1a, 0x44, 0x0a, 0x16, 0x50, 0x72,
781 0x6f, 0x64, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45,
782 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
783 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
784 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
785 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x6d, 0x61,
786 0x67, 0x65, 0x22, 0x83, 0x03, 0x0a, 0x0a, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x53, 0x70, 0x65,
787 0x63, 0x12, 0x29, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x64,
788 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x77,
789 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1c, 0x0a, 0x04,
790 0x74, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48,
791 0x01, 0x52, 0x04, 0x74, 0x6f, 0x6e, 0x65, 0x88, 0x01, 0x01, 0x12, 0x35, 0x0a, 0x11, 0x65, 0x64,
792 0x69, 0x74, 0x6f, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18,
793 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x02, 0x52, 0x10, 0x65, 0x64,
794 0x69, 0x74, 0x6f, 0x72, 0x69, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x88, 0x01,
795 0x01, 0x12, 0x31, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6c, 0x61, 0x6e, 0x67,
796 0x75, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48,
797 0x03, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
798 0x65, 0x88, 0x01, 0x01, 0x12, 0x2c, 0x0a, 0x0f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
799 0x65, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0,
800 0x41, 0x01, 0x52, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x4f, 0x72, 0x64,
801 0x65, 0x72, 0x12, 0x39, 0x0a, 0x13, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f,
802 0x73, 0x65, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42,
803 0x03, 0xe0, 0x41, 0x01, 0x48, 0x04, 0x52, 0x12, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
804 0x65, 0x53, 0x65, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a,
805 0x0c, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x42, 0x07, 0x0a,
806 0x05, 0x5f, 0x74, 0x6f, 0x6e, 0x65, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x6f,
807 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x42, 0x12, 0x0a, 0x10,
808 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65,
809 0x42, 0x16, 0x0a, 0x14, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x73,
810 0x65, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xa7, 0x01, 0x0a, 0x1f, 0x50, 0x72, 0x6f,
811 0x64, 0x75, 0x63, 0x74, 0x54, 0x65, 0x78, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69,
812 0x6f, 0x6e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x04,
813 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x74, 0x65,
814 0x78, 0x74, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02,
815 0x20, 0x01, 0x28, 0x02, 0x48, 0x01, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x88, 0x01, 0x01,
816 0x12, 0x2a, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x75, 0x6d, 0x6d, 0x61,
817 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x0d, 0x63, 0x68, 0x61, 0x6e,
818 0x67, 0x65, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05,
819 0x5f, 0x74, 0x65, 0x78, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x42,
820 0x11, 0x0a, 0x0f, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x75, 0x6d, 0x6d, 0x61,
821 0x72, 0x79, 0x32, 0x8e, 0x03, 0x0a, 0x16, 0x54, 0x65, 0x78, 0x74, 0x53, 0x75, 0x67, 0x67, 0x65,
822 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xaa, 0x02,
823 0x0a, 0x1e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
824 0x74, 0x54, 0x65, 0x78, 0x74, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73,
825 0x12, 0x55, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
826 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64,
827 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
828 0x61, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
829 0x74, 0x54, 0x65, 0x78, 0x74, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73,
830 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x56, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
831 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61,
832 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f,
833 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
834 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x54, 0x65, 0x78, 0x74, 0x53, 0x75, 0x67, 0x67,
835 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
836 0x59, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4c, 0x3a, 0x01,
837 0x2a, 0x22, 0x47, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69,
838 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
839 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x67, 0x65, 0x6e, 0x65,
840 0x72, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x54, 0x65, 0x78, 0x74, 0x53,
841 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x47, 0xca, 0x41, 0x1a, 0x6d,
842 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
843 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x27, 0x68, 0x74, 0x74, 0x70,
844 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
845 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74,
846 0x65, 0x6e, 0x74, 0x42, 0xac, 0x01, 0x0a, 0x32, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
847 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63,
848 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64,
849 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x14, 0x54, 0x65, 0x78, 0x74,
850 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f,
851 0x50, 0x01, 0x5a, 0x5e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
852 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
853 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
854 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x61, 0x6c, 0x70,
855 0x68, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f,
856 0x70, 0x62, 0x3b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f,
857 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
858 }
859
860 var (
861 file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_rawDescOnce sync.Once
862 file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_rawDescData = file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_rawDesc
863 )
864
865 func file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_rawDescGZIP() []byte {
866 file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_rawDescOnce.Do(func() {
867 file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_rawDescData)
868 })
869 return file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_rawDescData
870 }
871
872 var file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
873 var file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_goTypes = []any{
874 (*GenerateProductTextSuggestionsRequest)(nil), // 0: google.shopping.merchant.productstudio.v1alpha.GenerateProductTextSuggestionsRequest
875 (*GenerateProductTextSuggestionsResponse)(nil), // 1: google.shopping.merchant.productstudio.v1alpha.GenerateProductTextSuggestionsResponse
876 (*TitleExample)(nil), // 2: google.shopping.merchant.productstudio.v1alpha.TitleExample
877 (*ProductTextGenerationMetadata)(nil), // 3: google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationMetadata
878 (*Image)(nil), // 4: google.shopping.merchant.productstudio.v1alpha.Image
879 (*ProductInfo)(nil), // 5: google.shopping.merchant.productstudio.v1alpha.ProductInfo
880 (*OutputSpec)(nil), // 6: google.shopping.merchant.productstudio.v1alpha.OutputSpec
881 (*ProductTextGenerationSuggestion)(nil), // 7: google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion
882 nil, // 8: google.shopping.merchant.productstudio.v1alpha.GenerateProductTextSuggestionsResponse.AttributesEntry
883 nil, // 9: google.shopping.merchant.productstudio.v1alpha.TitleExample.ProductInfoEntry
884 nil, // 10: google.shopping.merchant.productstudio.v1alpha.TitleExample.FinalProductInfoEntry
885 nil, // 11: google.shopping.merchant.productstudio.v1alpha.ProductInfo.ProductAttributesEntry
886 (*structpb.Struct)(nil), // 12: google.protobuf.Struct
887 }
888 var file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_depIdxs = []int32{
889 5, // 0: google.shopping.merchant.productstudio.v1alpha.GenerateProductTextSuggestionsRequest.product_info:type_name -> google.shopping.merchant.productstudio.v1alpha.ProductInfo
890 6, // 1: google.shopping.merchant.productstudio.v1alpha.GenerateProductTextSuggestionsRequest.output_spec:type_name -> google.shopping.merchant.productstudio.v1alpha.OutputSpec
891 2, // 2: google.shopping.merchant.productstudio.v1alpha.GenerateProductTextSuggestionsRequest.title_examples:type_name -> google.shopping.merchant.productstudio.v1alpha.TitleExample
892 7, // 3: google.shopping.merchant.productstudio.v1alpha.GenerateProductTextSuggestionsResponse.title:type_name -> google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion
893 7, // 4: google.shopping.merchant.productstudio.v1alpha.GenerateProductTextSuggestionsResponse.description:type_name -> google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion
894 8, // 5: google.shopping.merchant.productstudio.v1alpha.GenerateProductTextSuggestionsResponse.attributes:type_name -> google.shopping.merchant.productstudio.v1alpha.GenerateProductTextSuggestionsResponse.AttributesEntry
895 3, // 6: google.shopping.merchant.productstudio.v1alpha.GenerateProductTextSuggestionsResponse.metadata:type_name -> google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationMetadata
896 9, // 7: google.shopping.merchant.productstudio.v1alpha.TitleExample.product_info:type_name -> google.shopping.merchant.productstudio.v1alpha.TitleExample.ProductInfoEntry
897 10, // 8: google.shopping.merchant.productstudio.v1alpha.TitleExample.final_product_info:type_name -> google.shopping.merchant.productstudio.v1alpha.TitleExample.FinalProductInfoEntry
898 12, // 9: google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationMetadata.metadata:type_name -> google.protobuf.Struct
899 11, // 10: google.shopping.merchant.productstudio.v1alpha.ProductInfo.product_attributes:type_name -> google.shopping.merchant.productstudio.v1alpha.ProductInfo.ProductAttributesEntry
900 4, // 11: google.shopping.merchant.productstudio.v1alpha.ProductInfo.product_image:type_name -> google.shopping.merchant.productstudio.v1alpha.Image
901 0, // 12: google.shopping.merchant.productstudio.v1alpha.TextSuggestionsService.GenerateProductTextSuggestions:input_type -> google.shopping.merchant.productstudio.v1alpha.GenerateProductTextSuggestionsRequest
902 1, // 13: google.shopping.merchant.productstudio.v1alpha.TextSuggestionsService.GenerateProductTextSuggestions:output_type -> google.shopping.merchant.productstudio.v1alpha.GenerateProductTextSuggestionsResponse
903 13, // [13:14] is the sub-list for method output_type
904 12, // [12:13] is the sub-list for method input_type
905 12, // [12:12] is the sub-list for extension type_name
906 12, // [12:12] is the sub-list for extension extendee
907 0, // [0:12] is the sub-list for field type_name
908 }
909
910 func init() { file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_init() }
911 func file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_init() {
912 if File_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto != nil {
913 return
914 }
915 file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[0].OneofWrappers = []any{}
916 file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[1].OneofWrappers = []any{}
917 file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[2].OneofWrappers = []any{}
918 file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[4].OneofWrappers = []any{
919 (*Image_Uri)(nil),
920 (*Image_Data)(nil),
921 }
922 file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[5].OneofWrappers = []any{}
923 file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[6].OneofWrappers = []any{}
924 file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes[7].OneofWrappers = []any{}
925 type x struct{}
926 out := protoimpl.TypeBuilder{
927 File: protoimpl.DescBuilder{
928 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
929 RawDescriptor: file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_rawDesc,
930 NumEnums: 0,
931 NumMessages: 12,
932 NumExtensions: 0,
933 NumServices: 1,
934 },
935 GoTypes: file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_goTypes,
936 DependencyIndexes: file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_depIdxs,
937 MessageInfos: file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_msgTypes,
938 }.Build()
939 File_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto = out.File
940 file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_rawDesc = nil
941 file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_goTypes = nil
942 file_google_shopping_merchant_productstudio_v1alpha_textsuggestions_proto_depIdxs = nil
943 }
944
945 // Reference imports to suppress errors if they are not otherwise used.
946 var _ context.Context
947 var _ grpc.ClientConnInterface
948
949 // This is a compile-time assertion to ensure that this generated file
950 // is compatible with the grpc package it is being compiled against.
951 const _ = grpc.SupportPackageIsVersion6
952
953 // TextSuggestionsServiceClient is the client API for TextSuggestionsService service.
954 //
955 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
956 type TextSuggestionsServiceClient interface {
957 // GenerateProductTextSuggestions generates a set of candidate text
958 // completions (e.g., product titles, descriptions) based on provided product
959 // information. This endpoint leverages GenAI models to create suggestions for
960 // improving existing product text or generating new content.
961 GenerateProductTextSuggestions(ctx context.Context, in *GenerateProductTextSuggestionsRequest, opts ...grpc.CallOption) (*GenerateProductTextSuggestionsResponse, error)
962 }
963
964 type textSuggestionsServiceClient struct {
965 cc grpc.ClientConnInterface
966 }
967
968 func NewTextSuggestionsServiceClient(cc grpc.ClientConnInterface) TextSuggestionsServiceClient {
969 return &textSuggestionsServiceClient{cc}
970 }
971
972 func (c *textSuggestionsServiceClient) GenerateProductTextSuggestions(ctx context.Context, in *GenerateProductTextSuggestionsRequest, opts ...grpc.CallOption) (*GenerateProductTextSuggestionsResponse, error) {
973 out := new(GenerateProductTextSuggestionsResponse)
974 err := c.cc.Invoke(ctx, "/google.shopping.merchant.productstudio.v1alpha.TextSuggestionsService/GenerateProductTextSuggestions", in, out, opts...)
975 if err != nil {
976 return nil, err
977 }
978 return out, nil
979 }
980
981 // TextSuggestionsServiceServer is the server API for TextSuggestionsService service.
982 type TextSuggestionsServiceServer interface {
983 // GenerateProductTextSuggestions generates a set of candidate text
984 // completions (e.g., product titles, descriptions) based on provided product
985 // information. This endpoint leverages GenAI models to create suggestions for
986 // improving existing product text or generating new content.
987 GenerateProductTextSuggestions(context.Context, *GenerateProductTextSuggestionsRequest) (*GenerateProductTextSuggestionsResponse, error)
988 }
989
990 // UnimplementedTextSuggestionsServiceServer can be embedded to have forward compatible implementations.
991 type UnimplementedTextSuggestionsServiceServer struct {
992 }
993
994 func (*UnimplementedTextSuggestionsServiceServer) GenerateProductTextSuggestions(context.Context, *GenerateProductTextSuggestionsRequest) (*GenerateProductTextSuggestionsResponse, error) {
995 return nil, status.Errorf(codes.Unimplemented, "method GenerateProductTextSuggestions not implemented")
996 }
997
998 func RegisterTextSuggestionsServiceServer(s *grpc.Server, srv TextSuggestionsServiceServer) {
999 s.RegisterService(&_TextSuggestionsService_serviceDesc, srv)
1000 }
1001
1002 func _TextSuggestionsService_GenerateProductTextSuggestions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1003 in := new(GenerateProductTextSuggestionsRequest)
1004 if err := dec(in); err != nil {
1005 return nil, err
1006 }
1007 if interceptor == nil {
1008 return srv.(TextSuggestionsServiceServer).GenerateProductTextSuggestions(ctx, in)
1009 }
1010 info := &grpc.UnaryServerInfo{
1011 Server: srv,
1012 FullMethod: "/google.shopping.merchant.productstudio.v1alpha.TextSuggestionsService/GenerateProductTextSuggestions",
1013 }
1014 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1015 return srv.(TextSuggestionsServiceServer).GenerateProductTextSuggestions(ctx, req.(*GenerateProductTextSuggestionsRequest))
1016 }
1017 return interceptor(ctx, in, info, handler)
1018 }
1019
1020 var _TextSuggestionsService_serviceDesc = grpc.ServiceDesc{
1021 ServiceName: "google.shopping.merchant.productstudio.v1alpha.TextSuggestionsService",
1022 HandlerType: (*TextSuggestionsServiceServer)(nil),
1023 Methods: []grpc.MethodDesc{
1024 {
1025 MethodName: "GenerateProductTextSuggestions",
1026 Handler: _TextSuggestionsService_GenerateProductTextSuggestions_Handler,
1027 },
1028 },
1029 Streams: []grpc.StreamDesc{},
1030 Metadata: "google/shopping/merchant/productstudio/v1alpha/textsuggestions.proto",
1031 }