Debian Codegraph @

shopping/merchant/inventories/apiv1/inventoriespb/regionalinventory.pb.go

raw symbols SCIP
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/inventories/v1/regionalinventory.proto
20
21 package inventoriespb
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 emptypb "google.golang.org/protobuf/types/known/emptypb"
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 // Regional inventory information for the product. Represents specific
44 // information like price and availability for a given product in a specific
45 // [`region`][google.shopping.merchant.inventories.v1.RegionalInventory.region].
46 // For a list of all accepted attribute values, see the [regional product
47 // inventory data
48 // specification](https://support.google.com/merchants/answer/9698880).
49 type RegionalInventory struct {
50 state protoimpl.MessageState
51 sizeCache protoimpl.SizeCache
52 unknownFields protoimpl.UnknownFields
53
54 // Output only. The name of the `RegionalInventory` resource.
55 // Format:
56 // `{regional_inventory.name=accounts/{account}/products/{product}/regionalInventories/{region}`
57 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
58 // Output only. The account that owns the product. This field will be ignored
59 // if set by the client.
60 Account int64 `protobuf:"varint,2,opt,name=account,proto3" json:"account,omitempty"`
61 // Required. Immutable. ID of the region for this
62 // `RegionalInventory` resource. See the [Regional availability and
63 // pricing](https://support.google.com/merchants/answer/9698880) for more
64 // details.
65 Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
66 // Optional. A list of regional inventory attributes.
67 RegionalInventoryAttributes *RegionalInventoryAttributes `protobuf:"bytes,9,opt,name=regional_inventory_attributes,json=regionalInventoryAttributes,proto3" json:"regional_inventory_attributes,omitempty"`
68 }
69
70 func (x *RegionalInventory) Reset() {
71 *x = RegionalInventory{}
72 mi := &file_google_shopping_merchant_inventories_v1_regionalinventory_proto_msgTypes[0]
73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
74 ms.StoreMessageInfo(mi)
75 }
76
77 func (x *RegionalInventory) String() string {
78 return protoimpl.X.MessageStringOf(x)
79 }
80
81 func (*RegionalInventory) ProtoMessage() {}
82
83 func (x *RegionalInventory) ProtoReflect() protoreflect.Message {
84 mi := &file_google_shopping_merchant_inventories_v1_regionalinventory_proto_msgTypes[0]
85 if x != nil {
86 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
87 if ms.LoadMessageInfo() == nil {
88 ms.StoreMessageInfo(mi)
89 }
90 return ms
91 }
92 return mi.MessageOf(x)
93 }
94
95 // Deprecated: Use RegionalInventory.ProtoReflect.Descriptor instead.
96 func (*RegionalInventory) Descriptor() ([]byte, []int) {
97 return file_google_shopping_merchant_inventories_v1_regionalinventory_proto_rawDescGZIP(), []int{0}
98 }
99
100 func (x *RegionalInventory) GetName() string {
101 if x != nil {
102 return x.Name
103 }
104 return ""
105 }
106
107 func (x *RegionalInventory) GetAccount() int64 {
108 if x != nil {
109 return x.Account
110 }
111 return 0
112 }
113
114 func (x *RegionalInventory) GetRegion() string {
115 if x != nil {
116 return x.Region
117 }
118 return ""
119 }
120
121 func (x *RegionalInventory) GetRegionalInventoryAttributes() *RegionalInventoryAttributes {
122 if x != nil {
123 return x.RegionalInventoryAttributes
124 }
125 return nil
126 }
127
128 // Request message for the `ListRegionalInventories` method.
129 type ListRegionalInventoriesRequest struct {
130 state protoimpl.MessageState
131 sizeCache protoimpl.SizeCache
132 unknownFields protoimpl.UnknownFields
133
134 // Required. The `name` of the parent product to list `RegionalInventory`
135 // resources for. Format: `accounts/{account}/products/{product}`
136 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
137 // The maximum number of `RegionalInventory` resources for the given product
138 // to return. The service returns fewer than this value if the number of
139 // inventories for the given product is less that than the `pageSize`. The
140 // default value is 25000. The maximum value is 100000; If a value higher than
141 // the maximum is specified, then the `pageSize` will default to the maximum.
142 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
143 // A page token, received from a previous `ListRegionalInventories` call.
144 // Provide the page token to retrieve the subsequent page.
145 //
146 // When paginating, all other parameters provided to `ListRegionalInventories`
147 // must match the call that provided the page token. The token returned as
148 // [nextPageToken][google.shopping.merchant.inventories.v1.ListRegionalInventoriesResponse.next_page_token]
149 // in the response to the previous request.
150 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
151 }
152
153 func (x *ListRegionalInventoriesRequest) Reset() {
154 *x = ListRegionalInventoriesRequest{}
155 mi := &file_google_shopping_merchant_inventories_v1_regionalinventory_proto_msgTypes[1]
156 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
157 ms.StoreMessageInfo(mi)
158 }
159
160 func (x *ListRegionalInventoriesRequest) String() string {
161 return protoimpl.X.MessageStringOf(x)
162 }
163
164 func (*ListRegionalInventoriesRequest) ProtoMessage() {}
165
166 func (x *ListRegionalInventoriesRequest) ProtoReflect() protoreflect.Message {
167 mi := &file_google_shopping_merchant_inventories_v1_regionalinventory_proto_msgTypes[1]
168 if x != nil {
169 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
170 if ms.LoadMessageInfo() == nil {
171 ms.StoreMessageInfo(mi)
172 }
173 return ms
174 }
175 return mi.MessageOf(x)
176 }
177
178 // Deprecated: Use ListRegionalInventoriesRequest.ProtoReflect.Descriptor instead.
179 func (*ListRegionalInventoriesRequest) Descriptor() ([]byte, []int) {
180 return file_google_shopping_merchant_inventories_v1_regionalinventory_proto_rawDescGZIP(), []int{1}
181 }
182
183 func (x *ListRegionalInventoriesRequest) GetParent() string {
184 if x != nil {
185 return x.Parent
186 }
187 return ""
188 }
189
190 func (x *ListRegionalInventoriesRequest) GetPageSize() int32 {
191 if x != nil {
192 return x.PageSize
193 }
194 return 0
195 }
196
197 func (x *ListRegionalInventoriesRequest) GetPageToken() string {
198 if x != nil {
199 return x.PageToken
200 }
201 return ""
202 }
203
204 // Response message for the `ListRegionalInventories` method.
205 type ListRegionalInventoriesResponse struct {
206 state protoimpl.MessageState
207 sizeCache protoimpl.SizeCache
208 unknownFields protoimpl.UnknownFields
209
210 // The `RegionalInventory` resources for the given product from the specified
211 // account.
212 RegionalInventories []*RegionalInventory `protobuf:"bytes,1,rep,name=regional_inventories,json=regionalInventories,proto3" json:"regional_inventories,omitempty"`
213 // A token, which can be sent as `pageToken` to retrieve the next page.
214 // If this field is omitted, there are no subsequent pages.
215 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
216 }
217
218 func (x *ListRegionalInventoriesResponse) Reset() {
219 *x = ListRegionalInventoriesResponse{}
220 mi := &file_google_shopping_merchant_inventories_v1_regionalinventory_proto_msgTypes[2]
221 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
222 ms.StoreMessageInfo(mi)
223 }
224
225 func (x *ListRegionalInventoriesResponse) String() string {
226 return protoimpl.X.MessageStringOf(x)
227 }
228
229 func (*ListRegionalInventoriesResponse) ProtoMessage() {}
230
231 func (x *ListRegionalInventoriesResponse) ProtoReflect() protoreflect.Message {
232 mi := &file_google_shopping_merchant_inventories_v1_regionalinventory_proto_msgTypes[2]
233 if x != nil {
234 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
235 if ms.LoadMessageInfo() == nil {
236 ms.StoreMessageInfo(mi)
237 }
238 return ms
239 }
240 return mi.MessageOf(x)
241 }
242
243 // Deprecated: Use ListRegionalInventoriesResponse.ProtoReflect.Descriptor instead.
244 func (*ListRegionalInventoriesResponse) Descriptor() ([]byte, []int) {
245 return file_google_shopping_merchant_inventories_v1_regionalinventory_proto_rawDescGZIP(), []int{2}
246 }
247
248 func (x *ListRegionalInventoriesResponse) GetRegionalInventories() []*RegionalInventory {
249 if x != nil {
250 return x.RegionalInventories
251 }
252 return nil
253 }
254
255 func (x *ListRegionalInventoriesResponse) GetNextPageToken() string {
256 if x != nil {
257 return x.NextPageToken
258 }
259 return ""
260 }
261
262 // Request message for the `InsertRegionalInventory` method.
263 type InsertRegionalInventoryRequest struct {
264 state protoimpl.MessageState
265 sizeCache protoimpl.SizeCache
266 unknownFields protoimpl.UnknownFields
267
268 // Required. The account and product where this inventory will be inserted.
269 // Format: `accounts/{account}/products/{product}`
270 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
271 // Required. Regional inventory information to add to the product. If the
272 // product already has a `RegionalInventory` resource for the same `region`,
273 // full replacement of the `RegionalInventory` resource is performed.
274 RegionalInventory *RegionalInventory `protobuf:"bytes,2,opt,name=regional_inventory,json=regionalInventory,proto3" json:"regional_inventory,omitempty"`
275 }
276
277 func (x *InsertRegionalInventoryRequest) Reset() {
278 *x = InsertRegionalInventoryRequest{}
279 mi := &file_google_shopping_merchant_inventories_v1_regionalinventory_proto_msgTypes[3]
280 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
281 ms.StoreMessageInfo(mi)
282 }
283
284 func (x *InsertRegionalInventoryRequest) String() string {
285 return protoimpl.X.MessageStringOf(x)
286 }
287
288 func (*InsertRegionalInventoryRequest) ProtoMessage() {}
289
290 func (x *InsertRegionalInventoryRequest) ProtoReflect() protoreflect.Message {
291 mi := &file_google_shopping_merchant_inventories_v1_regionalinventory_proto_msgTypes[3]
292 if x != nil {
293 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
294 if ms.LoadMessageInfo() == nil {
295 ms.StoreMessageInfo(mi)
296 }
297 return ms
298 }
299 return mi.MessageOf(x)
300 }
301
302 // Deprecated: Use InsertRegionalInventoryRequest.ProtoReflect.Descriptor instead.
303 func (*InsertRegionalInventoryRequest) Descriptor() ([]byte, []int) {
304 return file_google_shopping_merchant_inventories_v1_regionalinventory_proto_rawDescGZIP(), []int{3}
305 }
306
307 func (x *InsertRegionalInventoryRequest) GetParent() string {
308 if x != nil {
309 return x.Parent
310 }
311 return ""
312 }
313
314 func (x *InsertRegionalInventoryRequest) GetRegionalInventory() *RegionalInventory {
315 if x != nil {
316 return x.RegionalInventory
317 }
318 return nil
319 }
320
321 // Request message for the `DeleteRegionalInventory` method.
322 type DeleteRegionalInventoryRequest struct {
323 state protoimpl.MessageState
324 sizeCache protoimpl.SizeCache
325 unknownFields protoimpl.UnknownFields
326
327 // Required. The name of the `RegionalInventory` resource to delete.
328 // Format:
329 // `accounts/{account}/products/{product}/regionalInventories/{region}`
330 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
331 }
332
333 func (x *DeleteRegionalInventoryRequest) Reset() {
334 *x = DeleteRegionalInventoryRequest{}
335 mi := &file_google_shopping_merchant_inventories_v1_regionalinventory_proto_msgTypes[4]
336 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
337 ms.StoreMessageInfo(mi)
338 }
339
340 func (x *DeleteRegionalInventoryRequest) String() string {
341 return protoimpl.X.MessageStringOf(x)
342 }
343
344 func (*DeleteRegionalInventoryRequest) ProtoMessage() {}
345
346 func (x *DeleteRegionalInventoryRequest) ProtoReflect() protoreflect.Message {
347 mi := &file_google_shopping_merchant_inventories_v1_regionalinventory_proto_msgTypes[4]
348 if x != nil {
349 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
350 if ms.LoadMessageInfo() == nil {
351 ms.StoreMessageInfo(mi)
352 }
353 return ms
354 }
355 return mi.MessageOf(x)
356 }
357
358 // Deprecated: Use DeleteRegionalInventoryRequest.ProtoReflect.Descriptor instead.
359 func (*DeleteRegionalInventoryRequest) Descriptor() ([]byte, []int) {
360 return file_google_shopping_merchant_inventories_v1_regionalinventory_proto_rawDescGZIP(), []int{4}
361 }
362
363 func (x *DeleteRegionalInventoryRequest) GetName() string {
364 if x != nil {
365 return x.Name
366 }
367 return ""
368 }
369
370 var File_google_shopping_merchant_inventories_v1_regionalinventory_proto protoreflect.FileDescriptor
371
372 var file_google_shopping_merchant_inventories_v1_regionalinventory_proto_rawDesc = []byte{
373 0x0a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
374 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x69, 0x6e, 0x76, 0x65, 0x6e,
375 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
376 0x61, 0x6c, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
377 0x6f, 0x12, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
378 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x69, 0x6e, 0x76, 0x65,
379 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67,
380 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
381 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
382 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
383 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69,
384 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
385 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72,
386 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67,
387 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65,
388 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x40, 0x67, 0x6f, 0x6f, 0x67,
389 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63,
390 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73,
391 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x5f,
392 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf2, 0x02, 0x0a,
393 0x11, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f,
394 0x72, 0x79, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
395 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x07, 0x61,
396 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41,
397 0x03, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x06, 0x72, 0x65,
398 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe0, 0x41, 0x02, 0xe0,
399 0x41, 0x05, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x8d, 0x01, 0x0a, 0x1d, 0x72,
400 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72,
401 0x79, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01,
402 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70,
403 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x69, 0x6e,
404 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67,
405 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x41, 0x74,
406 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x1b, 0x72,
407 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79,
408 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x3a, 0x75, 0xea, 0x41, 0x72, 0x0a,
409 0x2c, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f,
410 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x67, 0x69,
411 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x42, 0x61,
412 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
413 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x64,
414 0x75, 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76,
415 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
416 0x7d, 0x22, 0xaa, 0x01, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e,
417 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71,
418 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01,
419 0x20, 0x01, 0x28, 0x09, 0x42, 0x34, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2e, 0x12, 0x2c, 0x6d, 0x65,
420 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
421 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61,
422 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65,
423 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
424 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12,
425 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20,
426 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xb8,
427 0x01, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49,
428 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
429 0x73, 0x65, 0x12, 0x6d, 0x0a, 0x14, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69,
430 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
431 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
432 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x69, 0x6e, 0x76, 0x65,
433 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f,
434 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x13, 0x72, 0x65,
435 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65,
436 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74,
437 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74,
438 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xde, 0x01, 0x0a, 0x1e, 0x49, 0x6e,
439 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65,
440 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x06,
441 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x34, 0xe0, 0x41,
442 0x02, 0xfa, 0x41, 0x2e, 0x12, 0x2c, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70,
443 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
444 0x2f, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f,
445 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x6e, 0x0a, 0x12, 0x72, 0x65,
446 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79,
447 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
448 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e,
449 0x74, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31,
450 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f,
451 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x11, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61,
452 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x6a, 0x0a, 0x1e, 0x44, 0x65,
453 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65,
454 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x04,
455 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x34, 0xe0, 0x41, 0x02, 0xfa,
456 0x41, 0x2e, 0x0a, 0x2c, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e,
457 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52,
458 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79,
459 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0xbf, 0x06, 0x0a, 0x18, 0x52, 0x65, 0x67, 0x69, 0x6f,
460 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76,
461 0x69, 0x63, 0x65, 0x12, 0x81, 0x02, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69,
462 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12,
463 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
464 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e,
465 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
466 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65,
467 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x48, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
468 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68,
469 0x61, 0x6e, 0x74, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2e,
470 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49,
471 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
472 0x73, 0x65, 0x22, 0x53, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4,
473 0x93, 0x02, 0x44, 0x12, 0x42, 0x2f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65,
474 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x61, 0x63, 0x63,
475 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73,
476 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65,
477 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x85, 0x02, 0x0a, 0x17, 0x49, 0x6e, 0x73, 0x65,
478 0x72, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74,
479 0x6f, 0x72, 0x79, 0x12, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f,
480 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x69,
481 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e,
482 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65,
483 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x67,
484 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d,
485 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72,
486 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49,
487 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5f,
488 0x3a, 0x12, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x76, 0x65, 0x6e,
489 0x74, 0x6f, 0x72, 0x79, 0x22, 0x49, 0x2f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69,
490 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x61, 0x63,
491 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
492 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76,
493 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x3a, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x12,
494 0xcd, 0x01, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e,
495 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x47, 0x2e, 0x67, 0x6f,
496 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
497 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69,
498 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69,
499 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71,
500 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
501 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x51, 0xda, 0x41,
502 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x44, 0x2a, 0x42, 0x2f, 0x69, 0x6e,
503 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61,
504 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72,
505 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61,
506 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x1a,
507 0x47, 0xca, 0x41, 0x1a, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e,
508 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41,
509 0x27, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f,
510 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68,
511 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x9e, 0x02, 0x0a, 0x2b, 0x63, 0x6f, 0x6d,
512 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
513 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74,
514 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x16, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e,
515 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f,
516 0x50, 0x01, 0x5a, 0x53, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
517 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
518 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74,
519 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x76, 0x65,
520 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x70, 0x62, 0x3b, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74,
521 0x6f, 0x72, 0x69, 0x65, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x27, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
522 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61,
523 0x6e, 0x74, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x56,
524 0x31, 0xca, 0x02, 0x27, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70, 0x70,
525 0x69, 0x6e, 0x67, 0x5c, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5c, 0x49, 0x6e, 0x76,
526 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x2b, 0x47, 0x6f,
527 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a,
528 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x3a, 0x3a, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74,
529 0x6f, 0x72, 0x69, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
530 0x33,
531 }
532
533 var (
534 file_google_shopping_merchant_inventories_v1_regionalinventory_proto_rawDescOnce sync.Once
535 file_google_shopping_merchant_inventories_v1_regionalinventory_proto_rawDescData = file_google_shopping_merchant_inventories_v1_regionalinventory_proto_rawDesc
536 )
537
538 func file_google_shopping_merchant_inventories_v1_regionalinventory_proto_rawDescGZIP() []byte {
539 file_google_shopping_merchant_inventories_v1_regionalinventory_proto_rawDescOnce.Do(func() {
540 file_google_shopping_merchant_inventories_v1_regionalinventory_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_inventories_v1_regionalinventory_proto_rawDescData)
541 })
542 return file_google_shopping_merchant_inventories_v1_regionalinventory_proto_rawDescData
543 }
544
545 var file_google_shopping_merchant_inventories_v1_regionalinventory_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
546 var file_google_shopping_merchant_inventories_v1_regionalinventory_proto_goTypes = []any{
547 (*RegionalInventory)(nil), // 0: google.shopping.merchant.inventories.v1.RegionalInventory
548 (*ListRegionalInventoriesRequest)(nil), // 1: google.shopping.merchant.inventories.v1.ListRegionalInventoriesRequest
549 (*ListRegionalInventoriesResponse)(nil), // 2: google.shopping.merchant.inventories.v1.ListRegionalInventoriesResponse
550 (*InsertRegionalInventoryRequest)(nil), // 3: google.shopping.merchant.inventories.v1.InsertRegionalInventoryRequest
551 (*DeleteRegionalInventoryRequest)(nil), // 4: google.shopping.merchant.inventories.v1.DeleteRegionalInventoryRequest
552 (*RegionalInventoryAttributes)(nil), // 5: google.shopping.merchant.inventories.v1.RegionalInventoryAttributes
553 (*emptypb.Empty)(nil), // 6: google.protobuf.Empty
554 }
555 var file_google_shopping_merchant_inventories_v1_regionalinventory_proto_depIdxs = []int32{
556 5, // 0: google.shopping.merchant.inventories.v1.RegionalInventory.regional_inventory_attributes:type_name -> google.shopping.merchant.inventories.v1.RegionalInventoryAttributes
557 0, // 1: google.shopping.merchant.inventories.v1.ListRegionalInventoriesResponse.regional_inventories:type_name -> google.shopping.merchant.inventories.v1.RegionalInventory
558 0, // 2: google.shopping.merchant.inventories.v1.InsertRegionalInventoryRequest.regional_inventory:type_name -> google.shopping.merchant.inventories.v1.RegionalInventory
559 1, // 3: google.shopping.merchant.inventories.v1.RegionalInventoryService.ListRegionalInventories:input_type -> google.shopping.merchant.inventories.v1.ListRegionalInventoriesRequest
560 3, // 4: google.shopping.merchant.inventories.v1.RegionalInventoryService.InsertRegionalInventory:input_type -> google.shopping.merchant.inventories.v1.InsertRegionalInventoryRequest
561 4, // 5: google.shopping.merchant.inventories.v1.RegionalInventoryService.DeleteRegionalInventory:input_type -> google.shopping.merchant.inventories.v1.DeleteRegionalInventoryRequest
562 2, // 6: google.shopping.merchant.inventories.v1.RegionalInventoryService.ListRegionalInventories:output_type -> google.shopping.merchant.inventories.v1.ListRegionalInventoriesResponse
563 0, // 7: google.shopping.merchant.inventories.v1.RegionalInventoryService.InsertRegionalInventory:output_type -> google.shopping.merchant.inventories.v1.RegionalInventory
564 6, // 8: google.shopping.merchant.inventories.v1.RegionalInventoryService.DeleteRegionalInventory:output_type -> google.protobuf.Empty
565 6, // [6:9] is the sub-list for method output_type
566 3, // [3:6] is the sub-list for method input_type
567 3, // [3:3] is the sub-list for extension type_name
568 3, // [3:3] is the sub-list for extension extendee
569 0, // [0:3] is the sub-list for field type_name
570 }
571
572 func init() { file_google_shopping_merchant_inventories_v1_regionalinventory_proto_init() }
573 func file_google_shopping_merchant_inventories_v1_regionalinventory_proto_init() {
574 if File_google_shopping_merchant_inventories_v1_regionalinventory_proto != nil {
575 return
576 }
577 file_google_shopping_merchant_inventories_v1_inventories_common_proto_init()
578 type x struct{}
579 out := protoimpl.TypeBuilder{
580 File: protoimpl.DescBuilder{
581 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
582 RawDescriptor: file_google_shopping_merchant_inventories_v1_regionalinventory_proto_rawDesc,
583 NumEnums: 0,
584 NumMessages: 5,
585 NumExtensions: 0,
586 NumServices: 1,
587 },
588 GoTypes: file_google_shopping_merchant_inventories_v1_regionalinventory_proto_goTypes,
589 DependencyIndexes: file_google_shopping_merchant_inventories_v1_regionalinventory_proto_depIdxs,
590 MessageInfos: file_google_shopping_merchant_inventories_v1_regionalinventory_proto_msgTypes,
591 }.Build()
592 File_google_shopping_merchant_inventories_v1_regionalinventory_proto = out.File
593 file_google_shopping_merchant_inventories_v1_regionalinventory_proto_rawDesc = nil
594 file_google_shopping_merchant_inventories_v1_regionalinventory_proto_goTypes = nil
595 file_google_shopping_merchant_inventories_v1_regionalinventory_proto_depIdxs = nil
596 }
597
598 // Reference imports to suppress errors if they are not otherwise used.
599 var _ context.Context
600 var _ grpc.ClientConnInterface
601
602 // This is a compile-time assertion to ensure that this generated file
603 // is compatible with the grpc package it is being compiled against.
604 const _ = grpc.SupportPackageIsVersion6
605
606 // RegionalInventoryServiceClient is the client API for RegionalInventoryService service.
607 //
608 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
609 type RegionalInventoryServiceClient interface {
610 // Lists the `RegionalInventory` resources for the given product in your
611 // merchant account. The response might contain fewer items than specified by
612 // `pageSize`. If `pageToken` was returned in previous request, it can be
613 // used to obtain additional results.
614 //
615 // `RegionalInventory` resources are listed per product for a given account.
616 ListRegionalInventories(ctx context.Context, in *ListRegionalInventoriesRequest, opts ...grpc.CallOption) (*ListRegionalInventoriesResponse, error)
617 // Inserts a `RegionalInventory` to a given product in your
618 // merchant account.
619 //
620 // Replaces the full `RegionalInventory` resource if an entry with the same
621 // [`region`][google.shopping.merchant.inventories.v1.RegionalInventory.region]
622 // already exists for the product.
623 //
624 // It might take up to 30 minutes for the new or updated `RegionalInventory`
625 // resource to appear in products.
626 InsertRegionalInventory(ctx context.Context, in *InsertRegionalInventoryRequest, opts ...grpc.CallOption) (*RegionalInventory, error)
627 // Deletes the specified `RegionalInventory` resource from the given product
628 // in your merchant account. It might take up to an hour for the
629 // `RegionalInventory` to be deleted from the specific product.
630 // Once you have received a successful delete response, wait for that
631 // period before attempting a delete again.
632 DeleteRegionalInventory(ctx context.Context, in *DeleteRegionalInventoryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
633 }
634
635 type regionalInventoryServiceClient struct {
636 cc grpc.ClientConnInterface
637 }
638
639 func NewRegionalInventoryServiceClient(cc grpc.ClientConnInterface) RegionalInventoryServiceClient {
640 return &regionalInventoryServiceClient{cc}
641 }
642
643 func (c *regionalInventoryServiceClient) ListRegionalInventories(ctx context.Context, in *ListRegionalInventoriesRequest, opts ...grpc.CallOption) (*ListRegionalInventoriesResponse, error) {
644 out := new(ListRegionalInventoriesResponse)
645 err := c.cc.Invoke(ctx, "/google.shopping.merchant.inventories.v1.RegionalInventoryService/ListRegionalInventories", in, out, opts...)
646 if err != nil {
647 return nil, err
648 }
649 return out, nil
650 }
651
652 func (c *regionalInventoryServiceClient) InsertRegionalInventory(ctx context.Context, in *InsertRegionalInventoryRequest, opts ...grpc.CallOption) (*RegionalInventory, error) {
653 out := new(RegionalInventory)
654 err := c.cc.Invoke(ctx, "/google.shopping.merchant.inventories.v1.RegionalInventoryService/InsertRegionalInventory", in, out, opts...)
655 if err != nil {
656 return nil, err
657 }
658 return out, nil
659 }
660
661 func (c *regionalInventoryServiceClient) DeleteRegionalInventory(ctx context.Context, in *DeleteRegionalInventoryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
662 out := new(emptypb.Empty)
663 err := c.cc.Invoke(ctx, "/google.shopping.merchant.inventories.v1.RegionalInventoryService/DeleteRegionalInventory", in, out, opts...)
664 if err != nil {
665 return nil, err
666 }
667 return out, nil
668 }
669
670 // RegionalInventoryServiceServer is the server API for RegionalInventoryService service.
671 type RegionalInventoryServiceServer interface {
672 // Lists the `RegionalInventory` resources for the given product in your
673 // merchant account. The response might contain fewer items than specified by
674 // `pageSize`. If `pageToken` was returned in previous request, it can be
675 // used to obtain additional results.
676 //
677 // `RegionalInventory` resources are listed per product for a given account.
678 ListRegionalInventories(context.Context, *ListRegionalInventoriesRequest) (*ListRegionalInventoriesResponse, error)
679 // Inserts a `RegionalInventory` to a given product in your
680 // merchant account.
681 //
682 // Replaces the full `RegionalInventory` resource if an entry with the same
683 // [`region`][google.shopping.merchant.inventories.v1.RegionalInventory.region]
684 // already exists for the product.
685 //
686 // It might take up to 30 minutes for the new or updated `RegionalInventory`
687 // resource to appear in products.
688 InsertRegionalInventory(context.Context, *InsertRegionalInventoryRequest) (*RegionalInventory, error)
689 // Deletes the specified `RegionalInventory` resource from the given product
690 // in your merchant account. It might take up to an hour for the
691 // `RegionalInventory` to be deleted from the specific product.
692 // Once you have received a successful delete response, wait for that
693 // period before attempting a delete again.
694 DeleteRegionalInventory(context.Context, *DeleteRegionalInventoryRequest) (*emptypb.Empty, error)
695 }
696
697 // UnimplementedRegionalInventoryServiceServer can be embedded to have forward compatible implementations.
698 type UnimplementedRegionalInventoryServiceServer struct {
699 }
700
701 func (*UnimplementedRegionalInventoryServiceServer) ListRegionalInventories(context.Context, *ListRegionalInventoriesRequest) (*ListRegionalInventoriesResponse, error) {
702 return nil, status.Errorf(codes.Unimplemented, "method ListRegionalInventories not implemented")
703 }
704 func (*UnimplementedRegionalInventoryServiceServer) InsertRegionalInventory(context.Context, *InsertRegionalInventoryRequest) (*RegionalInventory, error) {
705 return nil, status.Errorf(codes.Unimplemented, "method InsertRegionalInventory not implemented")
706 }
707 func (*UnimplementedRegionalInventoryServiceServer) DeleteRegionalInventory(context.Context, *DeleteRegionalInventoryRequest) (*emptypb.Empty, error) {
708 return nil, status.Errorf(codes.Unimplemented, "method DeleteRegionalInventory not implemented")
709 }
710
711 func RegisterRegionalInventoryServiceServer(s *grpc.Server, srv RegionalInventoryServiceServer) {
712 s.RegisterService(&_RegionalInventoryService_serviceDesc, srv)
713 }
714
715 func _RegionalInventoryService_ListRegionalInventories_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
716 in := new(ListRegionalInventoriesRequest)
717 if err := dec(in); err != nil {
718 return nil, err
719 }
720 if interceptor == nil {
721 return srv.(RegionalInventoryServiceServer).ListRegionalInventories(ctx, in)
722 }
723 info := &grpc.UnaryServerInfo{
724 Server: srv,
725 FullMethod: "/google.shopping.merchant.inventories.v1.RegionalInventoryService/ListRegionalInventories",
726 }
727 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
728 return srv.(RegionalInventoryServiceServer).ListRegionalInventories(ctx, req.(*ListRegionalInventoriesRequest))
729 }
730 return interceptor(ctx, in, info, handler)
731 }
732
733 func _RegionalInventoryService_InsertRegionalInventory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
734 in := new(InsertRegionalInventoryRequest)
735 if err := dec(in); err != nil {
736 return nil, err
737 }
738 if interceptor == nil {
739 return srv.(RegionalInventoryServiceServer).InsertRegionalInventory(ctx, in)
740 }
741 info := &grpc.UnaryServerInfo{
742 Server: srv,
743 FullMethod: "/google.shopping.merchant.inventories.v1.RegionalInventoryService/InsertRegionalInventory",
744 }
745 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
746 return srv.(RegionalInventoryServiceServer).InsertRegionalInventory(ctx, req.(*InsertRegionalInventoryRequest))
747 }
748 return interceptor(ctx, in, info, handler)
749 }
750
751 func _RegionalInventoryService_DeleteRegionalInventory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
752 in := new(DeleteRegionalInventoryRequest)
753 if err := dec(in); err != nil {
754 return nil, err
755 }
756 if interceptor == nil {
757 return srv.(RegionalInventoryServiceServer).DeleteRegionalInventory(ctx, in)
758 }
759 info := &grpc.UnaryServerInfo{
760 Server: srv,
761 FullMethod: "/google.shopping.merchant.inventories.v1.RegionalInventoryService/DeleteRegionalInventory",
762 }
763 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
764 return srv.(RegionalInventoryServiceServer).DeleteRegionalInventory(ctx, req.(*DeleteRegionalInventoryRequest))
765 }
766 return interceptor(ctx, in, info, handler)
767 }
768
769 var _RegionalInventoryService_serviceDesc = grpc.ServiceDesc{
770 ServiceName: "google.shopping.merchant.inventories.v1.RegionalInventoryService",
771 HandlerType: (*RegionalInventoryServiceServer)(nil),
772 Methods: []grpc.MethodDesc{
773 {
774 MethodName: "ListRegionalInventories",
775 Handler: _RegionalInventoryService_ListRegionalInventories_Handler,
776 },
777 {
778 MethodName: "InsertRegionalInventory",
779 Handler: _RegionalInventoryService_InsertRegionalInventory_Handler,
780 },
781 {
782 MethodName: "DeleteRegionalInventory",
783 Handler: _RegionalInventoryService_DeleteRegionalInventory_Handler,
784 },
785 },
786 Streams: []grpc.StreamDesc{},
787 Metadata: "google/shopping/merchant/inventories/v1/regionalinventory.proto",
788 }