// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.31.0 // protoc v3.19.4 // source: service_region_town.proto package pb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" 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) ) // 查找所有区县 type FindAllRegionTownsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields IncludeRegionCity bool `protobuf:"varint,1,opt,name=includeRegionCity,proto3" json:"includeRegionCity,omitempty"` } func (x *FindAllRegionTownsRequest) Reset() { *x = FindAllRegionTownsRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_region_town_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindAllRegionTownsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindAllRegionTownsRequest) ProtoMessage() {} func (x *FindAllRegionTownsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_region_town_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FindAllRegionTownsRequest.ProtoReflect.Descriptor instead. func (*FindAllRegionTownsRequest) Descriptor() ([]byte, []int) { return file_service_region_town_proto_rawDescGZIP(), []int{0} } func (x *FindAllRegionTownsRequest) GetIncludeRegionCity() bool { if x != nil { return x.IncludeRegionCity } return false } type FindAllRegionTownsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields RegionTowns []*RegionTown `protobuf:"bytes,1,rep,name=regionTowns,proto3" json:"regionTowns,omitempty"` } func (x *FindAllRegionTownsResponse) Reset() { *x = FindAllRegionTownsResponse{} if protoimpl.UnsafeEnabled { mi := &file_service_region_town_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindAllRegionTownsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindAllRegionTownsResponse) ProtoMessage() {} func (x *FindAllRegionTownsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_region_town_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FindAllRegionTownsResponse.ProtoReflect.Descriptor instead. func (*FindAllRegionTownsResponse) Descriptor() ([]byte, []int) { return file_service_region_town_proto_rawDescGZIP(), []int{1} } func (x *FindAllRegionTownsResponse) GetRegionTowns() []*RegionTown { if x != nil { return x.RegionTowns } return nil } // 查找某个城市的所有区县 type FindAllRegionTownsWithRegionCityIdRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields RegionCityId int64 `protobuf:"varint,1,opt,name=regionCityId,proto3" json:"regionCityId,omitempty"` } func (x *FindAllRegionTownsWithRegionCityIdRequest) Reset() { *x = FindAllRegionTownsWithRegionCityIdRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_region_town_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindAllRegionTownsWithRegionCityIdRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindAllRegionTownsWithRegionCityIdRequest) ProtoMessage() {} func (x *FindAllRegionTownsWithRegionCityIdRequest) ProtoReflect() protoreflect.Message { mi := &file_service_region_town_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FindAllRegionTownsWithRegionCityIdRequest.ProtoReflect.Descriptor instead. func (*FindAllRegionTownsWithRegionCityIdRequest) Descriptor() ([]byte, []int) { return file_service_region_town_proto_rawDescGZIP(), []int{2} } func (x *FindAllRegionTownsWithRegionCityIdRequest) GetRegionCityId() int64 { if x != nil { return x.RegionCityId } return 0 } type FindAllRegionTownsWithRegionCityIdResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields RegionTowns []*RegionTown `protobuf:"bytes,1,rep,name=regionTowns,proto3" json:"regionTowns,omitempty"` } func (x *FindAllRegionTownsWithRegionCityIdResponse) Reset() { *x = FindAllRegionTownsWithRegionCityIdResponse{} if protoimpl.UnsafeEnabled { mi := &file_service_region_town_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindAllRegionTownsWithRegionCityIdResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindAllRegionTownsWithRegionCityIdResponse) ProtoMessage() {} func (x *FindAllRegionTownsWithRegionCityIdResponse) ProtoReflect() protoreflect.Message { mi := &file_service_region_town_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FindAllRegionTownsWithRegionCityIdResponse.ProtoReflect.Descriptor instead. func (*FindAllRegionTownsWithRegionCityIdResponse) Descriptor() ([]byte, []int) { return file_service_region_town_proto_rawDescGZIP(), []int{3} } func (x *FindAllRegionTownsWithRegionCityIdResponse) GetRegionTowns() []*RegionTown { if x != nil { return x.RegionTowns } return nil } // 查找单个区县信息 type FindRegionTownRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields RegionTownId int64 `protobuf:"varint,1,opt,name=regionTownId,proto3" json:"regionTownId,omitempty"` } func (x *FindRegionTownRequest) Reset() { *x = FindRegionTownRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_region_town_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindRegionTownRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindRegionTownRequest) ProtoMessage() {} func (x *FindRegionTownRequest) ProtoReflect() protoreflect.Message { mi := &file_service_region_town_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FindRegionTownRequest.ProtoReflect.Descriptor instead. func (*FindRegionTownRequest) Descriptor() ([]byte, []int) { return file_service_region_town_proto_rawDescGZIP(), []int{4} } func (x *FindRegionTownRequest) GetRegionTownId() int64 { if x != nil { return x.RegionTownId } return 0 } type FindRegionTownResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields RegionTown *RegionTown `protobuf:"bytes,1,opt,name=regionTown,proto3" json:"regionTown,omitempty"` } func (x *FindRegionTownResponse) Reset() { *x = FindRegionTownResponse{} if protoimpl.UnsafeEnabled { mi := &file_service_region_town_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindRegionTownResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindRegionTownResponse) ProtoMessage() {} func (x *FindRegionTownResponse) ProtoReflect() protoreflect.Message { mi := &file_service_region_town_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FindRegionTownResponse.ProtoReflect.Descriptor instead. func (*FindRegionTownResponse) Descriptor() ([]byte, []int) { return file_service_region_town_proto_rawDescGZIP(), []int{5} } func (x *FindRegionTownResponse) GetRegionTown() *RegionTown { if x != nil { return x.RegionTown } return nil } // 修改区县定制信息 type UpdateRegionTownCustomRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields RegionTownId int64 `protobuf:"varint,1,opt,name=regionTownId,proto3" json:"regionTownId,omitempty"` CustomName string `protobuf:"bytes,2,opt,name=customName,proto3" json:"customName,omitempty"` CustomCodes []string `protobuf:"bytes,3,rep,name=customCodes,proto3" json:"customCodes,omitempty"` } func (x *UpdateRegionTownCustomRequest) Reset() { *x = UpdateRegionTownCustomRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_region_town_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UpdateRegionTownCustomRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateRegionTownCustomRequest) ProtoMessage() {} func (x *UpdateRegionTownCustomRequest) ProtoReflect() protoreflect.Message { mi := &file_service_region_town_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateRegionTownCustomRequest.ProtoReflect.Descriptor instead. func (*UpdateRegionTownCustomRequest) Descriptor() ([]byte, []int) { return file_service_region_town_proto_rawDescGZIP(), []int{6} } func (x *UpdateRegionTownCustomRequest) GetRegionTownId() int64 { if x != nil { return x.RegionTownId } return 0 } func (x *UpdateRegionTownCustomRequest) GetCustomName() string { if x != nil { return x.CustomName } return "" } func (x *UpdateRegionTownCustomRequest) GetCustomCodes() []string { if x != nil { return x.CustomCodes } return nil } var File_service_region_town_proto protoreflect.FileDescriptor var file_service_region_town_proto_rawDesc = []byte{ 0x0a, 0x19, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x77, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x77, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x49, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x11, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x69, 0x74, 0x79, 0x22, 0x4e, 0x0a, 0x1a, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x52, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x73, 0x22, 0x4f, 0x0a, 0x29, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x69, 0x74, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x69, 0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x69, 0x74, 0x79, 0x49, 0x64, 0x22, 0x5e, 0x0a, 0x2a, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x69, 0x74, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x52, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x73, 0x22, 0x3b, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x16, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x52, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x22, 0x85, 0x01, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x32, 0x84, 0x03, 0x0a, 0x11, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x73, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x22, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x69, 0x74, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x69, 0x74, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0e, 0x66, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x16, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x77, 0x6e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_service_region_town_proto_rawDescOnce sync.Once file_service_region_town_proto_rawDescData = file_service_region_town_proto_rawDesc ) func file_service_region_town_proto_rawDescGZIP() []byte { file_service_region_town_proto_rawDescOnce.Do(func() { file_service_region_town_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_region_town_proto_rawDescData) }) return file_service_region_town_proto_rawDescData } var file_service_region_town_proto_msgTypes = make([]protoimpl.MessageInfo, 7) var file_service_region_town_proto_goTypes = []interface{}{ (*FindAllRegionTownsRequest)(nil), // 0: pb.FindAllRegionTownsRequest (*FindAllRegionTownsResponse)(nil), // 1: pb.FindAllRegionTownsResponse (*FindAllRegionTownsWithRegionCityIdRequest)(nil), // 2: pb.FindAllRegionTownsWithRegionCityIdRequest (*FindAllRegionTownsWithRegionCityIdResponse)(nil), // 3: pb.FindAllRegionTownsWithRegionCityIdResponse (*FindRegionTownRequest)(nil), // 4: pb.FindRegionTownRequest (*FindRegionTownResponse)(nil), // 5: pb.FindRegionTownResponse (*UpdateRegionTownCustomRequest)(nil), // 6: pb.UpdateRegionTownCustomRequest (*RegionTown)(nil), // 7: pb.RegionTown (*RPCSuccess)(nil), // 8: pb.RPCSuccess } var file_service_region_town_proto_depIdxs = []int32{ 7, // 0: pb.FindAllRegionTownsResponse.regionTowns:type_name -> pb.RegionTown 7, // 1: pb.FindAllRegionTownsWithRegionCityIdResponse.regionTowns:type_name -> pb.RegionTown 7, // 2: pb.FindRegionTownResponse.regionTown:type_name -> pb.RegionTown 0, // 3: pb.RegionTownService.findAllRegionTowns:input_type -> pb.FindAllRegionTownsRequest 2, // 4: pb.RegionTownService.findAllRegionTownsWithRegionCityId:input_type -> pb.FindAllRegionTownsWithRegionCityIdRequest 4, // 5: pb.RegionTownService.findRegionTown:input_type -> pb.FindRegionTownRequest 6, // 6: pb.RegionTownService.updateRegionTownCustom:input_type -> pb.UpdateRegionTownCustomRequest 1, // 7: pb.RegionTownService.findAllRegionTowns:output_type -> pb.FindAllRegionTownsResponse 3, // 8: pb.RegionTownService.findAllRegionTownsWithRegionCityId:output_type -> pb.FindAllRegionTownsWithRegionCityIdResponse 5, // 9: pb.RegionTownService.findRegionTown:output_type -> pb.FindRegionTownResponse 8, // 10: pb.RegionTownService.updateRegionTownCustom:output_type -> pb.RPCSuccess 7, // [7:11] is the sub-list for method output_type 3, // [3:7] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name 3, // [3:3] is the sub-list for extension extendee 0, // [0:3] is the sub-list for field type_name } func init() { file_service_region_town_proto_init() } func file_service_region_town_proto_init() { if File_service_region_town_proto != nil { return } file_models_model_region_town_proto_init() file_models_rpc_messages_proto_init() if !protoimpl.UnsafeEnabled { file_service_region_town_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllRegionTownsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_region_town_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllRegionTownsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_region_town_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllRegionTownsWithRegionCityIdRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_region_town_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllRegionTownsWithRegionCityIdResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_region_town_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindRegionTownRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_region_town_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindRegionTownResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_region_town_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateRegionTownCustomRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_region_town_proto_rawDesc, NumEnums: 0, NumMessages: 7, NumExtensions: 0, NumServices: 1, }, GoTypes: file_service_region_town_proto_goTypes, DependencyIndexes: file_service_region_town_proto_depIdxs, MessageInfos: file_service_region_town_proto_msgTypes, }.Build() File_service_region_town_proto = out.File file_service_region_town_proto_rawDesc = nil file_service_region_town_proto_goTypes = nil file_service_region_town_proto_depIdxs = nil }