Debian Codegraph @

shopping/merchant/accounts/apiv1beta/accountspb/regions.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/accounts/v1beta/regions.proto
20
21 package accountspb
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 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
33 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
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 // Request message for the `GetRegion` method.
46 type GetRegionRequest struct {
47 state protoimpl.MessageState
48 sizeCache protoimpl.SizeCache
49 unknownFields protoimpl.UnknownFields
50
51 // Required. The name of the region to retrieve.
52 // Format: `accounts/{account}/regions/{region}`
53 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
54 }
55
56 func (x *GetRegionRequest) Reset() {
57 *x = GetRegionRequest{}
58 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[0]
59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
60 ms.StoreMessageInfo(mi)
61 }
62
63 func (x *GetRegionRequest) String() string {
64 return protoimpl.X.MessageStringOf(x)
65 }
66
67 func (*GetRegionRequest) ProtoMessage() {}
68
69 func (x *GetRegionRequest) ProtoReflect() protoreflect.Message {
70 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[0]
71 if x != nil {
72 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
73 if ms.LoadMessageInfo() == nil {
74 ms.StoreMessageInfo(mi)
75 }
76 return ms
77 }
78 return mi.MessageOf(x)
79 }
80
81 // Deprecated: Use GetRegionRequest.ProtoReflect.Descriptor instead.
82 func (*GetRegionRequest) Descriptor() ([]byte, []int) {
83 return file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDescGZIP(), []int{0}
84 }
85
86 func (x *GetRegionRequest) GetName() string {
87 if x != nil {
88 return x.Name
89 }
90 return ""
91 }
92
93 // Request message for the `CreateRegion` method.
94 type CreateRegionRequest struct {
95 state protoimpl.MessageState
96 sizeCache protoimpl.SizeCache
97 unknownFields protoimpl.UnknownFields
98
99 // Required. The account to create a region for.
100 // Format: `accounts/{account}`
101 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
102 // Required. The identifier for the region, unique over all regions of the
103 // same account.
104 RegionId string `protobuf:"bytes,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
105 // Required. The region to create.
106 Region *Region `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
107 }
108
109 func (x *CreateRegionRequest) Reset() {
110 *x = CreateRegionRequest{}
111 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[1]
112 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
113 ms.StoreMessageInfo(mi)
114 }
115
116 func (x *CreateRegionRequest) String() string {
117 return protoimpl.X.MessageStringOf(x)
118 }
119
120 func (*CreateRegionRequest) ProtoMessage() {}
121
122 func (x *CreateRegionRequest) ProtoReflect() protoreflect.Message {
123 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[1]
124 if x != nil {
125 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
126 if ms.LoadMessageInfo() == nil {
127 ms.StoreMessageInfo(mi)
128 }
129 return ms
130 }
131 return mi.MessageOf(x)
132 }
133
134 // Deprecated: Use CreateRegionRequest.ProtoReflect.Descriptor instead.
135 func (*CreateRegionRequest) Descriptor() ([]byte, []int) {
136 return file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDescGZIP(), []int{1}
137 }
138
139 func (x *CreateRegionRequest) GetParent() string {
140 if x != nil {
141 return x.Parent
142 }
143 return ""
144 }
145
146 func (x *CreateRegionRequest) GetRegionId() string {
147 if x != nil {
148 return x.RegionId
149 }
150 return ""
151 }
152
153 func (x *CreateRegionRequest) GetRegion() *Region {
154 if x != nil {
155 return x.Region
156 }
157 return nil
158 }
159
160 // Request message for the `UpdateRegion` method.
161 type UpdateRegionRequest struct {
162 state protoimpl.MessageState
163 sizeCache protoimpl.SizeCache
164 unknownFields protoimpl.UnknownFields
165
166 // Required. The updated region.
167 Region *Region `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
168 // Optional. The comma-separated field mask indicating the fields to update.
169 // Example:
170 // `"displayName,postalCodeArea.regionCode"`.
171 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
172 }
173
174 func (x *UpdateRegionRequest) Reset() {
175 *x = UpdateRegionRequest{}
176 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[2]
177 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
178 ms.StoreMessageInfo(mi)
179 }
180
181 func (x *UpdateRegionRequest) String() string {
182 return protoimpl.X.MessageStringOf(x)
183 }
184
185 func (*UpdateRegionRequest) ProtoMessage() {}
186
187 func (x *UpdateRegionRequest) ProtoReflect() protoreflect.Message {
188 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[2]
189 if x != nil {
190 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
191 if ms.LoadMessageInfo() == nil {
192 ms.StoreMessageInfo(mi)
193 }
194 return ms
195 }
196 return mi.MessageOf(x)
197 }
198
199 // Deprecated: Use UpdateRegionRequest.ProtoReflect.Descriptor instead.
200 func (*UpdateRegionRequest) Descriptor() ([]byte, []int) {
201 return file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDescGZIP(), []int{2}
202 }
203
204 func (x *UpdateRegionRequest) GetRegion() *Region {
205 if x != nil {
206 return x.Region
207 }
208 return nil
209 }
210
211 func (x *UpdateRegionRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
212 if x != nil {
213 return x.UpdateMask
214 }
215 return nil
216 }
217
218 // Request message for the `DeleteRegion` method.
219 type DeleteRegionRequest struct {
220 state protoimpl.MessageState
221 sizeCache protoimpl.SizeCache
222 unknownFields protoimpl.UnknownFields
223
224 // Required. The name of the region to delete.
225 // Format: `accounts/{account}/regions/{region}`
226 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
227 }
228
229 func (x *DeleteRegionRequest) Reset() {
230 *x = DeleteRegionRequest{}
231 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[3]
232 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
233 ms.StoreMessageInfo(mi)
234 }
235
236 func (x *DeleteRegionRequest) String() string {
237 return protoimpl.X.MessageStringOf(x)
238 }
239
240 func (*DeleteRegionRequest) ProtoMessage() {}
241
242 func (x *DeleteRegionRequest) ProtoReflect() protoreflect.Message {
243 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[3]
244 if x != nil {
245 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
246 if ms.LoadMessageInfo() == nil {
247 ms.StoreMessageInfo(mi)
248 }
249 return ms
250 }
251 return mi.MessageOf(x)
252 }
253
254 // Deprecated: Use DeleteRegionRequest.ProtoReflect.Descriptor instead.
255 func (*DeleteRegionRequest) Descriptor() ([]byte, []int) {
256 return file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDescGZIP(), []int{3}
257 }
258
259 func (x *DeleteRegionRequest) GetName() string {
260 if x != nil {
261 return x.Name
262 }
263 return ""
264 }
265
266 // Request message for the `ListRegions` method.
267 type ListRegionsRequest struct {
268 state protoimpl.MessageState
269 sizeCache protoimpl.SizeCache
270 unknownFields protoimpl.UnknownFields
271
272 // Required. The account to list regions for.
273 // Format: `accounts/{account}`
274 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
275 // Optional. The maximum number of regions to return. The service may return
276 // fewer than this value.
277 // If unspecified, at most 50 regions will be returned.
278 // The maximum value is 1000; values above 1000 will be coerced to 1000.
279 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
280 // Optional. A page token, received from a previous `ListRegions` call.
281 // Provide this to retrieve the subsequent page.
282 //
283 // When paginating, all other parameters provided to `ListRegions` must
284 // match the call that provided the page token.
285 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
286 }
287
288 func (x *ListRegionsRequest) Reset() {
289 *x = ListRegionsRequest{}
290 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[4]
291 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
292 ms.StoreMessageInfo(mi)
293 }
294
295 func (x *ListRegionsRequest) String() string {
296 return protoimpl.X.MessageStringOf(x)
297 }
298
299 func (*ListRegionsRequest) ProtoMessage() {}
300
301 func (x *ListRegionsRequest) ProtoReflect() protoreflect.Message {
302 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[4]
303 if x != nil {
304 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
305 if ms.LoadMessageInfo() == nil {
306 ms.StoreMessageInfo(mi)
307 }
308 return ms
309 }
310 return mi.MessageOf(x)
311 }
312
313 // Deprecated: Use ListRegionsRequest.ProtoReflect.Descriptor instead.
314 func (*ListRegionsRequest) Descriptor() ([]byte, []int) {
315 return file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDescGZIP(), []int{4}
316 }
317
318 func (x *ListRegionsRequest) GetParent() string {
319 if x != nil {
320 return x.Parent
321 }
322 return ""
323 }
324
325 func (x *ListRegionsRequest) GetPageSize() int32 {
326 if x != nil {
327 return x.PageSize
328 }
329 return 0
330 }
331
332 func (x *ListRegionsRequest) GetPageToken() string {
333 if x != nil {
334 return x.PageToken
335 }
336 return ""
337 }
338
339 // Response message for the `ListRegions` method.
340 type ListRegionsResponse struct {
341 state protoimpl.MessageState
342 sizeCache protoimpl.SizeCache
343 unknownFields protoimpl.UnknownFields
344
345 // The regions from the specified merchant.
346 Regions []*Region `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"`
347 // A token, which can be sent as `page_token` to retrieve the next page.
348 // If this field is omitted, there are no subsequent pages.
349 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
350 }
351
352 func (x *ListRegionsResponse) Reset() {
353 *x = ListRegionsResponse{}
354 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[5]
355 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
356 ms.StoreMessageInfo(mi)
357 }
358
359 func (x *ListRegionsResponse) String() string {
360 return protoimpl.X.MessageStringOf(x)
361 }
362
363 func (*ListRegionsResponse) ProtoMessage() {}
364
365 func (x *ListRegionsResponse) ProtoReflect() protoreflect.Message {
366 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[5]
367 if x != nil {
368 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
369 if ms.LoadMessageInfo() == nil {
370 ms.StoreMessageInfo(mi)
371 }
372 return ms
373 }
374 return mi.MessageOf(x)
375 }
376
377 // Deprecated: Use ListRegionsResponse.ProtoReflect.Descriptor instead.
378 func (*ListRegionsResponse) Descriptor() ([]byte, []int) {
379 return file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDescGZIP(), []int{5}
380 }
381
382 func (x *ListRegionsResponse) GetRegions() []*Region {
383 if x != nil {
384 return x.Regions
385 }
386 return nil
387 }
388
389 func (x *ListRegionsResponse) GetNextPageToken() string {
390 if x != nil {
391 return x.NextPageToken
392 }
393 return ""
394 }
395
396 // Represents a geographic region that you can use as a target with both the
397 // `RegionalInventory` and `ShippingSettings` services. You can define regions
398 // as collections of either postal codes or, in some countries, using predefined
399 // geotargets. For more information, see [Set up regions
400 // ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region)
401 // for more information.
402 type Region struct {
403 state protoimpl.MessageState
404 sizeCache protoimpl.SizeCache
405 unknownFields protoimpl.UnknownFields
406
407 // Identifier. The resource name of the region.
408 // Format: `accounts/{account}/regions/{region}`
409 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
410 // Optional. The display name of the region.
411 DisplayName *string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
412 // Optional. A list of postal codes that defines the region area.
413 PostalCodeArea *Region_PostalCodeArea `protobuf:"bytes,3,opt,name=postal_code_area,json=postalCodeArea,proto3" json:"postal_code_area,omitempty"`
414 // Optional. A list of geotargets that defines the region area.
415 GeotargetArea *Region_GeoTargetArea `protobuf:"bytes,4,opt,name=geotarget_area,json=geotargetArea,proto3" json:"geotarget_area,omitempty"`
416 // Output only. Indicates if the region is eligible for use in the Regional
417 // Inventory configuration.
418 RegionalInventoryEligible *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=regional_inventory_eligible,json=regionalInventoryEligible,proto3" json:"regional_inventory_eligible,omitempty"`
419 // Output only. Indicates if the region is eligible for use in the Shipping
420 // Services configuration.
421 ShippingEligible *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=shipping_eligible,json=shippingEligible,proto3" json:"shipping_eligible,omitempty"`
422 }
423
424 func (x *Region) Reset() {
425 *x = Region{}
426 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[6]
427 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
428 ms.StoreMessageInfo(mi)
429 }
430
431 func (x *Region) String() string {
432 return protoimpl.X.MessageStringOf(x)
433 }
434
435 func (*Region) ProtoMessage() {}
436
437 func (x *Region) ProtoReflect() protoreflect.Message {
438 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[6]
439 if x != nil {
440 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
441 if ms.LoadMessageInfo() == nil {
442 ms.StoreMessageInfo(mi)
443 }
444 return ms
445 }
446 return mi.MessageOf(x)
447 }
448
449 // Deprecated: Use Region.ProtoReflect.Descriptor instead.
450 func (*Region) Descriptor() ([]byte, []int) {
451 return file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDescGZIP(), []int{6}
452 }
453
454 func (x *Region) GetName() string {
455 if x != nil {
456 return x.Name
457 }
458 return ""
459 }
460
461 func (x *Region) GetDisplayName() string {
462 if x != nil && x.DisplayName != nil {
463 return *x.DisplayName
464 }
465 return ""
466 }
467
468 func (x *Region) GetPostalCodeArea() *Region_PostalCodeArea {
469 if x != nil {
470 return x.PostalCodeArea
471 }
472 return nil
473 }
474
475 func (x *Region) GetGeotargetArea() *Region_GeoTargetArea {
476 if x != nil {
477 return x.GeotargetArea
478 }
479 return nil
480 }
481
482 func (x *Region) GetRegionalInventoryEligible() *wrapperspb.BoolValue {
483 if x != nil {
484 return x.RegionalInventoryEligible
485 }
486 return nil
487 }
488
489 func (x *Region) GetShippingEligible() *wrapperspb.BoolValue {
490 if x != nil {
491 return x.ShippingEligible
492 }
493 return nil
494 }
495
496 // A list of postal codes that defines the region area.
497 // Note: All regions defined using postal codes are accessible through the
498 // account's `ShippingSettings.postalCodeGroups` resource.
499 type Region_PostalCodeArea struct {
500 state protoimpl.MessageState
501 sizeCache protoimpl.SizeCache
502 unknownFields protoimpl.UnknownFields
503
504 // Required. [CLDR territory
505 // code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
506 // or the country the postal code group applies to.
507 RegionCode string `protobuf:"bytes,1,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
508 // Required. A range of postal codes.
509 PostalCodes []*Region_PostalCodeArea_PostalCodeRange `protobuf:"bytes,2,rep,name=postal_codes,json=postalCodes,proto3" json:"postal_codes,omitempty"`
510 }
511
512 func (x *Region_PostalCodeArea) Reset() {
513 *x = Region_PostalCodeArea{}
514 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[7]
515 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
516 ms.StoreMessageInfo(mi)
517 }
518
519 func (x *Region_PostalCodeArea) String() string {
520 return protoimpl.X.MessageStringOf(x)
521 }
522
523 func (*Region_PostalCodeArea) ProtoMessage() {}
524
525 func (x *Region_PostalCodeArea) ProtoReflect() protoreflect.Message {
526 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[7]
527 if x != nil {
528 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
529 if ms.LoadMessageInfo() == nil {
530 ms.StoreMessageInfo(mi)
531 }
532 return ms
533 }
534 return mi.MessageOf(x)
535 }
536
537 // Deprecated: Use Region_PostalCodeArea.ProtoReflect.Descriptor instead.
538 func (*Region_PostalCodeArea) Descriptor() ([]byte, []int) {
539 return file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDescGZIP(), []int{6, 0}
540 }
541
542 func (x *Region_PostalCodeArea) GetRegionCode() string {
543 if x != nil {
544 return x.RegionCode
545 }
546 return ""
547 }
548
549 func (x *Region_PostalCodeArea) GetPostalCodes() []*Region_PostalCodeArea_PostalCodeRange {
550 if x != nil {
551 return x.PostalCodes
552 }
553 return nil
554 }
555
556 // A list of geotargets that defines the region area.
557 type Region_GeoTargetArea struct {
558 state protoimpl.MessageState
559 sizeCache protoimpl.SizeCache
560 unknownFields protoimpl.UnknownFields
561
562 // Required. A non-empty list of [location
563 // IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting).
564 // They must all be of the same location type (for example, state).
565 GeotargetCriteriaIds []int64 `protobuf:"varint,1,rep,packed,name=geotarget_criteria_ids,json=geotargetCriteriaIds,proto3" json:"geotarget_criteria_ids,omitempty"`
566 }
567
568 func (x *Region_GeoTargetArea) Reset() {
569 *x = Region_GeoTargetArea{}
570 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[8]
571 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
572 ms.StoreMessageInfo(mi)
573 }
574
575 func (x *Region_GeoTargetArea) String() string {
576 return protoimpl.X.MessageStringOf(x)
577 }
578
579 func (*Region_GeoTargetArea) ProtoMessage() {}
580
581 func (x *Region_GeoTargetArea) ProtoReflect() protoreflect.Message {
582 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[8]
583 if x != nil {
584 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
585 if ms.LoadMessageInfo() == nil {
586 ms.StoreMessageInfo(mi)
587 }
588 return ms
589 }
590 return mi.MessageOf(x)
591 }
592
593 // Deprecated: Use Region_GeoTargetArea.ProtoReflect.Descriptor instead.
594 func (*Region_GeoTargetArea) Descriptor() ([]byte, []int) {
595 return file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDescGZIP(), []int{6, 1}
596 }
597
598 func (x *Region_GeoTargetArea) GetGeotargetCriteriaIds() []int64 {
599 if x != nil {
600 return x.GeotargetCriteriaIds
601 }
602 return nil
603 }
604
605 // A range of postal codes that defines the region area.
606 type Region_PostalCodeArea_PostalCodeRange struct {
607 state protoimpl.MessageState
608 sizeCache protoimpl.SizeCache
609 unknownFields protoimpl.UnknownFields
610
611 // Required. A postal code or a pattern of the form prefix* denoting the
612 // inclusive lower bound of the range defining the area. Examples values:
613 // `94108`, `9410*`, `9*`.
614 Begin string `protobuf:"bytes,1,opt,name=begin,proto3" json:"begin,omitempty"`
615 // Optional. A postal code or a pattern of the form `prefix*` denoting the
616 // inclusive upper bound of the range defining the area. It must have the
617 // same length as postalCodeRangeBegin: if postalCodeRangeBegin is a
618 // postal code then postalCodeRangeEnd must be a postal code too; if
619 // postalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a
620 // pattern with the same prefix length. Optional: if not set, then the
621 // area is defined as being all the postal codes matching
622 // postalCodeRangeBegin.
623 End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
624 }
625
626 func (x *Region_PostalCodeArea_PostalCodeRange) Reset() {
627 *x = Region_PostalCodeArea_PostalCodeRange{}
628 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[9]
629 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
630 ms.StoreMessageInfo(mi)
631 }
632
633 func (x *Region_PostalCodeArea_PostalCodeRange) String() string {
634 return protoimpl.X.MessageStringOf(x)
635 }
636
637 func (*Region_PostalCodeArea_PostalCodeRange) ProtoMessage() {}
638
639 func (x *Region_PostalCodeArea_PostalCodeRange) ProtoReflect() protoreflect.Message {
640 mi := &file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[9]
641 if x != nil {
642 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
643 if ms.LoadMessageInfo() == nil {
644 ms.StoreMessageInfo(mi)
645 }
646 return ms
647 }
648 return mi.MessageOf(x)
649 }
650
651 // Deprecated: Use Region_PostalCodeArea_PostalCodeRange.ProtoReflect.Descriptor instead.
652 func (*Region_PostalCodeArea_PostalCodeRange) Descriptor() ([]byte, []int) {
653 return file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDescGZIP(), []int{6, 0, 0}
654 }
655
656 func (x *Region_PostalCodeArea_PostalCodeRange) GetBegin() string {
657 if x != nil {
658 return x.Begin
659 }
660 return ""
661 }
662
663 func (x *Region_PostalCodeArea_PostalCodeRange) GetEnd() string {
664 if x != nil {
665 return x.End
666 }
667 return ""
668 }
669
670 var File_google_shopping_merchant_accounts_v1beta_regions_proto protoreflect.FileDescriptor
671
672 var file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDesc = []byte{
673 0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
674 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75,
675 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f,
676 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
677 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61,
678 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65,
679 0x74, 0x61, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61,
680 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
681 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69,
682 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
683 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61,
684 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67,
685 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
686 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
687 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f,
688 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
689 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70,
690 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
691 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70,
692 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f,
693 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
694 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21,
695 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
696 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x67, 0x69, 0x6f,
697 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xca, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61,
698 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
699 0x42, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
700 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e,
701 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
702 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72,
703 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64,
704 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x72, 0x65, 0x67,
705 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x4d, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18,
706 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
707 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74,
708 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
709 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x72, 0x65,
710 0x67, 0x69, 0x6f, 0x6e, 0x22, 0xa6, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52,
711 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x06,
712 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67,
713 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d,
714 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
715 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x42, 0x03,
716 0xe0, 0x41, 0x02, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x75,
717 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
718 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
719 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41,
720 0x01, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x54, 0x0a,
721 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
722 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
723 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6d, 0x65, 0x72, 0x63,
724 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
725 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e,
726 0x61, 0x6d, 0x65, 0x22, 0x9e, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69,
727 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x06, 0x70, 0x61,
728 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa,
729 0x41, 0x24, 0x0a, 0x22, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e,
730 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41,
731 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20,
732 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
733 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
734 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03,
735 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54,
736 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x89, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67,
737 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x07,
738 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e,
739 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e,
740 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
741 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52,
742 0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74,
743 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
744 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
745 0x22, 0x8b, 0x07, 0x0a, 0x06, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x04, 0x6e,
746 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04,
747 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f,
748 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48,
749 0x00, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01,
750 0x01, 0x12, 0x6e, 0x0a, 0x10, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65,
751 0x5f, 0x61, 0x72, 0x65, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f,
752 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
753 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
754 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x6f,
755 0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x41, 0x72, 0x65, 0x61, 0x42, 0x03, 0xe0, 0x41,
756 0x01, 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x41, 0x72, 0x65,
757 0x61, 0x12, 0x6a, 0x0a, 0x0e, 0x67, 0x65, 0x6f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61,
758 0x72, 0x65, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
759 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63,
760 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31,
761 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x6f, 0x54,
762 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x72, 0x65, 0x61, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d,
763 0x67, 0x65, 0x6f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x72, 0x65, 0x61, 0x12, 0x5f, 0x0a,
764 0x1b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74,
765 0x6f, 0x72, 0x79, 0x5f, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01,
766 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
767 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03,
768 0xe0, 0x41, 0x03, 0x52, 0x19, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76,
769 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x4c,
770 0x0a, 0x11, 0x73, 0x68, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x6c, 0x69, 0x67, 0x69,
771 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
772 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c,
773 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x73, 0x68, 0x69, 0x70,
774 0x70, 0x69, 0x6e, 0x67, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x1a, 0xf4, 0x01, 0x0a,
775 0x0e, 0x50, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x41, 0x72, 0x65, 0x61, 0x12,
776 0x24, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01,
777 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f,
778 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x77, 0x0a, 0x0c, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x5f,
779 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4f, 0x2e, 0x67, 0x6f,
780 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
781 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
782 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x6f,
783 0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x41, 0x72, 0x65, 0x61, 0x2e, 0x50, 0x6f, 0x73,
784 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x03, 0xe0, 0x41,
785 0x02, 0x52, 0x0b, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x1a, 0x43,
786 0x0a, 0x0f, 0x50, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x61, 0x6e, 0x67,
787 0x65, 0x12, 0x19, 0x0a, 0x05, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
788 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x12, 0x15, 0x0a, 0x03,
789 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x03,
790 0x65, 0x6e, 0x64, 0x1a, 0x4a, 0x0a, 0x0d, 0x47, 0x65, 0x6f, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74,
791 0x41, 0x72, 0x65, 0x61, 0x12, 0x39, 0x0a, 0x16, 0x67, 0x65, 0x6f, 0x74, 0x61, 0x72, 0x67, 0x65,
792 0x74, 0x5f, 0x63, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01,
793 0x20, 0x03, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x14, 0x67, 0x65, 0x6f, 0x74, 0x61,
794 0x72, 0x67, 0x65, 0x74, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x49, 0x64, 0x73, 0x3a,
795 0x5c, 0xea, 0x41, 0x59, 0x0a, 0x21, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70,
796 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
797 0x2f, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
798 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69,
799 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x7d, 0x2a, 0x07, 0x72, 0x65,
800 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x32, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x42, 0x0f, 0x0a,
801 0x0d, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0xb9,
802 0x08, 0x0a, 0x0e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
803 0x65, 0x12, 0xb6, 0x01, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12,
804 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
805 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75,
806 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65,
807 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f,
808 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
809 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
810 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0x3b, 0xda,
811 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x61,
812 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b,
813 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
814 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xd7, 0x01, 0x0a, 0x0c, 0x43,
815 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x2e, 0x67, 0x6f,
816 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
817 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
818 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67,
819 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f,
820 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72,
821 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76,
822 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0x56, 0xda, 0x41,
823 0x17, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2c, 0x72,
824 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x3a, 0x06,
825 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0x2c, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
826 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
827 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x67,
828 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xd9, 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52,
829 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
830 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74,
831 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
832 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
833 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68,
834 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e,
835 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e,
836 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0x58, 0xda, 0x41, 0x12, 0x72, 0x65, 0x67, 0x69, 0x6f,
837 0x6e, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4,
838 0x93, 0x02, 0x3d, 0x3a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x32, 0x33, 0x2f, 0x61, 0x63,
839 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x72,
840 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75,
841 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d,
842 0x12, 0xa2, 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f,
843 0x6e, 0x12, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70,
844 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63,
845 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x6c,
846 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
847 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
848 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x3b, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d,
849 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x2a, 0x2c, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
850 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
851 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f,
852 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xc9, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
853 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
854 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74,
855 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
856 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75,
857 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f,
858 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61,
859 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c,
860 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
861 0x73, 0x65, 0x22, 0x3d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4,
862 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76,
863 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x61, 0x63,
864 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
865 0x73, 0x1a, 0x47, 0xca, 0x41, 0x1a, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70,
866 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
867 0xd2, 0x41, 0x27, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67,
868 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75,
869 0x74, 0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x8e, 0x01, 0x0a, 0x2c, 0x63,
870 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
871 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f,
872 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x0c, 0x52, 0x65, 0x67,
873 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x63, 0x6c, 0x6f,
874 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
875 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61,
876 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76,
877 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62,
878 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
879 0x74, 0x6f, 0x33,
880 }
881
882 var (
883 file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDescOnce sync.Once
884 file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDescData = file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDesc
885 )
886
887 func file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDescGZIP() []byte {
888 file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDescOnce.Do(func() {
889 file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDescData)
890 })
891 return file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDescData
892 }
893
894 var file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
895 var file_google_shopping_merchant_accounts_v1beta_regions_proto_goTypes = []any{
896 (*GetRegionRequest)(nil), // 0: google.shopping.merchant.accounts.v1beta.GetRegionRequest
897 (*CreateRegionRequest)(nil), // 1: google.shopping.merchant.accounts.v1beta.CreateRegionRequest
898 (*UpdateRegionRequest)(nil), // 2: google.shopping.merchant.accounts.v1beta.UpdateRegionRequest
899 (*DeleteRegionRequest)(nil), // 3: google.shopping.merchant.accounts.v1beta.DeleteRegionRequest
900 (*ListRegionsRequest)(nil), // 4: google.shopping.merchant.accounts.v1beta.ListRegionsRequest
901 (*ListRegionsResponse)(nil), // 5: google.shopping.merchant.accounts.v1beta.ListRegionsResponse
902 (*Region)(nil), // 6: google.shopping.merchant.accounts.v1beta.Region
903 (*Region_PostalCodeArea)(nil), // 7: google.shopping.merchant.accounts.v1beta.Region.PostalCodeArea
904 (*Region_GeoTargetArea)(nil), // 8: google.shopping.merchant.accounts.v1beta.Region.GeoTargetArea
905 (*Region_PostalCodeArea_PostalCodeRange)(nil), // 9: google.shopping.merchant.accounts.v1beta.Region.PostalCodeArea.PostalCodeRange
906 (*fieldmaskpb.FieldMask)(nil), // 10: google.protobuf.FieldMask
907 (*wrapperspb.BoolValue)(nil), // 11: google.protobuf.BoolValue
908 (*emptypb.Empty)(nil), // 12: google.protobuf.Empty
909 }
910 var file_google_shopping_merchant_accounts_v1beta_regions_proto_depIdxs = []int32{
911 6, // 0: google.shopping.merchant.accounts.v1beta.CreateRegionRequest.region:type_name -> google.shopping.merchant.accounts.v1beta.Region
912 6, // 1: google.shopping.merchant.accounts.v1beta.UpdateRegionRequest.region:type_name -> google.shopping.merchant.accounts.v1beta.Region
913 10, // 2: google.shopping.merchant.accounts.v1beta.UpdateRegionRequest.update_mask:type_name -> google.protobuf.FieldMask
914 6, // 3: google.shopping.merchant.accounts.v1beta.ListRegionsResponse.regions:type_name -> google.shopping.merchant.accounts.v1beta.Region
915 7, // 4: google.shopping.merchant.accounts.v1beta.Region.postal_code_area:type_name -> google.shopping.merchant.accounts.v1beta.Region.PostalCodeArea
916 8, // 5: google.shopping.merchant.accounts.v1beta.Region.geotarget_area:type_name -> google.shopping.merchant.accounts.v1beta.Region.GeoTargetArea
917 11, // 6: google.shopping.merchant.accounts.v1beta.Region.regional_inventory_eligible:type_name -> google.protobuf.BoolValue
918 11, // 7: google.shopping.merchant.accounts.v1beta.Region.shipping_eligible:type_name -> google.protobuf.BoolValue
919 9, // 8: google.shopping.merchant.accounts.v1beta.Region.PostalCodeArea.postal_codes:type_name -> google.shopping.merchant.accounts.v1beta.Region.PostalCodeArea.PostalCodeRange
920 0, // 9: google.shopping.merchant.accounts.v1beta.RegionsService.GetRegion:input_type -> google.shopping.merchant.accounts.v1beta.GetRegionRequest
921 1, // 10: google.shopping.merchant.accounts.v1beta.RegionsService.CreateRegion:input_type -> google.shopping.merchant.accounts.v1beta.CreateRegionRequest
922 2, // 11: google.shopping.merchant.accounts.v1beta.RegionsService.UpdateRegion:input_type -> google.shopping.merchant.accounts.v1beta.UpdateRegionRequest
923 3, // 12: google.shopping.merchant.accounts.v1beta.RegionsService.DeleteRegion:input_type -> google.shopping.merchant.accounts.v1beta.DeleteRegionRequest
924 4, // 13: google.shopping.merchant.accounts.v1beta.RegionsService.ListRegions:input_type -> google.shopping.merchant.accounts.v1beta.ListRegionsRequest
925 6, // 14: google.shopping.merchant.accounts.v1beta.RegionsService.GetRegion:output_type -> google.shopping.merchant.accounts.v1beta.Region
926 6, // 15: google.shopping.merchant.accounts.v1beta.RegionsService.CreateRegion:output_type -> google.shopping.merchant.accounts.v1beta.Region
927 6, // 16: google.shopping.merchant.accounts.v1beta.RegionsService.UpdateRegion:output_type -> google.shopping.merchant.accounts.v1beta.Region
928 12, // 17: google.shopping.merchant.accounts.v1beta.RegionsService.DeleteRegion:output_type -> google.protobuf.Empty
929 5, // 18: google.shopping.merchant.accounts.v1beta.RegionsService.ListRegions:output_type -> google.shopping.merchant.accounts.v1beta.ListRegionsResponse
930 14, // [14:19] is the sub-list for method output_type
931 9, // [9:14] is the sub-list for method input_type
932 9, // [9:9] is the sub-list for extension type_name
933 9, // [9:9] is the sub-list for extension extendee
934 0, // [0:9] is the sub-list for field type_name
935 }
936
937 func init() { file_google_shopping_merchant_accounts_v1beta_regions_proto_init() }
938 func file_google_shopping_merchant_accounts_v1beta_regions_proto_init() {
939 if File_google_shopping_merchant_accounts_v1beta_regions_proto != nil {
940 return
941 }
942 file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes[6].OneofWrappers = []any{}
943 type x struct{}
944 out := protoimpl.TypeBuilder{
945 File: protoimpl.DescBuilder{
946 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
947 RawDescriptor: file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDesc,
948 NumEnums: 0,
949 NumMessages: 10,
950 NumExtensions: 0,
951 NumServices: 1,
952 },
953 GoTypes: file_google_shopping_merchant_accounts_v1beta_regions_proto_goTypes,
954 DependencyIndexes: file_google_shopping_merchant_accounts_v1beta_regions_proto_depIdxs,
955 MessageInfos: file_google_shopping_merchant_accounts_v1beta_regions_proto_msgTypes,
956 }.Build()
957 File_google_shopping_merchant_accounts_v1beta_regions_proto = out.File
958 file_google_shopping_merchant_accounts_v1beta_regions_proto_rawDesc = nil
959 file_google_shopping_merchant_accounts_v1beta_regions_proto_goTypes = nil
960 file_google_shopping_merchant_accounts_v1beta_regions_proto_depIdxs = nil
961 }
962
963 // Reference imports to suppress errors if they are not otherwise used.
964 var _ context.Context
965 var _ grpc.ClientConnInterface
966
967 // This is a compile-time assertion to ensure that this generated file
968 // is compatible with the grpc package it is being compiled against.
969 const _ = grpc.SupportPackageIsVersion6
970
971 // RegionsServiceClient is the client API for RegionsService service.
972 //
973 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
974 type RegionsServiceClient interface {
975 // Retrieves a region defined in your Merchant Center account.
976 GetRegion(ctx context.Context, in *GetRegionRequest, opts ...grpc.CallOption) (*Region, error)
977 // Creates a region definition in your Merchant Center account. Executing this
978 // method requires admin access.
979 CreateRegion(ctx context.Context, in *CreateRegionRequest, opts ...grpc.CallOption) (*Region, error)
980 // Updates a region definition in your Merchant Center account. Executing this
981 // method requires admin access.
982 UpdateRegion(ctx context.Context, in *UpdateRegionRequest, opts ...grpc.CallOption) (*Region, error)
983 // Deletes a region definition from your Merchant Center account. Executing
984 // this method requires admin access.
985 DeleteRegion(ctx context.Context, in *DeleteRegionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
986 // Lists the regions in your Merchant Center account.
987 ListRegions(ctx context.Context, in *ListRegionsRequest, opts ...grpc.CallOption) (*ListRegionsResponse, error)
988 }
989
990 type regionsServiceClient struct {
991 cc grpc.ClientConnInterface
992 }
993
994 func NewRegionsServiceClient(cc grpc.ClientConnInterface) RegionsServiceClient {
995 return &regionsServiceClient{cc}
996 }
997
998 func (c *regionsServiceClient) GetRegion(ctx context.Context, in *GetRegionRequest, opts ...grpc.CallOption) (*Region, error) {
999 out := new(Region)
1000 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.RegionsService/GetRegion", in, out, opts...)
1001 if err != nil {
1002 return nil, err
1003 }
1004 return out, nil
1005 }
1006
1007 func (c *regionsServiceClient) CreateRegion(ctx context.Context, in *CreateRegionRequest, opts ...grpc.CallOption) (*Region, error) {
1008 out := new(Region)
1009 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.RegionsService/CreateRegion", in, out, opts...)
1010 if err != nil {
1011 return nil, err
1012 }
1013 return out, nil
1014 }
1015
1016 func (c *regionsServiceClient) UpdateRegion(ctx context.Context, in *UpdateRegionRequest, opts ...grpc.CallOption) (*Region, error) {
1017 out := new(Region)
1018 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.RegionsService/UpdateRegion", in, out, opts...)
1019 if err != nil {
1020 return nil, err
1021 }
1022 return out, nil
1023 }
1024
1025 func (c *regionsServiceClient) DeleteRegion(ctx context.Context, in *DeleteRegionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
1026 out := new(emptypb.Empty)
1027 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.RegionsService/DeleteRegion", in, out, opts...)
1028 if err != nil {
1029 return nil, err
1030 }
1031 return out, nil
1032 }
1033
1034 func (c *regionsServiceClient) ListRegions(ctx context.Context, in *ListRegionsRequest, opts ...grpc.CallOption) (*ListRegionsResponse, error) {
1035 out := new(ListRegionsResponse)
1036 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1beta.RegionsService/ListRegions", in, out, opts...)
1037 if err != nil {
1038 return nil, err
1039 }
1040 return out, nil
1041 }
1042
1043 // RegionsServiceServer is the server API for RegionsService service.
1044 type RegionsServiceServer interface {
1045 // Retrieves a region defined in your Merchant Center account.
1046 GetRegion(context.Context, *GetRegionRequest) (*Region, error)
1047 // Creates a region definition in your Merchant Center account. Executing this
1048 // method requires admin access.
1049 CreateRegion(context.Context, *CreateRegionRequest) (*Region, error)
1050 // Updates a region definition in your Merchant Center account. Executing this
1051 // method requires admin access.
1052 UpdateRegion(context.Context, *UpdateRegionRequest) (*Region, error)
1053 // Deletes a region definition from your Merchant Center account. Executing
1054 // this method requires admin access.
1055 DeleteRegion(context.Context, *DeleteRegionRequest) (*emptypb.Empty, error)
1056 // Lists the regions in your Merchant Center account.
1057 ListRegions(context.Context, *ListRegionsRequest) (*ListRegionsResponse, error)
1058 }
1059
1060 // UnimplementedRegionsServiceServer can be embedded to have forward compatible implementations.
1061 type UnimplementedRegionsServiceServer struct {
1062 }
1063
1064 func (*UnimplementedRegionsServiceServer) GetRegion(context.Context, *GetRegionRequest) (*Region, error) {
1065 return nil, status.Errorf(codes.Unimplemented, "method GetRegion not implemented")
1066 }
1067 func (*UnimplementedRegionsServiceServer) CreateRegion(context.Context, *CreateRegionRequest) (*Region, error) {
1068 return nil, status.Errorf(codes.Unimplemented, "method CreateRegion not implemented")
1069 }
1070 func (*UnimplementedRegionsServiceServer) UpdateRegion(context.Context, *UpdateRegionRequest) (*Region, error) {
1071 return nil, status.Errorf(codes.Unimplemented, "method UpdateRegion not implemented")
1072 }
1073 func (*UnimplementedRegionsServiceServer) DeleteRegion(context.Context, *DeleteRegionRequest) (*emptypb.Empty, error) {
1074 return nil, status.Errorf(codes.Unimplemented, "method DeleteRegion not implemented")
1075 }
1076 func (*UnimplementedRegionsServiceServer) ListRegions(context.Context, *ListRegionsRequest) (*ListRegionsResponse, error) {
1077 return nil, status.Errorf(codes.Unimplemented, "method ListRegions not implemented")
1078 }
1079
1080 func RegisterRegionsServiceServer(s *grpc.Server, srv RegionsServiceServer) {
1081 s.RegisterService(&_RegionsService_serviceDesc, srv)
1082 }
1083
1084 func _RegionsService_GetRegion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1085 in := new(GetRegionRequest)
1086 if err := dec(in); err != nil {
1087 return nil, err
1088 }
1089 if interceptor == nil {
1090 return srv.(RegionsServiceServer).GetRegion(ctx, in)
1091 }
1092 info := &grpc.UnaryServerInfo{
1093 Server: srv,
1094 FullMethod: "/google.shopping.merchant.accounts.v1beta.RegionsService/GetRegion",
1095 }
1096 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1097 return srv.(RegionsServiceServer).GetRegion(ctx, req.(*GetRegionRequest))
1098 }
1099 return interceptor(ctx, in, info, handler)
1100 }
1101
1102 func _RegionsService_CreateRegion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1103 in := new(CreateRegionRequest)
1104 if err := dec(in); err != nil {
1105 return nil, err
1106 }
1107 if interceptor == nil {
1108 return srv.(RegionsServiceServer).CreateRegion(ctx, in)
1109 }
1110 info := &grpc.UnaryServerInfo{
1111 Server: srv,
1112 FullMethod: "/google.shopping.merchant.accounts.v1beta.RegionsService/CreateRegion",
1113 }
1114 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1115 return srv.(RegionsServiceServer).CreateRegion(ctx, req.(*CreateRegionRequest))
1116 }
1117 return interceptor(ctx, in, info, handler)
1118 }
1119
1120 func _RegionsService_UpdateRegion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1121 in := new(UpdateRegionRequest)
1122 if err := dec(in); err != nil {
1123 return nil, err
1124 }
1125 if interceptor == nil {
1126 return srv.(RegionsServiceServer).UpdateRegion(ctx, in)
1127 }
1128 info := &grpc.UnaryServerInfo{
1129 Server: srv,
1130 FullMethod: "/google.shopping.merchant.accounts.v1beta.RegionsService/UpdateRegion",
1131 }
1132 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1133 return srv.(RegionsServiceServer).UpdateRegion(ctx, req.(*UpdateRegionRequest))
1134 }
1135 return interceptor(ctx, in, info, handler)
1136 }
1137
1138 func _RegionsService_DeleteRegion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1139 in := new(DeleteRegionRequest)
1140 if err := dec(in); err != nil {
1141 return nil, err
1142 }
1143 if interceptor == nil {
1144 return srv.(RegionsServiceServer).DeleteRegion(ctx, in)
1145 }
1146 info := &grpc.UnaryServerInfo{
1147 Server: srv,
1148 FullMethod: "/google.shopping.merchant.accounts.v1beta.RegionsService/DeleteRegion",
1149 }
1150 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1151 return srv.(RegionsServiceServer).DeleteRegion(ctx, req.(*DeleteRegionRequest))
1152 }
1153 return interceptor(ctx, in, info, handler)
1154 }
1155
1156 func _RegionsService_ListRegions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1157 in := new(ListRegionsRequest)
1158 if err := dec(in); err != nil {
1159 return nil, err
1160 }
1161 if interceptor == nil {
1162 return srv.(RegionsServiceServer).ListRegions(ctx, in)
1163 }
1164 info := &grpc.UnaryServerInfo{
1165 Server: srv,
1166 FullMethod: "/google.shopping.merchant.accounts.v1beta.RegionsService/ListRegions",
1167 }
1168 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1169 return srv.(RegionsServiceServer).ListRegions(ctx, req.(*ListRegionsRequest))
1170 }
1171 return interceptor(ctx, in, info, handler)
1172 }
1173
1174 var _RegionsService_serviceDesc = grpc.ServiceDesc{
1175 ServiceName: "google.shopping.merchant.accounts.v1beta.RegionsService",
1176 HandlerType: (*RegionsServiceServer)(nil),
1177 Methods: []grpc.MethodDesc{
1178 {
1179 MethodName: "GetRegion",
1180 Handler: _RegionsService_GetRegion_Handler,
1181 },
1182 {
1183 MethodName: "CreateRegion",
1184 Handler: _RegionsService_CreateRegion_Handler,
1185 },
1186 {
1187 MethodName: "UpdateRegion",
1188 Handler: _RegionsService_UpdateRegion_Handler,
1189 },
1190 {
1191 MethodName: "DeleteRegion",
1192 Handler: _RegionsService_DeleteRegion_Handler,
1193 },
1194 {
1195 MethodName: "ListRegions",
1196 Handler: _RegionsService_ListRegions_Handler,
1197 },
1198 },
1199 Streams: []grpc.StreamDesc{},
1200 Metadata: "google/shopping/merchant/accounts/v1beta/regions.proto",
1201 }