user.pb.go 48 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.34.2
  4. // protoc v4.25.3
  5. // source: user/v2/user.proto
  6. package v2
  7. import (
  8. _ "github.com/envoyproxy/protoc-gen-validate/validate"
  9. _ "google.golang.org/genproto/googleapis/api/annotations"
  10. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  11. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  12. reflect "reflect"
  13. sync "sync"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. type SignInResponse_Location_PointType int32
  22. const (
  23. // 未知
  24. SignInResponse_Location_UNKNOWN SignInResponse_Location_PointType = 0
  25. // GPS
  26. SignInResponse_Location_GPS SignInResponse_Location_PointType = 1
  27. // WIFI
  28. SignInResponse_Location_WIFI SignInResponse_Location_PointType = 2
  29. // 基站
  30. SignInResponse_Location_CELL SignInResponse_Location_PointType = 3
  31. // IP
  32. SignInResponse_Location_IP SignInResponse_Location_PointType = 4
  33. )
  34. // Enum value maps for SignInResponse_Location_PointType.
  35. var (
  36. SignInResponse_Location_PointType_name = map[int32]string{
  37. 0: "UNKNOWN",
  38. 1: "GPS",
  39. 2: "WIFI",
  40. 3: "CELL",
  41. 4: "IP",
  42. }
  43. SignInResponse_Location_PointType_value = map[string]int32{
  44. "UNKNOWN": 0,
  45. "GPS": 1,
  46. "WIFI": 2,
  47. "CELL": 3,
  48. "IP": 4,
  49. }
  50. )
  51. func (x SignInResponse_Location_PointType) Enum() *SignInResponse_Location_PointType {
  52. p := new(SignInResponse_Location_PointType)
  53. *p = x
  54. return p
  55. }
  56. func (x SignInResponse_Location_PointType) String() string {
  57. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  58. }
  59. func (SignInResponse_Location_PointType) Descriptor() protoreflect.EnumDescriptor {
  60. return file_user_v2_user_proto_enumTypes[0].Descriptor()
  61. }
  62. func (SignInResponse_Location_PointType) Type() protoreflect.EnumType {
  63. return &file_user_v2_user_proto_enumTypes[0]
  64. }
  65. func (x SignInResponse_Location_PointType) Number() protoreflect.EnumNumber {
  66. return protoreflect.EnumNumber(x)
  67. }
  68. // Deprecated: Use SignInResponse_Location_PointType.Descriptor instead.
  69. func (SignInResponse_Location_PointType) EnumDescriptor() ([]byte, []int) {
  70. return file_user_v2_user_proto_rawDescGZIP(), []int{7, 1, 0}
  71. }
  72. // 重设密码 Request
  73. type ResetPasswordRequest struct {
  74. state protoimpl.MessageState
  75. sizeCache protoimpl.SizeCache
  76. unknownFields protoimpl.UnknownFields
  77. // 旧密码
  78. OldPassword string `protobuf:"bytes,1,opt,name=oldPassword,proto3" json:"oldPassword,omitempty"`
  79. // 新密码
  80. NewPassword string `protobuf:"bytes,2,opt,name=newPassword,proto3" json:"newPassword,omitempty"`
  81. }
  82. func (x *ResetPasswordRequest) Reset() {
  83. *x = ResetPasswordRequest{}
  84. if protoimpl.UnsafeEnabled {
  85. mi := &file_user_v2_user_proto_msgTypes[0]
  86. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  87. ms.StoreMessageInfo(mi)
  88. }
  89. }
  90. func (x *ResetPasswordRequest) String() string {
  91. return protoimpl.X.MessageStringOf(x)
  92. }
  93. func (*ResetPasswordRequest) ProtoMessage() {}
  94. func (x *ResetPasswordRequest) ProtoReflect() protoreflect.Message {
  95. mi := &file_user_v2_user_proto_msgTypes[0]
  96. if protoimpl.UnsafeEnabled && x != nil {
  97. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  98. if ms.LoadMessageInfo() == nil {
  99. ms.StoreMessageInfo(mi)
  100. }
  101. return ms
  102. }
  103. return mi.MessageOf(x)
  104. }
  105. // Deprecated: Use ResetPasswordRequest.ProtoReflect.Descriptor instead.
  106. func (*ResetPasswordRequest) Descriptor() ([]byte, []int) {
  107. return file_user_v2_user_proto_rawDescGZIP(), []int{0}
  108. }
  109. func (x *ResetPasswordRequest) GetOldPassword() string {
  110. if x != nil {
  111. return x.OldPassword
  112. }
  113. return ""
  114. }
  115. func (x *ResetPasswordRequest) GetNewPassword() string {
  116. if x != nil {
  117. return x.NewPassword
  118. }
  119. return ""
  120. }
  121. // 重设密码 Response
  122. type ResetPasswordResponse struct {
  123. state protoimpl.MessageState
  124. sizeCache protoimpl.SizeCache
  125. unknownFields protoimpl.UnknownFields
  126. }
  127. func (x *ResetPasswordResponse) Reset() {
  128. *x = ResetPasswordResponse{}
  129. if protoimpl.UnsafeEnabled {
  130. mi := &file_user_v2_user_proto_msgTypes[1]
  131. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  132. ms.StoreMessageInfo(mi)
  133. }
  134. }
  135. func (x *ResetPasswordResponse) String() string {
  136. return protoimpl.X.MessageStringOf(x)
  137. }
  138. func (*ResetPasswordResponse) ProtoMessage() {}
  139. func (x *ResetPasswordResponse) ProtoReflect() protoreflect.Message {
  140. mi := &file_user_v2_user_proto_msgTypes[1]
  141. if protoimpl.UnsafeEnabled && x != nil {
  142. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  143. if ms.LoadMessageInfo() == nil {
  144. ms.StoreMessageInfo(mi)
  145. }
  146. return ms
  147. }
  148. return mi.MessageOf(x)
  149. }
  150. // Deprecated: Use ResetPasswordResponse.ProtoReflect.Descriptor instead.
  151. func (*ResetPasswordResponse) Descriptor() ([]byte, []int) {
  152. return file_user_v2_user_proto_rawDescGZIP(), []int{1}
  153. }
  154. // 找回密码 Request
  155. type RetrievePasswordRequest struct {
  156. state protoimpl.MessageState
  157. sizeCache protoimpl.SizeCache
  158. unknownFields protoimpl.UnknownFields
  159. // 邮箱
  160. Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
  161. // 新密码
  162. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
  163. }
  164. func (x *RetrievePasswordRequest) Reset() {
  165. *x = RetrievePasswordRequest{}
  166. if protoimpl.UnsafeEnabled {
  167. mi := &file_user_v2_user_proto_msgTypes[2]
  168. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  169. ms.StoreMessageInfo(mi)
  170. }
  171. }
  172. func (x *RetrievePasswordRequest) String() string {
  173. return protoimpl.X.MessageStringOf(x)
  174. }
  175. func (*RetrievePasswordRequest) ProtoMessage() {}
  176. func (x *RetrievePasswordRequest) ProtoReflect() protoreflect.Message {
  177. mi := &file_user_v2_user_proto_msgTypes[2]
  178. if protoimpl.UnsafeEnabled && x != nil {
  179. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  180. if ms.LoadMessageInfo() == nil {
  181. ms.StoreMessageInfo(mi)
  182. }
  183. return ms
  184. }
  185. return mi.MessageOf(x)
  186. }
  187. // Deprecated: Use RetrievePasswordRequest.ProtoReflect.Descriptor instead.
  188. func (*RetrievePasswordRequest) Descriptor() ([]byte, []int) {
  189. return file_user_v2_user_proto_rawDescGZIP(), []int{2}
  190. }
  191. func (x *RetrievePasswordRequest) GetEmail() string {
  192. if x != nil {
  193. return x.Email
  194. }
  195. return ""
  196. }
  197. func (x *RetrievePasswordRequest) GetPassword() string {
  198. if x != nil {
  199. return x.Password
  200. }
  201. return ""
  202. }
  203. // 找回密码 Response
  204. type RetrievePasswordResponse struct {
  205. state protoimpl.MessageState
  206. sizeCache protoimpl.SizeCache
  207. unknownFields protoimpl.UnknownFields
  208. }
  209. func (x *RetrievePasswordResponse) Reset() {
  210. *x = RetrievePasswordResponse{}
  211. if protoimpl.UnsafeEnabled {
  212. mi := &file_user_v2_user_proto_msgTypes[3]
  213. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  214. ms.StoreMessageInfo(mi)
  215. }
  216. }
  217. func (x *RetrievePasswordResponse) String() string {
  218. return protoimpl.X.MessageStringOf(x)
  219. }
  220. func (*RetrievePasswordResponse) ProtoMessage() {}
  221. func (x *RetrievePasswordResponse) ProtoReflect() protoreflect.Message {
  222. mi := &file_user_v2_user_proto_msgTypes[3]
  223. if protoimpl.UnsafeEnabled && x != nil {
  224. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  225. if ms.LoadMessageInfo() == nil {
  226. ms.StoreMessageInfo(mi)
  227. }
  228. return ms
  229. }
  230. return mi.MessageOf(x)
  231. }
  232. // Deprecated: Use RetrievePasswordResponse.ProtoReflect.Descriptor instead.
  233. func (*RetrievePasswordResponse) Descriptor() ([]byte, []int) {
  234. return file_user_v2_user_proto_rawDescGZIP(), []int{3}
  235. }
  236. // 注销账号 Request
  237. type UnregisterRequest struct {
  238. state protoimpl.MessageState
  239. sizeCache protoimpl.SizeCache
  240. unknownFields protoimpl.UnknownFields
  241. // 密码
  242. Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
  243. }
  244. func (x *UnregisterRequest) Reset() {
  245. *x = UnregisterRequest{}
  246. if protoimpl.UnsafeEnabled {
  247. mi := &file_user_v2_user_proto_msgTypes[4]
  248. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  249. ms.StoreMessageInfo(mi)
  250. }
  251. }
  252. func (x *UnregisterRequest) String() string {
  253. return protoimpl.X.MessageStringOf(x)
  254. }
  255. func (*UnregisterRequest) ProtoMessage() {}
  256. func (x *UnregisterRequest) ProtoReflect() protoreflect.Message {
  257. mi := &file_user_v2_user_proto_msgTypes[4]
  258. if protoimpl.UnsafeEnabled && x != nil {
  259. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  260. if ms.LoadMessageInfo() == nil {
  261. ms.StoreMessageInfo(mi)
  262. }
  263. return ms
  264. }
  265. return mi.MessageOf(x)
  266. }
  267. // Deprecated: Use UnregisterRequest.ProtoReflect.Descriptor instead.
  268. func (*UnregisterRequest) Descriptor() ([]byte, []int) {
  269. return file_user_v2_user_proto_rawDescGZIP(), []int{4}
  270. }
  271. func (x *UnregisterRequest) GetPassword() string {
  272. if x != nil {
  273. return x.Password
  274. }
  275. return ""
  276. }
  277. // 注销账号 Response
  278. type UnregisterResponse struct {
  279. state protoimpl.MessageState
  280. sizeCache protoimpl.SizeCache
  281. unknownFields protoimpl.UnknownFields
  282. }
  283. func (x *UnregisterResponse) Reset() {
  284. *x = UnregisterResponse{}
  285. if protoimpl.UnsafeEnabled {
  286. mi := &file_user_v2_user_proto_msgTypes[5]
  287. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  288. ms.StoreMessageInfo(mi)
  289. }
  290. }
  291. func (x *UnregisterResponse) String() string {
  292. return protoimpl.X.MessageStringOf(x)
  293. }
  294. func (*UnregisterResponse) ProtoMessage() {}
  295. func (x *UnregisterResponse) ProtoReflect() protoreflect.Message {
  296. mi := &file_user_v2_user_proto_msgTypes[5]
  297. if protoimpl.UnsafeEnabled && x != nil {
  298. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  299. if ms.LoadMessageInfo() == nil {
  300. ms.StoreMessageInfo(mi)
  301. }
  302. return ms
  303. }
  304. return mi.MessageOf(x)
  305. }
  306. // Deprecated: Use UnregisterResponse.ProtoReflect.Descriptor instead.
  307. func (*UnregisterResponse) Descriptor() ([]byte, []int) {
  308. return file_user_v2_user_proto_rawDescGZIP(), []int{5}
  309. }
  310. // 登录 Request
  311. type SignInRequest struct {
  312. state protoimpl.MessageState
  313. sizeCache protoimpl.SizeCache
  314. unknownFields protoimpl.UnknownFields
  315. // 手机号
  316. Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"`
  317. // 国家码
  318. AreaCode string `protobuf:"bytes,2,opt,name=areaCode,proto3" json:"areaCode,omitempty"`
  319. // 密码
  320. Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
  321. // 邮箱
  322. Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
  323. // 验证码
  324. Captcha string `protobuf:"bytes,5,opt,name=captcha,proto3" json:"captcha,omitempty"`
  325. }
  326. func (x *SignInRequest) Reset() {
  327. *x = SignInRequest{}
  328. if protoimpl.UnsafeEnabled {
  329. mi := &file_user_v2_user_proto_msgTypes[6]
  330. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  331. ms.StoreMessageInfo(mi)
  332. }
  333. }
  334. func (x *SignInRequest) String() string {
  335. return protoimpl.X.MessageStringOf(x)
  336. }
  337. func (*SignInRequest) ProtoMessage() {}
  338. func (x *SignInRequest) ProtoReflect() protoreflect.Message {
  339. mi := &file_user_v2_user_proto_msgTypes[6]
  340. if protoimpl.UnsafeEnabled && x != nil {
  341. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  342. if ms.LoadMessageInfo() == nil {
  343. ms.StoreMessageInfo(mi)
  344. }
  345. return ms
  346. }
  347. return mi.MessageOf(x)
  348. }
  349. // Deprecated: Use SignInRequest.ProtoReflect.Descriptor instead.
  350. func (*SignInRequest) Descriptor() ([]byte, []int) {
  351. return file_user_v2_user_proto_rawDescGZIP(), []int{6}
  352. }
  353. func (x *SignInRequest) GetPhone() string {
  354. if x != nil {
  355. return x.Phone
  356. }
  357. return ""
  358. }
  359. func (x *SignInRequest) GetAreaCode() string {
  360. if x != nil {
  361. return x.AreaCode
  362. }
  363. return ""
  364. }
  365. func (x *SignInRequest) GetPassword() string {
  366. if x != nil {
  367. return x.Password
  368. }
  369. return ""
  370. }
  371. func (x *SignInRequest) GetEmail() string {
  372. if x != nil {
  373. return x.Email
  374. }
  375. return ""
  376. }
  377. func (x *SignInRequest) GetCaptcha() string {
  378. if x != nil {
  379. return x.Captcha
  380. }
  381. return ""
  382. }
  383. // 登录 Response
  384. type SignInResponse struct {
  385. state protoimpl.MessageState
  386. sizeCache protoimpl.SizeCache
  387. unknownFields protoimpl.UnknownFields
  388. // 当前登录的 AccessToken
  389. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
  390. // 当前登录的用户
  391. Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
  392. // 绑定的小孩列表
  393. ChildList []*SignInResponse_Child `protobuf:"bytes,3,rep,name=childList,proto3" json:"childList,omitempty"`
  394. }
  395. func (x *SignInResponse) Reset() {
  396. *x = SignInResponse{}
  397. if protoimpl.UnsafeEnabled {
  398. mi := &file_user_v2_user_proto_msgTypes[7]
  399. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  400. ms.StoreMessageInfo(mi)
  401. }
  402. }
  403. func (x *SignInResponse) String() string {
  404. return protoimpl.X.MessageStringOf(x)
  405. }
  406. func (*SignInResponse) ProtoMessage() {}
  407. func (x *SignInResponse) ProtoReflect() protoreflect.Message {
  408. mi := &file_user_v2_user_proto_msgTypes[7]
  409. if protoimpl.UnsafeEnabled && x != nil {
  410. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  411. if ms.LoadMessageInfo() == nil {
  412. ms.StoreMessageInfo(mi)
  413. }
  414. return ms
  415. }
  416. return mi.MessageOf(x)
  417. }
  418. // Deprecated: Use SignInResponse.ProtoReflect.Descriptor instead.
  419. func (*SignInResponse) Descriptor() ([]byte, []int) {
  420. return file_user_v2_user_proto_rawDescGZIP(), []int{7}
  421. }
  422. func (x *SignInResponse) GetToken() string {
  423. if x != nil {
  424. return x.Token
  425. }
  426. return ""
  427. }
  428. func (x *SignInResponse) GetUid() string {
  429. if x != nil {
  430. return x.Uid
  431. }
  432. return ""
  433. }
  434. func (x *SignInResponse) GetChildList() []*SignInResponse_Child {
  435. if x != nil {
  436. return x.ChildList
  437. }
  438. return nil
  439. }
  440. type SignUpRequest struct {
  441. state protoimpl.MessageState
  442. sizeCache protoimpl.SizeCache
  443. unknownFields protoimpl.UnknownFields
  444. // 手机号
  445. Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"`
  446. // 国家码
  447. AreaCode string `protobuf:"bytes,2,opt,name=areaCode,proto3" json:"areaCode,omitempty"`
  448. // 密码
  449. Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
  450. // 邮箱
  451. Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
  452. // 验证码
  453. Captcha string `protobuf:"bytes,5,opt,name=captcha,proto3" json:"captcha,omitempty"`
  454. }
  455. func (x *SignUpRequest) Reset() {
  456. *x = SignUpRequest{}
  457. if protoimpl.UnsafeEnabled {
  458. mi := &file_user_v2_user_proto_msgTypes[8]
  459. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  460. ms.StoreMessageInfo(mi)
  461. }
  462. }
  463. func (x *SignUpRequest) String() string {
  464. return protoimpl.X.MessageStringOf(x)
  465. }
  466. func (*SignUpRequest) ProtoMessage() {}
  467. func (x *SignUpRequest) ProtoReflect() protoreflect.Message {
  468. mi := &file_user_v2_user_proto_msgTypes[8]
  469. if protoimpl.UnsafeEnabled && x != nil {
  470. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  471. if ms.LoadMessageInfo() == nil {
  472. ms.StoreMessageInfo(mi)
  473. }
  474. return ms
  475. }
  476. return mi.MessageOf(x)
  477. }
  478. // Deprecated: Use SignUpRequest.ProtoReflect.Descriptor instead.
  479. func (*SignUpRequest) Descriptor() ([]byte, []int) {
  480. return file_user_v2_user_proto_rawDescGZIP(), []int{8}
  481. }
  482. func (x *SignUpRequest) GetPhone() string {
  483. if x != nil {
  484. return x.Phone
  485. }
  486. return ""
  487. }
  488. func (x *SignUpRequest) GetAreaCode() string {
  489. if x != nil {
  490. return x.AreaCode
  491. }
  492. return ""
  493. }
  494. func (x *SignUpRequest) GetPassword() string {
  495. if x != nil {
  496. return x.Password
  497. }
  498. return ""
  499. }
  500. func (x *SignUpRequest) GetEmail() string {
  501. if x != nil {
  502. return x.Email
  503. }
  504. return ""
  505. }
  506. func (x *SignUpRequest) GetCaptcha() string {
  507. if x != nil {
  508. return x.Captcha
  509. }
  510. return ""
  511. }
  512. type SignUpResponse struct {
  513. state protoimpl.MessageState
  514. sizeCache protoimpl.SizeCache
  515. unknownFields protoimpl.UnknownFields
  516. }
  517. func (x *SignUpResponse) Reset() {
  518. *x = SignUpResponse{}
  519. if protoimpl.UnsafeEnabled {
  520. mi := &file_user_v2_user_proto_msgTypes[9]
  521. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  522. ms.StoreMessageInfo(mi)
  523. }
  524. }
  525. func (x *SignUpResponse) String() string {
  526. return protoimpl.X.MessageStringOf(x)
  527. }
  528. func (*SignUpResponse) ProtoMessage() {}
  529. func (x *SignUpResponse) ProtoReflect() protoreflect.Message {
  530. mi := &file_user_v2_user_proto_msgTypes[9]
  531. if protoimpl.UnsafeEnabled && x != nil {
  532. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  533. if ms.LoadMessageInfo() == nil {
  534. ms.StoreMessageInfo(mi)
  535. }
  536. return ms
  537. }
  538. return mi.MessageOf(x)
  539. }
  540. // Deprecated: Use SignUpResponse.ProtoReflect.Descriptor instead.
  541. func (*SignUpResponse) Descriptor() ([]byte, []int) {
  542. return file_user_v2_user_proto_rawDescGZIP(), []int{9}
  543. }
  544. type SMSCodeRequest struct {
  545. state protoimpl.MessageState
  546. sizeCache protoimpl.SizeCache
  547. unknownFields protoimpl.UnknownFields
  548. // 手机号
  549. Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"`
  550. // 国家码
  551. AreaCode string `protobuf:"bytes,2,opt,name=areaCode,proto3" json:"areaCode,omitempty"`
  552. }
  553. func (x *SMSCodeRequest) Reset() {
  554. *x = SMSCodeRequest{}
  555. if protoimpl.UnsafeEnabled {
  556. mi := &file_user_v2_user_proto_msgTypes[10]
  557. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  558. ms.StoreMessageInfo(mi)
  559. }
  560. }
  561. func (x *SMSCodeRequest) String() string {
  562. return protoimpl.X.MessageStringOf(x)
  563. }
  564. func (*SMSCodeRequest) ProtoMessage() {}
  565. func (x *SMSCodeRequest) ProtoReflect() protoreflect.Message {
  566. mi := &file_user_v2_user_proto_msgTypes[10]
  567. if protoimpl.UnsafeEnabled && x != nil {
  568. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  569. if ms.LoadMessageInfo() == nil {
  570. ms.StoreMessageInfo(mi)
  571. }
  572. return ms
  573. }
  574. return mi.MessageOf(x)
  575. }
  576. // Deprecated: Use SMSCodeRequest.ProtoReflect.Descriptor instead.
  577. func (*SMSCodeRequest) Descriptor() ([]byte, []int) {
  578. return file_user_v2_user_proto_rawDescGZIP(), []int{10}
  579. }
  580. func (x *SMSCodeRequest) GetPhone() string {
  581. if x != nil {
  582. return x.Phone
  583. }
  584. return ""
  585. }
  586. func (x *SMSCodeRequest) GetAreaCode() string {
  587. if x != nil {
  588. return x.AreaCode
  589. }
  590. return ""
  591. }
  592. type SMSCodeResponse struct {
  593. state protoimpl.MessageState
  594. sizeCache protoimpl.SizeCache
  595. unknownFields protoimpl.UnknownFields
  596. }
  597. func (x *SMSCodeResponse) Reset() {
  598. *x = SMSCodeResponse{}
  599. if protoimpl.UnsafeEnabled {
  600. mi := &file_user_v2_user_proto_msgTypes[11]
  601. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  602. ms.StoreMessageInfo(mi)
  603. }
  604. }
  605. func (x *SMSCodeResponse) String() string {
  606. return protoimpl.X.MessageStringOf(x)
  607. }
  608. func (*SMSCodeResponse) ProtoMessage() {}
  609. func (x *SMSCodeResponse) ProtoReflect() protoreflect.Message {
  610. mi := &file_user_v2_user_proto_msgTypes[11]
  611. if protoimpl.UnsafeEnabled && x != nil {
  612. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  613. if ms.LoadMessageInfo() == nil {
  614. ms.StoreMessageInfo(mi)
  615. }
  616. return ms
  617. }
  618. return mi.MessageOf(x)
  619. }
  620. // Deprecated: Use SMSCodeResponse.ProtoReflect.Descriptor instead.
  621. func (*SMSCodeResponse) Descriptor() ([]byte, []int) {
  622. return file_user_v2_user_proto_rawDescGZIP(), []int{11}
  623. }
  624. type SignInResponse_Device struct {
  625. state protoimpl.MessageState
  626. sizeCache protoimpl.SizeCache
  627. unknownFields protoimpl.UnknownFields
  628. Did int64 `protobuf:"varint,1,opt,name=did,proto3" json:"did,omitempty"` // 设备ID
  629. Battery int32 `protobuf:"varint,2,opt,name=battery,proto3" json:"battery,omitempty"` // 电池电量
  630. Signal int32 `protobuf:"varint,3,opt,name=signal,proto3" json:"signal,omitempty"` // 当前信号值
  631. SignalMax int32 `protobuf:"varint,4,opt,name=signalMax,proto3" json:"signalMax,omitempty"` // 最大信号值
  632. Ticket string `protobuf:"bytes,5,opt,name=ticket,proto3" json:"ticket,omitempty"`
  633. }
  634. func (x *SignInResponse_Device) Reset() {
  635. *x = SignInResponse_Device{}
  636. if protoimpl.UnsafeEnabled {
  637. mi := &file_user_v2_user_proto_msgTypes[12]
  638. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  639. ms.StoreMessageInfo(mi)
  640. }
  641. }
  642. func (x *SignInResponse_Device) String() string {
  643. return protoimpl.X.MessageStringOf(x)
  644. }
  645. func (*SignInResponse_Device) ProtoMessage() {}
  646. func (x *SignInResponse_Device) ProtoReflect() protoreflect.Message {
  647. mi := &file_user_v2_user_proto_msgTypes[12]
  648. if protoimpl.UnsafeEnabled && x != nil {
  649. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  650. if ms.LoadMessageInfo() == nil {
  651. ms.StoreMessageInfo(mi)
  652. }
  653. return ms
  654. }
  655. return mi.MessageOf(x)
  656. }
  657. // Deprecated: Use SignInResponse_Device.ProtoReflect.Descriptor instead.
  658. func (*SignInResponse_Device) Descriptor() ([]byte, []int) {
  659. return file_user_v2_user_proto_rawDescGZIP(), []int{7, 0}
  660. }
  661. func (x *SignInResponse_Device) GetDid() int64 {
  662. if x != nil {
  663. return x.Did
  664. }
  665. return 0
  666. }
  667. func (x *SignInResponse_Device) GetBattery() int32 {
  668. if x != nil {
  669. return x.Battery
  670. }
  671. return 0
  672. }
  673. func (x *SignInResponse_Device) GetSignal() int32 {
  674. if x != nil {
  675. return x.Signal
  676. }
  677. return 0
  678. }
  679. func (x *SignInResponse_Device) GetSignalMax() int32 {
  680. if x != nil {
  681. return x.SignalMax
  682. }
  683. return 0
  684. }
  685. func (x *SignInResponse_Device) GetTicket() string {
  686. if x != nil {
  687. return x.Ticket
  688. }
  689. return ""
  690. }
  691. type SignInResponse_Location struct {
  692. state protoimpl.MessageState
  693. sizeCache protoimpl.SizeCache
  694. unknownFields protoimpl.UnknownFields
  695. Latitude string `protobuf:"bytes,1,opt,name=latitude,proto3" json:"latitude,omitempty"`
  696. Longitude string `protobuf:"bytes,2,opt,name=longitude,proto3" json:"longitude,omitempty"`
  697. PositionTime int64 `protobuf:"varint,3,opt,name=positionTime,proto3" json:"positionTime,omitempty"`
  698. Radius int32 `protobuf:"varint,4,opt,name=radius,proto3" json:"radius,omitempty"`
  699. PointType SignInResponse_Location_PointType `protobuf:"varint,5,opt,name=pointType,proto3,enum=api.user.v2.SignInResponse_Location_PointType" json:"pointType,omitempty"`
  700. }
  701. func (x *SignInResponse_Location) Reset() {
  702. *x = SignInResponse_Location{}
  703. if protoimpl.UnsafeEnabled {
  704. mi := &file_user_v2_user_proto_msgTypes[13]
  705. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  706. ms.StoreMessageInfo(mi)
  707. }
  708. }
  709. func (x *SignInResponse_Location) String() string {
  710. return protoimpl.X.MessageStringOf(x)
  711. }
  712. func (*SignInResponse_Location) ProtoMessage() {}
  713. func (x *SignInResponse_Location) ProtoReflect() protoreflect.Message {
  714. mi := &file_user_v2_user_proto_msgTypes[13]
  715. if protoimpl.UnsafeEnabled && x != nil {
  716. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  717. if ms.LoadMessageInfo() == nil {
  718. ms.StoreMessageInfo(mi)
  719. }
  720. return ms
  721. }
  722. return mi.MessageOf(x)
  723. }
  724. // Deprecated: Use SignInResponse_Location.ProtoReflect.Descriptor instead.
  725. func (*SignInResponse_Location) Descriptor() ([]byte, []int) {
  726. return file_user_v2_user_proto_rawDescGZIP(), []int{7, 1}
  727. }
  728. func (x *SignInResponse_Location) GetLatitude() string {
  729. if x != nil {
  730. return x.Latitude
  731. }
  732. return ""
  733. }
  734. func (x *SignInResponse_Location) GetLongitude() string {
  735. if x != nil {
  736. return x.Longitude
  737. }
  738. return ""
  739. }
  740. func (x *SignInResponse_Location) GetPositionTime() int64 {
  741. if x != nil {
  742. return x.PositionTime
  743. }
  744. return 0
  745. }
  746. func (x *SignInResponse_Location) GetRadius() int32 {
  747. if x != nil {
  748. return x.Radius
  749. }
  750. return 0
  751. }
  752. func (x *SignInResponse_Location) GetPointType() SignInResponse_Location_PointType {
  753. if x != nil {
  754. return x.PointType
  755. }
  756. return SignInResponse_Location_UNKNOWN
  757. }
  758. type SignInResponse_Child struct {
  759. state protoimpl.MessageState
  760. sizeCache protoimpl.SizeCache
  761. unknownFields protoimpl.UnknownFields
  762. // 小孩ID
  763. Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
  764. StepCount int32 `protobuf:"varint,2,opt,name=stepCount,proto3" json:"stepCount,omitempty"`
  765. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  766. Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"`
  767. // 绑定的设备
  768. Device *SignInResponse_Device `protobuf:"bytes,5,opt,name=device,proto3" json:"device,omitempty"`
  769. // 最后一次位置
  770. LastLocation *SignInResponse_Location `protobuf:"bytes,6,opt,name=lastLocation,proto3" json:"lastLocation,omitempty"`
  771. }
  772. func (x *SignInResponse_Child) Reset() {
  773. *x = SignInResponse_Child{}
  774. if protoimpl.UnsafeEnabled {
  775. mi := &file_user_v2_user_proto_msgTypes[14]
  776. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  777. ms.StoreMessageInfo(mi)
  778. }
  779. }
  780. func (x *SignInResponse_Child) String() string {
  781. return protoimpl.X.MessageStringOf(x)
  782. }
  783. func (*SignInResponse_Child) ProtoMessage() {}
  784. func (x *SignInResponse_Child) ProtoReflect() protoreflect.Message {
  785. mi := &file_user_v2_user_proto_msgTypes[14]
  786. if protoimpl.UnsafeEnabled && x != nil {
  787. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  788. if ms.LoadMessageInfo() == nil {
  789. ms.StoreMessageInfo(mi)
  790. }
  791. return ms
  792. }
  793. return mi.MessageOf(x)
  794. }
  795. // Deprecated: Use SignInResponse_Child.ProtoReflect.Descriptor instead.
  796. func (*SignInResponse_Child) Descriptor() ([]byte, []int) {
  797. return file_user_v2_user_proto_rawDescGZIP(), []int{7, 2}
  798. }
  799. func (x *SignInResponse_Child) GetCid() string {
  800. if x != nil {
  801. return x.Cid
  802. }
  803. return ""
  804. }
  805. func (x *SignInResponse_Child) GetStepCount() int32 {
  806. if x != nil {
  807. return x.StepCount
  808. }
  809. return 0
  810. }
  811. func (x *SignInResponse_Child) GetName() string {
  812. if x != nil {
  813. return x.Name
  814. }
  815. return ""
  816. }
  817. func (x *SignInResponse_Child) GetAvatar() string {
  818. if x != nil {
  819. return x.Avatar
  820. }
  821. return ""
  822. }
  823. func (x *SignInResponse_Child) GetDevice() *SignInResponse_Device {
  824. if x != nil {
  825. return x.Device
  826. }
  827. return nil
  828. }
  829. func (x *SignInResponse_Child) GetLastLocation() *SignInResponse_Location {
  830. if x != nil {
  831. return x.LastLocation
  832. }
  833. return nil
  834. }
  835. var File_user_v2_user_proto protoreflect.FileDescriptor
  836. var file_user_v2_user_proto_rawDesc = []byte{
  837. 0x0a, 0x12, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70,
  838. 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76,
  839. 0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e,
  840. 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
  841. 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
  842. 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x65,
  843. 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  844. 0x12, 0x29, 0x0a, 0x0b, 0x6f, 0x6c, 0x64, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18,
  845. 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0b,
  846. 0x6f, 0x6c, 0x64, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x29, 0x0a, 0x0b, 0x6e,
  847. 0x65, 0x77, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  848. 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x50, 0x61,
  849. 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x65, 0x74, 0x50,
  850. 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  851. 0x5f, 0x0a, 0x17, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x50, 0x61, 0x73, 0x73, 0x77,
  852. 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x05, 0x65, 0x6d,
  853. 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x09, 0xfa, 0x42, 0x06, 0x72, 0x04,
  854. 0x10, 0x01, 0x60, 0x01, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x23, 0x0a, 0x08, 0x70,
  855. 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa,
  856. 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64,
  857. 0x22, 0x1a, 0x0a, 0x18, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x50, 0x61, 0x73, 0x73,
  858. 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0x0a, 0x11,
  859. 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  860. 0x74, 0x12, 0x23, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20,
  861. 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x70, 0x61,
  862. 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69,
  863. 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc9, 0x01, 0x0a,
  864. 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a,
  865. 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x14, 0xfa,
  866. 0x42, 0x11, 0x72, 0x0f, 0x32, 0x0d, 0x5e, 0x31, 0x5b, 0x33, 0x2d, 0x39, 0x5d, 0x5c, 0x64, 0x7b,
  867. 0x39, 0x7d, 0x24, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x23, 0x0a, 0x08, 0x61, 0x72,
  868. 0x65, 0x61, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42,
  869. 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x61, 0x72, 0x65, 0x61, 0x43, 0x6f, 0x64, 0x65, 0x12,
  870. 0x23, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
  871. 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73,
  872. 0x77, 0x6f, 0x72, 0x64, 0x12, 0x1f, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20,
  873. 0x01, 0x28, 0x09, 0x42, 0x09, 0xfa, 0x42, 0x06, 0x72, 0x04, 0x10, 0x01, 0x60, 0x01, 0x52, 0x05,
  874. 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x21, 0x0a, 0x07, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61,
  875. 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x04, 0x52,
  876. 0x07, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x22, 0xfa, 0x05, 0x0a, 0x0e, 0x53, 0x69, 0x67,
  877. 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74,
  878. 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65,
  879. 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  880. 0x75, 0x69, 0x64, 0x12, 0x3f, 0x0a, 0x09, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x4c, 0x69, 0x73, 0x74,
  881. 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65,
  882. 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
  883. 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x09, 0x63, 0x68, 0x69, 0x6c, 0x64,
  884. 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x82, 0x01, 0x0a, 0x06, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12,
  885. 0x10, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x64, 0x69,
  886. 0x64, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x74, 0x74, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01,
  887. 0x28, 0x05, 0x52, 0x07, 0x62, 0x61, 0x74, 0x74, 0x65, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x73,
  888. 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x69, 0x67,
  889. 0x6e, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x4d, 0x61, 0x78,
  890. 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x4d, 0x61,
  891. 0x78, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
  892. 0x09, 0x52, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x1a, 0x8d, 0x02, 0x0a, 0x08, 0x4c, 0x6f,
  893. 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75,
  894. 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75,
  895. 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18,
  896. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65,
  897. 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65,
  898. 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  899. 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x18, 0x04,
  900. 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x12, 0x4c, 0x0a, 0x09,
  901. 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32,
  902. 0x2e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x69,
  903. 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4c, 0x6f, 0x63,
  904. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52,
  905. 0x09, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3d, 0x0a, 0x09, 0x50, 0x6f,
  906. 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
  907. 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x50, 0x53, 0x10, 0x01, 0x12, 0x08, 0x0a,
  908. 0x04, 0x57, 0x49, 0x46, 0x49, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x45, 0x4c, 0x4c, 0x10,
  909. 0x03, 0x12, 0x06, 0x0a, 0x02, 0x49, 0x50, 0x10, 0x04, 0x1a, 0xe9, 0x01, 0x0a, 0x05, 0x43, 0x68,
  910. 0x69, 0x6c, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  911. 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x65, 0x70, 0x43, 0x6f, 0x75,
  912. 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x74, 0x65, 0x70, 0x43, 0x6f,
  913. 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  914. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61,
  915. 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12,
  916. 0x3a, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
  917. 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x69,
  918. 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x65, 0x76,
  919. 0x69, 0x63, 0x65, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x48, 0x0a, 0x0c, 0x6c,
  920. 0x61, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28,
  921. 0x0b, 0x32, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e,
  922. 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4c,
  923. 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x4c, 0x6f, 0x63,
  924. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc9, 0x01, 0x0a, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x55, 0x70,
  925. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65,
  926. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x14, 0xfa, 0x42, 0x11, 0x72, 0x0f, 0x32, 0x0d, 0x5e,
  927. 0x31, 0x5b, 0x33, 0x2d, 0x39, 0x5d, 0x5c, 0x64, 0x7b, 0x39, 0x7d, 0x24, 0x52, 0x05, 0x70, 0x68,
  928. 0x6f, 0x6e, 0x65, 0x12, 0x23, 0x0a, 0x08, 0x61, 0x72, 0x65, 0x61, 0x43, 0x6f, 0x64, 0x65, 0x18,
  929. 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08,
  930. 0x61, 0x72, 0x65, 0x61, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73,
  931. 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72,
  932. 0x02, 0x10, 0x01, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x1f, 0x0a,
  933. 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x09, 0xfa, 0x42,
  934. 0x06, 0x72, 0x04, 0x10, 0x01, 0x60, 0x01, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x21,
  935. 0x0a, 0x07, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42,
  936. 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x04, 0x52, 0x07, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68,
  937. 0x61, 0x22, 0x10, 0x0a, 0x0e, 0x53, 0x69, 0x67, 0x6e, 0x55, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f,
  938. 0x6e, 0x73, 0x65, 0x22, 0x61, 0x0a, 0x0e, 0x53, 0x4d, 0x53, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65,
  939. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01,
  940. 0x20, 0x01, 0x28, 0x09, 0x42, 0x14, 0xfa, 0x42, 0x11, 0x72, 0x0f, 0x32, 0x0d, 0x5e, 0x31, 0x5b,
  941. 0x33, 0x2d, 0x39, 0x5d, 0x5c, 0x64, 0x7b, 0x39, 0x7d, 0x24, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e,
  942. 0x65, 0x12, 0x23, 0x0a, 0x08, 0x61, 0x72, 0x65, 0x61, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20,
  943. 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x61, 0x72,
  944. 0x65, 0x61, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x53, 0x4d, 0x53, 0x43, 0x6f, 0x64,
  945. 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xed, 0x05, 0x0a, 0x04, 0x55, 0x73,
  946. 0x65, 0x72, 0x12, 0x6b, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x12, 0x1a, 0x2e, 0x61,
  947. 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49,
  948. 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75,
  949. 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x73,
  950. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x3a, 0x01, 0x2a,
  951. 0x22, 0x1d, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63,
  952. 0x74, 0x78, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x2d, 0x69, 0x6e, 0x12,
  953. 0x6b, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x55, 0x70, 0x12, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  954. 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x55, 0x70, 0x52, 0x65,
  955. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72,
  956. 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x55, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  957. 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x3a, 0x01, 0x2a, 0x22, 0x1d, 0x2f,
  958. 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74, 0x78, 0x2f,
  959. 0x75, 0x73, 0x65, 0x72, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x2d, 0x75, 0x70, 0x12, 0x7a, 0x0a, 0x0a,
  960. 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69,
  961. 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73,
  962. 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x61, 0x70, 0x69,
  963. 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73,
  964. 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4,
  965. 0x93, 0x02, 0x25, 0x3a, 0x01, 0x2a, 0x22, 0x20, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x32,
  966. 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74, 0x78, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x75, 0x6e,
  967. 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x87, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x73,
  968. 0x65, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x69,
  969. 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x50, 0x61,
  970. 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e,
  971. 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x65,
  972. 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  973. 0x65, 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x3a, 0x01, 0x2a, 0x22, 0x24, 0x2f, 0x61,
  974. 0x70, 0x69, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74, 0x78, 0x2f, 0x75,
  975. 0x73, 0x65, 0x72, 0x2f, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f,
  976. 0x72, 0x64, 0x12, 0x93, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x50,
  977. 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73,
  978. 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x50, 0x61,
  979. 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e,
  980. 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x74, 0x72,
  981. 0x69, 0x65, 0x76, 0x65, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70,
  982. 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x3a, 0x01, 0x2a, 0x22,
  983. 0x27, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74,
  984. 0x78, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x2d,
  985. 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x6f, 0x0a, 0x07, 0x53, 0x4d, 0x53, 0x43,
  986. 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76,
  987. 0x32, 0x2e, 0x53, 0x4d, 0x53, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  988. 0x1a, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x53,
  989. 0x4d, 0x53, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29,
  990. 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x3a, 0x01, 0x2a, 0x22, 0x1e, 0x2f, 0x61, 0x70, 0x69, 0x73,
  991. 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74, 0x78, 0x2f, 0x75, 0x73, 0x65, 0x72,
  992. 0x2f, 0x73, 0x6d, 0x73, 0x2d, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x30, 0x0a, 0x0b, 0x61, 0x70, 0x69,
  993. 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x50, 0x01, 0x5a, 0x1f, 0x73, 0x69, 0x6b, 0x65,
  994. 0x79, 0x2f, 0x77, 0x33, 0x30, 0x33, 0x61, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x2f, 0x61, 0x70, 0x69,
  995. 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x3b, 0x76, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f,
  996. 0x74, 0x6f, 0x33,
  997. }
  998. var (
  999. file_user_v2_user_proto_rawDescOnce sync.Once
  1000. file_user_v2_user_proto_rawDescData = file_user_v2_user_proto_rawDesc
  1001. )
  1002. func file_user_v2_user_proto_rawDescGZIP() []byte {
  1003. file_user_v2_user_proto_rawDescOnce.Do(func() {
  1004. file_user_v2_user_proto_rawDescData = protoimpl.X.CompressGZIP(file_user_v2_user_proto_rawDescData)
  1005. })
  1006. return file_user_v2_user_proto_rawDescData
  1007. }
  1008. var file_user_v2_user_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  1009. var file_user_v2_user_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
  1010. var file_user_v2_user_proto_goTypes = []any{
  1011. (SignInResponse_Location_PointType)(0), // 0: api.user.v2.SignInResponse.Location.PointType
  1012. (*ResetPasswordRequest)(nil), // 1: api.user.v2.ResetPasswordRequest
  1013. (*ResetPasswordResponse)(nil), // 2: api.user.v2.ResetPasswordResponse
  1014. (*RetrievePasswordRequest)(nil), // 3: api.user.v2.RetrievePasswordRequest
  1015. (*RetrievePasswordResponse)(nil), // 4: api.user.v2.RetrievePasswordResponse
  1016. (*UnregisterRequest)(nil), // 5: api.user.v2.UnregisterRequest
  1017. (*UnregisterResponse)(nil), // 6: api.user.v2.UnregisterResponse
  1018. (*SignInRequest)(nil), // 7: api.user.v2.SignInRequest
  1019. (*SignInResponse)(nil), // 8: api.user.v2.SignInResponse
  1020. (*SignUpRequest)(nil), // 9: api.user.v2.SignUpRequest
  1021. (*SignUpResponse)(nil), // 10: api.user.v2.SignUpResponse
  1022. (*SMSCodeRequest)(nil), // 11: api.user.v2.SMSCodeRequest
  1023. (*SMSCodeResponse)(nil), // 12: api.user.v2.SMSCodeResponse
  1024. (*SignInResponse_Device)(nil), // 13: api.user.v2.SignInResponse.Device
  1025. (*SignInResponse_Location)(nil), // 14: api.user.v2.SignInResponse.Location
  1026. (*SignInResponse_Child)(nil), // 15: api.user.v2.SignInResponse.Child
  1027. }
  1028. var file_user_v2_user_proto_depIdxs = []int32{
  1029. 15, // 0: api.user.v2.SignInResponse.childList:type_name -> api.user.v2.SignInResponse.Child
  1030. 0, // 1: api.user.v2.SignInResponse.Location.pointType:type_name -> api.user.v2.SignInResponse.Location.PointType
  1031. 13, // 2: api.user.v2.SignInResponse.Child.device:type_name -> api.user.v2.SignInResponse.Device
  1032. 14, // 3: api.user.v2.SignInResponse.Child.lastLocation:type_name -> api.user.v2.SignInResponse.Location
  1033. 7, // 4: api.user.v2.User.SignIn:input_type -> api.user.v2.SignInRequest
  1034. 9, // 5: api.user.v2.User.SignUp:input_type -> api.user.v2.SignUpRequest
  1035. 5, // 6: api.user.v2.User.Unregister:input_type -> api.user.v2.UnregisterRequest
  1036. 1, // 7: api.user.v2.User.ResetPassword:input_type -> api.user.v2.ResetPasswordRequest
  1037. 3, // 8: api.user.v2.User.RetrievePassword:input_type -> api.user.v2.RetrievePasswordRequest
  1038. 11, // 9: api.user.v2.User.SMSCode:input_type -> api.user.v2.SMSCodeRequest
  1039. 8, // 10: api.user.v2.User.SignIn:output_type -> api.user.v2.SignInResponse
  1040. 10, // 11: api.user.v2.User.SignUp:output_type -> api.user.v2.SignUpResponse
  1041. 6, // 12: api.user.v2.User.Unregister:output_type -> api.user.v2.UnregisterResponse
  1042. 2, // 13: api.user.v2.User.ResetPassword:output_type -> api.user.v2.ResetPasswordResponse
  1043. 4, // 14: api.user.v2.User.RetrievePassword:output_type -> api.user.v2.RetrievePasswordResponse
  1044. 12, // 15: api.user.v2.User.SMSCode:output_type -> api.user.v2.SMSCodeResponse
  1045. 10, // [10:16] is the sub-list for method output_type
  1046. 4, // [4:10] is the sub-list for method input_type
  1047. 4, // [4:4] is the sub-list for extension type_name
  1048. 4, // [4:4] is the sub-list for extension extendee
  1049. 0, // [0:4] is the sub-list for field type_name
  1050. }
  1051. func init() { file_user_v2_user_proto_init() }
  1052. func file_user_v2_user_proto_init() {
  1053. if File_user_v2_user_proto != nil {
  1054. return
  1055. }
  1056. if !protoimpl.UnsafeEnabled {
  1057. file_user_v2_user_proto_msgTypes[0].Exporter = func(v any, i int) any {
  1058. switch v := v.(*ResetPasswordRequest); i {
  1059. case 0:
  1060. return &v.state
  1061. case 1:
  1062. return &v.sizeCache
  1063. case 2:
  1064. return &v.unknownFields
  1065. default:
  1066. return nil
  1067. }
  1068. }
  1069. file_user_v2_user_proto_msgTypes[1].Exporter = func(v any, i int) any {
  1070. switch v := v.(*ResetPasswordResponse); i {
  1071. case 0:
  1072. return &v.state
  1073. case 1:
  1074. return &v.sizeCache
  1075. case 2:
  1076. return &v.unknownFields
  1077. default:
  1078. return nil
  1079. }
  1080. }
  1081. file_user_v2_user_proto_msgTypes[2].Exporter = func(v any, i int) any {
  1082. switch v := v.(*RetrievePasswordRequest); i {
  1083. case 0:
  1084. return &v.state
  1085. case 1:
  1086. return &v.sizeCache
  1087. case 2:
  1088. return &v.unknownFields
  1089. default:
  1090. return nil
  1091. }
  1092. }
  1093. file_user_v2_user_proto_msgTypes[3].Exporter = func(v any, i int) any {
  1094. switch v := v.(*RetrievePasswordResponse); i {
  1095. case 0:
  1096. return &v.state
  1097. case 1:
  1098. return &v.sizeCache
  1099. case 2:
  1100. return &v.unknownFields
  1101. default:
  1102. return nil
  1103. }
  1104. }
  1105. file_user_v2_user_proto_msgTypes[4].Exporter = func(v any, i int) any {
  1106. switch v := v.(*UnregisterRequest); i {
  1107. case 0:
  1108. return &v.state
  1109. case 1:
  1110. return &v.sizeCache
  1111. case 2:
  1112. return &v.unknownFields
  1113. default:
  1114. return nil
  1115. }
  1116. }
  1117. file_user_v2_user_proto_msgTypes[5].Exporter = func(v any, i int) any {
  1118. switch v := v.(*UnregisterResponse); i {
  1119. case 0:
  1120. return &v.state
  1121. case 1:
  1122. return &v.sizeCache
  1123. case 2:
  1124. return &v.unknownFields
  1125. default:
  1126. return nil
  1127. }
  1128. }
  1129. file_user_v2_user_proto_msgTypes[6].Exporter = func(v any, i int) any {
  1130. switch v := v.(*SignInRequest); i {
  1131. case 0:
  1132. return &v.state
  1133. case 1:
  1134. return &v.sizeCache
  1135. case 2:
  1136. return &v.unknownFields
  1137. default:
  1138. return nil
  1139. }
  1140. }
  1141. file_user_v2_user_proto_msgTypes[7].Exporter = func(v any, i int) any {
  1142. switch v := v.(*SignInResponse); i {
  1143. case 0:
  1144. return &v.state
  1145. case 1:
  1146. return &v.sizeCache
  1147. case 2:
  1148. return &v.unknownFields
  1149. default:
  1150. return nil
  1151. }
  1152. }
  1153. file_user_v2_user_proto_msgTypes[8].Exporter = func(v any, i int) any {
  1154. switch v := v.(*SignUpRequest); i {
  1155. case 0:
  1156. return &v.state
  1157. case 1:
  1158. return &v.sizeCache
  1159. case 2:
  1160. return &v.unknownFields
  1161. default:
  1162. return nil
  1163. }
  1164. }
  1165. file_user_v2_user_proto_msgTypes[9].Exporter = func(v any, i int) any {
  1166. switch v := v.(*SignUpResponse); i {
  1167. case 0:
  1168. return &v.state
  1169. case 1:
  1170. return &v.sizeCache
  1171. case 2:
  1172. return &v.unknownFields
  1173. default:
  1174. return nil
  1175. }
  1176. }
  1177. file_user_v2_user_proto_msgTypes[10].Exporter = func(v any, i int) any {
  1178. switch v := v.(*SMSCodeRequest); i {
  1179. case 0:
  1180. return &v.state
  1181. case 1:
  1182. return &v.sizeCache
  1183. case 2:
  1184. return &v.unknownFields
  1185. default:
  1186. return nil
  1187. }
  1188. }
  1189. file_user_v2_user_proto_msgTypes[11].Exporter = func(v any, i int) any {
  1190. switch v := v.(*SMSCodeResponse); i {
  1191. case 0:
  1192. return &v.state
  1193. case 1:
  1194. return &v.sizeCache
  1195. case 2:
  1196. return &v.unknownFields
  1197. default:
  1198. return nil
  1199. }
  1200. }
  1201. file_user_v2_user_proto_msgTypes[12].Exporter = func(v any, i int) any {
  1202. switch v := v.(*SignInResponse_Device); i {
  1203. case 0:
  1204. return &v.state
  1205. case 1:
  1206. return &v.sizeCache
  1207. case 2:
  1208. return &v.unknownFields
  1209. default:
  1210. return nil
  1211. }
  1212. }
  1213. file_user_v2_user_proto_msgTypes[13].Exporter = func(v any, i int) any {
  1214. switch v := v.(*SignInResponse_Location); i {
  1215. case 0:
  1216. return &v.state
  1217. case 1:
  1218. return &v.sizeCache
  1219. case 2:
  1220. return &v.unknownFields
  1221. default:
  1222. return nil
  1223. }
  1224. }
  1225. file_user_v2_user_proto_msgTypes[14].Exporter = func(v any, i int) any {
  1226. switch v := v.(*SignInResponse_Child); i {
  1227. case 0:
  1228. return &v.state
  1229. case 1:
  1230. return &v.sizeCache
  1231. case 2:
  1232. return &v.unknownFields
  1233. default:
  1234. return nil
  1235. }
  1236. }
  1237. }
  1238. type x struct{}
  1239. out := protoimpl.TypeBuilder{
  1240. File: protoimpl.DescBuilder{
  1241. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1242. RawDescriptor: file_user_v2_user_proto_rawDesc,
  1243. NumEnums: 1,
  1244. NumMessages: 15,
  1245. NumExtensions: 0,
  1246. NumServices: 1,
  1247. },
  1248. GoTypes: file_user_v2_user_proto_goTypes,
  1249. DependencyIndexes: file_user_v2_user_proto_depIdxs,
  1250. EnumInfos: file_user_v2_user_proto_enumTypes,
  1251. MessageInfos: file_user_v2_user_proto_msgTypes,
  1252. }.Build()
  1253. File_user_v2_user_proto = out.File
  1254. file_user_v2_user_proto_rawDesc = nil
  1255. file_user_v2_user_proto_goTypes = nil
  1256. file_user_v2_user_proto_depIdxs = nil
  1257. }