github.com/litesolutions/justifay-api@v1.0.0-2.0.20220707114139-46f28a909481/proto/user/common.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/common.proto 6 7 //package resonate.api.user; 8 9 package user 10 11 import ( 12 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 13 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 14 reflect "reflect" 15 sync "sync" 16 ) 17 18 const ( 19 // Verify that this generated code is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 21 // Verify that runtime/protoimpl is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 23 ) 24 25 type Empty struct { 26 state protoimpl.MessageState 27 sizeCache protoimpl.SizeCache 28 unknownFields protoimpl.UnknownFields 29 } 30 31 func (x *Empty) Reset() { 32 *x = Empty{} 33 if protoimpl.UnsafeEnabled { 34 mi := &file_user_common_proto_msgTypes[0] 35 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 36 ms.StoreMessageInfo(mi) 37 } 38 } 39 40 func (x *Empty) String() string { 41 return protoimpl.X.MessageStringOf(x) 42 } 43 44 func (*Empty) ProtoMessage() {} 45 46 func (x *Empty) ProtoReflect() protoreflect.Message { 47 mi := &file_user_common_proto_msgTypes[0] 48 if protoimpl.UnsafeEnabled && x != nil { 49 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 50 if ms.LoadMessageInfo() == nil { 51 ms.StoreMessageInfo(mi) 52 } 53 return ms 54 } 55 return mi.MessageOf(x) 56 } 57 58 // Deprecated: Use Empty.ProtoReflect.Descriptor instead. 59 func (*Empty) Descriptor() ([]byte, []int) { 60 return file_user_common_proto_rawDescGZIP(), []int{0} 61 } 62 63 type RelatedUserGroup struct { 64 state protoimpl.MessageState 65 sizeCache protoimpl.SizeCache 66 unknownFields protoimpl.UnknownFields 67 68 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 69 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 70 Avatar []byte `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"` 71 } 72 73 func (x *RelatedUserGroup) Reset() { 74 *x = RelatedUserGroup{} 75 if protoimpl.UnsafeEnabled { 76 mi := &file_user_common_proto_msgTypes[1] 77 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 78 ms.StoreMessageInfo(mi) 79 } 80 } 81 82 func (x *RelatedUserGroup) String() string { 83 return protoimpl.X.MessageStringOf(x) 84 } 85 86 func (*RelatedUserGroup) ProtoMessage() {} 87 88 func (x *RelatedUserGroup) ProtoReflect() protoreflect.Message { 89 mi := &file_user_common_proto_msgTypes[1] 90 if protoimpl.UnsafeEnabled && x != nil { 91 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 92 if ms.LoadMessageInfo() == nil { 93 ms.StoreMessageInfo(mi) 94 } 95 return ms 96 } 97 return mi.MessageOf(x) 98 } 99 100 // Deprecated: Use RelatedUserGroup.ProtoReflect.Descriptor instead. 101 func (*RelatedUserGroup) Descriptor() ([]byte, []int) { 102 return file_user_common_proto_rawDescGZIP(), []int{1} 103 } 104 105 func (x *RelatedUserGroup) GetId() string { 106 if x != nil { 107 return x.Id 108 } 109 return "" 110 } 111 112 func (x *RelatedUserGroup) GetDisplayName() string { 113 if x != nil { 114 return x.DisplayName 115 } 116 return "" 117 } 118 119 func (x *RelatedUserGroup) GetAvatar() []byte { 120 if x != nil { 121 return x.Avatar 122 } 123 return nil 124 } 125 126 type User struct { 127 state protoimpl.MessageState 128 sizeCache protoimpl.SizeCache 129 unknownFields protoimpl.UnknownFields 130 131 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // required 132 Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // required 133 Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` // required 134 FullName string `protobuf:"bytes,5,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` // required 135 FirstName string `protobuf:"bytes,6,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` 136 LastName string `protobuf:"bytes,7,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` 137 Member bool `protobuf:"varint,8,opt,name=member,proto3" json:"member,omitempty"` 138 NewsletterNotification bool `protobuf:"varint,10,opt,name=newsletter_notification,json=newsletterNotification,proto3" json:"newsletter_notification,omitempty"` 139 FollowedGroups []string `protobuf:"bytes,12,rep,name=followed_groups,json=followedGroups,proto3" json:"followed_groups,omitempty"` 140 } 141 142 func (x *User) Reset() { 143 *x = User{} 144 if protoimpl.UnsafeEnabled { 145 mi := &file_user_common_proto_msgTypes[2] 146 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 147 ms.StoreMessageInfo(mi) 148 } 149 } 150 151 func (x *User) String() string { 152 return protoimpl.X.MessageStringOf(x) 153 } 154 155 func (*User) ProtoMessage() {} 156 157 func (x *User) ProtoReflect() protoreflect.Message { 158 mi := &file_user_common_proto_msgTypes[2] 159 if protoimpl.UnsafeEnabled && x != nil { 160 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 161 if ms.LoadMessageInfo() == nil { 162 ms.StoreMessageInfo(mi) 163 } 164 return ms 165 } 166 return mi.MessageOf(x) 167 } 168 169 // Deprecated: Use User.ProtoReflect.Descriptor instead. 170 func (*User) Descriptor() ([]byte, []int) { 171 return file_user_common_proto_rawDescGZIP(), []int{2} 172 } 173 174 func (x *User) GetId() string { 175 if x != nil { 176 return x.Id 177 } 178 return "" 179 } 180 181 func (x *User) GetUsername() string { 182 if x != nil { 183 return x.Username 184 } 185 return "" 186 } 187 188 func (x *User) GetEmail() string { 189 if x != nil { 190 return x.Email 191 } 192 return "" 193 } 194 195 func (x *User) GetFullName() string { 196 if x != nil { 197 return x.FullName 198 } 199 return "" 200 } 201 202 func (x *User) GetFirstName() string { 203 if x != nil { 204 return x.FirstName 205 } 206 return "" 207 } 208 209 func (x *User) GetLastName() string { 210 if x != nil { 211 return x.LastName 212 } 213 return "" 214 } 215 216 func (x *User) GetMember() bool { 217 if x != nil { 218 return x.Member 219 } 220 return false 221 } 222 223 func (x *User) GetNewsletterNotification() bool { 224 if x != nil { 225 return x.NewsletterNotification 226 } 227 return false 228 } 229 230 func (x *User) GetFollowedGroups() []string { 231 if x != nil { 232 return x.FollowedGroups 233 } 234 return nil 235 } 236 237 type Tag struct { 238 state protoimpl.MessageState 239 sizeCache protoimpl.SizeCache 240 unknownFields protoimpl.UnknownFields 241 242 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 243 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` 244 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 245 } 246 247 func (x *Tag) Reset() { 248 *x = Tag{} 249 if protoimpl.UnsafeEnabled { 250 mi := &file_user_common_proto_msgTypes[3] 251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 252 ms.StoreMessageInfo(mi) 253 } 254 } 255 256 func (x *Tag) String() string { 257 return protoimpl.X.MessageStringOf(x) 258 } 259 260 func (*Tag) ProtoMessage() {} 261 262 func (x *Tag) ProtoReflect() protoreflect.Message { 263 mi := &file_user_common_proto_msgTypes[3] 264 if protoimpl.UnsafeEnabled && x != nil { 265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 266 if ms.LoadMessageInfo() == nil { 267 ms.StoreMessageInfo(mi) 268 } 269 return ms 270 } 271 return mi.MessageOf(x) 272 } 273 274 // Deprecated: Use Tag.ProtoReflect.Descriptor instead. 275 func (*Tag) Descriptor() ([]byte, []int) { 276 return file_user_common_proto_rawDescGZIP(), []int{3} 277 } 278 279 func (x *Tag) GetId() string { 280 if x != nil { 281 return x.Id 282 } 283 return "" 284 } 285 286 func (x *Tag) GetType() string { 287 if x != nil { 288 return x.Type 289 } 290 return "" 291 } 292 293 func (x *Tag) GetName() string { 294 if x != nil { 295 return x.Name 296 } 297 return "" 298 } 299 300 type StreetAddress struct { 301 state protoimpl.MessageState 302 sizeCache protoimpl.SizeCache 303 unknownFields protoimpl.UnknownFields 304 305 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 306 Data map[string]string `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 307 PersonalData bool `protobuf:"varint,3,opt,name=personal_data,json=personalData,proto3" json:"personal_data,omitempty"` 308 } 309 310 func (x *StreetAddress) Reset() { 311 *x = StreetAddress{} 312 if protoimpl.UnsafeEnabled { 313 mi := &file_user_common_proto_msgTypes[4] 314 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 315 ms.StoreMessageInfo(mi) 316 } 317 } 318 319 func (x *StreetAddress) String() string { 320 return protoimpl.X.MessageStringOf(x) 321 } 322 323 func (*StreetAddress) ProtoMessage() {} 324 325 func (x *StreetAddress) ProtoReflect() protoreflect.Message { 326 mi := &file_user_common_proto_msgTypes[4] 327 if protoimpl.UnsafeEnabled && x != nil { 328 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 329 if ms.LoadMessageInfo() == nil { 330 ms.StoreMessageInfo(mi) 331 } 332 return ms 333 } 334 return mi.MessageOf(x) 335 } 336 337 // Deprecated: Use StreetAddress.ProtoReflect.Descriptor instead. 338 func (*StreetAddress) Descriptor() ([]byte, []int) { 339 return file_user_common_proto_rawDescGZIP(), []int{4} 340 } 341 342 func (x *StreetAddress) GetId() string { 343 if x != nil { 344 return x.Id 345 } 346 return "" 347 } 348 349 func (x *StreetAddress) GetData() map[string]string { 350 if x != nil { 351 return x.Data 352 } 353 return nil 354 } 355 356 func (x *StreetAddress) GetPersonalData() bool { 357 if x != nil { 358 return x.PersonalData 359 } 360 return false 361 } 362 363 type Query struct { 364 state protoimpl.MessageState 365 sizeCache protoimpl.SizeCache 366 unknownFields protoimpl.UnknownFields 367 368 Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // required 369 } 370 371 func (x *Query) Reset() { 372 *x = Query{} 373 if protoimpl.UnsafeEnabled { 374 mi := &file_user_common_proto_msgTypes[5] 375 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 376 ms.StoreMessageInfo(mi) 377 } 378 } 379 380 func (x *Query) String() string { 381 return protoimpl.X.MessageStringOf(x) 382 } 383 384 func (*Query) ProtoMessage() {} 385 386 func (x *Query) ProtoReflect() protoreflect.Message { 387 mi := &file_user_common_proto_msgTypes[5] 388 if protoimpl.UnsafeEnabled && x != nil { 389 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 390 if ms.LoadMessageInfo() == nil { 391 ms.StoreMessageInfo(mi) 392 } 393 return ms 394 } 395 return mi.MessageOf(x) 396 } 397 398 // Deprecated: Use Query.ProtoReflect.Descriptor instead. 399 func (*Query) Descriptor() ([]byte, []int) { 400 return file_user_common_proto_rawDescGZIP(), []int{5} 401 } 402 403 func (x *Query) GetQuery() string { 404 if x != nil { 405 return x.Query 406 } 407 return "" 408 } 409 410 type SearchResults struct { 411 state protoimpl.MessageState 412 sizeCache protoimpl.SizeCache 413 unknownFields protoimpl.UnknownFields 414 415 People []*RelatedUserGroup `protobuf:"bytes,1,rep,name=people,proto3" json:"people,omitempty"` 416 Artists []*RelatedUserGroup `protobuf:"bytes,2,rep,name=artists,proto3" json:"artists,omitempty"` 417 Labels []*RelatedUserGroup `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"` 418 } 419 420 func (x *SearchResults) Reset() { 421 *x = SearchResults{} 422 if protoimpl.UnsafeEnabled { 423 mi := &file_user_common_proto_msgTypes[6] 424 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 425 ms.StoreMessageInfo(mi) 426 } 427 } 428 429 func (x *SearchResults) String() string { 430 return protoimpl.X.MessageStringOf(x) 431 } 432 433 func (*SearchResults) ProtoMessage() {} 434 435 func (x *SearchResults) ProtoReflect() protoreflect.Message { 436 mi := &file_user_common_proto_msgTypes[6] 437 if protoimpl.UnsafeEnabled && x != nil { 438 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 439 if ms.LoadMessageInfo() == nil { 440 ms.StoreMessageInfo(mi) 441 } 442 return ms 443 } 444 return mi.MessageOf(x) 445 } 446 447 // Deprecated: Use SearchResults.ProtoReflect.Descriptor instead. 448 func (*SearchResults) Descriptor() ([]byte, []int) { 449 return file_user_common_proto_rawDescGZIP(), []int{6} 450 } 451 452 func (x *SearchResults) GetPeople() []*RelatedUserGroup { 453 if x != nil { 454 return x.People 455 } 456 return nil 457 } 458 459 func (x *SearchResults) GetArtists() []*RelatedUserGroup { 460 if x != nil { 461 return x.Artists 462 } 463 return nil 464 } 465 466 func (x *SearchResults) GetLabels() []*RelatedUserGroup { 467 if x != nil { 468 return x.Labels 469 } 470 return nil 471 } 472 473 var File_user_common_proto protoreflect.FileDescriptor 474 475 var file_user_common_proto_rawDesc = []byte{ 476 0x0a, 0x11, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 477 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 478 0x74, 0x79, 0x22, 0x5d, 0x0a, 0x10, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 479 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 480 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 481 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 482 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 483 0x74, 0x61, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 484 0x72, 0x22, 0x9b, 0x02, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 485 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 486 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 487 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 488 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 489 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 490 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x72, 491 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 492 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x61, 0x73, 0x74, 493 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x73, 494 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 495 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x37, 0x0a, 496 0x17, 0x6e, 0x65, 0x77, 0x73, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x6f, 0x74, 0x69, 497 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 498 0x6e, 0x65, 0x77, 0x73, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 499 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 500 0x65, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, 501 0x0e, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 502 0x3d, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 503 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 504 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 505 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xb0, 506 0x01, 0x0a, 0x0d, 0x53, 0x74, 0x72, 0x65, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 507 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 508 0x12, 0x31, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 509 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 510 0x65, 0x73, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 511 0x61, 0x74, 0x61, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 512 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x70, 0x65, 0x72, 0x73, 513 0x6f, 0x6e, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x37, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 514 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 515 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 516 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 517 0x01, 0x22, 0x1d, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 518 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 519 0x22, 0xa1, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 520 0x74, 0x73, 0x12, 0x2e, 0x0a, 0x06, 0x70, 0x65, 0x6f, 0x70, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x03, 521 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 522 0x64, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x70, 0x65, 0x6f, 0x70, 523 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x07, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 524 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 525 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x07, 0x61, 0x72, 0x74, 526 0x69, 0x73, 0x74, 0x73, 0x12, 0x2e, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 527 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x6c, 0x61, 528 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x6c, 0x61, 529 0x62, 0x65, 0x6c, 0x73, 0x42, 0x2d, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 530 0x6f, 0x6d, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x6e, 0x61, 0x74, 0x65, 0x63, 0x6f, 0x6f, 0x70, 0x2f, 531 0x75, 0x73, 0x65, 0x72, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x75, 532 0x73, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 533 } 534 535 var ( 536 file_user_common_proto_rawDescOnce sync.Once 537 file_user_common_proto_rawDescData = file_user_common_proto_rawDesc 538 ) 539 540 func file_user_common_proto_rawDescGZIP() []byte { 541 file_user_common_proto_rawDescOnce.Do(func() { 542 file_user_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_user_common_proto_rawDescData) 543 }) 544 return file_user_common_proto_rawDescData 545 } 546 547 var file_user_common_proto_msgTypes = make([]protoimpl.MessageInfo, 8) 548 var file_user_common_proto_goTypes = []interface{}{ 549 (*Empty)(nil), // 0: user.Empty 550 (*RelatedUserGroup)(nil), // 1: user.RelatedUserGroup 551 (*User)(nil), // 2: user.User 552 (*Tag)(nil), // 3: user.Tag 553 (*StreetAddress)(nil), // 4: user.StreetAddress 554 (*Query)(nil), // 5: user.Query 555 (*SearchResults)(nil), // 6: user.SearchResults 556 nil, // 7: user.StreetAddress.DataEntry 557 } 558 var file_user_common_proto_depIdxs = []int32{ 559 7, // 0: user.StreetAddress.data:type_name -> user.StreetAddress.DataEntry 560 1, // 1: user.SearchResults.people:type_name -> user.RelatedUserGroup 561 1, // 2: user.SearchResults.artists:type_name -> user.RelatedUserGroup 562 1, // 3: user.SearchResults.labels:type_name -> user.RelatedUserGroup 563 4, // [4:4] is the sub-list for method output_type 564 4, // [4:4] is the sub-list for method input_type 565 4, // [4:4] is the sub-list for extension type_name 566 4, // [4:4] is the sub-list for extension extendee 567 0, // [0:4] is the sub-list for field type_name 568 } 569 570 func init() { file_user_common_proto_init() } 571 func file_user_common_proto_init() { 572 if File_user_common_proto != nil { 573 return 574 } 575 if !protoimpl.UnsafeEnabled { 576 file_user_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 577 switch v := v.(*Empty); i { 578 case 0: 579 return &v.state 580 case 1: 581 return &v.sizeCache 582 case 2: 583 return &v.unknownFields 584 default: 585 return nil 586 } 587 } 588 file_user_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 589 switch v := v.(*RelatedUserGroup); i { 590 case 0: 591 return &v.state 592 case 1: 593 return &v.sizeCache 594 case 2: 595 return &v.unknownFields 596 default: 597 return nil 598 } 599 } 600 file_user_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 601 switch v := v.(*User); i { 602 case 0: 603 return &v.state 604 case 1: 605 return &v.sizeCache 606 case 2: 607 return &v.unknownFields 608 default: 609 return nil 610 } 611 } 612 file_user_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 613 switch v := v.(*Tag); i { 614 case 0: 615 return &v.state 616 case 1: 617 return &v.sizeCache 618 case 2: 619 return &v.unknownFields 620 default: 621 return nil 622 } 623 } 624 file_user_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 625 switch v := v.(*StreetAddress); i { 626 case 0: 627 return &v.state 628 case 1: 629 return &v.sizeCache 630 case 2: 631 return &v.unknownFields 632 default: 633 return nil 634 } 635 } 636 file_user_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 637 switch v := v.(*Query); i { 638 case 0: 639 return &v.state 640 case 1: 641 return &v.sizeCache 642 case 2: 643 return &v.unknownFields 644 default: 645 return nil 646 } 647 } 648 file_user_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 649 switch v := v.(*SearchResults); i { 650 case 0: 651 return &v.state 652 case 1: 653 return &v.sizeCache 654 case 2: 655 return &v.unknownFields 656 default: 657 return nil 658 } 659 } 660 } 661 type x struct{} 662 out := protoimpl.TypeBuilder{ 663 File: protoimpl.DescBuilder{ 664 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 665 RawDescriptor: file_user_common_proto_rawDesc, 666 NumEnums: 0, 667 NumMessages: 8, 668 NumExtensions: 0, 669 NumServices: 0, 670 }, 671 GoTypes: file_user_common_proto_goTypes, 672 DependencyIndexes: file_user_common_proto_depIdxs, 673 MessageInfos: file_user_common_proto_msgTypes, 674 }.Build() 675 File_user_common_proto = out.File 676 file_user_common_proto_rawDesc = nil 677 file_user_common_proto_goTypes = nil 678 file_user_common_proto_depIdxs = nil 679 }