710 lines
		
	
	
		
			19 KiB
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			710 lines
		
	
	
		
			19 KiB
		
	
	
	
		
			Go
		
	
	
	
| // Code generated by protoc-gen-go. DO NOT EDIT.
 | ||
| // versions:
 | ||
| // 	protoc-gen-go v1.36.8
 | ||
| // 	protoc        (unknown)
 | ||
| // source: data.proto
 | ||
| 
 | ||
| package initial
 | ||
| 
 | ||
| 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 Empty struct {
 | ||
| 	state         protoimpl.MessageState `protogen:"open.v1"`
 | ||
| 	unknownFields protoimpl.UnknownFields
 | ||
| 	sizeCache     protoimpl.SizeCache
 | ||
| }
 | ||
| 
 | ||
| func (x *Empty) Reset() {
 | ||
| 	*x = Empty{}
 | ||
| 	mi := &file_data_proto_msgTypes[0]
 | ||
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | ||
| 	ms.StoreMessageInfo(mi)
 | ||
| }
 | ||
| 
 | ||
| func (x *Empty) String() string {
 | ||
| 	return protoimpl.X.MessageStringOf(x)
 | ||
| }
 | ||
| 
 | ||
| func (*Empty) ProtoMessage() {}
 | ||
| 
 | ||
| func (x *Empty) ProtoReflect() protoreflect.Message {
 | ||
| 	mi := &file_data_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 Empty.ProtoReflect.Descriptor instead.
 | ||
| func (*Empty) Descriptor() ([]byte, []int) {
 | ||
| 	return file_data_proto_rawDescGZIP(), []int{0}
 | ||
| }
 | ||
| 
 | ||
| type CountryReply struct {
 | ||
| 	state         protoimpl.MessageState `protogen:"open.v1"`
 | ||
| 	Countries     []*CountryItem         `protobuf:"bytes,1,rep,name=countries,proto3" json:"countries,omitempty"`
 | ||
| 	unknownFields protoimpl.UnknownFields
 | ||
| 	sizeCache     protoimpl.SizeCache
 | ||
| }
 | ||
| 
 | ||
| func (x *CountryReply) Reset() {
 | ||
| 	*x = CountryReply{}
 | ||
| 	mi := &file_data_proto_msgTypes[1]
 | ||
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | ||
| 	ms.StoreMessageInfo(mi)
 | ||
| }
 | ||
| 
 | ||
| func (x *CountryReply) String() string {
 | ||
| 	return protoimpl.X.MessageStringOf(x)
 | ||
| }
 | ||
| 
 | ||
| func (*CountryReply) ProtoMessage() {}
 | ||
| 
 | ||
| func (x *CountryReply) ProtoReflect() protoreflect.Message {
 | ||
| 	mi := &file_data_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 CountryReply.ProtoReflect.Descriptor instead.
 | ||
| func (*CountryReply) Descriptor() ([]byte, []int) {
 | ||
| 	return file_data_proto_rawDescGZIP(), []int{1}
 | ||
| }
 | ||
| 
 | ||
| func (x *CountryReply) GetCountries() []*CountryItem {
 | ||
| 	if x != nil {
 | ||
| 		return x.Countries
 | ||
| 	}
 | ||
| 	return nil
 | ||
| }
 | ||
| 
 | ||
| type CountryItem struct {
 | ||
| 	state          protoimpl.MessageState `protogen:"open.v1"`
 | ||
| 	Id             uint32                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
 | ||
| 	Iso2           string                 `protobuf:"bytes,2,opt,name=Iso2,proto3" json:"Iso2,omitempty"`
 | ||
| 	Iso3           string                 `protobuf:"bytes,3,opt,name=Iso3,proto3" json:"Iso3,omitempty"`
 | ||
| 	NumCode        string                 `protobuf:"bytes,4,opt,name=num_code,json=numCode,proto3" json:"num_code,omitempty"`
 | ||
| 	PhoneCode      string                 `protobuf:"bytes,5,opt,name=phone_code,json=phoneCode,proto3" json:"phone_code,omitempty"`
 | ||
| 	Currency       string                 `protobuf:"bytes,6,opt,name=currency,proto3" json:"currency,omitempty"`
 | ||
| 	CurrencySymbol string                 `protobuf:"bytes,7,opt,name=currency_symbol,json=currencySymbol,proto3" json:"currency_symbol,omitempty"`
 | ||
| 	Region         string                 `protobuf:"bytes,8,opt,name=region,proto3" json:"region,omitempty"`
 | ||
| 	Timezones      string                 `protobuf:"bytes,9,opt,name=timezones,proto3" json:"timezones,omitempty"`
 | ||
| 	Translations   string                 `protobuf:"bytes,10,opt,name=translations,proto3" json:"translations,omitempty"`
 | ||
| 	Name           string                 `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"`
 | ||
| 	LocalName      string                 `protobuf:"bytes,12,opt,name=local_name,json=localName,proto3" json:"local_name,omitempty"`
 | ||
| 	Enabled        bool                   `protobuf:"varint,13,opt,name=enabled,proto3" json:"enabled,omitempty"`
 | ||
| 	SortOrder      int32                  `protobuf:"varint,14,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
 | ||
| 	unknownFields  protoimpl.UnknownFields
 | ||
| 	sizeCache      protoimpl.SizeCache
 | ||
| }
 | ||
| 
 | ||
| func (x *CountryItem) Reset() {
 | ||
| 	*x = CountryItem{}
 | ||
| 	mi := &file_data_proto_msgTypes[2]
 | ||
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | ||
| 	ms.StoreMessageInfo(mi)
 | ||
| }
 | ||
| 
 | ||
| func (x *CountryItem) String() string {
 | ||
| 	return protoimpl.X.MessageStringOf(x)
 | ||
| }
 | ||
| 
 | ||
| func (*CountryItem) ProtoMessage() {}
 | ||
| 
 | ||
| func (x *CountryItem) ProtoReflect() protoreflect.Message {
 | ||
| 	mi := &file_data_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 CountryItem.ProtoReflect.Descriptor instead.
 | ||
| func (*CountryItem) Descriptor() ([]byte, []int) {
 | ||
| 	return file_data_proto_rawDescGZIP(), []int{2}
 | ||
| }
 | ||
| 
 | ||
| func (x *CountryItem) GetId() uint32 {
 | ||
| 	if x != nil {
 | ||
| 		return x.Id
 | ||
| 	}
 | ||
| 	return 0
 | ||
| }
 | ||
| 
 | ||
| func (x *CountryItem) GetIso2() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.Iso2
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *CountryItem) GetIso3() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.Iso3
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *CountryItem) GetNumCode() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.NumCode
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *CountryItem) GetPhoneCode() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.PhoneCode
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *CountryItem) GetCurrency() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.Currency
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *CountryItem) GetCurrencySymbol() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.CurrencySymbol
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *CountryItem) GetRegion() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.Region
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *CountryItem) GetTimezones() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.Timezones
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *CountryItem) GetTranslations() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.Translations
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *CountryItem) GetName() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.Name
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *CountryItem) GetLocalName() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.LocalName
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *CountryItem) GetEnabled() bool {
 | ||
| 	if x != nil {
 | ||
| 		return x.Enabled
 | ||
| 	}
 | ||
| 	return false
 | ||
| }
 | ||
| 
 | ||
| func (x *CountryItem) GetSortOrder() int32 {
 | ||
| 	if x != nil {
 | ||
| 		return x.SortOrder
 | ||
| 	}
 | ||
| 	return 0
 | ||
| }
 | ||
| 
 | ||
| type AreasRequest struct {
 | ||
| 	state protoimpl.MessageState `protogen:"open.v1"`
 | ||
| 	// 国家ID,默认:中国 1
 | ||
| 	CountryId int32 `protobuf:"varint,1,opt,name=country_id,json=countryId,proto3" json:"country_id,omitempty"`
 | ||
| 	// 国家代码,默认:中国 CN
 | ||
| 	CountryCode string `protobuf:"bytes,2,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
 | ||
| 	// 是否输出乡镇,默认:市级
 | ||
| 	ShowTown      bool `protobuf:"varint,3,opt,name=show_town,json=showTown,proto3" json:"show_town,omitempty"`
 | ||
| 	unknownFields protoimpl.UnknownFields
 | ||
| 	sizeCache     protoimpl.SizeCache
 | ||
| }
 | ||
| 
 | ||
| func (x *AreasRequest) Reset() {
 | ||
| 	*x = AreasRequest{}
 | ||
| 	mi := &file_data_proto_msgTypes[3]
 | ||
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | ||
| 	ms.StoreMessageInfo(mi)
 | ||
| }
 | ||
| 
 | ||
| func (x *AreasRequest) String() string {
 | ||
| 	return protoimpl.X.MessageStringOf(x)
 | ||
| }
 | ||
| 
 | ||
| func (*AreasRequest) ProtoMessage() {}
 | ||
| 
 | ||
| func (x *AreasRequest) ProtoReflect() protoreflect.Message {
 | ||
| 	mi := &file_data_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 AreasRequest.ProtoReflect.Descriptor instead.
 | ||
| func (*AreasRequest) Descriptor() ([]byte, []int) {
 | ||
| 	return file_data_proto_rawDescGZIP(), []int{3}
 | ||
| }
 | ||
| 
 | ||
| func (x *AreasRequest) GetCountryId() int32 {
 | ||
| 	if x != nil {
 | ||
| 		return x.CountryId
 | ||
| 	}
 | ||
| 	return 0
 | ||
| }
 | ||
| 
 | ||
| func (x *AreasRequest) GetCountryCode() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.CountryCode
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *AreasRequest) GetShowTown() bool {
 | ||
| 	if x != nil {
 | ||
| 		return x.ShowTown
 | ||
| 	}
 | ||
| 	return false
 | ||
| }
 | ||
| 
 | ||
| type AreasReply struct {
 | ||
| 	state         protoimpl.MessageState `protogen:"open.v1"`
 | ||
| 	Areas         []*AreasItem           `protobuf:"bytes,1,rep,name=areas,proto3" json:"areas,omitempty"`
 | ||
| 	unknownFields protoimpl.UnknownFields
 | ||
| 	sizeCache     protoimpl.SizeCache
 | ||
| }
 | ||
| 
 | ||
| func (x *AreasReply) Reset() {
 | ||
| 	*x = AreasReply{}
 | ||
| 	mi := &file_data_proto_msgTypes[4]
 | ||
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | ||
| 	ms.StoreMessageInfo(mi)
 | ||
| }
 | ||
| 
 | ||
| func (x *AreasReply) String() string {
 | ||
| 	return protoimpl.X.MessageStringOf(x)
 | ||
| }
 | ||
| 
 | ||
| func (*AreasReply) ProtoMessage() {}
 | ||
| 
 | ||
| func (x *AreasReply) ProtoReflect() protoreflect.Message {
 | ||
| 	mi := &file_data_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 AreasReply.ProtoReflect.Descriptor instead.
 | ||
| func (*AreasReply) Descriptor() ([]byte, []int) {
 | ||
| 	return file_data_proto_rawDescGZIP(), []int{4}
 | ||
| }
 | ||
| 
 | ||
| func (x *AreasReply) GetAreas() []*AreasItem {
 | ||
| 	if x != nil {
 | ||
| 		return x.Areas
 | ||
| 	}
 | ||
| 	return nil
 | ||
| }
 | ||
| 
 | ||
| type AreasItem struct {
 | ||
| 	state         protoimpl.MessageState `protogen:"open.v1"`
 | ||
| 	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
 | ||
| 	Pid           string                 `protobuf:"bytes,2,opt,name=pid,proto3" json:"pid,omitempty"`
 | ||
| 	Deep          int32                  `protobuf:"varint,3,opt,name=deep,proto3" json:"deep,omitempty"`
 | ||
| 	Name          string                 `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
 | ||
| 	PinyinPrefix  string                 `protobuf:"bytes,5,opt,name=pinyin_prefix,json=pinyinPrefix,proto3" json:"pinyin_prefix,omitempty"`
 | ||
| 	Pinyin        string                 `protobuf:"bytes,6,opt,name=pinyin,proto3" json:"pinyin,omitempty"`
 | ||
| 	ExtId         string                 `protobuf:"bytes,7,opt,name=ext_id,json=extId,proto3" json:"ext_id,omitempty"`
 | ||
| 	ExtName       string                 `protobuf:"bytes,8,opt,name=ext_name,json=extName,proto3" json:"ext_name,omitempty"`
 | ||
| 	unknownFields protoimpl.UnknownFields
 | ||
| 	sizeCache     protoimpl.SizeCache
 | ||
| }
 | ||
| 
 | ||
| func (x *AreasItem) Reset() {
 | ||
| 	*x = AreasItem{}
 | ||
| 	mi := &file_data_proto_msgTypes[5]
 | ||
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | ||
| 	ms.StoreMessageInfo(mi)
 | ||
| }
 | ||
| 
 | ||
| func (x *AreasItem) String() string {
 | ||
| 	return protoimpl.X.MessageStringOf(x)
 | ||
| }
 | ||
| 
 | ||
| func (*AreasItem) ProtoMessage() {}
 | ||
| 
 | ||
| func (x *AreasItem) ProtoReflect() protoreflect.Message {
 | ||
| 	mi := &file_data_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 AreasItem.ProtoReflect.Descriptor instead.
 | ||
| func (*AreasItem) Descriptor() ([]byte, []int) {
 | ||
| 	return file_data_proto_rawDescGZIP(), []int{5}
 | ||
| }
 | ||
| 
 | ||
| func (x *AreasItem) GetId() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.Id
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *AreasItem) GetPid() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.Pid
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *AreasItem) GetDeep() int32 {
 | ||
| 	if x != nil {
 | ||
| 		return x.Deep
 | ||
| 	}
 | ||
| 	return 0
 | ||
| }
 | ||
| 
 | ||
| func (x *AreasItem) GetName() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.Name
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *AreasItem) GetPinyinPrefix() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.PinyinPrefix
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *AreasItem) GetPinyin() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.Pinyin
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *AreasItem) GetExtId() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.ExtId
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *AreasItem) GetExtName() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.ExtName
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| type DatasReply struct {
 | ||
| 	state         protoimpl.MessageState `protogen:"open.v1"`
 | ||
| 	Datas         []*DatasItem           `protobuf:"bytes,1,rep,name=datas,proto3" json:"datas,omitempty"`
 | ||
| 	unknownFields protoimpl.UnknownFields
 | ||
| 	sizeCache     protoimpl.SizeCache
 | ||
| }
 | ||
| 
 | ||
| func (x *DatasReply) Reset() {
 | ||
| 	*x = DatasReply{}
 | ||
| 	mi := &file_data_proto_msgTypes[6]
 | ||
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | ||
| 	ms.StoreMessageInfo(mi)
 | ||
| }
 | ||
| 
 | ||
| func (x *DatasReply) String() string {
 | ||
| 	return protoimpl.X.MessageStringOf(x)
 | ||
| }
 | ||
| 
 | ||
| func (*DatasReply) ProtoMessage() {}
 | ||
| 
 | ||
| func (x *DatasReply) ProtoReflect() protoreflect.Message {
 | ||
| 	mi := &file_data_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 DatasReply.ProtoReflect.Descriptor instead.
 | ||
| func (*DatasReply) Descriptor() ([]byte, []int) {
 | ||
| 	return file_data_proto_rawDescGZIP(), []int{6}
 | ||
| }
 | ||
| 
 | ||
| func (x *DatasReply) GetDatas() []*DatasItem {
 | ||
| 	if x != nil {
 | ||
| 		return x.Datas
 | ||
| 	}
 | ||
| 	return nil
 | ||
| }
 | ||
| 
 | ||
| type DatasItem struct {
 | ||
| 	state         protoimpl.MessageState `protogen:"open.v1"`
 | ||
| 	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
 | ||
| 	DataType      string                 `protobuf:"bytes,2,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"`
 | ||
| 	Key           string                 `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
 | ||
| 	Title         string                 `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
 | ||
| 	Remark        string                 `protobuf:"bytes,5,opt,name=remark,proto3" json:"remark,omitempty"`
 | ||
| 	Icon          string                 `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"`
 | ||
| 	unknownFields protoimpl.UnknownFields
 | ||
| 	sizeCache     protoimpl.SizeCache
 | ||
| }
 | ||
| 
 | ||
| func (x *DatasItem) Reset() {
 | ||
| 	*x = DatasItem{}
 | ||
| 	mi := &file_data_proto_msgTypes[7]
 | ||
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | ||
| 	ms.StoreMessageInfo(mi)
 | ||
| }
 | ||
| 
 | ||
| func (x *DatasItem) String() string {
 | ||
| 	return protoimpl.X.MessageStringOf(x)
 | ||
| }
 | ||
| 
 | ||
| func (*DatasItem) ProtoMessage() {}
 | ||
| 
 | ||
| func (x *DatasItem) ProtoReflect() protoreflect.Message {
 | ||
| 	mi := &file_data_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 DatasItem.ProtoReflect.Descriptor instead.
 | ||
| func (*DatasItem) Descriptor() ([]byte, []int) {
 | ||
| 	return file_data_proto_rawDescGZIP(), []int{7}
 | ||
| }
 | ||
| 
 | ||
| func (x *DatasItem) GetId() int64 {
 | ||
| 	if x != nil {
 | ||
| 		return x.Id
 | ||
| 	}
 | ||
| 	return 0
 | ||
| }
 | ||
| 
 | ||
| func (x *DatasItem) GetDataType() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.DataType
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *DatasItem) GetKey() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.Key
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *DatasItem) GetTitle() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.Title
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *DatasItem) GetRemark() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.Remark
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| func (x *DatasItem) GetIcon() string {
 | ||
| 	if x != nil {
 | ||
| 		return x.Icon
 | ||
| 	}
 | ||
| 	return ""
 | ||
| }
 | ||
| 
 | ||
| var File_data_proto protoreflect.FileDescriptor
 | ||
| 
 | ||
| const file_data_proto_rawDesc = "" +
 | ||
| 	"\n" +
 | ||
| 	"\n" +
 | ||
| 	"data.proto\x12\ainitial\"\a\n" +
 | ||
| 	"\x05Empty\"B\n" +
 | ||
| 	"\fCountryReply\x122\n" +
 | ||
| 	"\tcountries\x18\x01 \x03(\v2\x14.initial.CountryItemR\tcountries\"\x8a\x03\n" +
 | ||
| 	"\vCountryItem\x12\x0e\n" +
 | ||
| 	"\x02id\x18\x01 \x01(\rR\x02id\x12\x12\n" +
 | ||
| 	"\x04Iso2\x18\x02 \x01(\tR\x04Iso2\x12\x12\n" +
 | ||
| 	"\x04Iso3\x18\x03 \x01(\tR\x04Iso3\x12\x19\n" +
 | ||
| 	"\bnum_code\x18\x04 \x01(\tR\anumCode\x12\x1d\n" +
 | ||
| 	"\n" +
 | ||
| 	"phone_code\x18\x05 \x01(\tR\tphoneCode\x12\x1a\n" +
 | ||
| 	"\bcurrency\x18\x06 \x01(\tR\bcurrency\x12'\n" +
 | ||
| 	"\x0fcurrency_symbol\x18\a \x01(\tR\x0ecurrencySymbol\x12\x16\n" +
 | ||
| 	"\x06region\x18\b \x01(\tR\x06region\x12\x1c\n" +
 | ||
| 	"\ttimezones\x18\t \x01(\tR\ttimezones\x12\"\n" +
 | ||
| 	"\ftranslations\x18\n" +
 | ||
| 	" \x01(\tR\ftranslations\x12\x12\n" +
 | ||
| 	"\x04name\x18\v \x01(\tR\x04name\x12\x1d\n" +
 | ||
| 	"\n" +
 | ||
| 	"local_name\x18\f \x01(\tR\tlocalName\x12\x18\n" +
 | ||
| 	"\aenabled\x18\r \x01(\bR\aenabled\x12\x1d\n" +
 | ||
| 	"\n" +
 | ||
| 	"sort_order\x18\x0e \x01(\x05R\tsortOrder\"m\n" +
 | ||
| 	"\fAreasRequest\x12\x1d\n" +
 | ||
| 	"\n" +
 | ||
| 	"country_id\x18\x01 \x01(\x05R\tcountryId\x12!\n" +
 | ||
| 	"\fcountry_code\x18\x02 \x01(\tR\vcountryCode\x12\x1b\n" +
 | ||
| 	"\tshow_town\x18\x03 \x01(\bR\bshowTown\"6\n" +
 | ||
| 	"\n" +
 | ||
| 	"AreasReply\x12(\n" +
 | ||
| 	"\x05areas\x18\x01 \x03(\v2\x12.initial.AreasItemR\x05areas\"\xc4\x01\n" +
 | ||
| 	"\tAreasItem\x12\x0e\n" +
 | ||
| 	"\x02id\x18\x01 \x01(\tR\x02id\x12\x10\n" +
 | ||
| 	"\x03pid\x18\x02 \x01(\tR\x03pid\x12\x12\n" +
 | ||
| 	"\x04deep\x18\x03 \x01(\x05R\x04deep\x12\x12\n" +
 | ||
| 	"\x04name\x18\x04 \x01(\tR\x04name\x12#\n" +
 | ||
| 	"\rpinyin_prefix\x18\x05 \x01(\tR\fpinyinPrefix\x12\x16\n" +
 | ||
| 	"\x06pinyin\x18\x06 \x01(\tR\x06pinyin\x12\x15\n" +
 | ||
| 	"\x06ext_id\x18\a \x01(\tR\x05extId\x12\x19\n" +
 | ||
| 	"\bext_name\x18\b \x01(\tR\aextName\"6\n" +
 | ||
| 	"\n" +
 | ||
| 	"DatasReply\x12(\n" +
 | ||
| 	"\x05datas\x18\x01 \x03(\v2\x12.initial.DatasItemR\x05datas\"\x8c\x01\n" +
 | ||
| 	"\tDatasItem\x12\x0e\n" +
 | ||
| 	"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1b\n" +
 | ||
| 	"\tdata_type\x18\x02 \x01(\tR\bdataType\x12\x10\n" +
 | ||
| 	"\x03key\x18\x03 \x01(\tR\x03key\x12\x14\n" +
 | ||
| 	"\x05title\x18\x04 \x01(\tR\x05title\x12\x16\n" +
 | ||
| 	"\x06remark\x18\x05 \x01(\tR\x06remark\x12\x12\n" +
 | ||
| 	"\x04icon\x18\x06 \x01(\tR\x04icon2\xa1\x01\n" +
 | ||
| 	"\x04Data\x122\n" +
 | ||
| 	"\aCountry\x12\x0e.initial.Empty\x1a\x15.initial.CountryReply\"\x00\x125\n" +
 | ||
| 	"\x05Areas\x12\x15.initial.AreasRequest\x1a\x13.initial.AreasReply\"\x00\x12.\n" +
 | ||
| 	"\x05Datas\x12\x0e.initial.Empty\x1a\x13.initial.DatasReply\"\x00B\vZ\t.;initialb\x06proto3"
 | ||
| 
 | ||
| var (
 | ||
| 	file_data_proto_rawDescOnce sync.Once
 | ||
| 	file_data_proto_rawDescData []byte
 | ||
| )
 | ||
| 
 | ||
| func file_data_proto_rawDescGZIP() []byte {
 | ||
| 	file_data_proto_rawDescOnce.Do(func() {
 | ||
| 		file_data_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_data_proto_rawDesc), len(file_data_proto_rawDesc)))
 | ||
| 	})
 | ||
| 	return file_data_proto_rawDescData
 | ||
| }
 | ||
| 
 | ||
| var file_data_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
 | ||
| var file_data_proto_goTypes = []any{
 | ||
| 	(*Empty)(nil),        // 0: initial.Empty
 | ||
| 	(*CountryReply)(nil), // 1: initial.CountryReply
 | ||
| 	(*CountryItem)(nil),  // 2: initial.CountryItem
 | ||
| 	(*AreasRequest)(nil), // 3: initial.AreasRequest
 | ||
| 	(*AreasReply)(nil),   // 4: initial.AreasReply
 | ||
| 	(*AreasItem)(nil),    // 5: initial.AreasItem
 | ||
| 	(*DatasReply)(nil),   // 6: initial.DatasReply
 | ||
| 	(*DatasItem)(nil),    // 7: initial.DatasItem
 | ||
| }
 | ||
| var file_data_proto_depIdxs = []int32{
 | ||
| 	2, // 0: initial.CountryReply.countries:type_name -> initial.CountryItem
 | ||
| 	5, // 1: initial.AreasReply.areas:type_name -> initial.AreasItem
 | ||
| 	7, // 2: initial.DatasReply.datas:type_name -> initial.DatasItem
 | ||
| 	0, // 3: initial.Data.Country:input_type -> initial.Empty
 | ||
| 	3, // 4: initial.Data.Areas:input_type -> initial.AreasRequest
 | ||
| 	0, // 5: initial.Data.Datas:input_type -> initial.Empty
 | ||
| 	1, // 6: initial.Data.Country:output_type -> initial.CountryReply
 | ||
| 	4, // 7: initial.Data.Areas:output_type -> initial.AreasReply
 | ||
| 	6, // 8: initial.Data.Datas:output_type -> initial.DatasReply
 | ||
| 	6, // [6:9] is the sub-list for method output_type
 | ||
| 	3, // [3:6] 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_data_proto_init() }
 | ||
| func file_data_proto_init() {
 | ||
| 	if File_data_proto != nil {
 | ||
| 		return
 | ||
| 	}
 | ||
| 	type x struct{}
 | ||
| 	out := protoimpl.TypeBuilder{
 | ||
| 		File: protoimpl.DescBuilder{
 | ||
| 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 | ||
| 			RawDescriptor: unsafe.Slice(unsafe.StringData(file_data_proto_rawDesc), len(file_data_proto_rawDesc)),
 | ||
| 			NumEnums:      0,
 | ||
| 			NumMessages:   8,
 | ||
| 			NumExtensions: 0,
 | ||
| 			NumServices:   1,
 | ||
| 		},
 | ||
| 		GoTypes:           file_data_proto_goTypes,
 | ||
| 		DependencyIndexes: file_data_proto_depIdxs,
 | ||
| 		MessageInfos:      file_data_proto_msgTypes,
 | ||
| 	}.Build()
 | ||
| 	File_data_proto = out.File
 | ||
| 	file_data_proto_goTypes = nil
 | ||
| 	file_data_proto_depIdxs = nil
 | ||
| }
 |