github.com/litesolutions/justifay-api@v1.0.0-2.0.20220707114139-46f28a909481/proto/user/address.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0-devel 4 // protoc v3.17.3 5 // source: user/address.proto 6 7 package user 8 9 import ( 10 _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" 11 _ "google.golang.org/genproto/googleapis/api/annotations" 12 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 13 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 14 structpb "google.golang.org/protobuf/types/known/structpb" 15 reflect "reflect" 16 sync "sync" 17 ) 18 19 const ( 20 // Verify that this generated code is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 22 // Verify that runtime/protoimpl is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 24 ) 25 26 // Based on https://community.algolia.com/places/rest.html#search-parameters 27 type AddressQuery struct { 28 state protoimpl.MessageState 29 sizeCache protoimpl.SizeCache 30 unknownFields protoimpl.UnknownFields 31 32 Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` 33 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` 34 HitsPerPage int32 `protobuf:"varint,3,opt,name=hits_per_page,json=hitsPerPage,proto3" json:"hits_per_page,omitempty"` // int32 page = 4; 35 } 36 37 func (x *AddressQuery) Reset() { 38 *x = AddressQuery{} 39 if protoimpl.UnsafeEnabled { 40 mi := &file_user_address_proto_msgTypes[0] 41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 42 ms.StoreMessageInfo(mi) 43 } 44 } 45 46 func (x *AddressQuery) String() string { 47 return protoimpl.X.MessageStringOf(x) 48 } 49 50 func (*AddressQuery) ProtoMessage() {} 51 52 func (x *AddressQuery) ProtoReflect() protoreflect.Message { 53 mi := &file_user_address_proto_msgTypes[0] 54 if protoimpl.UnsafeEnabled && x != nil { 55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 56 if ms.LoadMessageInfo() == nil { 57 ms.StoreMessageInfo(mi) 58 } 59 return ms 60 } 61 return mi.MessageOf(x) 62 } 63 64 // Deprecated: Use AddressQuery.ProtoReflect.Descriptor instead. 65 func (*AddressQuery) Descriptor() ([]byte, []int) { 66 return file_user_address_proto_rawDescGZIP(), []int{0} 67 } 68 69 func (x *AddressQuery) GetQuery() string { 70 if x != nil { 71 return x.Query 72 } 73 return "" 74 } 75 76 func (x *AddressQuery) GetType() string { 77 if x != nil { 78 return x.Type 79 } 80 return "" 81 } 82 83 func (x *AddressQuery) GetHitsPerPage() int32 { 84 if x != nil { 85 return x.HitsPerPage 86 } 87 return 0 88 } 89 90 type AddressResults struct { 91 state protoimpl.MessageState 92 sizeCache protoimpl.SizeCache 93 unknownFields protoimpl.UnknownFields 94 95 Hits []*AddressResult `protobuf:"bytes,1,rep,name=hits,proto3" json:"hits,omitempty"` 96 NbHits int32 `protobuf:"varint,2,opt,name=nb_hits,json=nbHits,proto3" json:"nb_hits,omitempty"` 97 } 98 99 func (x *AddressResults) Reset() { 100 *x = AddressResults{} 101 if protoimpl.UnsafeEnabled { 102 mi := &file_user_address_proto_msgTypes[1] 103 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 104 ms.StoreMessageInfo(mi) 105 } 106 } 107 108 func (x *AddressResults) String() string { 109 return protoimpl.X.MessageStringOf(x) 110 } 111 112 func (*AddressResults) ProtoMessage() {} 113 114 func (x *AddressResults) ProtoReflect() protoreflect.Message { 115 mi := &file_user_address_proto_msgTypes[1] 116 if protoimpl.UnsafeEnabled && x != nil { 117 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 118 if ms.LoadMessageInfo() == nil { 119 ms.StoreMessageInfo(mi) 120 } 121 return ms 122 } 123 return mi.MessageOf(x) 124 } 125 126 // Deprecated: Use AddressResults.ProtoReflect.Descriptor instead. 127 func (*AddressResults) Descriptor() ([]byte, []int) { 128 return file_user_address_proto_rawDescGZIP(), []int{1} 129 } 130 131 func (x *AddressResults) GetHits() []*AddressResult { 132 if x != nil { 133 return x.Hits 134 } 135 return nil 136 } 137 138 func (x *AddressResults) GetNbHits() int32 { 139 if x != nil { 140 return x.NbHits 141 } 142 return 0 143 } 144 145 type AddressResult struct { 146 state protoimpl.MessageState 147 sizeCache protoimpl.SizeCache 148 unknownFields protoimpl.UnknownFields 149 150 ObjectId string `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` 151 Country map[string]string `protobuf:"bytes,2,rep,name=country,proto3" json:"country,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 152 Postcode []string `protobuf:"bytes,3,rep,name=postcode,proto3" json:"postcode,omitempty"` 153 Administrative []string `protobuf:"bytes,4,rep,name=administrative,proto3" json:"administrative,omitempty"` 154 CountryCode string `protobuf:"bytes,5,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` 155 Geoloc map[string]float32 `protobuf:"bytes,6,rep,name=geoloc,proto3" json:"geoloc,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` 156 LocaleNames map[string]*structpb.ListValue `protobuf:"bytes,7,rep,name=locale_names,json=localeNames,proto3" json:"locale_names,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 157 City map[string]*structpb.ListValue `protobuf:"bytes,8,rep,name=city,proto3" json:"city,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 158 } 159 160 func (x *AddressResult) Reset() { 161 *x = AddressResult{} 162 if protoimpl.UnsafeEnabled { 163 mi := &file_user_address_proto_msgTypes[2] 164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 165 ms.StoreMessageInfo(mi) 166 } 167 } 168 169 func (x *AddressResult) String() string { 170 return protoimpl.X.MessageStringOf(x) 171 } 172 173 func (*AddressResult) ProtoMessage() {} 174 175 func (x *AddressResult) ProtoReflect() protoreflect.Message { 176 mi := &file_user_address_proto_msgTypes[2] 177 if protoimpl.UnsafeEnabled && x != nil { 178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 179 if ms.LoadMessageInfo() == nil { 180 ms.StoreMessageInfo(mi) 181 } 182 return ms 183 } 184 return mi.MessageOf(x) 185 } 186 187 // Deprecated: Use AddressResult.ProtoReflect.Descriptor instead. 188 func (*AddressResult) Descriptor() ([]byte, []int) { 189 return file_user_address_proto_rawDescGZIP(), []int{2} 190 } 191 192 func (x *AddressResult) GetObjectId() string { 193 if x != nil { 194 return x.ObjectId 195 } 196 return "" 197 } 198 199 func (x *AddressResult) GetCountry() map[string]string { 200 if x != nil { 201 return x.Country 202 } 203 return nil 204 } 205 206 func (x *AddressResult) GetPostcode() []string { 207 if x != nil { 208 return x.Postcode 209 } 210 return nil 211 } 212 213 func (x *AddressResult) GetAdministrative() []string { 214 if x != nil { 215 return x.Administrative 216 } 217 return nil 218 } 219 220 func (x *AddressResult) GetCountryCode() string { 221 if x != nil { 222 return x.CountryCode 223 } 224 return "" 225 } 226 227 func (x *AddressResult) GetGeoloc() map[string]float32 { 228 if x != nil { 229 return x.Geoloc 230 } 231 return nil 232 } 233 234 func (x *AddressResult) GetLocaleNames() map[string]*structpb.ListValue { 235 if x != nil { 236 return x.LocaleNames 237 } 238 return nil 239 } 240 241 func (x *AddressResult) GetCity() map[string]*structpb.ListValue { 242 if x != nil { 243 return x.City 244 } 245 return nil 246 } 247 248 var File_user_address_proto protoreflect.FileDescriptor 249 250 var file_user_address_proto_rawDesc = []byte{ 251 0x0a, 0x12, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 252 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x75, 0x73, 0x65, 0x72, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 253 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 254 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 255 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 256 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 257 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 258 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 259 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6d, 260 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x0c, 0x41, 0x64, 0x64, 261 0x72, 0x65, 0x73, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 262 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 263 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 264 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x69, 0x74, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 265 0x70, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x68, 0x69, 0x74, 0x73, 266 0x50, 0x65, 0x72, 0x50, 0x61, 0x67, 0x65, 0x22, 0x52, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x72, 0x65, 267 0x73, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x27, 0x0a, 0x04, 0x68, 0x69, 0x74, 268 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41, 269 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x04, 0x68, 0x69, 270 0x74, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x62, 0x5f, 0x68, 0x69, 0x74, 0x73, 0x18, 0x02, 0x20, 271 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x62, 0x48, 0x69, 0x74, 0x73, 0x22, 0xac, 0x05, 0x0a, 0x0d, 272 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1b, 0x0a, 273 0x09, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 274 0x52, 0x08, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x3a, 0x0a, 0x07, 0x63, 0x6f, 275 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x75, 0x73, 276 0x65, 0x72, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 277 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x63, 278 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x74, 0x63, 0x6f, 279 0x64, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x74, 0x63, 0x6f, 280 0x64, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x69, 0x73, 0x74, 0x72, 0x61, 281 0x74, 0x69, 0x76, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x64, 0x6d, 0x69, 282 0x6e, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 283 0x75, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 284 0x52, 0x0b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x37, 0x0a, 285 0x06, 0x67, 0x65, 0x6f, 0x6c, 0x6f, 0x63, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 286 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x75, 287 0x6c, 0x74, 0x2e, 0x47, 0x65, 0x6f, 0x6c, 0x6f, 0x63, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 288 0x67, 0x65, 0x6f, 0x6c, 0x6f, 0x63, 0x12, 0x47, 0x0a, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 289 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x75, 290 0x73, 0x65, 0x72, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 291 0x74, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x45, 0x6e, 0x74, 292 0x72, 0x79, 0x52, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 293 0x31, 0x0a, 0x04, 0x63, 0x69, 0x74, 0x79, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 294 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x75, 295 0x6c, 0x74, 0x2e, 0x43, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x63, 0x69, 296 0x74, 0x79, 0x1a, 0x3a, 0x0a, 0x0c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x45, 0x6e, 0x74, 297 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 298 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 299 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x39, 300 0x0a, 0x0b, 0x47, 0x65, 0x6f, 0x6c, 0x6f, 0x63, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 301 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 302 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 303 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x5a, 0x0a, 0x10, 0x4c, 0x6f, 0x63, 304 0x61, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 305 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 306 0x30, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 307 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 308 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 309 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x53, 0x0a, 0x09, 0x43, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 310 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 311 0x03, 0x6b, 0x65, 0x79, 0x12, 0x30, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 312 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 313 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 314 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x32, 0x4b, 0x0a, 0x0e, 0x41, 0x64, 315 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x0d, 316 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x2e, 317 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x51, 0x75, 0x65, 0x72, 318 0x79, 0x1a, 0x14, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 319 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x2d, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 320 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x6e, 0x61, 0x74, 0x65, 0x63, 0x6f, 321 0x6f, 0x70, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 322 0x6f, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 323 } 324 325 var ( 326 file_user_address_proto_rawDescOnce sync.Once 327 file_user_address_proto_rawDescData = file_user_address_proto_rawDesc 328 ) 329 330 func file_user_address_proto_rawDescGZIP() []byte { 331 file_user_address_proto_rawDescOnce.Do(func() { 332 file_user_address_proto_rawDescData = protoimpl.X.CompressGZIP(file_user_address_proto_rawDescData) 333 }) 334 return file_user_address_proto_rawDescData 335 } 336 337 var file_user_address_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 338 var file_user_address_proto_goTypes = []interface{}{ 339 (*AddressQuery)(nil), // 0: user.AddressQuery 340 (*AddressResults)(nil), // 1: user.AddressResults 341 (*AddressResult)(nil), // 2: user.AddressResult 342 nil, // 3: user.AddressResult.CountryEntry 343 nil, // 4: user.AddressResult.GeolocEntry 344 nil, // 5: user.AddressResult.LocaleNamesEntry 345 nil, // 6: user.AddressResult.CityEntry 346 (*structpb.ListValue)(nil), // 7: google.protobuf.ListValue 347 } 348 var file_user_address_proto_depIdxs = []int32{ 349 2, // 0: user.AddressResults.hits:type_name -> user.AddressResult 350 3, // 1: user.AddressResult.country:type_name -> user.AddressResult.CountryEntry 351 4, // 2: user.AddressResult.geoloc:type_name -> user.AddressResult.GeolocEntry 352 5, // 3: user.AddressResult.locale_names:type_name -> user.AddressResult.LocaleNamesEntry 353 6, // 4: user.AddressResult.city:type_name -> user.AddressResult.CityEntry 354 7, // 5: user.AddressResult.LocaleNamesEntry.value:type_name -> google.protobuf.ListValue 355 7, // 6: user.AddressResult.CityEntry.value:type_name -> google.protobuf.ListValue 356 0, // 7: user.AddressService.SearchAddress:input_type -> user.AddressQuery 357 1, // 8: user.AddressService.SearchAddress:output_type -> user.AddressResults 358 8, // [8:9] is the sub-list for method output_type 359 7, // [7:8] is the sub-list for method input_type 360 7, // [7:7] is the sub-list for extension type_name 361 7, // [7:7] is the sub-list for extension extendee 362 0, // [0:7] is the sub-list for field type_name 363 } 364 365 func init() { file_user_address_proto_init() } 366 func file_user_address_proto_init() { 367 if File_user_address_proto != nil { 368 return 369 } 370 file_user_common_proto_init() 371 if !protoimpl.UnsafeEnabled { 372 file_user_address_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 373 switch v := v.(*AddressQuery); i { 374 case 0: 375 return &v.state 376 case 1: 377 return &v.sizeCache 378 case 2: 379 return &v.unknownFields 380 default: 381 return nil 382 } 383 } 384 file_user_address_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 385 switch v := v.(*AddressResults); i { 386 case 0: 387 return &v.state 388 case 1: 389 return &v.sizeCache 390 case 2: 391 return &v.unknownFields 392 default: 393 return nil 394 } 395 } 396 file_user_address_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 397 switch v := v.(*AddressResult); i { 398 case 0: 399 return &v.state 400 case 1: 401 return &v.sizeCache 402 case 2: 403 return &v.unknownFields 404 default: 405 return nil 406 } 407 } 408 } 409 type x struct{} 410 out := protoimpl.TypeBuilder{ 411 File: protoimpl.DescBuilder{ 412 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 413 RawDescriptor: file_user_address_proto_rawDesc, 414 NumEnums: 0, 415 NumMessages: 7, 416 NumExtensions: 0, 417 NumServices: 1, 418 }, 419 GoTypes: file_user_address_proto_goTypes, 420 DependencyIndexes: file_user_address_proto_depIdxs, 421 MessageInfos: file_user_address_proto_msgTypes, 422 }.Build() 423 File_user_address_proto = out.File 424 file_user_address_proto_rawDesc = nil 425 file_user_address_proto_goTypes = nil 426 file_user_address_proto_depIdxs = nil 427 }