// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.35.2 // protoc v4.25.7 // source: google/shopping/merchant/accounts/v1/regions.proto package accountspb import ( context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // Request message for the `GetRegion` method. type GetRegionRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The name of the region to retrieve. // Format: `accounts/{account}/regions/{region}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } func (x *GetRegionRequest) Reset() { *x = GetRegionRequest{} mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetRegionRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetRegionRequest) ProtoMessage() {} func (x *GetRegionRequest) ProtoReflect() protoreflect.Message { mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetRegionRequest.ProtoReflect.Descriptor instead. func (*GetRegionRequest) Descriptor() ([]byte, []int) { return file_google_shopping_merchant_accounts_v1_regions_proto_rawDescGZIP(), []int{0} } func (x *GetRegionRequest) GetName() string { if x != nil { return x.Name } return "" } // Request message for the `CreateRegion` method. type CreateRegionRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The account to create a region for. // Format: `accounts/{account}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The identifier for the region, unique over all regions of the // same account. RegionId string `protobuf:"bytes,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` // Required. The region to create. Region *Region `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` } func (x *CreateRegionRequest) Reset() { *x = CreateRegionRequest{} mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateRegionRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateRegionRequest) ProtoMessage() {} func (x *CreateRegionRequest) ProtoReflect() protoreflect.Message { mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateRegionRequest.ProtoReflect.Descriptor instead. func (*CreateRegionRequest) Descriptor() ([]byte, []int) { return file_google_shopping_merchant_accounts_v1_regions_proto_rawDescGZIP(), []int{1} } func (x *CreateRegionRequest) GetParent() string { if x != nil { return x.Parent } return "" } func (x *CreateRegionRequest) GetRegionId() string { if x != nil { return x.RegionId } return "" } func (x *CreateRegionRequest) GetRegion() *Region { if x != nil { return x.Region } return nil } // Request message for the `BatchCreateRegions` method. type BatchCreateRegionsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The account to create one or more regions for. // Format: `accounts/{account}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The region(s) to create. // The maximum number of regions that can be created in a batch is 100. Requests []*CreateRegionRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"` } func (x *BatchCreateRegionsRequest) Reset() { *x = BatchCreateRegionsRequest{} mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BatchCreateRegionsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*BatchCreateRegionsRequest) ProtoMessage() {} func (x *BatchCreateRegionsRequest) ProtoReflect() protoreflect.Message { mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use BatchCreateRegionsRequest.ProtoReflect.Descriptor instead. func (*BatchCreateRegionsRequest) Descriptor() ([]byte, []int) { return file_google_shopping_merchant_accounts_v1_regions_proto_rawDescGZIP(), []int{2} } func (x *BatchCreateRegionsRequest) GetParent() string { if x != nil { return x.Parent } return "" } func (x *BatchCreateRegionsRequest) GetRequests() []*CreateRegionRequest { if x != nil { return x.Requests } return nil } // Response message for the `BatchCreateRegions` method. type BatchCreateRegionsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The created region(s). Regions []*Region `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"` } func (x *BatchCreateRegionsResponse) Reset() { *x = BatchCreateRegionsResponse{} mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BatchCreateRegionsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*BatchCreateRegionsResponse) ProtoMessage() {} func (x *BatchCreateRegionsResponse) ProtoReflect() protoreflect.Message { mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use BatchCreateRegionsResponse.ProtoReflect.Descriptor instead. func (*BatchCreateRegionsResponse) Descriptor() ([]byte, []int) { return file_google_shopping_merchant_accounts_v1_regions_proto_rawDescGZIP(), []int{3} } func (x *BatchCreateRegionsResponse) GetRegions() []*Region { if x != nil { return x.Regions } return nil } // Request message for the `UpdateRegion` method. type UpdateRegionRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The updated region. Region *Region `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` // Optional. The comma-separated field mask indicating the fields to update. // Example: // `"displayName,postalCodeArea.regionCode"`. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateRegionRequest) Reset() { *x = UpdateRegionRequest{} mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateRegionRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateRegionRequest) ProtoMessage() {} func (x *UpdateRegionRequest) ProtoReflect() protoreflect.Message { mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateRegionRequest.ProtoReflect.Descriptor instead. func (*UpdateRegionRequest) Descriptor() ([]byte, []int) { return file_google_shopping_merchant_accounts_v1_regions_proto_rawDescGZIP(), []int{4} } func (x *UpdateRegionRequest) GetRegion() *Region { if x != nil { return x.Region } return nil } func (x *UpdateRegionRequest) GetUpdateMask() *fieldmaskpb.FieldMask { if x != nil { return x.UpdateMask } return nil } // Request message for the `BatchUpdateRegions` method. type BatchUpdateRegionsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The account to update one or more regions for. // Format: `accounts/{account}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The region(s) to update. // The maximum number of regions that can be updated in a batch is 100. Requests []*UpdateRegionRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"` } func (x *BatchUpdateRegionsRequest) Reset() { *x = BatchUpdateRegionsRequest{} mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BatchUpdateRegionsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*BatchUpdateRegionsRequest) ProtoMessage() {} func (x *BatchUpdateRegionsRequest) ProtoReflect() protoreflect.Message { mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use BatchUpdateRegionsRequest.ProtoReflect.Descriptor instead. func (*BatchUpdateRegionsRequest) Descriptor() ([]byte, []int) { return file_google_shopping_merchant_accounts_v1_regions_proto_rawDescGZIP(), []int{5} } func (x *BatchUpdateRegionsRequest) GetParent() string { if x != nil { return x.Parent } return "" } func (x *BatchUpdateRegionsRequest) GetRequests() []*UpdateRegionRequest { if x != nil { return x.Requests } return nil } // Response message for the `BatchUpdateRegions` method. type BatchUpdateRegionsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The updated region(s). Regions []*Region `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"` } func (x *BatchUpdateRegionsResponse) Reset() { *x = BatchUpdateRegionsResponse{} mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BatchUpdateRegionsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*BatchUpdateRegionsResponse) ProtoMessage() {} func (x *BatchUpdateRegionsResponse) ProtoReflect() protoreflect.Message { mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use BatchUpdateRegionsResponse.ProtoReflect.Descriptor instead. func (*BatchUpdateRegionsResponse) Descriptor() ([]byte, []int) { return file_google_shopping_merchant_accounts_v1_regions_proto_rawDescGZIP(), []int{6} } func (x *BatchUpdateRegionsResponse) GetRegions() []*Region { if x != nil { return x.Regions } return nil } // Request message for the `DeleteRegion` method. type DeleteRegionRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The name of the region to delete. // Format: `accounts/{account}/regions/{region}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } func (x *DeleteRegionRequest) Reset() { *x = DeleteRegionRequest{} mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeleteRegionRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteRegionRequest) ProtoMessage() {} func (x *DeleteRegionRequest) ProtoReflect() protoreflect.Message { mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteRegionRequest.ProtoReflect.Descriptor instead. func (*DeleteRegionRequest) Descriptor() ([]byte, []int) { return file_google_shopping_merchant_accounts_v1_regions_proto_rawDescGZIP(), []int{7} } func (x *DeleteRegionRequest) GetName() string { if x != nil { return x.Name } return "" } // Request message for the `BatchDeleteRegions` method. type BatchDeleteRegionsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The account to delete one or more regions from. // Format: `accounts/{account}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The names of the regions to delete. // A maximum of 100 regions can be deleted in a batch. Requests []*DeleteRegionRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"` } func (x *BatchDeleteRegionsRequest) Reset() { *x = BatchDeleteRegionsRequest{} mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BatchDeleteRegionsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*BatchDeleteRegionsRequest) ProtoMessage() {} func (x *BatchDeleteRegionsRequest) ProtoReflect() protoreflect.Message { mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use BatchDeleteRegionsRequest.ProtoReflect.Descriptor instead. func (*BatchDeleteRegionsRequest) Descriptor() ([]byte, []int) { return file_google_shopping_merchant_accounts_v1_regions_proto_rawDescGZIP(), []int{8} } func (x *BatchDeleteRegionsRequest) GetParent() string { if x != nil { return x.Parent } return "" } func (x *BatchDeleteRegionsRequest) GetRequests() []*DeleteRegionRequest { if x != nil { return x.Requests } return nil } // Request message for the `ListRegions` method. type ListRegionsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The account to list regions for. // Format: `accounts/{account}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of regions to return. The service may return // fewer than this value. // If unspecified, at most 50 regions will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A page token, received from a previous `ListRegions` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListRegions` must // match the call that provided the page token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } func (x *ListRegionsRequest) Reset() { *x = ListRegionsRequest{} mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListRegionsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListRegionsRequest) ProtoMessage() {} func (x *ListRegionsRequest) ProtoReflect() protoreflect.Message { mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListRegionsRequest.ProtoReflect.Descriptor instead. func (*ListRegionsRequest) Descriptor() ([]byte, []int) { return file_google_shopping_merchant_accounts_v1_regions_proto_rawDescGZIP(), []int{9} } func (x *ListRegionsRequest) GetParent() string { if x != nil { return x.Parent } return "" } func (x *ListRegionsRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *ListRegionsRequest) GetPageToken() string { if x != nil { return x.PageToken } return "" } // Response message for the `ListRegions` method. type ListRegionsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The regions from the specified business. Regions []*Region `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } func (x *ListRegionsResponse) Reset() { *x = ListRegionsResponse{} mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListRegionsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListRegionsResponse) ProtoMessage() {} func (x *ListRegionsResponse) ProtoReflect() protoreflect.Message { mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListRegionsResponse.ProtoReflect.Descriptor instead. func (*ListRegionsResponse) Descriptor() ([]byte, []int) { return file_google_shopping_merchant_accounts_v1_regions_proto_rawDescGZIP(), []int{10} } func (x *ListRegionsResponse) GetRegions() []*Region { if x != nil { return x.Regions } return nil } func (x *ListRegionsResponse) GetNextPageToken() string { if x != nil { return x.NextPageToken } return "" } // Represents a geographic region that you can use as a target with both the // `RegionalInventory` and `ShippingSettings` services. You can define regions // as collections of either postal codes or, in some countries, using predefined // geotargets. For more information, see [Set up regions // ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) // for more information. type Region struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Identifier. The resource name of the region. // Format: `accounts/{account}/regions/{region}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The display name of the region. DisplayName *string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"` // Optional. A list of postal codes that defines the region area. PostalCodeArea *Region_PostalCodeArea `protobuf:"bytes,3,opt,name=postal_code_area,json=postalCodeArea,proto3" json:"postal_code_area,omitempty"` // Optional. A list of geotargets that defines the region area. GeotargetArea *Region_GeoTargetArea `protobuf:"bytes,4,opt,name=geotarget_area,json=geotargetArea,proto3" json:"geotarget_area,omitempty"` // Output only. Indicates if the region is eligible for use in the Regional // Inventory configuration. RegionalInventoryEligible *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=regional_inventory_eligible,json=regionalInventoryEligible,proto3" json:"regional_inventory_eligible,omitempty"` // Output only. Indicates if the region is eligible for use in the Shipping // Services configuration. ShippingEligible *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=shipping_eligible,json=shippingEligible,proto3" json:"shipping_eligible,omitempty"` } func (x *Region) Reset() { *x = Region{} mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Region) String() string { return protoimpl.X.MessageStringOf(x) } func (*Region) ProtoMessage() {} func (x *Region) ProtoReflect() protoreflect.Message { mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Region.ProtoReflect.Descriptor instead. func (*Region) Descriptor() ([]byte, []int) { return file_google_shopping_merchant_accounts_v1_regions_proto_rawDescGZIP(), []int{11} } func (x *Region) GetName() string { if x != nil { return x.Name } return "" } func (x *Region) GetDisplayName() string { if x != nil && x.DisplayName != nil { return *x.DisplayName } return "" } func (x *Region) GetPostalCodeArea() *Region_PostalCodeArea { if x != nil { return x.PostalCodeArea } return nil } func (x *Region) GetGeotargetArea() *Region_GeoTargetArea { if x != nil { return x.GeotargetArea } return nil } func (x *Region) GetRegionalInventoryEligible() *wrapperspb.BoolValue { if x != nil { return x.RegionalInventoryEligible } return nil } func (x *Region) GetShippingEligible() *wrapperspb.BoolValue { if x != nil { return x.ShippingEligible } return nil } // A list of postal codes that defines the region area. // Note: All regions defined using postal codes are accessible through the // account's `ShippingSettings.postalCodeGroups` resource. type Region_PostalCodeArea struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. [CLDR territory // code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) // or the country the postal code group applies to. RegionCode string `protobuf:"bytes,1,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` // Required. A range of postal codes. PostalCodes []*Region_PostalCodeArea_PostalCodeRange `protobuf:"bytes,2,rep,name=postal_codes,json=postalCodes,proto3" json:"postal_codes,omitempty"` } func (x *Region_PostalCodeArea) Reset() { *x = Region_PostalCodeArea{} mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Region_PostalCodeArea) String() string { return protoimpl.X.MessageStringOf(x) } func (*Region_PostalCodeArea) ProtoMessage() {} func (x *Region_PostalCodeArea) ProtoReflect() protoreflect.Message { mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[12] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Region_PostalCodeArea.ProtoReflect.Descriptor instead. func (*Region_PostalCodeArea) Descriptor() ([]byte, []int) { return file_google_shopping_merchant_accounts_v1_regions_proto_rawDescGZIP(), []int{11, 0} } func (x *Region_PostalCodeArea) GetRegionCode() string { if x != nil { return x.RegionCode } return "" } func (x *Region_PostalCodeArea) GetPostalCodes() []*Region_PostalCodeArea_PostalCodeRange { if x != nil { return x.PostalCodes } return nil } // A list of geotargets that defines the region area. type Region_GeoTargetArea struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. A non-empty list of [location // IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). // They must all be of the same location type (for example, state). GeotargetCriteriaIds []int64 `protobuf:"varint,1,rep,packed,name=geotarget_criteria_ids,json=geotargetCriteriaIds,proto3" json:"geotarget_criteria_ids,omitempty"` } func (x *Region_GeoTargetArea) Reset() { *x = Region_GeoTargetArea{} mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Region_GeoTargetArea) String() string { return protoimpl.X.MessageStringOf(x) } func (*Region_GeoTargetArea) ProtoMessage() {} func (x *Region_GeoTargetArea) ProtoReflect() protoreflect.Message { mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[13] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Region_GeoTargetArea.ProtoReflect.Descriptor instead. func (*Region_GeoTargetArea) Descriptor() ([]byte, []int) { return file_google_shopping_merchant_accounts_v1_regions_proto_rawDescGZIP(), []int{11, 1} } func (x *Region_GeoTargetArea) GetGeotargetCriteriaIds() []int64 { if x != nil { return x.GeotargetCriteriaIds } return nil } // A range of postal codes that defines the region area. type Region_PostalCodeArea_PostalCodeRange struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. A postal code or a pattern of the form prefix* denoting the // inclusive lower bound of the range defining the area. Examples values: // `94108`, `9410*`, `9*`. Begin string `protobuf:"bytes,1,opt,name=begin,proto3" json:"begin,omitempty"` // Optional. A postal code or a pattern of the form `prefix*` denoting the // inclusive upper bound of the range defining the area. It must have the // same length as postalCodeRangeBegin: if postalCodeRangeBegin is a // postal code then postalCodeRangeEnd must be a postal code too; if // postalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a // pattern with the same prefix length. Optional: if not set, then the // area is defined as being all the postal codes matching // postalCodeRangeBegin. End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` } func (x *Region_PostalCodeArea_PostalCodeRange) Reset() { *x = Region_PostalCodeArea_PostalCodeRange{} mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Region_PostalCodeArea_PostalCodeRange) String() string { return protoimpl.X.MessageStringOf(x) } func (*Region_PostalCodeArea_PostalCodeRange) ProtoMessage() {} func (x *Region_PostalCodeArea_PostalCodeRange) ProtoReflect() protoreflect.Message { mi := &file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[14] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Region_PostalCodeArea_PostalCodeRange.ProtoReflect.Descriptor instead. func (*Region_PostalCodeArea_PostalCodeRange) Descriptor() ([]byte, []int) { return file_google_shopping_merchant_accounts_v1_regions_proto_rawDescGZIP(), []int{11, 0, 0} } func (x *Region_PostalCodeArea_PostalCodeRange) GetBegin() string { if x != nil { return x.Begin } return "" } func (x *Region_PostalCodeArea_PostalCodeRange) GetEnd() string { if x != nil { return x.End } return "" } var File_google_shopping_merchant_accounts_v1_regions_proto protoreflect.FileDescriptor var file_google_shopping_merchant_accounts_v1_regions_proto_rawDesc = []byte{ 0x0a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc6, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x49, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0xbb, 0x01, 0x0a, 0x19, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x5a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x64, 0x0a, 0x1a, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xa2, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xbb, 0x01, 0x0a, 0x19, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x5a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x64, 0x0a, 0x1a, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x54, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xbb, 0x01, 0x0a, 0x19, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x5a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x9e, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x85, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xff, 0x06, 0x0a, 0x06, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x6a, 0x0a, 0x10, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x61, 0x72, 0x65, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x41, 0x72, 0x65, 0x61, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x41, 0x72, 0x65, 0x61, 0x12, 0x66, 0x0a, 0x0e, 0x67, 0x65, 0x6f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x65, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x6f, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x72, 0x65, 0x61, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x67, 0x65, 0x6f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x72, 0x65, 0x61, 0x12, 0x5f, 0x0a, 0x1b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x19, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x4c, 0x0a, 0x11, 0x73, 0x68, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x73, 0x68, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x1a, 0xf0, 0x01, 0x0a, 0x0e, 0x50, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x41, 0x72, 0x65, 0x61, 0x12, 0x24, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x73, 0x0a, 0x0c, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x41, 0x72, 0x65, 0x61, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x1a, 0x43, 0x0a, 0x0f, 0x50, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x19, 0x0a, 0x05, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x12, 0x15, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x1a, 0x4a, 0x0a, 0x0d, 0x47, 0x65, 0x6f, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x72, 0x65, 0x61, 0x12, 0x39, 0x0a, 0x16, 0x67, 0x65, 0x6f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x14, 0x67, 0x65, 0x6f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x49, 0x64, 0x73, 0x3a, 0x5c, 0xea, 0x41, 0x59, 0x0a, 0x21, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x7d, 0x2a, 0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x32, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0xe8, 0x0c, 0x0a, 0x0e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xaa, 0x01, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0x37, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xcb, 0x01, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0x52, 0xda, 0x41, 0x17, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2c, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x3a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0x28, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xd8, 0x01, 0x0a, 0x12, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x3a, 0x01, 0x2a, 0x22, 0x34, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0xcd, 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0x54, 0xda, 0x41, 0x12, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x3a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x32, 0x2f, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xd8, 0x01, 0x0a, 0x12, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x3a, 0x01, 0x2a, 0x22, 0x34, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x9a, 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x37, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x2a, 0x28, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xae, 0x01, 0x0a, 0x12, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x3a, 0x01, 0x2a, 0x22, 0x34, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0xbd, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x47, 0xca, 0x41, 0x1a, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x27, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0xff, 0x01, 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5c, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x3a, 0x3a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_google_shopping_merchant_accounts_v1_regions_proto_rawDescOnce sync.Once file_google_shopping_merchant_accounts_v1_regions_proto_rawDescData = file_google_shopping_merchant_accounts_v1_regions_proto_rawDesc ) func file_google_shopping_merchant_accounts_v1_regions_proto_rawDescGZIP() []byte { file_google_shopping_merchant_accounts_v1_regions_proto_rawDescOnce.Do(func() { file_google_shopping_merchant_accounts_v1_regions_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1_regions_proto_rawDescData) }) return file_google_shopping_merchant_accounts_v1_regions_proto_rawDescData } var file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes = make([]protoimpl.MessageInfo, 15) var file_google_shopping_merchant_accounts_v1_regions_proto_goTypes = []any{ (*GetRegionRequest)(nil), // 0: google.shopping.merchant.accounts.v1.GetRegionRequest (*CreateRegionRequest)(nil), // 1: google.shopping.merchant.accounts.v1.CreateRegionRequest (*BatchCreateRegionsRequest)(nil), // 2: google.shopping.merchant.accounts.v1.BatchCreateRegionsRequest (*BatchCreateRegionsResponse)(nil), // 3: google.shopping.merchant.accounts.v1.BatchCreateRegionsResponse (*UpdateRegionRequest)(nil), // 4: google.shopping.merchant.accounts.v1.UpdateRegionRequest (*BatchUpdateRegionsRequest)(nil), // 5: google.shopping.merchant.accounts.v1.BatchUpdateRegionsRequest (*BatchUpdateRegionsResponse)(nil), // 6: google.shopping.merchant.accounts.v1.BatchUpdateRegionsResponse (*DeleteRegionRequest)(nil), // 7: google.shopping.merchant.accounts.v1.DeleteRegionRequest (*BatchDeleteRegionsRequest)(nil), // 8: google.shopping.merchant.accounts.v1.BatchDeleteRegionsRequest (*ListRegionsRequest)(nil), // 9: google.shopping.merchant.accounts.v1.ListRegionsRequest (*ListRegionsResponse)(nil), // 10: google.shopping.merchant.accounts.v1.ListRegionsResponse (*Region)(nil), // 11: google.shopping.merchant.accounts.v1.Region (*Region_PostalCodeArea)(nil), // 12: google.shopping.merchant.accounts.v1.Region.PostalCodeArea (*Region_GeoTargetArea)(nil), // 13: google.shopping.merchant.accounts.v1.Region.GeoTargetArea (*Region_PostalCodeArea_PostalCodeRange)(nil), // 14: google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRange (*fieldmaskpb.FieldMask)(nil), // 15: google.protobuf.FieldMask (*wrapperspb.BoolValue)(nil), // 16: google.protobuf.BoolValue (*emptypb.Empty)(nil), // 17: google.protobuf.Empty } var file_google_shopping_merchant_accounts_v1_regions_proto_depIdxs = []int32{ 11, // 0: google.shopping.merchant.accounts.v1.CreateRegionRequest.region:type_name -> google.shopping.merchant.accounts.v1.Region 1, // 1: google.shopping.merchant.accounts.v1.BatchCreateRegionsRequest.requests:type_name -> google.shopping.merchant.accounts.v1.CreateRegionRequest 11, // 2: google.shopping.merchant.accounts.v1.BatchCreateRegionsResponse.regions:type_name -> google.shopping.merchant.accounts.v1.Region 11, // 3: google.shopping.merchant.accounts.v1.UpdateRegionRequest.region:type_name -> google.shopping.merchant.accounts.v1.Region 15, // 4: google.shopping.merchant.accounts.v1.UpdateRegionRequest.update_mask:type_name -> google.protobuf.FieldMask 4, // 5: google.shopping.merchant.accounts.v1.BatchUpdateRegionsRequest.requests:type_name -> google.shopping.merchant.accounts.v1.UpdateRegionRequest 11, // 6: google.shopping.merchant.accounts.v1.BatchUpdateRegionsResponse.regions:type_name -> google.shopping.merchant.accounts.v1.Region 7, // 7: google.shopping.merchant.accounts.v1.BatchDeleteRegionsRequest.requests:type_name -> google.shopping.merchant.accounts.v1.DeleteRegionRequest 11, // 8: google.shopping.merchant.accounts.v1.ListRegionsResponse.regions:type_name -> google.shopping.merchant.accounts.v1.Region 12, // 9: google.shopping.merchant.accounts.v1.Region.postal_code_area:type_name -> google.shopping.merchant.accounts.v1.Region.PostalCodeArea 13, // 10: google.shopping.merchant.accounts.v1.Region.geotarget_area:type_name -> google.shopping.merchant.accounts.v1.Region.GeoTargetArea 16, // 11: google.shopping.merchant.accounts.v1.Region.regional_inventory_eligible:type_name -> google.protobuf.BoolValue 16, // 12: google.shopping.merchant.accounts.v1.Region.shipping_eligible:type_name -> google.protobuf.BoolValue 14, // 13: google.shopping.merchant.accounts.v1.Region.PostalCodeArea.postal_codes:type_name -> google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRange 0, // 14: google.shopping.merchant.accounts.v1.RegionsService.GetRegion:input_type -> google.shopping.merchant.accounts.v1.GetRegionRequest 1, // 15: google.shopping.merchant.accounts.v1.RegionsService.CreateRegion:input_type -> google.shopping.merchant.accounts.v1.CreateRegionRequest 2, // 16: google.shopping.merchant.accounts.v1.RegionsService.BatchCreateRegions:input_type -> google.shopping.merchant.accounts.v1.BatchCreateRegionsRequest 4, // 17: google.shopping.merchant.accounts.v1.RegionsService.UpdateRegion:input_type -> google.shopping.merchant.accounts.v1.UpdateRegionRequest 5, // 18: google.shopping.merchant.accounts.v1.RegionsService.BatchUpdateRegions:input_type -> google.shopping.merchant.accounts.v1.BatchUpdateRegionsRequest 7, // 19: google.shopping.merchant.accounts.v1.RegionsService.DeleteRegion:input_type -> google.shopping.merchant.accounts.v1.DeleteRegionRequest 8, // 20: google.shopping.merchant.accounts.v1.RegionsService.BatchDeleteRegions:input_type -> google.shopping.merchant.accounts.v1.BatchDeleteRegionsRequest 9, // 21: google.shopping.merchant.accounts.v1.RegionsService.ListRegions:input_type -> google.shopping.merchant.accounts.v1.ListRegionsRequest 11, // 22: google.shopping.merchant.accounts.v1.RegionsService.GetRegion:output_type -> google.shopping.merchant.accounts.v1.Region 11, // 23: google.shopping.merchant.accounts.v1.RegionsService.CreateRegion:output_type -> google.shopping.merchant.accounts.v1.Region 3, // 24: google.shopping.merchant.accounts.v1.RegionsService.BatchCreateRegions:output_type -> google.shopping.merchant.accounts.v1.BatchCreateRegionsResponse 11, // 25: google.shopping.merchant.accounts.v1.RegionsService.UpdateRegion:output_type -> google.shopping.merchant.accounts.v1.Region 6, // 26: google.shopping.merchant.accounts.v1.RegionsService.BatchUpdateRegions:output_type -> google.shopping.merchant.accounts.v1.BatchUpdateRegionsResponse 17, // 27: google.shopping.merchant.accounts.v1.RegionsService.DeleteRegion:output_type -> google.protobuf.Empty 17, // 28: google.shopping.merchant.accounts.v1.RegionsService.BatchDeleteRegions:output_type -> google.protobuf.Empty 10, // 29: google.shopping.merchant.accounts.v1.RegionsService.ListRegions:output_type -> google.shopping.merchant.accounts.v1.ListRegionsResponse 22, // [22:30] is the sub-list for method output_type 14, // [14:22] is the sub-list for method input_type 14, // [14:14] is the sub-list for extension type_name 14, // [14:14] is the sub-list for extension extendee 0, // [0:14] is the sub-list for field type_name } func init() { file_google_shopping_merchant_accounts_v1_regions_proto_init() } func file_google_shopping_merchant_accounts_v1_regions_proto_init() { if File_google_shopping_merchant_accounts_v1_regions_proto != nil { return } file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes[11].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_google_shopping_merchant_accounts_v1_regions_proto_rawDesc, NumEnums: 0, NumMessages: 15, NumExtensions: 0, NumServices: 1, }, GoTypes: file_google_shopping_merchant_accounts_v1_regions_proto_goTypes, DependencyIndexes: file_google_shopping_merchant_accounts_v1_regions_proto_depIdxs, MessageInfos: file_google_shopping_merchant_accounts_v1_regions_proto_msgTypes, }.Build() File_google_shopping_merchant_accounts_v1_regions_proto = out.File file_google_shopping_merchant_accounts_v1_regions_proto_rawDesc = nil file_google_shopping_merchant_accounts_v1_regions_proto_goTypes = nil file_google_shopping_merchant_accounts_v1_regions_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion6 // RegionsServiceClient is the client API for RegionsService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type RegionsServiceClient interface { // Retrieves a region defined in your Merchant Center account. GetRegion(ctx context.Context, in *GetRegionRequest, opts ...grpc.CallOption) (*Region, error) // Creates a region definition in your Merchant Center account. Executing this // method requires admin access. CreateRegion(ctx context.Context, in *CreateRegionRequest, opts ...grpc.CallOption) (*Region, error) // Creates one or more regions in your Merchant Center account. // Executing this method requires admin access. BatchCreateRegions(ctx context.Context, in *BatchCreateRegionsRequest, opts ...grpc.CallOption) (*BatchCreateRegionsResponse, error) // Updates a region definition in your Merchant Center account. // Executing this method requires admin access. UpdateRegion(ctx context.Context, in *UpdateRegionRequest, opts ...grpc.CallOption) (*Region, error) // Updates one or more regions in your Merchant Center account. // Executing this method requires admin access. BatchUpdateRegions(ctx context.Context, in *BatchUpdateRegionsRequest, opts ...grpc.CallOption) (*BatchUpdateRegionsResponse, error) // Deletes a region definition from your Merchant Center account. Executing // this method requires admin access. DeleteRegion(ctx context.Context, in *DeleteRegionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Deletes multiple regions by name from your Merchant Center account. // Executing this method requires admin access. BatchDeleteRegions(ctx context.Context, in *BatchDeleteRegionsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Lists the regions in your Merchant Center account. ListRegions(ctx context.Context, in *ListRegionsRequest, opts ...grpc.CallOption) (*ListRegionsResponse, error) } type regionsServiceClient struct { cc grpc.ClientConnInterface } func NewRegionsServiceClient(cc grpc.ClientConnInterface) RegionsServiceClient { return ®ionsServiceClient{cc} } func (c *regionsServiceClient) GetRegion(ctx context.Context, in *GetRegionRequest, opts ...grpc.CallOption) (*Region, error) { out := new(Region) err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.RegionsService/GetRegion", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *regionsServiceClient) CreateRegion(ctx context.Context, in *CreateRegionRequest, opts ...grpc.CallOption) (*Region, error) { out := new(Region) err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.RegionsService/CreateRegion", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *regionsServiceClient) BatchCreateRegions(ctx context.Context, in *BatchCreateRegionsRequest, opts ...grpc.CallOption) (*BatchCreateRegionsResponse, error) { out := new(BatchCreateRegionsResponse) err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.RegionsService/BatchCreateRegions", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *regionsServiceClient) UpdateRegion(ctx context.Context, in *UpdateRegionRequest, opts ...grpc.CallOption) (*Region, error) { out := new(Region) err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.RegionsService/UpdateRegion", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *regionsServiceClient) BatchUpdateRegions(ctx context.Context, in *BatchUpdateRegionsRequest, opts ...grpc.CallOption) (*BatchUpdateRegionsResponse, error) { out := new(BatchUpdateRegionsResponse) err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.RegionsService/BatchUpdateRegions", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *regionsServiceClient) DeleteRegion(ctx context.Context, in *DeleteRegionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.RegionsService/DeleteRegion", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *regionsServiceClient) BatchDeleteRegions(ctx context.Context, in *BatchDeleteRegionsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.RegionsService/BatchDeleteRegions", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *regionsServiceClient) ListRegions(ctx context.Context, in *ListRegionsRequest, opts ...grpc.CallOption) (*ListRegionsResponse, error) { out := new(ListRegionsResponse) err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.RegionsService/ListRegions", in, out, opts...) if err != nil { return nil, err } return out, nil } // RegionsServiceServer is the server API for RegionsService service. type RegionsServiceServer interface { // Retrieves a region defined in your Merchant Center account. GetRegion(context.Context, *GetRegionRequest) (*Region, error) // Creates a region definition in your Merchant Center account. Executing this // method requires admin access. CreateRegion(context.Context, *CreateRegionRequest) (*Region, error) // Creates one or more regions in your Merchant Center account. // Executing this method requires admin access. BatchCreateRegions(context.Context, *BatchCreateRegionsRequest) (*BatchCreateRegionsResponse, error) // Updates a region definition in your Merchant Center account. // Executing this method requires admin access. UpdateRegion(context.Context, *UpdateRegionRequest) (*Region, error) // Updates one or more regions in your Merchant Center account. // Executing this method requires admin access. BatchUpdateRegions(context.Context, *BatchUpdateRegionsRequest) (*BatchUpdateRegionsResponse, error) // Deletes a region definition from your Merchant Center account. Executing // this method requires admin access. DeleteRegion(context.Context, *DeleteRegionRequest) (*emptypb.Empty, error) // Deletes multiple regions by name from your Merchant Center account. // Executing this method requires admin access. BatchDeleteRegions(context.Context, *BatchDeleteRegionsRequest) (*emptypb.Empty, error) // Lists the regions in your Merchant Center account. ListRegions(context.Context, *ListRegionsRequest) (*ListRegionsResponse, error) } // UnimplementedRegionsServiceServer can be embedded to have forward compatible implementations. type UnimplementedRegionsServiceServer struct { } func (*UnimplementedRegionsServiceServer) GetRegion(context.Context, *GetRegionRequest) (*Region, error) { return nil, status.Errorf(codes.Unimplemented, "method GetRegion not implemented") } func (*UnimplementedRegionsServiceServer) CreateRegion(context.Context, *CreateRegionRequest) (*Region, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateRegion not implemented") } func (*UnimplementedRegionsServiceServer) BatchCreateRegions(context.Context, *BatchCreateRegionsRequest) (*BatchCreateRegionsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method BatchCreateRegions not implemented") } func (*UnimplementedRegionsServiceServer) UpdateRegion(context.Context, *UpdateRegionRequest) (*Region, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateRegion not implemented") } func (*UnimplementedRegionsServiceServer) BatchUpdateRegions(context.Context, *BatchUpdateRegionsRequest) (*BatchUpdateRegionsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateRegions not implemented") } func (*UnimplementedRegionsServiceServer) DeleteRegion(context.Context, *DeleteRegionRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteRegion not implemented") } func (*UnimplementedRegionsServiceServer) BatchDeleteRegions(context.Context, *BatchDeleteRegionsRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method BatchDeleteRegions not implemented") } func (*UnimplementedRegionsServiceServer) ListRegions(context.Context, *ListRegionsRequest) (*ListRegionsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListRegions not implemented") } func RegisterRegionsServiceServer(s *grpc.Server, srv RegionsServiceServer) { s.RegisterService(&_RegionsService_serviceDesc, srv) } func _RegionsService_GetRegion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetRegionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(RegionsServiceServer).GetRegion(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.shopping.merchant.accounts.v1.RegionsService/GetRegion", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(RegionsServiceServer).GetRegion(ctx, req.(*GetRegionRequest)) } return interceptor(ctx, in, info, handler) } func _RegionsService_CreateRegion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateRegionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(RegionsServiceServer).CreateRegion(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.shopping.merchant.accounts.v1.RegionsService/CreateRegion", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(RegionsServiceServer).CreateRegion(ctx, req.(*CreateRegionRequest)) } return interceptor(ctx, in, info, handler) } func _RegionsService_BatchCreateRegions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(BatchCreateRegionsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(RegionsServiceServer).BatchCreateRegions(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.shopping.merchant.accounts.v1.RegionsService/BatchCreateRegions", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(RegionsServiceServer).BatchCreateRegions(ctx, req.(*BatchCreateRegionsRequest)) } return interceptor(ctx, in, info, handler) } func _RegionsService_UpdateRegion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateRegionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(RegionsServiceServer).UpdateRegion(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.shopping.merchant.accounts.v1.RegionsService/UpdateRegion", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(RegionsServiceServer).UpdateRegion(ctx, req.(*UpdateRegionRequest)) } return interceptor(ctx, in, info, handler) } func _RegionsService_BatchUpdateRegions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(BatchUpdateRegionsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(RegionsServiceServer).BatchUpdateRegions(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.shopping.merchant.accounts.v1.RegionsService/BatchUpdateRegions", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(RegionsServiceServer).BatchUpdateRegions(ctx, req.(*BatchUpdateRegionsRequest)) } return interceptor(ctx, in, info, handler) } func _RegionsService_DeleteRegion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteRegionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(RegionsServiceServer).DeleteRegion(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.shopping.merchant.accounts.v1.RegionsService/DeleteRegion", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(RegionsServiceServer).DeleteRegion(ctx, req.(*DeleteRegionRequest)) } return interceptor(ctx, in, info, handler) } func _RegionsService_BatchDeleteRegions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(BatchDeleteRegionsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(RegionsServiceServer).BatchDeleteRegions(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.shopping.merchant.accounts.v1.RegionsService/BatchDeleteRegions", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(RegionsServiceServer).BatchDeleteRegions(ctx, req.(*BatchDeleteRegionsRequest)) } return interceptor(ctx, in, info, handler) } func _RegionsService_ListRegions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ListRegionsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(RegionsServiceServer).ListRegions(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.shopping.merchant.accounts.v1.RegionsService/ListRegions", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(RegionsServiceServer).ListRegions(ctx, req.(*ListRegionsRequest)) } return interceptor(ctx, in, info, handler) } var _RegionsService_serviceDesc = grpc.ServiceDesc{ ServiceName: "google.shopping.merchant.accounts.v1.RegionsService", HandlerType: (*RegionsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetRegion", Handler: _RegionsService_GetRegion_Handler, }, { MethodName: "CreateRegion", Handler: _RegionsService_CreateRegion_Handler, }, { MethodName: "BatchCreateRegions", Handler: _RegionsService_BatchCreateRegions_Handler, }, { MethodName: "UpdateRegion", Handler: _RegionsService_UpdateRegion_Handler, }, { MethodName: "BatchUpdateRegions", Handler: _RegionsService_BatchUpdateRegions_Handler, }, { MethodName: "DeleteRegion", Handler: _RegionsService_DeleteRegion_Handler, }, { MethodName: "BatchDeleteRegions", Handler: _RegionsService_BatchDeleteRegions_Handler, }, { MethodName: "ListRegions", Handler: _RegionsService_ListRegions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/shopping/merchant/accounts/v1/regions.proto", }