// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v3.19.6 // source: models/model_ip_library_file.proto package pb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) 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 IPLibraryFile struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` FileId int64 `protobuf:"varint,3,opt,name=fileId,proto3" json:"fileId,omitempty"` Template string `protobuf:"bytes,4,opt,name=template,proto3" json:"template,omitempty"` EmptyValues []string `protobuf:"bytes,5,rep,name=emptyValues,proto3" json:"emptyValues,omitempty"` GeneratedFileId int64 `protobuf:"varint,6,opt,name=generatedFileId,proto3" json:"generatedFileId,omitempty"` GeneratedAt int64 `protobuf:"varint,7,opt,name=generatedAt,proto3" json:"generatedAt,omitempty"` IsFinished bool `protobuf:"varint,8,opt,name=isFinished,proto3" json:"isFinished,omitempty"` CreatedAt int64 `protobuf:"varint,9,opt,name=createdAt,proto3" json:"createdAt,omitempty"` CountryNames []string `protobuf:"bytes,10,rep,name=countryNames,proto3" json:"countryNames,omitempty"` Provinces []*IPLibraryFile_Province `protobuf:"bytes,11,rep,name=provinces,proto3" json:"provinces,omitempty"` Cities []*IPLibraryFile_City `protobuf:"bytes,12,rep,name=cities,proto3" json:"cities,omitempty"` Towns []*IPLibraryFile_Town `protobuf:"bytes,13,rep,name=towns,proto3" json:"towns,omitempty"` ProviderNames []string `protobuf:"bytes,14,rep,name=providerNames,proto3" json:"providerNames,omitempty"` Password string `protobuf:"bytes,15,opt,name=password,proto3" json:"password,omitempty"` // 密码 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *IPLibraryFile) Reset() { *x = IPLibraryFile{} mi := &file_models_model_ip_library_file_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *IPLibraryFile) String() string { return protoimpl.X.MessageStringOf(x) } func (*IPLibraryFile) ProtoMessage() {} func (x *IPLibraryFile) ProtoReflect() protoreflect.Message { mi := &file_models_model_ip_library_file_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 IPLibraryFile.ProtoReflect.Descriptor instead. func (*IPLibraryFile) Descriptor() ([]byte, []int) { return file_models_model_ip_library_file_proto_rawDescGZIP(), []int{0} } func (x *IPLibraryFile) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *IPLibraryFile) GetName() string { if x != nil { return x.Name } return "" } func (x *IPLibraryFile) GetFileId() int64 { if x != nil { return x.FileId } return 0 } func (x *IPLibraryFile) GetTemplate() string { if x != nil { return x.Template } return "" } func (x *IPLibraryFile) GetEmptyValues() []string { if x != nil { return x.EmptyValues } return nil } func (x *IPLibraryFile) GetGeneratedFileId() int64 { if x != nil { return x.GeneratedFileId } return 0 } func (x *IPLibraryFile) GetGeneratedAt() int64 { if x != nil { return x.GeneratedAt } return 0 } func (x *IPLibraryFile) GetIsFinished() bool { if x != nil { return x.IsFinished } return false } func (x *IPLibraryFile) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *IPLibraryFile) GetCountryNames() []string { if x != nil { return x.CountryNames } return nil } func (x *IPLibraryFile) GetProvinces() []*IPLibraryFile_Province { if x != nil { return x.Provinces } return nil } func (x *IPLibraryFile) GetCities() []*IPLibraryFile_City { if x != nil { return x.Cities } return nil } func (x *IPLibraryFile) GetTowns() []*IPLibraryFile_Town { if x != nil { return x.Towns } return nil } func (x *IPLibraryFile) GetProviderNames() []string { if x != nil { return x.ProviderNames } return nil } func (x *IPLibraryFile) GetPassword() string { if x != nil { return x.Password } return "" } type IPLibraryFile_Province struct { state protoimpl.MessageState `protogen:"open.v1"` CountryName string `protobuf:"bytes,1,opt,name=countryName,proto3" json:"countryName,omitempty"` ProvinceName string `protobuf:"bytes,2,opt,name=provinceName,proto3" json:"provinceName,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *IPLibraryFile_Province) Reset() { *x = IPLibraryFile_Province{} mi := &file_models_model_ip_library_file_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *IPLibraryFile_Province) String() string { return protoimpl.X.MessageStringOf(x) } func (*IPLibraryFile_Province) ProtoMessage() {} func (x *IPLibraryFile_Province) ProtoReflect() protoreflect.Message { mi := &file_models_model_ip_library_file_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 IPLibraryFile_Province.ProtoReflect.Descriptor instead. func (*IPLibraryFile_Province) Descriptor() ([]byte, []int) { return file_models_model_ip_library_file_proto_rawDescGZIP(), []int{0, 0} } func (x *IPLibraryFile_Province) GetCountryName() string { if x != nil { return x.CountryName } return "" } func (x *IPLibraryFile_Province) GetProvinceName() string { if x != nil { return x.ProvinceName } return "" } type IPLibraryFile_City struct { state protoimpl.MessageState `protogen:"open.v1"` CountryName string `protobuf:"bytes,1,opt,name=countryName,proto3" json:"countryName,omitempty"` ProvinceName string `protobuf:"bytes,2,opt,name=provinceName,proto3" json:"provinceName,omitempty"` CityName string `protobuf:"bytes,3,opt,name=cityName,proto3" json:"cityName,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *IPLibraryFile_City) Reset() { *x = IPLibraryFile_City{} mi := &file_models_model_ip_library_file_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *IPLibraryFile_City) String() string { return protoimpl.X.MessageStringOf(x) } func (*IPLibraryFile_City) ProtoMessage() {} func (x *IPLibraryFile_City) ProtoReflect() protoreflect.Message { mi := &file_models_model_ip_library_file_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 IPLibraryFile_City.ProtoReflect.Descriptor instead. func (*IPLibraryFile_City) Descriptor() ([]byte, []int) { return file_models_model_ip_library_file_proto_rawDescGZIP(), []int{0, 1} } func (x *IPLibraryFile_City) GetCountryName() string { if x != nil { return x.CountryName } return "" } func (x *IPLibraryFile_City) GetProvinceName() string { if x != nil { return x.ProvinceName } return "" } func (x *IPLibraryFile_City) GetCityName() string { if x != nil { return x.CityName } return "" } type IPLibraryFile_Town struct { state protoimpl.MessageState `protogen:"open.v1"` CountryName string `protobuf:"bytes,1,opt,name=countryName,proto3" json:"countryName,omitempty"` ProvinceName string `protobuf:"bytes,2,opt,name=provinceName,proto3" json:"provinceName,omitempty"` CityName string `protobuf:"bytes,3,opt,name=cityName,proto3" json:"cityName,omitempty"` TownName string `protobuf:"bytes,4,opt,name=townName,proto3" json:"townName,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *IPLibraryFile_Town) Reset() { *x = IPLibraryFile_Town{} mi := &file_models_model_ip_library_file_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *IPLibraryFile_Town) String() string { return protoimpl.X.MessageStringOf(x) } func (*IPLibraryFile_Town) ProtoMessage() {} func (x *IPLibraryFile_Town) ProtoReflect() protoreflect.Message { mi := &file_models_model_ip_library_file_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 IPLibraryFile_Town.ProtoReflect.Descriptor instead. func (*IPLibraryFile_Town) Descriptor() ([]byte, []int) { return file_models_model_ip_library_file_proto_rawDescGZIP(), []int{0, 2} } func (x *IPLibraryFile_Town) GetCountryName() string { if x != nil { return x.CountryName } return "" } func (x *IPLibraryFile_Town) GetProvinceName() string { if x != nil { return x.ProvinceName } return "" } func (x *IPLibraryFile_Town) GetCityName() string { if x != nil { return x.CityName } return "" } func (x *IPLibraryFile_Town) GetTownName() string { if x != nil { return x.TownName } return "" } var File_models_model_ip_library_file_proto protoreflect.FileDescriptor const file_models_model_ip_library_file_proto_rawDesc = "" + "\n" + "\"models/model_ip_library_file.proto\x12\x02pb\"\xd4\x06\n" + "\rIPLibraryFile\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n" + "\x06fileId\x18\x03 \x01(\x03R\x06fileId\x12\x1a\n" + "\btemplate\x18\x04 \x01(\tR\btemplate\x12 \n" + "\vemptyValues\x18\x05 \x03(\tR\vemptyValues\x12(\n" + "\x0fgeneratedFileId\x18\x06 \x01(\x03R\x0fgeneratedFileId\x12 \n" + "\vgeneratedAt\x18\a \x01(\x03R\vgeneratedAt\x12\x1e\n" + "\n" + "isFinished\x18\b \x01(\bR\n" + "isFinished\x12\x1c\n" + "\tcreatedAt\x18\t \x01(\x03R\tcreatedAt\x12\"\n" + "\fcountryNames\x18\n" + " \x03(\tR\fcountryNames\x128\n" + "\tprovinces\x18\v \x03(\v2\x1a.pb.IPLibraryFile.ProvinceR\tprovinces\x12.\n" + "\x06cities\x18\f \x03(\v2\x16.pb.IPLibraryFile.CityR\x06cities\x12,\n" + "\x05towns\x18\r \x03(\v2\x16.pb.IPLibraryFile.TownR\x05towns\x12$\n" + "\rproviderNames\x18\x0e \x03(\tR\rproviderNames\x12\x1a\n" + "\bpassword\x18\x0f \x01(\tR\bpassword\x1aP\n" + "\bProvince\x12 \n" + "\vcountryName\x18\x01 \x01(\tR\vcountryName\x12\"\n" + "\fprovinceName\x18\x02 \x01(\tR\fprovinceName\x1ah\n" + "\x04City\x12 \n" + "\vcountryName\x18\x01 \x01(\tR\vcountryName\x12\"\n" + "\fprovinceName\x18\x02 \x01(\tR\fprovinceName\x12\x1a\n" + "\bcityName\x18\x03 \x01(\tR\bcityName\x1a\x84\x01\n" + "\x04Town\x12 \n" + "\vcountryName\x18\x01 \x01(\tR\vcountryName\x12\"\n" + "\fprovinceName\x18\x02 \x01(\tR\fprovinceName\x12\x1a\n" + "\bcityName\x18\x03 \x01(\tR\bcityName\x12\x1a\n" + "\btownName\x18\x04 \x01(\tR\btownNameB\x06Z\x04./pbb\x06proto3" var ( file_models_model_ip_library_file_proto_rawDescOnce sync.Once file_models_model_ip_library_file_proto_rawDescData []byte ) func file_models_model_ip_library_file_proto_rawDescGZIP() []byte { file_models_model_ip_library_file_proto_rawDescOnce.Do(func() { file_models_model_ip_library_file_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_ip_library_file_proto_rawDesc), len(file_models_model_ip_library_file_proto_rawDesc))) }) return file_models_model_ip_library_file_proto_rawDescData } var file_models_model_ip_library_file_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_models_model_ip_library_file_proto_goTypes = []any{ (*IPLibraryFile)(nil), // 0: pb.IPLibraryFile (*IPLibraryFile_Province)(nil), // 1: pb.IPLibraryFile.Province (*IPLibraryFile_City)(nil), // 2: pb.IPLibraryFile.City (*IPLibraryFile_Town)(nil), // 3: pb.IPLibraryFile.Town } var file_models_model_ip_library_file_proto_depIdxs = []int32{ 1, // 0: pb.IPLibraryFile.provinces:type_name -> pb.IPLibraryFile.Province 2, // 1: pb.IPLibraryFile.cities:type_name -> pb.IPLibraryFile.City 3, // 2: pb.IPLibraryFile.towns:type_name -> pb.IPLibraryFile.Town 3, // [3:3] is the sub-list for method output_type 3, // [3:3] 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_models_model_ip_library_file_proto_init() } func file_models_model_ip_library_file_proto_init() { if File_models_model_ip_library_file_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_ip_library_file_proto_rawDesc), len(file_models_model_ip_library_file_proto_rawDesc)), NumEnums: 0, NumMessages: 4, NumExtensions: 0, NumServices: 0, }, GoTypes: file_models_model_ip_library_file_proto_goTypes, DependencyIndexes: file_models_model_ip_library_file_proto_depIdxs, MessageInfos: file_models_model_ip_library_file_proto_msgTypes, }.Build() File_models_model_ip_library_file_proto = out.File file_models_model_ip_library_file_proto_goTypes = nil file_models_model_ip_library_file_proto_depIdxs = nil }