Debian Codegraph @

shopping/merchant/products/apiv1/productspb/productinputs.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/products/v1/productinputs.proto
20
21 package productspb
22
23 import (
24 typepb "cloud.google.com/go/shopping/type/typepb"
25 context "context"
26 _ "google.golang.org/genproto/googleapis/api/annotations"
27 grpc "google.golang.org/grpc"
28 codes "google.golang.org/grpc/codes"
29 status "google.golang.org/grpc/status"
30 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32 emptypb "google.golang.org/protobuf/types/known/emptypb"
33 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
34 reflect "reflect"
35 sync "sync"
36 )
37
38 const (
39 // Verify that this generated code is sufficiently up-to-date.
40 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
41 // Verify that runtime/protoimpl is sufficiently up-to-date.
42 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
43 )
44
45 // This resource represents input data you submit for a product, not the
46 //
47 // processed product that you see in Merchant Center, in Shopping ads, or
48 // across Google surfaces. Product inputs, rules and supplemental data source
49 // data are combined to create the processed
50 // [Product][google.shopping.merchant.products.v1.Product]. For more
51 // information, see [Manage products](/merchant/api/guides/products/overview).
52 //
53 // Required product input attributes to pass data validation checks are
54 // primarily defined in the [Products Data
55 // Specification](https://support.google.com/merchants/answer/188494).
56 //
57 // The following attributes are required:
58 // [feedLabel][google.shopping.merchant.products.v1.Product.feed_label],
59 // [contentLanguage][google.shopping.merchant.products.v1.Product.content_language]
60 // and [offerId][google.shopping.merchant.products.v1.Product.offer_id].
61 //
62 // After inserting, updating, or deleting a product input, it may take several
63 // minutes before the processed product can be retrieved.
64 //
65 // All fields in the product input and its sub-messages match the English name
66 // of their corresponding attribute in the [Products Data
67 // Specification](https://support.google.com/merchants/answer/188494) with
68 // [some exceptions](https://support.google.com/merchants/answer/7052112).
69 // The following reference documentation lists the field names in the
70 // **camelCase** casing style while the Products Data Specification lists the
71 // names in the **snake_case** casing style.
72 type ProductInput struct {
73 state protoimpl.MessageState
74 sizeCache protoimpl.SizeCache
75 unknownFields protoimpl.UnknownFields
76
77 // Identifier. The name of the product input.
78 // Format: `accounts/{account}/productInputs/{productinput}`
79 // where the last section `productinput` consists of:
80 // `content_language~feed_label~offer_id`
81 // example for product input name is
82 // `accounts/123/productInputs/en~US~sku123`. A legacy local product input
83 // name would be `accounts/123/productInputs/local~en~US~sku123`.
84 // Note: For calls to the v1beta version, the `productInput` section consists
85 // of: `channel~content_language~feed_label~offer_id`, for example:
86 // `accounts/123/productInputs/online~en~US~sku123`.
87 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
88 // Output only. The name of the processed product.
89 // Format: `accounts/{account}/products/{product}`
90 Product string `protobuf:"bytes,2,opt,name=product,proto3" json:"product,omitempty"`
91 // Immutable. Determines whether the product is **only** targeting
92 // local destinations and whether the product name should be distinguished
93 // with a `local~` prefix. For example,
94 // `accounts/123/productInputs/local~en~US~sku123`. If a product that is not
95 // `legacy_local` is already targeting local destinations,
96 // creating a `legacy_local` product with an otherwise matching name will
97 // fail.
98 LegacyLocal bool `protobuf:"varint,10,opt,name=legacy_local,json=legacyLocal,proto3" json:"legacy_local,omitempty"`
99 // Required. Immutable. Your unique identifier for the product. This is the
100 // same for the product input and processed product. Leading and trailing
101 // whitespaces are stripped and multiple whitespaces are replaced by a single
102 // whitespace upon submission. See the [products data
103 // specification](https://support.google.com/merchants/answer/188494#id) for
104 // details.
105 OfferId string `protobuf:"bytes,4,opt,name=offer_id,json=offerId,proto3" json:"offer_id,omitempty"`
106 // Required. Immutable. The two-letter [ISO
107 // 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the
108 // product.
109 ContentLanguage string `protobuf:"bytes,5,opt,name=content_language,json=contentLanguage,proto3" json:"content_language,omitempty"`
110 // Required. Immutable. The feed label that lets you categorize and identify
111 // your products. The maximum allowed characters are 20, and the supported
112 // characters are `A-Z`, `0-9`, hyphen, and underscore. The feed label must
113 // not include any spaces. For more information, see [Using feed
114 // labels](//support.google.com/merchants/answer/14994087).
115 FeedLabel string `protobuf:"bytes,6,opt,name=feed_label,json=feedLabel,proto3" json:"feed_label,omitempty"`
116 // Optional. Immutable. Represents the existing version (freshness) of the
117 // product, which can be used to preserve the right order when multiple
118 // updates are done at the same time.
119 //
120 // If set, the insertion is prevented when version number is lower than
121 // the current version number of the existing product. Re-insertion (for
122 // example, product refresh after 30 days) can be performed with the current
123 // `version_number`.
124 //
125 // Only supported for insertions into primary data sources.
126 // Do not set this field for updates.
127 // Do not set this field for insertions into supplemental data sources.
128 //
129 // If the operation is prevented, the aborted exception will be
130 // thrown.
131 VersionNumber *int64 `protobuf:"varint,7,opt,name=version_number,json=versionNumber,proto3,oneof" json:"version_number,omitempty"`
132 // Optional. A list of strongly-typed product attributes.
133 ProductAttributes *ProductAttributes `protobuf:"bytes,11,opt,name=product_attributes,json=productAttributes,proto3" json:"product_attributes,omitempty"`
134 // Optional. A list of custom (merchant-provided) attributes. It can also be
135 // used for submitting any attribute of the data specification in its generic
136 // form (for example,
137 // `{ "name": "size type", "value": "regular" }`).
138 // This is useful for submitting attributes not explicitly exposed by the
139 // API.
140 // Maximum allowed number of characters for each
141 // custom attribute is 10240 (represents sum of characters for name and
142 // value). Maximum 2500 custom attributes can be set per product, with total
143 // size of 102.4kB. Underscores in custom attribute names are replaced by
144 // spaces upon insertion.
145 CustomAttributes []*typepb.CustomAttribute `protobuf:"bytes,9,rep,name=custom_attributes,json=customAttributes,proto3" json:"custom_attributes,omitempty"`
146 }
147
148 func (x *ProductInput) Reset() {
149 *x = ProductInput{}
150 mi := &file_google_shopping_merchant_products_v1_productinputs_proto_msgTypes[0]
151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
152 ms.StoreMessageInfo(mi)
153 }
154
155 func (x *ProductInput) String() string {
156 return protoimpl.X.MessageStringOf(x)
157 }
158
159 func (*ProductInput) ProtoMessage() {}
160
161 func (x *ProductInput) ProtoReflect() protoreflect.Message {
162 mi := &file_google_shopping_merchant_products_v1_productinputs_proto_msgTypes[0]
163 if x != nil {
164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
165 if ms.LoadMessageInfo() == nil {
166 ms.StoreMessageInfo(mi)
167 }
168 return ms
169 }
170 return mi.MessageOf(x)
171 }
172
173 // Deprecated: Use ProductInput.ProtoReflect.Descriptor instead.
174 func (*ProductInput) Descriptor() ([]byte, []int) {
175 return file_google_shopping_merchant_products_v1_productinputs_proto_rawDescGZIP(), []int{0}
176 }
177
178 func (x *ProductInput) GetName() string {
179 if x != nil {
180 return x.Name
181 }
182 return ""
183 }
184
185 func (x *ProductInput) GetProduct() string {
186 if x != nil {
187 return x.Product
188 }
189 return ""
190 }
191
192 func (x *ProductInput) GetLegacyLocal() bool {
193 if x != nil {
194 return x.LegacyLocal
195 }
196 return false
197 }
198
199 func (x *ProductInput) GetOfferId() string {
200 if x != nil {
201 return x.OfferId
202 }
203 return ""
204 }
205
206 func (x *ProductInput) GetContentLanguage() string {
207 if x != nil {
208 return x.ContentLanguage
209 }
210 return ""
211 }
212
213 func (x *ProductInput) GetFeedLabel() string {
214 if x != nil {
215 return x.FeedLabel
216 }
217 return ""
218 }
219
220 func (x *ProductInput) GetVersionNumber() int64 {
221 if x != nil && x.VersionNumber != nil {
222 return *x.VersionNumber
223 }
224 return 0
225 }
226
227 func (x *ProductInput) GetProductAttributes() *ProductAttributes {
228 if x != nil {
229 return x.ProductAttributes
230 }
231 return nil
232 }
233
234 func (x *ProductInput) GetCustomAttributes() []*typepb.CustomAttribute {
235 if x != nil {
236 return x.CustomAttributes
237 }
238 return nil
239 }
240
241 // Request message for the InsertProductInput method.
242 type InsertProductInputRequest struct {
243 state protoimpl.MessageState
244 sizeCache protoimpl.SizeCache
245 unknownFields protoimpl.UnknownFields
246
247 // Required. The account where this product will be inserted.
248 // Format: `accounts/{account}`
249 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
250 // Required. The product input to insert.
251 ProductInput *ProductInput `protobuf:"bytes,2,opt,name=product_input,json=productInput,proto3" json:"product_input,omitempty"`
252 // Required. The primary or supplemental product data source name. If the
253 // product already exists and data source provided is different, then the
254 // product will be moved to a new data source. For more information, see
255 // [Overview of Data sources
256 // sub-API](/merchant/api/guides/data-sources/overview).
257 //
258 // Only API data sources are supported.
259 //
260 // Format: `accounts/{account}/dataSources/{datasource}`. For example,
261 // `accounts/123456/dataSources/104628`.
262 DataSource string `protobuf:"bytes,3,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"`
263 }
264
265 func (x *InsertProductInputRequest) Reset() {
266 *x = InsertProductInputRequest{}
267 mi := &file_google_shopping_merchant_products_v1_productinputs_proto_msgTypes[1]
268 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
269 ms.StoreMessageInfo(mi)
270 }
271
272 func (x *InsertProductInputRequest) String() string {
273 return protoimpl.X.MessageStringOf(x)
274 }
275
276 func (*InsertProductInputRequest) ProtoMessage() {}
277
278 func (x *InsertProductInputRequest) ProtoReflect() protoreflect.Message {
279 mi := &file_google_shopping_merchant_products_v1_productinputs_proto_msgTypes[1]
280 if x != nil {
281 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
282 if ms.LoadMessageInfo() == nil {
283 ms.StoreMessageInfo(mi)
284 }
285 return ms
286 }
287 return mi.MessageOf(x)
288 }
289
290 // Deprecated: Use InsertProductInputRequest.ProtoReflect.Descriptor instead.
291 func (*InsertProductInputRequest) Descriptor() ([]byte, []int) {
292 return file_google_shopping_merchant_products_v1_productinputs_proto_rawDescGZIP(), []int{1}
293 }
294
295 func (x *InsertProductInputRequest) GetParent() string {
296 if x != nil {
297 return x.Parent
298 }
299 return ""
300 }
301
302 func (x *InsertProductInputRequest) GetProductInput() *ProductInput {
303 if x != nil {
304 return x.ProductInput
305 }
306 return nil
307 }
308
309 func (x *InsertProductInputRequest) GetDataSource() string {
310 if x != nil {
311 return x.DataSource
312 }
313 return ""
314 }
315
316 // Request message for the UpdateProductInput method.
317 // The product (primary input) must exist for the update to succeed.
318 // If the update is for a primary product input, the existing primary product
319 // input must be from the same data source.
320 type UpdateProductInputRequest struct {
321 state protoimpl.MessageState
322 sizeCache protoimpl.SizeCache
323 unknownFields protoimpl.UnknownFields
324
325 // Required. The product input resource to update. Information you submit will
326 // be applied to the processed product as well.
327 ProductInput *ProductInput `protobuf:"bytes,1,opt,name=product_input,json=productInput,proto3" json:"product_input,omitempty"`
328 // Optional. The list of product attributes to be updated.
329 //
330 // If the update mask is omitted, then it is treated as implied field mask
331 // equivalent to all fields that are populated (have a non-empty value).
332 //
333 // Attributes specified in the update mask without a value specified in the
334 // body will be deleted from the product.
335 //
336 // Update mask can only be specified for top level fields in
337 // attributes and custom attributes.
338 //
339 // To specify the update mask for custom attributes you need to add the
340 // `custom_attribute.` prefix.
341 //
342 // Providing special "*" value for full product replacement is not supported.
343 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
344 // Required. The primary or supplemental product data source where
345 // `data_source` name identifies the product input to be updated.
346 //
347 // Only API data sources are supported.
348 //
349 // Format: `accounts/{account}/dataSources/{datasource}`. For example,
350 // `accounts/123456/dataSources/104628`.
351 DataSource string `protobuf:"bytes,3,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"`
352 }
353
354 func (x *UpdateProductInputRequest) Reset() {
355 *x = UpdateProductInputRequest{}
356 mi := &file_google_shopping_merchant_products_v1_productinputs_proto_msgTypes[2]
357 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
358 ms.StoreMessageInfo(mi)
359 }
360
361 func (x *UpdateProductInputRequest) String() string {
362 return protoimpl.X.MessageStringOf(x)
363 }
364
365 func (*UpdateProductInputRequest) ProtoMessage() {}
366
367 func (x *UpdateProductInputRequest) ProtoReflect() protoreflect.Message {
368 mi := &file_google_shopping_merchant_products_v1_productinputs_proto_msgTypes[2]
369 if x != nil {
370 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
371 if ms.LoadMessageInfo() == nil {
372 ms.StoreMessageInfo(mi)
373 }
374 return ms
375 }
376 return mi.MessageOf(x)
377 }
378
379 // Deprecated: Use UpdateProductInputRequest.ProtoReflect.Descriptor instead.
380 func (*UpdateProductInputRequest) Descriptor() ([]byte, []int) {
381 return file_google_shopping_merchant_products_v1_productinputs_proto_rawDescGZIP(), []int{2}
382 }
383
384 func (x *UpdateProductInputRequest) GetProductInput() *ProductInput {
385 if x != nil {
386 return x.ProductInput
387 }
388 return nil
389 }
390
391 func (x *UpdateProductInputRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
392 if x != nil {
393 return x.UpdateMask
394 }
395 return nil
396 }
397
398 func (x *UpdateProductInputRequest) GetDataSource() string {
399 if x != nil {
400 return x.DataSource
401 }
402 return ""
403 }
404
405 // Request message for the DeleteProductInput method.
406 type DeleteProductInputRequest struct {
407 state protoimpl.MessageState
408 sizeCache protoimpl.SizeCache
409 unknownFields protoimpl.UnknownFields
410
411 // Required. The name of the product input resource to delete.
412 // Format: `accounts/{account}/productInputs/{product}`
413 // where the last section `product` consists of:
414 // `content_language~feed_label~offer_id`
415 // example for product name is
416 // `accounts/123/productInputs/en~US~sku123`.
417 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
418 // Required. The primary or supplemental data source from which the product
419 // input should be deleted. Format:
420 // `accounts/{account}/dataSources/{datasource}`. For example,
421 // `accounts/123456/dataSources/104628`.
422 DataSource string `protobuf:"bytes,2,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"`
423 }
424
425 func (x *DeleteProductInputRequest) Reset() {
426 *x = DeleteProductInputRequest{}
427 mi := &file_google_shopping_merchant_products_v1_productinputs_proto_msgTypes[3]
428 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
429 ms.StoreMessageInfo(mi)
430 }
431
432 func (x *DeleteProductInputRequest) String() string {
433 return protoimpl.X.MessageStringOf(x)
434 }
435
436 func (*DeleteProductInputRequest) ProtoMessage() {}
437
438 func (x *DeleteProductInputRequest) ProtoReflect() protoreflect.Message {
439 mi := &file_google_shopping_merchant_products_v1_productinputs_proto_msgTypes[3]
440 if x != nil {
441 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
442 if ms.LoadMessageInfo() == nil {
443 ms.StoreMessageInfo(mi)
444 }
445 return ms
446 }
447 return mi.MessageOf(x)
448 }
449
450 // Deprecated: Use DeleteProductInputRequest.ProtoReflect.Descriptor instead.
451 func (*DeleteProductInputRequest) Descriptor() ([]byte, []int) {
452 return file_google_shopping_merchant_products_v1_productinputs_proto_rawDescGZIP(), []int{3}
453 }
454
455 func (x *DeleteProductInputRequest) GetName() string {
456 if x != nil {
457 return x.Name
458 }
459 return ""
460 }
461
462 func (x *DeleteProductInputRequest) GetDataSource() string {
463 if x != nil {
464 return x.DataSource
465 }
466 return ""
467 }
468
469 var File_google_shopping_merchant_products_v1_productinputs_proto protoreflect.FileDescriptor
470
471 var file_google_shopping_merchant_products_v1_productinputs_proto_rawDesc = []byte{
472 0x0a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
473 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75,
474 0x63, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6e,
475 0x70, 0x75, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x67, 0x6f, 0x6f, 0x67,
476 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63,
477 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31,
478 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e,
479 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17,
480 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e,
481 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
482 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69,
483 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
484 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72,
485 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
486 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
487 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
488 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f,
489 0x74, 0x6f, 0x1a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70,
490 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f,
491 0x64, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
492 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20,
493 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f,
494 0x74, 0x79, 0x70, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
495 0x22, 0xf4, 0x04, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75,
496 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
497 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x07, 0x70, 0x72,
498 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03,
499 0x52, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x26, 0x0a, 0x0c, 0x6c, 0x65, 0x67,
500 0x61, 0x63, 0x79, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x42,
501 0x03, 0xe0, 0x41, 0x05, 0x52, 0x0b, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x4c, 0x6f, 0x63, 0x61,
502 0x6c, 0x12, 0x21, 0x0a, 0x08, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20,
503 0x01, 0x28, 0x09, 0x42, 0x06, 0xe0, 0x41, 0x02, 0xe0, 0x41, 0x05, 0x52, 0x07, 0x6f, 0x66, 0x66,
504 0x65, 0x72, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f,
505 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06,
506 0xe0, 0x41, 0x02, 0xe0, 0x41, 0x05, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x4c,
507 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x25, 0x0a, 0x0a, 0x66, 0x65, 0x65, 0x64, 0x5f,
508 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe0, 0x41, 0x02,
509 0xe0, 0x41, 0x05, 0x52, 0x09, 0x66, 0x65, 0x65, 0x64, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x32,
510 0x0a, 0x0e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72,
511 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x42, 0x06, 0xe0, 0x41, 0x01, 0xe0, 0x41, 0x05, 0x48, 0x00,
512 0x52, 0x0d, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x88,
513 0x01, 0x01, 0x12, 0x6b, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x61, 0x74,
514 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37,
515 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
516 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
517 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74,
518 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x11, 0x70, 0x72,
519 0x6f, 0x64, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12,
520 0x57, 0x0a, 0x11, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62,
521 0x75, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f,
522 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x74, 0x79, 0x70,
523 0x65, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
524 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x10, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x41, 0x74,
525 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x3a, 0x7a, 0xea, 0x41, 0x77, 0x0a, 0x27, 0x6d,
526 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
527 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
528 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
529 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75,
530 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
531 0x74, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x7d, 0x2a, 0x0d, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
532 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x32, 0x0c, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49,
533 0x6e, 0x70, 0x75, 0x74, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
534 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0xe3, 0x01, 0x0a, 0x19, 0x49, 0x6e, 0x73, 0x65,
535 0x72, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x52, 0x65,
536 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18,
537 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x12, 0x22, 0x6d,
538 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
539 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
540 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x5c, 0x0a, 0x0d, 0x70, 0x72, 0x6f,
541 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
542 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
543 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64,
544 0x75, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49,
545 0x6e, 0x70, 0x75, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x64, 0x75,
546 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x24, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f,
547 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
548 0x02, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0xe1, 0x01,
549 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49,
550 0x6e, 0x70, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x5c, 0x0a, 0x0d, 0x70,
551 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01,
552 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70,
553 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72,
554 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
555 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x70, 0x72, 0x6f,
556 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64,
557 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
558 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
559 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
560 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x24, 0x0a, 0x0b, 0x64,
561 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
562 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63,
563 0x65, 0x22, 0x86, 0x01, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64,
564 0x75, 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
565 0x43, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0,
566 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61,
567 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
568 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x52, 0x04,
569 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75,
570 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a,
571 0x64, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x32, 0xe5, 0x05, 0x0a, 0x14, 0x50,
572 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x53, 0x65, 0x72, 0x76,
573 0x69, 0x63, 0x65, 0x12, 0xd7, 0x01, 0x0a, 0x12, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x50, 0x72,
574 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x3f, 0x2e, 0x67, 0x6f, 0x6f,
575 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72,
576 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x76,
577 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49,
578 0x6e, 0x70, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x67, 0x6f,
579 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
580 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2e,
581 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x22,
582 0x4c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x46, 0x3a, 0x0d, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
583 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x22, 0x35, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
584 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x61, 0x63, 0x63,
585 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
586 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x3a, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x12, 0xfa, 0x01,
587 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49,
588 0x6e, 0x70, 0x75, 0x74, 0x12, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68,
589 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e,
590 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61,
591 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x52, 0x65,
592 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
593 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74,
594 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f,
595 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x22, 0x6f, 0xda, 0x41, 0x19, 0x70, 0x72,
596 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61,
597 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x3a, 0x0d, 0x70,
598 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x32, 0x3c, 0x2f, 0x70,
599 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x64,
600 0x75, 0x63, 0x74, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61,
601 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
602 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xac, 0x01, 0x0a, 0x12, 0x44,
603 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75,
604 0x74, 0x12, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70,
605 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f,
606 0x64, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50,
607 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
608 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
609 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x3d, 0xda, 0x41, 0x04, 0x6e,
610 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x2a, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x64,
611 0x75, 0x63, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63,
612 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
613 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x1a, 0x47, 0xca, 0x41, 0x1a, 0x6d, 0x65,
614 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
615 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x27, 0x68, 0x74, 0x74, 0x70, 0x73,
616 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
617 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65,
618 0x6e, 0x74, 0x42, 0x85, 0x02, 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
619 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68,
620 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x42,
621 0x12, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x50, 0x72,
622 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f,
623 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70,
624 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f,
625 0x64, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x64,
626 0x75, 0x63, 0x74, 0x73, 0x70, 0x62, 0x3b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x70,
627 0x62, 0xaa, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x70,
628 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f,
629 0x64, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
630 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5c, 0x4d, 0x65, 0x72, 0x63, 0x68,
631 0x61, 0x6e, 0x74, 0x5c, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x56, 0x31, 0xea,
632 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69,
633 0x6e, 0x67, 0x3a, 0x3a, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x3a, 0x3a, 0x50, 0x72,
634 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
635 0x6f, 0x33,
636 }
637
638 var (
639 file_google_shopping_merchant_products_v1_productinputs_proto_rawDescOnce sync.Once
640 file_google_shopping_merchant_products_v1_productinputs_proto_rawDescData = file_google_shopping_merchant_products_v1_productinputs_proto_rawDesc
641 )
642
643 func file_google_shopping_merchant_products_v1_productinputs_proto_rawDescGZIP() []byte {
644 file_google_shopping_merchant_products_v1_productinputs_proto_rawDescOnce.Do(func() {
645 file_google_shopping_merchant_products_v1_productinputs_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_products_v1_productinputs_proto_rawDescData)
646 })
647 return file_google_shopping_merchant_products_v1_productinputs_proto_rawDescData
648 }
649
650 var file_google_shopping_merchant_products_v1_productinputs_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
651 var file_google_shopping_merchant_products_v1_productinputs_proto_goTypes = []any{
652 (*ProductInput)(nil), // 0: google.shopping.merchant.products.v1.ProductInput
653 (*InsertProductInputRequest)(nil), // 1: google.shopping.merchant.products.v1.InsertProductInputRequest
654 (*UpdateProductInputRequest)(nil), // 2: google.shopping.merchant.products.v1.UpdateProductInputRequest
655 (*DeleteProductInputRequest)(nil), // 3: google.shopping.merchant.products.v1.DeleteProductInputRequest
656 (*ProductAttributes)(nil), // 4: google.shopping.merchant.products.v1.ProductAttributes
657 (*typepb.CustomAttribute)(nil), // 5: google.shopping.type.CustomAttribute
658 (*fieldmaskpb.FieldMask)(nil), // 6: google.protobuf.FieldMask
659 (*emptypb.Empty)(nil), // 7: google.protobuf.Empty
660 }
661 var file_google_shopping_merchant_products_v1_productinputs_proto_depIdxs = []int32{
662 4, // 0: google.shopping.merchant.products.v1.ProductInput.product_attributes:type_name -> google.shopping.merchant.products.v1.ProductAttributes
663 5, // 1: google.shopping.merchant.products.v1.ProductInput.custom_attributes:type_name -> google.shopping.type.CustomAttribute
664 0, // 2: google.shopping.merchant.products.v1.InsertProductInputRequest.product_input:type_name -> google.shopping.merchant.products.v1.ProductInput
665 0, // 3: google.shopping.merchant.products.v1.UpdateProductInputRequest.product_input:type_name -> google.shopping.merchant.products.v1.ProductInput
666 6, // 4: google.shopping.merchant.products.v1.UpdateProductInputRequest.update_mask:type_name -> google.protobuf.FieldMask
667 1, // 5: google.shopping.merchant.products.v1.ProductInputsService.InsertProductInput:input_type -> google.shopping.merchant.products.v1.InsertProductInputRequest
668 2, // 6: google.shopping.merchant.products.v1.ProductInputsService.UpdateProductInput:input_type -> google.shopping.merchant.products.v1.UpdateProductInputRequest
669 3, // 7: google.shopping.merchant.products.v1.ProductInputsService.DeleteProductInput:input_type -> google.shopping.merchant.products.v1.DeleteProductInputRequest
670 0, // 8: google.shopping.merchant.products.v1.ProductInputsService.InsertProductInput:output_type -> google.shopping.merchant.products.v1.ProductInput
671 0, // 9: google.shopping.merchant.products.v1.ProductInputsService.UpdateProductInput:output_type -> google.shopping.merchant.products.v1.ProductInput
672 7, // 10: google.shopping.merchant.products.v1.ProductInputsService.DeleteProductInput:output_type -> google.protobuf.Empty
673 8, // [8:11] is the sub-list for method output_type
674 5, // [5:8] is the sub-list for method input_type
675 5, // [5:5] is the sub-list for extension type_name
676 5, // [5:5] is the sub-list for extension extendee
677 0, // [0:5] is the sub-list for field type_name
678 }
679
680 func init() { file_google_shopping_merchant_products_v1_productinputs_proto_init() }
681 func file_google_shopping_merchant_products_v1_productinputs_proto_init() {
682 if File_google_shopping_merchant_products_v1_productinputs_proto != nil {
683 return
684 }
685 file_google_shopping_merchant_products_v1_products_common_proto_init()
686 file_google_shopping_merchant_products_v1_productinputs_proto_msgTypes[0].OneofWrappers = []any{}
687 type x struct{}
688 out := protoimpl.TypeBuilder{
689 File: protoimpl.DescBuilder{
690 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
691 RawDescriptor: file_google_shopping_merchant_products_v1_productinputs_proto_rawDesc,
692 NumEnums: 0,
693 NumMessages: 4,
694 NumExtensions: 0,
695 NumServices: 1,
696 },
697 GoTypes: file_google_shopping_merchant_products_v1_productinputs_proto_goTypes,
698 DependencyIndexes: file_google_shopping_merchant_products_v1_productinputs_proto_depIdxs,
699 MessageInfos: file_google_shopping_merchant_products_v1_productinputs_proto_msgTypes,
700 }.Build()
701 File_google_shopping_merchant_products_v1_productinputs_proto = out.File
702 file_google_shopping_merchant_products_v1_productinputs_proto_rawDesc = nil
703 file_google_shopping_merchant_products_v1_productinputs_proto_goTypes = nil
704 file_google_shopping_merchant_products_v1_productinputs_proto_depIdxs = nil
705 }
706
707 // Reference imports to suppress errors if they are not otherwise used.
708 var _ context.Context
709 var _ grpc.ClientConnInterface
710
711 // This is a compile-time assertion to ensure that this generated file
712 // is compatible with the grpc package it is being compiled against.
713 const _ = grpc.SupportPackageIsVersion6
714
715 // ProductInputsServiceClient is the client API for ProductInputsService service.
716 //
717 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
718 type ProductInputsServiceClient interface {
719 // [Uploads a product input to your Merchant Center
720 // account](/merchant/api/guides/products/overview#upload-product-input). You
721 // must have a products [data
722 // source](/merchant/api/guides/data-sources/overview) to be able to insert a
723 // product. The unique identifier of the data source is passed as a query
724 // parameter in the request URL.
725 //
726 // If a product input with the same contentLanguage, offerId, and dataSource
727 // already exists, then the product input inserted by this method replaces
728 // that entry.
729 //
730 // After inserting, updating, or deleting a product input, it may take several
731 // minutes before the processed product can be retrieved.
732 InsertProductInput(ctx context.Context, in *InsertProductInputRequest, opts ...grpc.CallOption) (*ProductInput, error)
733 // Updates the existing product input in your Merchant Center account.
734 //
735 // After inserting, updating, or deleting a product input, it may take several
736 // minutes before the processed product can be retrieved.
737 UpdateProductInput(ctx context.Context, in *UpdateProductInputRequest, opts ...grpc.CallOption) (*ProductInput, error)
738 // Deletes a product input from your Merchant Center account.
739 //
740 // After inserting, updating, or deleting a product input, it may take several
741 // minutes before the processed product can be retrieved.
742 DeleteProductInput(ctx context.Context, in *DeleteProductInputRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
743 }
744
745 type productInputsServiceClient struct {
746 cc grpc.ClientConnInterface
747 }
748
749 func NewProductInputsServiceClient(cc grpc.ClientConnInterface) ProductInputsServiceClient {
750 return &productInputsServiceClient{cc}
751 }
752
753 func (c *productInputsServiceClient) InsertProductInput(ctx context.Context, in *InsertProductInputRequest, opts ...grpc.CallOption) (*ProductInput, error) {
754 out := new(ProductInput)
755 err := c.cc.Invoke(ctx, "/google.shopping.merchant.products.v1.ProductInputsService/InsertProductInput", in, out, opts...)
756 if err != nil {
757 return nil, err
758 }
759 return out, nil
760 }
761
762 func (c *productInputsServiceClient) UpdateProductInput(ctx context.Context, in *UpdateProductInputRequest, opts ...grpc.CallOption) (*ProductInput, error) {
763 out := new(ProductInput)
764 err := c.cc.Invoke(ctx, "/google.shopping.merchant.products.v1.ProductInputsService/UpdateProductInput", in, out, opts...)
765 if err != nil {
766 return nil, err
767 }
768 return out, nil
769 }
770
771 func (c *productInputsServiceClient) DeleteProductInput(ctx context.Context, in *DeleteProductInputRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
772 out := new(emptypb.Empty)
773 err := c.cc.Invoke(ctx, "/google.shopping.merchant.products.v1.ProductInputsService/DeleteProductInput", in, out, opts...)
774 if err != nil {
775 return nil, err
776 }
777 return out, nil
778 }
779
780 // ProductInputsServiceServer is the server API for ProductInputsService service.
781 type ProductInputsServiceServer interface {
782 // [Uploads a product input to your Merchant Center
783 // account](/merchant/api/guides/products/overview#upload-product-input). You
784 // must have a products [data
785 // source](/merchant/api/guides/data-sources/overview) to be able to insert a
786 // product. The unique identifier of the data source is passed as a query
787 // parameter in the request URL.
788 //
789 // If a product input with the same contentLanguage, offerId, and dataSource
790 // already exists, then the product input inserted by this method replaces
791 // that entry.
792 //
793 // After inserting, updating, or deleting a product input, it may take several
794 // minutes before the processed product can be retrieved.
795 InsertProductInput(context.Context, *InsertProductInputRequest) (*ProductInput, error)
796 // Updates the existing product input in your Merchant Center account.
797 //
798 // After inserting, updating, or deleting a product input, it may take several
799 // minutes before the processed product can be retrieved.
800 UpdateProductInput(context.Context, *UpdateProductInputRequest) (*ProductInput, error)
801 // Deletes a product input from your Merchant Center account.
802 //
803 // After inserting, updating, or deleting a product input, it may take several
804 // minutes before the processed product can be retrieved.
805 DeleteProductInput(context.Context, *DeleteProductInputRequest) (*emptypb.Empty, error)
806 }
807
808 // UnimplementedProductInputsServiceServer can be embedded to have forward compatible implementations.
809 type UnimplementedProductInputsServiceServer struct {
810 }
811
812 func (*UnimplementedProductInputsServiceServer) InsertProductInput(context.Context, *InsertProductInputRequest) (*ProductInput, error) {
813 return nil, status.Errorf(codes.Unimplemented, "method InsertProductInput not implemented")
814 }
815 func (*UnimplementedProductInputsServiceServer) UpdateProductInput(context.Context, *UpdateProductInputRequest) (*ProductInput, error) {
816 return nil, status.Errorf(codes.Unimplemented, "method UpdateProductInput not implemented")
817 }
818 func (*UnimplementedProductInputsServiceServer) DeleteProductInput(context.Context, *DeleteProductInputRequest) (*emptypb.Empty, error) {
819 return nil, status.Errorf(codes.Unimplemented, "method DeleteProductInput not implemented")
820 }
821
822 func RegisterProductInputsServiceServer(s *grpc.Server, srv ProductInputsServiceServer) {
823 s.RegisterService(&_ProductInputsService_serviceDesc, srv)
824 }
825
826 func _ProductInputsService_InsertProductInput_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
827 in := new(InsertProductInputRequest)
828 if err := dec(in); err != nil {
829 return nil, err
830 }
831 if interceptor == nil {
832 return srv.(ProductInputsServiceServer).InsertProductInput(ctx, in)
833 }
834 info := &grpc.UnaryServerInfo{
835 Server: srv,
836 FullMethod: "/google.shopping.merchant.products.v1.ProductInputsService/InsertProductInput",
837 }
838 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
839 return srv.(ProductInputsServiceServer).InsertProductInput(ctx, req.(*InsertProductInputRequest))
840 }
841 return interceptor(ctx, in, info, handler)
842 }
843
844 func _ProductInputsService_UpdateProductInput_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
845 in := new(UpdateProductInputRequest)
846 if err := dec(in); err != nil {
847 return nil, err
848 }
849 if interceptor == nil {
850 return srv.(ProductInputsServiceServer).UpdateProductInput(ctx, in)
851 }
852 info := &grpc.UnaryServerInfo{
853 Server: srv,
854 FullMethod: "/google.shopping.merchant.products.v1.ProductInputsService/UpdateProductInput",
855 }
856 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
857 return srv.(ProductInputsServiceServer).UpdateProductInput(ctx, req.(*UpdateProductInputRequest))
858 }
859 return interceptor(ctx, in, info, handler)
860 }
861
862 func _ProductInputsService_DeleteProductInput_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
863 in := new(DeleteProductInputRequest)
864 if err := dec(in); err != nil {
865 return nil, err
866 }
867 if interceptor == nil {
868 return srv.(ProductInputsServiceServer).DeleteProductInput(ctx, in)
869 }
870 info := &grpc.UnaryServerInfo{
871 Server: srv,
872 FullMethod: "/google.shopping.merchant.products.v1.ProductInputsService/DeleteProductInput",
873 }
874 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
875 return srv.(ProductInputsServiceServer).DeleteProductInput(ctx, req.(*DeleteProductInputRequest))
876 }
877 return interceptor(ctx, in, info, handler)
878 }
879
880 var _ProductInputsService_serviceDesc = grpc.ServiceDesc{
881 ServiceName: "google.shopping.merchant.products.v1.ProductInputsService",
882 HandlerType: (*ProductInputsServiceServer)(nil),
883 Methods: []grpc.MethodDesc{
884 {
885 MethodName: "InsertProductInput",
886 Handler: _ProductInputsService_InsertProductInput_Handler,
887 },
888 {
889 MethodName: "UpdateProductInput",
890 Handler: _ProductInputsService_UpdateProductInput_Handler,
891 },
892 {
893 MethodName: "DeleteProductInput",
894 Handler: _ProductInputsService_DeleteProductInput_Handler,
895 },
896 },
897 Streams: []grpc.StreamDesc{},
898 Metadata: "google/shopping/merchant/products/v1/productinputs.proto",
899 }