Debian Codegraph @

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