child.pb.go 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255
  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/child.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 Gender int32
  22. const (
  23. // 未知
  24. Gender_UNKNOWN Gender = 0
  25. // 男
  26. Gender_MAN Gender = 2
  27. // 女
  28. Gender_WOMAN Gender = 3
  29. )
  30. // Enum value maps for Gender.
  31. var (
  32. Gender_name = map[int32]string{
  33. 0: "UNKNOWN",
  34. 2: "MAN",
  35. 3: "WOMAN",
  36. }
  37. Gender_value = map[string]int32{
  38. "UNKNOWN": 0,
  39. "MAN": 2,
  40. "WOMAN": 3,
  41. }
  42. )
  43. func (x Gender) Enum() *Gender {
  44. p := new(Gender)
  45. *p = x
  46. return p
  47. }
  48. func (x Gender) String() string {
  49. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  50. }
  51. func (Gender) Descriptor() protoreflect.EnumDescriptor {
  52. return file_user_v2_child_proto_enumTypes[0].Descriptor()
  53. }
  54. func (Gender) Type() protoreflect.EnumType {
  55. return &file_user_v2_child_proto_enumTypes[0]
  56. }
  57. func (x Gender) Number() protoreflect.EnumNumber {
  58. return protoreflect.EnumNumber(x)
  59. }
  60. // Deprecated: Use Gender.Descriptor instead.
  61. func (Gender) EnumDescriptor() ([]byte, []int) {
  62. return file_user_v2_child_proto_rawDescGZIP(), []int{0}
  63. }
  64. type GetChildResponse_Location_PointType int32
  65. const (
  66. // 未知
  67. GetChildResponse_Location_UNKNOWN GetChildResponse_Location_PointType = 0
  68. // GPS
  69. GetChildResponse_Location_GPS GetChildResponse_Location_PointType = 1
  70. // WIFI
  71. GetChildResponse_Location_WIFI GetChildResponse_Location_PointType = 2
  72. // 基站
  73. GetChildResponse_Location_CELL GetChildResponse_Location_PointType = 3
  74. // IP
  75. GetChildResponse_Location_IP GetChildResponse_Location_PointType = 4
  76. )
  77. // Enum value maps for GetChildResponse_Location_PointType.
  78. var (
  79. GetChildResponse_Location_PointType_name = map[int32]string{
  80. 0: "UNKNOWN",
  81. 1: "GPS",
  82. 2: "WIFI",
  83. 3: "CELL",
  84. 4: "IP",
  85. }
  86. GetChildResponse_Location_PointType_value = map[string]int32{
  87. "UNKNOWN": 0,
  88. "GPS": 1,
  89. "WIFI": 2,
  90. "CELL": 3,
  91. "IP": 4,
  92. }
  93. )
  94. func (x GetChildResponse_Location_PointType) Enum() *GetChildResponse_Location_PointType {
  95. p := new(GetChildResponse_Location_PointType)
  96. *p = x
  97. return p
  98. }
  99. func (x GetChildResponse_Location_PointType) String() string {
  100. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  101. }
  102. func (GetChildResponse_Location_PointType) Descriptor() protoreflect.EnumDescriptor {
  103. return file_user_v2_child_proto_enumTypes[1].Descriptor()
  104. }
  105. func (GetChildResponse_Location_PointType) Type() protoreflect.EnumType {
  106. return &file_user_v2_child_proto_enumTypes[1]
  107. }
  108. func (x GetChildResponse_Location_PointType) Number() protoreflect.EnumNumber {
  109. return protoreflect.EnumNumber(x)
  110. }
  111. // Deprecated: Use GetChildResponse_Location_PointType.Descriptor instead.
  112. func (GetChildResponse_Location_PointType) EnumDescriptor() ([]byte, []int) {
  113. return file_user_v2_child_proto_rawDescGZIP(), []int{1, 2, 0}
  114. }
  115. type GetChildRequest struct {
  116. state protoimpl.MessageState
  117. sizeCache protoimpl.SizeCache
  118. unknownFields protoimpl.UnknownFields
  119. }
  120. func (x *GetChildRequest) Reset() {
  121. *x = GetChildRequest{}
  122. if protoimpl.UnsafeEnabled {
  123. mi := &file_user_v2_child_proto_msgTypes[0]
  124. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  125. ms.StoreMessageInfo(mi)
  126. }
  127. }
  128. func (x *GetChildRequest) String() string {
  129. return protoimpl.X.MessageStringOf(x)
  130. }
  131. func (*GetChildRequest) ProtoMessage() {}
  132. func (x *GetChildRequest) ProtoReflect() protoreflect.Message {
  133. mi := &file_user_v2_child_proto_msgTypes[0]
  134. if protoimpl.UnsafeEnabled && x != nil {
  135. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  136. if ms.LoadMessageInfo() == nil {
  137. ms.StoreMessageInfo(mi)
  138. }
  139. return ms
  140. }
  141. return mi.MessageOf(x)
  142. }
  143. // Deprecated: Use GetChildRequest.ProtoReflect.Descriptor instead.
  144. func (*GetChildRequest) Descriptor() ([]byte, []int) {
  145. return file_user_v2_child_proto_rawDescGZIP(), []int{0}
  146. }
  147. type GetChildResponse struct {
  148. state protoimpl.MessageState
  149. sizeCache protoimpl.SizeCache
  150. unknownFields protoimpl.UnknownFields
  151. ChildList []*GetChildResponse_Child `protobuf:"bytes,1,rep,name=childList,proto3" json:"childList,omitempty"`
  152. }
  153. func (x *GetChildResponse) Reset() {
  154. *x = GetChildResponse{}
  155. if protoimpl.UnsafeEnabled {
  156. mi := &file_user_v2_child_proto_msgTypes[1]
  157. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  158. ms.StoreMessageInfo(mi)
  159. }
  160. }
  161. func (x *GetChildResponse) String() string {
  162. return protoimpl.X.MessageStringOf(x)
  163. }
  164. func (*GetChildResponse) ProtoMessage() {}
  165. func (x *GetChildResponse) ProtoReflect() protoreflect.Message {
  166. mi := &file_user_v2_child_proto_msgTypes[1]
  167. if protoimpl.UnsafeEnabled && x != nil {
  168. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  169. if ms.LoadMessageInfo() == nil {
  170. ms.StoreMessageInfo(mi)
  171. }
  172. return ms
  173. }
  174. return mi.MessageOf(x)
  175. }
  176. // Deprecated: Use GetChildResponse.ProtoReflect.Descriptor instead.
  177. func (*GetChildResponse) Descriptor() ([]byte, []int) {
  178. return file_user_v2_child_proto_rawDescGZIP(), []int{1}
  179. }
  180. func (x *GetChildResponse) GetChildList() []*GetChildResponse_Child {
  181. if x != nil {
  182. return x.ChildList
  183. }
  184. return nil
  185. }
  186. type CreateChildRequest struct {
  187. state protoimpl.MessageState
  188. sizeCache protoimpl.SizeCache
  189. unknownFields protoimpl.UnknownFields
  190. // 小孩姓名
  191. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  192. // 小孩电话
  193. PhoneNumber string `protobuf:"bytes,2,opt,name=phoneNumber,proto3" json:"phoneNumber,omitempty"`
  194. // 小孩电话区号
  195. AreaCode string `protobuf:"bytes,3,opt,name=areaCode,proto3" json:"areaCode,omitempty"`
  196. // 小孩头像
  197. Avatar *string `protobuf:"bytes,4,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
  198. // 小孩生日
  199. Birthday *string `protobuf:"bytes,5,opt,name=birthday,proto3,oneof" json:"birthday,omitempty"`
  200. // 小孩对自己的称谓
  201. Appellation string `protobuf:"bytes,6,opt,name=appellation,proto3" json:"appellation,omitempty"`
  202. // 小孩性别
  203. Gender Gender `protobuf:"varint,7,opt,name=gender,proto3,enum=api.user.v2.Gender" json:"gender,omitempty"`
  204. // 小孩体重
  205. Weight int32 `protobuf:"varint,8,opt,name=weight,proto3" json:"weight,omitempty"`
  206. // 小孩身高
  207. Height int32 `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"`
  208. }
  209. func (x *CreateChildRequest) Reset() {
  210. *x = CreateChildRequest{}
  211. if protoimpl.UnsafeEnabled {
  212. mi := &file_user_v2_child_proto_msgTypes[2]
  213. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  214. ms.StoreMessageInfo(mi)
  215. }
  216. }
  217. func (x *CreateChildRequest) String() string {
  218. return protoimpl.X.MessageStringOf(x)
  219. }
  220. func (*CreateChildRequest) ProtoMessage() {}
  221. func (x *CreateChildRequest) ProtoReflect() protoreflect.Message {
  222. mi := &file_user_v2_child_proto_msgTypes[2]
  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 CreateChildRequest.ProtoReflect.Descriptor instead.
  233. func (*CreateChildRequest) Descriptor() ([]byte, []int) {
  234. return file_user_v2_child_proto_rawDescGZIP(), []int{2}
  235. }
  236. func (x *CreateChildRequest) GetName() string {
  237. if x != nil {
  238. return x.Name
  239. }
  240. return ""
  241. }
  242. func (x *CreateChildRequest) GetPhoneNumber() string {
  243. if x != nil {
  244. return x.PhoneNumber
  245. }
  246. return ""
  247. }
  248. func (x *CreateChildRequest) GetAreaCode() string {
  249. if x != nil {
  250. return x.AreaCode
  251. }
  252. return ""
  253. }
  254. func (x *CreateChildRequest) GetAvatar() string {
  255. if x != nil && x.Avatar != nil {
  256. return *x.Avatar
  257. }
  258. return ""
  259. }
  260. func (x *CreateChildRequest) GetBirthday() string {
  261. if x != nil && x.Birthday != nil {
  262. return *x.Birthday
  263. }
  264. return ""
  265. }
  266. func (x *CreateChildRequest) GetAppellation() string {
  267. if x != nil {
  268. return x.Appellation
  269. }
  270. return ""
  271. }
  272. func (x *CreateChildRequest) GetGender() Gender {
  273. if x != nil {
  274. return x.Gender
  275. }
  276. return Gender_UNKNOWN
  277. }
  278. func (x *CreateChildRequest) GetWeight() int32 {
  279. if x != nil {
  280. return x.Weight
  281. }
  282. return 0
  283. }
  284. func (x *CreateChildRequest) GetHeight() int32 {
  285. if x != nil {
  286. return x.Height
  287. }
  288. return 0
  289. }
  290. type CreateChildResponse struct {
  291. state protoimpl.MessageState
  292. sizeCache protoimpl.SizeCache
  293. unknownFields protoimpl.UnknownFields
  294. Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
  295. }
  296. func (x *CreateChildResponse) Reset() {
  297. *x = CreateChildResponse{}
  298. if protoimpl.UnsafeEnabled {
  299. mi := &file_user_v2_child_proto_msgTypes[3]
  300. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  301. ms.StoreMessageInfo(mi)
  302. }
  303. }
  304. func (x *CreateChildResponse) String() string {
  305. return protoimpl.X.MessageStringOf(x)
  306. }
  307. func (*CreateChildResponse) ProtoMessage() {}
  308. func (x *CreateChildResponse) ProtoReflect() protoreflect.Message {
  309. mi := &file_user_v2_child_proto_msgTypes[3]
  310. if protoimpl.UnsafeEnabled && x != nil {
  311. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  312. if ms.LoadMessageInfo() == nil {
  313. ms.StoreMessageInfo(mi)
  314. }
  315. return ms
  316. }
  317. return mi.MessageOf(x)
  318. }
  319. // Deprecated: Use CreateChildResponse.ProtoReflect.Descriptor instead.
  320. func (*CreateChildResponse) Descriptor() ([]byte, []int) {
  321. return file_user_v2_child_proto_rawDescGZIP(), []int{3}
  322. }
  323. func (x *CreateChildResponse) GetCid() string {
  324. if x != nil {
  325. return x.Cid
  326. }
  327. return ""
  328. }
  329. type UpdateChildRequest struct {
  330. state protoimpl.MessageState
  331. sizeCache protoimpl.SizeCache
  332. unknownFields protoimpl.UnknownFields
  333. // 小孩姓名
  334. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  335. // 小孩电话
  336. PhoneNumber string `protobuf:"bytes,2,opt,name=phoneNumber,proto3" json:"phoneNumber,omitempty"`
  337. // 小孩电话区号
  338. AreaCode string `protobuf:"bytes,3,opt,name=areaCode,proto3" json:"areaCode,omitempty"`
  339. // 小孩头像
  340. Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"`
  341. // 小孩生日
  342. Birthday string `protobuf:"bytes,5,opt,name=birthday,proto3" json:"birthday,omitempty"`
  343. // 小孩对自己的称谓
  344. Appellation string `protobuf:"bytes,6,opt,name=appellation,proto3" json:"appellation,omitempty"`
  345. // 小孩性别
  346. Gender Gender `protobuf:"varint,7,opt,name=gender,proto3,enum=api.user.v2.Gender" json:"gender,omitempty"`
  347. // 小孩体重
  348. Weight int32 `protobuf:"varint,8,opt,name=weight,proto3" json:"weight,omitempty"`
  349. // 小孩身高
  350. Height int32 `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"`
  351. // 小孩ID
  352. Cid string `protobuf:"bytes,10,opt,name=cid,proto3" json:"cid,omitempty"`
  353. }
  354. func (x *UpdateChildRequest) Reset() {
  355. *x = UpdateChildRequest{}
  356. if protoimpl.UnsafeEnabled {
  357. mi := &file_user_v2_child_proto_msgTypes[4]
  358. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  359. ms.StoreMessageInfo(mi)
  360. }
  361. }
  362. func (x *UpdateChildRequest) String() string {
  363. return protoimpl.X.MessageStringOf(x)
  364. }
  365. func (*UpdateChildRequest) ProtoMessage() {}
  366. func (x *UpdateChildRequest) ProtoReflect() protoreflect.Message {
  367. mi := &file_user_v2_child_proto_msgTypes[4]
  368. if protoimpl.UnsafeEnabled && x != nil {
  369. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  370. if ms.LoadMessageInfo() == nil {
  371. ms.StoreMessageInfo(mi)
  372. }
  373. return ms
  374. }
  375. return mi.MessageOf(x)
  376. }
  377. // Deprecated: Use UpdateChildRequest.ProtoReflect.Descriptor instead.
  378. func (*UpdateChildRequest) Descriptor() ([]byte, []int) {
  379. return file_user_v2_child_proto_rawDescGZIP(), []int{4}
  380. }
  381. func (x *UpdateChildRequest) GetName() string {
  382. if x != nil {
  383. return x.Name
  384. }
  385. return ""
  386. }
  387. func (x *UpdateChildRequest) GetPhoneNumber() string {
  388. if x != nil {
  389. return x.PhoneNumber
  390. }
  391. return ""
  392. }
  393. func (x *UpdateChildRequest) GetAreaCode() string {
  394. if x != nil {
  395. return x.AreaCode
  396. }
  397. return ""
  398. }
  399. func (x *UpdateChildRequest) GetAvatar() string {
  400. if x != nil {
  401. return x.Avatar
  402. }
  403. return ""
  404. }
  405. func (x *UpdateChildRequest) GetBirthday() string {
  406. if x != nil {
  407. return x.Birthday
  408. }
  409. return ""
  410. }
  411. func (x *UpdateChildRequest) GetAppellation() string {
  412. if x != nil {
  413. return x.Appellation
  414. }
  415. return ""
  416. }
  417. func (x *UpdateChildRequest) GetGender() Gender {
  418. if x != nil {
  419. return x.Gender
  420. }
  421. return Gender_UNKNOWN
  422. }
  423. func (x *UpdateChildRequest) GetWeight() int32 {
  424. if x != nil {
  425. return x.Weight
  426. }
  427. return 0
  428. }
  429. func (x *UpdateChildRequest) GetHeight() int32 {
  430. if x != nil {
  431. return x.Height
  432. }
  433. return 0
  434. }
  435. func (x *UpdateChildRequest) GetCid() string {
  436. if x != nil {
  437. return x.Cid
  438. }
  439. return ""
  440. }
  441. type UpdateChildResponse struct {
  442. state protoimpl.MessageState
  443. sizeCache protoimpl.SizeCache
  444. unknownFields protoimpl.UnknownFields
  445. }
  446. func (x *UpdateChildResponse) Reset() {
  447. *x = UpdateChildResponse{}
  448. if protoimpl.UnsafeEnabled {
  449. mi := &file_user_v2_child_proto_msgTypes[5]
  450. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  451. ms.StoreMessageInfo(mi)
  452. }
  453. }
  454. func (x *UpdateChildResponse) String() string {
  455. return protoimpl.X.MessageStringOf(x)
  456. }
  457. func (*UpdateChildResponse) ProtoMessage() {}
  458. func (x *UpdateChildResponse) ProtoReflect() protoreflect.Message {
  459. mi := &file_user_v2_child_proto_msgTypes[5]
  460. if protoimpl.UnsafeEnabled && x != nil {
  461. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  462. if ms.LoadMessageInfo() == nil {
  463. ms.StoreMessageInfo(mi)
  464. }
  465. return ms
  466. }
  467. return mi.MessageOf(x)
  468. }
  469. // Deprecated: Use UpdateChildResponse.ProtoReflect.Descriptor instead.
  470. func (*UpdateChildResponse) Descriptor() ([]byte, []int) {
  471. return file_user_v2_child_proto_rawDescGZIP(), []int{5}
  472. }
  473. type DeleteChildRequest struct {
  474. state protoimpl.MessageState
  475. sizeCache protoimpl.SizeCache
  476. unknownFields protoimpl.UnknownFields
  477. Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
  478. }
  479. func (x *DeleteChildRequest) Reset() {
  480. *x = DeleteChildRequest{}
  481. if protoimpl.UnsafeEnabled {
  482. mi := &file_user_v2_child_proto_msgTypes[6]
  483. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  484. ms.StoreMessageInfo(mi)
  485. }
  486. }
  487. func (x *DeleteChildRequest) String() string {
  488. return protoimpl.X.MessageStringOf(x)
  489. }
  490. func (*DeleteChildRequest) ProtoMessage() {}
  491. func (x *DeleteChildRequest) ProtoReflect() protoreflect.Message {
  492. mi := &file_user_v2_child_proto_msgTypes[6]
  493. if protoimpl.UnsafeEnabled && x != nil {
  494. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  495. if ms.LoadMessageInfo() == nil {
  496. ms.StoreMessageInfo(mi)
  497. }
  498. return ms
  499. }
  500. return mi.MessageOf(x)
  501. }
  502. // Deprecated: Use DeleteChildRequest.ProtoReflect.Descriptor instead.
  503. func (*DeleteChildRequest) Descriptor() ([]byte, []int) {
  504. return file_user_v2_child_proto_rawDescGZIP(), []int{6}
  505. }
  506. func (x *DeleteChildRequest) GetCid() string {
  507. if x != nil {
  508. return x.Cid
  509. }
  510. return ""
  511. }
  512. type DeleteChildResponse struct {
  513. state protoimpl.MessageState
  514. sizeCache protoimpl.SizeCache
  515. unknownFields protoimpl.UnknownFields
  516. }
  517. func (x *DeleteChildResponse) Reset() {
  518. *x = DeleteChildResponse{}
  519. if protoimpl.UnsafeEnabled {
  520. mi := &file_user_v2_child_proto_msgTypes[7]
  521. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  522. ms.StoreMessageInfo(mi)
  523. }
  524. }
  525. func (x *DeleteChildResponse) String() string {
  526. return protoimpl.X.MessageStringOf(x)
  527. }
  528. func (*DeleteChildResponse) ProtoMessage() {}
  529. func (x *DeleteChildResponse) ProtoReflect() protoreflect.Message {
  530. mi := &file_user_v2_child_proto_msgTypes[7]
  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 DeleteChildResponse.ProtoReflect.Descriptor instead.
  541. func (*DeleteChildResponse) Descriptor() ([]byte, []int) {
  542. return file_user_v2_child_proto_rawDescGZIP(), []int{7}
  543. }
  544. type GetChildResponse_Child struct {
  545. state protoimpl.MessageState
  546. sizeCache protoimpl.SizeCache
  547. unknownFields protoimpl.UnknownFields
  548. // 小孩ID
  549. Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
  550. StepCount int32 `protobuf:"varint,2,opt,name=stepCount,proto3" json:"stepCount,omitempty"`
  551. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  552. Avatar *string `protobuf:"bytes,4,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
  553. // 绑定的设备
  554. Device *GetChildResponse_Device `protobuf:"bytes,5,opt,name=device,proto3" json:"device,omitempty"`
  555. // 最后一次位置
  556. LastLocation *GetChildResponse_Location `protobuf:"bytes,6,opt,name=lastLocation,proto3" json:"lastLocation,omitempty"`
  557. }
  558. func (x *GetChildResponse_Child) Reset() {
  559. *x = GetChildResponse_Child{}
  560. if protoimpl.UnsafeEnabled {
  561. mi := &file_user_v2_child_proto_msgTypes[8]
  562. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  563. ms.StoreMessageInfo(mi)
  564. }
  565. }
  566. func (x *GetChildResponse_Child) String() string {
  567. return protoimpl.X.MessageStringOf(x)
  568. }
  569. func (*GetChildResponse_Child) ProtoMessage() {}
  570. func (x *GetChildResponse_Child) ProtoReflect() protoreflect.Message {
  571. mi := &file_user_v2_child_proto_msgTypes[8]
  572. if protoimpl.UnsafeEnabled && x != nil {
  573. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  574. if ms.LoadMessageInfo() == nil {
  575. ms.StoreMessageInfo(mi)
  576. }
  577. return ms
  578. }
  579. return mi.MessageOf(x)
  580. }
  581. // Deprecated: Use GetChildResponse_Child.ProtoReflect.Descriptor instead.
  582. func (*GetChildResponse_Child) Descriptor() ([]byte, []int) {
  583. return file_user_v2_child_proto_rawDescGZIP(), []int{1, 0}
  584. }
  585. func (x *GetChildResponse_Child) GetCid() string {
  586. if x != nil {
  587. return x.Cid
  588. }
  589. return ""
  590. }
  591. func (x *GetChildResponse_Child) GetStepCount() int32 {
  592. if x != nil {
  593. return x.StepCount
  594. }
  595. return 0
  596. }
  597. func (x *GetChildResponse_Child) GetName() string {
  598. if x != nil {
  599. return x.Name
  600. }
  601. return ""
  602. }
  603. func (x *GetChildResponse_Child) GetAvatar() string {
  604. if x != nil && x.Avatar != nil {
  605. return *x.Avatar
  606. }
  607. return ""
  608. }
  609. func (x *GetChildResponse_Child) GetDevice() *GetChildResponse_Device {
  610. if x != nil {
  611. return x.Device
  612. }
  613. return nil
  614. }
  615. func (x *GetChildResponse_Child) GetLastLocation() *GetChildResponse_Location {
  616. if x != nil {
  617. return x.LastLocation
  618. }
  619. return nil
  620. }
  621. type GetChildResponse_Device struct {
  622. state protoimpl.MessageState
  623. sizeCache protoimpl.SizeCache
  624. unknownFields protoimpl.UnknownFields
  625. Did int64 `protobuf:"varint,1,opt,name=did,proto3" json:"did,omitempty"` // 设备ID
  626. Battery int32 `protobuf:"varint,2,opt,name=battery,proto3" json:"battery,omitempty"` // 电池电量
  627. Signal int32 `protobuf:"varint,3,opt,name=signal,proto3" json:"signal,omitempty"` // 当前信号值
  628. SignalMax int32 `protobuf:"varint,4,opt,name=signalMax,proto3" json:"signalMax,omitempty"` // 最大信号值
  629. Ticket string `protobuf:"bytes,5,opt,name=ticket,proto3" json:"ticket,omitempty"`
  630. }
  631. func (x *GetChildResponse_Device) Reset() {
  632. *x = GetChildResponse_Device{}
  633. if protoimpl.UnsafeEnabled {
  634. mi := &file_user_v2_child_proto_msgTypes[9]
  635. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  636. ms.StoreMessageInfo(mi)
  637. }
  638. }
  639. func (x *GetChildResponse_Device) String() string {
  640. return protoimpl.X.MessageStringOf(x)
  641. }
  642. func (*GetChildResponse_Device) ProtoMessage() {}
  643. func (x *GetChildResponse_Device) ProtoReflect() protoreflect.Message {
  644. mi := &file_user_v2_child_proto_msgTypes[9]
  645. if protoimpl.UnsafeEnabled && x != nil {
  646. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  647. if ms.LoadMessageInfo() == nil {
  648. ms.StoreMessageInfo(mi)
  649. }
  650. return ms
  651. }
  652. return mi.MessageOf(x)
  653. }
  654. // Deprecated: Use GetChildResponse_Device.ProtoReflect.Descriptor instead.
  655. func (*GetChildResponse_Device) Descriptor() ([]byte, []int) {
  656. return file_user_v2_child_proto_rawDescGZIP(), []int{1, 1}
  657. }
  658. func (x *GetChildResponse_Device) GetDid() int64 {
  659. if x != nil {
  660. return x.Did
  661. }
  662. return 0
  663. }
  664. func (x *GetChildResponse_Device) GetBattery() int32 {
  665. if x != nil {
  666. return x.Battery
  667. }
  668. return 0
  669. }
  670. func (x *GetChildResponse_Device) GetSignal() int32 {
  671. if x != nil {
  672. return x.Signal
  673. }
  674. return 0
  675. }
  676. func (x *GetChildResponse_Device) GetSignalMax() int32 {
  677. if x != nil {
  678. return x.SignalMax
  679. }
  680. return 0
  681. }
  682. func (x *GetChildResponse_Device) GetTicket() string {
  683. if x != nil {
  684. return x.Ticket
  685. }
  686. return ""
  687. }
  688. type GetChildResponse_Location struct {
  689. state protoimpl.MessageState
  690. sizeCache protoimpl.SizeCache
  691. unknownFields protoimpl.UnknownFields
  692. Latitude string `protobuf:"bytes,1,opt,name=latitude,proto3" json:"latitude,omitempty"`
  693. Longitude string `protobuf:"bytes,2,opt,name=longitude,proto3" json:"longitude,omitempty"`
  694. PositionTime int64 `protobuf:"varint,3,opt,name=positionTime,proto3" json:"positionTime,omitempty"`
  695. Radius int32 `protobuf:"varint,4,opt,name=radius,proto3" json:"radius,omitempty"`
  696. PointType GetChildResponse_Location_PointType `protobuf:"varint,5,opt,name=pointType,proto3,enum=api.user.v2.GetChildResponse_Location_PointType" json:"pointType,omitempty"`
  697. }
  698. func (x *GetChildResponse_Location) Reset() {
  699. *x = GetChildResponse_Location{}
  700. if protoimpl.UnsafeEnabled {
  701. mi := &file_user_v2_child_proto_msgTypes[10]
  702. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  703. ms.StoreMessageInfo(mi)
  704. }
  705. }
  706. func (x *GetChildResponse_Location) String() string {
  707. return protoimpl.X.MessageStringOf(x)
  708. }
  709. func (*GetChildResponse_Location) ProtoMessage() {}
  710. func (x *GetChildResponse_Location) ProtoReflect() protoreflect.Message {
  711. mi := &file_user_v2_child_proto_msgTypes[10]
  712. if protoimpl.UnsafeEnabled && x != nil {
  713. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  714. if ms.LoadMessageInfo() == nil {
  715. ms.StoreMessageInfo(mi)
  716. }
  717. return ms
  718. }
  719. return mi.MessageOf(x)
  720. }
  721. // Deprecated: Use GetChildResponse_Location.ProtoReflect.Descriptor instead.
  722. func (*GetChildResponse_Location) Descriptor() ([]byte, []int) {
  723. return file_user_v2_child_proto_rawDescGZIP(), []int{1, 2}
  724. }
  725. func (x *GetChildResponse_Location) GetLatitude() string {
  726. if x != nil {
  727. return x.Latitude
  728. }
  729. return ""
  730. }
  731. func (x *GetChildResponse_Location) GetLongitude() string {
  732. if x != nil {
  733. return x.Longitude
  734. }
  735. return ""
  736. }
  737. func (x *GetChildResponse_Location) GetPositionTime() int64 {
  738. if x != nil {
  739. return x.PositionTime
  740. }
  741. return 0
  742. }
  743. func (x *GetChildResponse_Location) GetRadius() int32 {
  744. if x != nil {
  745. return x.Radius
  746. }
  747. return 0
  748. }
  749. func (x *GetChildResponse_Location) GetPointType() GetChildResponse_Location_PointType {
  750. if x != nil {
  751. return x.PointType
  752. }
  753. return GetChildResponse_Location_UNKNOWN
  754. }
  755. var File_user_v2_child_proto protoreflect.FileDescriptor
  756. var file_user_v2_child_proto_rawDesc = []byte{
  757. 0x0a, 0x13, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x2e,
  758. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e,
  759. 0x76, 0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61,
  760. 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  761. 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64,
  762. 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x11, 0x0a, 0x0f, 0x47, 0x65, 0x74,
  763. 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xec, 0x05, 0x0a,
  764. 0x10, 0x47, 0x65, 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  765. 0x65, 0x12, 0x41, 0x0a, 0x09, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01,
  766. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e,
  767. 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f,
  768. 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x09, 0x63, 0x68, 0x69, 0x6c, 0x64,
  769. 0x4c, 0x69, 0x73, 0x74, 0x1a, 0xfd, 0x01, 0x0a, 0x05, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x12, 0x10,
  770. 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64,
  771. 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x65, 0x70, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20,
  772. 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x74, 0x65, 0x70, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12,
  773. 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  774. 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x04, 0x20, 0x01,
  775. 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x88, 0x01, 0x01, 0x12,
  776. 0x3c, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
  777. 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65,
  778. 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44,
  779. 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a,
  780. 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20,
  781. 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76,
  782. 0x32, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  783. 0x73, 0x65, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x6c, 0x61, 0x73,
  784. 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x61, 0x76,
  785. 0x61, 0x74, 0x61, 0x72, 0x1a, 0x82, 0x01, 0x0a, 0x06, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12,
  786. 0x10, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x64, 0x69,
  787. 0x64, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x74, 0x74, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01,
  788. 0x28, 0x05, 0x52, 0x07, 0x62, 0x61, 0x74, 0x74, 0x65, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x73,
  789. 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x69, 0x67,
  790. 0x6e, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x4d, 0x61, 0x78,
  791. 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x4d, 0x61,
  792. 0x78, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
  793. 0x09, 0x52, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x1a, 0x8f, 0x02, 0x0a, 0x08, 0x4c, 0x6f,
  794. 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75,
  795. 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75,
  796. 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18,
  797. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65,
  798. 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65,
  799. 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  800. 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x18, 0x04,
  801. 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x12, 0x4e, 0x0a, 0x09,
  802. 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32,
  803. 0x30, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65,
  804. 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4c,
  805. 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70,
  806. 0x65, 0x52, 0x09, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3d, 0x0a, 0x09,
  807. 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b,
  808. 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x50, 0x53, 0x10, 0x01, 0x12,
  809. 0x08, 0x0a, 0x04, 0x57, 0x49, 0x46, 0x49, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x45, 0x4c,
  810. 0x4c, 0x10, 0x03, 0x12, 0x06, 0x0a, 0x02, 0x49, 0x50, 0x10, 0x04, 0x22, 0x8e, 0x03, 0x0a, 0x12,
  811. 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65,
  812. 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  813. 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
  814. 0x36, 0x0a, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02,
  815. 0x20, 0x01, 0x28, 0x09, 0x42, 0x14, 0xfa, 0x42, 0x11, 0x72, 0x0f, 0x32, 0x0d, 0x5e, 0x31, 0x5b,
  816. 0x33, 0x2d, 0x39, 0x5d, 0x5c, 0x64, 0x7b, 0x39, 0x7d, 0x24, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e,
  817. 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x08, 0x61, 0x72, 0x65, 0x61, 0x43,
  818. 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02,
  819. 0x10, 0x01, 0x52, 0x08, 0x61, 0x72, 0x65, 0x61, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x06,
  820. 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06,
  821. 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x08, 0x62, 0x69, 0x72,
  822. 0x74, 0x68, 0x64, 0x61, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x08, 0x62,
  823. 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x88, 0x01, 0x01, 0x12, 0x29, 0x0a, 0x0b, 0x61, 0x70,
  824. 0x70, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42,
  825. 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x61, 0x70, 0x70, 0x65, 0x6c, 0x6c,
  826. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18,
  827. 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72,
  828. 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82,
  829. 0x01, 0x02, 0x10, 0x01, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x06,
  830. 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x42, 0x0a, 0xfa, 0x42,
  831. 0x07, 0x1a, 0x05, 0x18, 0xc8, 0x01, 0x28, 0x64, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74,
  832. 0x12, 0x22, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05,
  833. 0x42, 0x0a, 0xfa, 0x42, 0x07, 0x1a, 0x05, 0x18, 0xc8, 0x01, 0x28, 0x64, 0x52, 0x06, 0x68, 0x65,
  834. 0x69, 0x67, 0x68, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x42,
  835. 0x0b, 0x0a, 0x09, 0x5f, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x22, 0x27, 0x0a, 0x13,
  836. 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f,
  837. 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  838. 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0xfe, 0x02, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
  839. 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x04,
  840. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72,
  841. 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x0b, 0x70, 0x68, 0x6f,
  842. 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x14,
  843. 0xfa, 0x42, 0x11, 0x72, 0x0f, 0x32, 0x0d, 0x5e, 0x31, 0x5b, 0x33, 0x2d, 0x39, 0x5d, 0x5c, 0x64,
  844. 0x7b, 0x39, 0x7d, 0x24, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65,
  845. 0x72, 0x12, 0x23, 0x0a, 0x08, 0x61, 0x72, 0x65, 0x61, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20,
  846. 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x61, 0x72,
  847. 0x65, 0x61, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72,
  848. 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x1a,
  849. 0x0a, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
  850. 0x52, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x12, 0x29, 0x0a, 0x0b, 0x61, 0x70,
  851. 0x70, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42,
  852. 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x61, 0x70, 0x70, 0x65, 0x6c, 0x6c,
  853. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18,
  854. 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72,
  855. 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82,
  856. 0x01, 0x02, 0x10, 0x01, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x06,
  857. 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x42, 0x0a, 0xfa, 0x42,
  858. 0x07, 0x1a, 0x05, 0x18, 0xc8, 0x01, 0x28, 0x64, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74,
  859. 0x12, 0x22, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05,
  860. 0x42, 0x0a, 0xfa, 0x42, 0x07, 0x1a, 0x05, 0x18, 0xc8, 0x01, 0x28, 0x64, 0x52, 0x06, 0x68, 0x65,
  861. 0x69, 0x67, 0x68, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28,
  862. 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
  863. 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x0a,
  864. 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75,
  865. 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  866. 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0x15,
  867. 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73,
  868. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0x29, 0x0a, 0x06, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12,
  869. 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03,
  870. 0x4d, 0x41, 0x4e, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x57, 0x4f, 0x4d, 0x41, 0x4e, 0x10, 0x03,
  871. 0x32, 0xf9, 0x03, 0x0a, 0x05, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x12, 0x70, 0x0a, 0x08, 0x47, 0x65,
  872. 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x12, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65,
  873. 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71,
  874. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e,
  875. 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f,
  876. 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x61, 0x70,
  877. 0x69, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74, 0x78, 0x2f, 0x75, 0x73,
  878. 0x65, 0x72, 0x2f, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x2f, 0x67, 0x65, 0x74, 0x12, 0x7f, 0x0a, 0x0b,
  879. 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x12, 0x1f, 0x2e, 0x61, 0x70,
  880. 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
  881. 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x61,
  882. 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
  883. 0x65, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d,
  884. 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x3a, 0x01, 0x2a, 0x22, 0x22, 0x2f, 0x61, 0x70, 0x69, 0x73,
  885. 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74, 0x78, 0x2f, 0x75, 0x73, 0x65, 0x72,
  886. 0x2f, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x7f, 0x0a,
  887. 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x12, 0x1f, 0x2e, 0x61,
  888. 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
  889. 0x65, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e,
  890. 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61,
  891. 0x74, 0x65, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  892. 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x3a, 0x01, 0x2a, 0x22, 0x22, 0x2f, 0x61, 0x70, 0x69,
  893. 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74, 0x78, 0x2f, 0x75, 0x73, 0x65,
  894. 0x72, 0x2f, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x7c,
  895. 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x12, 0x1f, 0x2e,
  896. 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65,
  897. 0x74, 0x65, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20,
  898. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c,
  899. 0x65, 0x74, 0x65, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  900. 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f,
  901. 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74, 0x78, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f,
  902. 0x63, 0x68, 0x69, 0x6c, 0x64, 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x30, 0x0a, 0x0b,
  903. 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x50, 0x01, 0x5a, 0x1f, 0x73,
  904. 0x69, 0x6b, 0x65, 0x79, 0x2f, 0x77, 0x33, 0x30, 0x33, 0x61, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x2f,
  905. 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x3b, 0x76, 0x32, 0x62, 0x06,
  906. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  907. }
  908. var (
  909. file_user_v2_child_proto_rawDescOnce sync.Once
  910. file_user_v2_child_proto_rawDescData = file_user_v2_child_proto_rawDesc
  911. )
  912. func file_user_v2_child_proto_rawDescGZIP() []byte {
  913. file_user_v2_child_proto_rawDescOnce.Do(func() {
  914. file_user_v2_child_proto_rawDescData = protoimpl.X.CompressGZIP(file_user_v2_child_proto_rawDescData)
  915. })
  916. return file_user_v2_child_proto_rawDescData
  917. }
  918. var file_user_v2_child_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  919. var file_user_v2_child_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
  920. var file_user_v2_child_proto_goTypes = []any{
  921. (Gender)(0), // 0: api.user.v2.Gender
  922. (GetChildResponse_Location_PointType)(0), // 1: api.user.v2.GetChildResponse.Location.PointType
  923. (*GetChildRequest)(nil), // 2: api.user.v2.GetChildRequest
  924. (*GetChildResponse)(nil), // 3: api.user.v2.GetChildResponse
  925. (*CreateChildRequest)(nil), // 4: api.user.v2.CreateChildRequest
  926. (*CreateChildResponse)(nil), // 5: api.user.v2.CreateChildResponse
  927. (*UpdateChildRequest)(nil), // 6: api.user.v2.UpdateChildRequest
  928. (*UpdateChildResponse)(nil), // 7: api.user.v2.UpdateChildResponse
  929. (*DeleteChildRequest)(nil), // 8: api.user.v2.DeleteChildRequest
  930. (*DeleteChildResponse)(nil), // 9: api.user.v2.DeleteChildResponse
  931. (*GetChildResponse_Child)(nil), // 10: api.user.v2.GetChildResponse.Child
  932. (*GetChildResponse_Device)(nil), // 11: api.user.v2.GetChildResponse.Device
  933. (*GetChildResponse_Location)(nil), // 12: api.user.v2.GetChildResponse.Location
  934. }
  935. var file_user_v2_child_proto_depIdxs = []int32{
  936. 10, // 0: api.user.v2.GetChildResponse.childList:type_name -> api.user.v2.GetChildResponse.Child
  937. 0, // 1: api.user.v2.CreateChildRequest.gender:type_name -> api.user.v2.Gender
  938. 0, // 2: api.user.v2.UpdateChildRequest.gender:type_name -> api.user.v2.Gender
  939. 11, // 3: api.user.v2.GetChildResponse.Child.device:type_name -> api.user.v2.GetChildResponse.Device
  940. 12, // 4: api.user.v2.GetChildResponse.Child.lastLocation:type_name -> api.user.v2.GetChildResponse.Location
  941. 1, // 5: api.user.v2.GetChildResponse.Location.pointType:type_name -> api.user.v2.GetChildResponse.Location.PointType
  942. 2, // 6: api.user.v2.Child.GetChild:input_type -> api.user.v2.GetChildRequest
  943. 4, // 7: api.user.v2.Child.CreateChild:input_type -> api.user.v2.CreateChildRequest
  944. 6, // 8: api.user.v2.Child.UpdateChild:input_type -> api.user.v2.UpdateChildRequest
  945. 8, // 9: api.user.v2.Child.DeleteChild:input_type -> api.user.v2.DeleteChildRequest
  946. 3, // 10: api.user.v2.Child.GetChild:output_type -> api.user.v2.GetChildResponse
  947. 5, // 11: api.user.v2.Child.CreateChild:output_type -> api.user.v2.CreateChildResponse
  948. 7, // 12: api.user.v2.Child.UpdateChild:output_type -> api.user.v2.UpdateChildResponse
  949. 9, // 13: api.user.v2.Child.DeleteChild:output_type -> api.user.v2.DeleteChildResponse
  950. 10, // [10:14] is the sub-list for method output_type
  951. 6, // [6:10] is the sub-list for method input_type
  952. 6, // [6:6] is the sub-list for extension type_name
  953. 6, // [6:6] is the sub-list for extension extendee
  954. 0, // [0:6] is the sub-list for field type_name
  955. }
  956. func init() { file_user_v2_child_proto_init() }
  957. func file_user_v2_child_proto_init() {
  958. if File_user_v2_child_proto != nil {
  959. return
  960. }
  961. if !protoimpl.UnsafeEnabled {
  962. file_user_v2_child_proto_msgTypes[0].Exporter = func(v any, i int) any {
  963. switch v := v.(*GetChildRequest); i {
  964. case 0:
  965. return &v.state
  966. case 1:
  967. return &v.sizeCache
  968. case 2:
  969. return &v.unknownFields
  970. default:
  971. return nil
  972. }
  973. }
  974. file_user_v2_child_proto_msgTypes[1].Exporter = func(v any, i int) any {
  975. switch v := v.(*GetChildResponse); i {
  976. case 0:
  977. return &v.state
  978. case 1:
  979. return &v.sizeCache
  980. case 2:
  981. return &v.unknownFields
  982. default:
  983. return nil
  984. }
  985. }
  986. file_user_v2_child_proto_msgTypes[2].Exporter = func(v any, i int) any {
  987. switch v := v.(*CreateChildRequest); i {
  988. case 0:
  989. return &v.state
  990. case 1:
  991. return &v.sizeCache
  992. case 2:
  993. return &v.unknownFields
  994. default:
  995. return nil
  996. }
  997. }
  998. file_user_v2_child_proto_msgTypes[3].Exporter = func(v any, i int) any {
  999. switch v := v.(*CreateChildResponse); i {
  1000. case 0:
  1001. return &v.state
  1002. case 1:
  1003. return &v.sizeCache
  1004. case 2:
  1005. return &v.unknownFields
  1006. default:
  1007. return nil
  1008. }
  1009. }
  1010. file_user_v2_child_proto_msgTypes[4].Exporter = func(v any, i int) any {
  1011. switch v := v.(*UpdateChildRequest); i {
  1012. case 0:
  1013. return &v.state
  1014. case 1:
  1015. return &v.sizeCache
  1016. case 2:
  1017. return &v.unknownFields
  1018. default:
  1019. return nil
  1020. }
  1021. }
  1022. file_user_v2_child_proto_msgTypes[5].Exporter = func(v any, i int) any {
  1023. switch v := v.(*UpdateChildResponse); i {
  1024. case 0:
  1025. return &v.state
  1026. case 1:
  1027. return &v.sizeCache
  1028. case 2:
  1029. return &v.unknownFields
  1030. default:
  1031. return nil
  1032. }
  1033. }
  1034. file_user_v2_child_proto_msgTypes[6].Exporter = func(v any, i int) any {
  1035. switch v := v.(*DeleteChildRequest); i {
  1036. case 0:
  1037. return &v.state
  1038. case 1:
  1039. return &v.sizeCache
  1040. case 2:
  1041. return &v.unknownFields
  1042. default:
  1043. return nil
  1044. }
  1045. }
  1046. file_user_v2_child_proto_msgTypes[7].Exporter = func(v any, i int) any {
  1047. switch v := v.(*DeleteChildResponse); i {
  1048. case 0:
  1049. return &v.state
  1050. case 1:
  1051. return &v.sizeCache
  1052. case 2:
  1053. return &v.unknownFields
  1054. default:
  1055. return nil
  1056. }
  1057. }
  1058. file_user_v2_child_proto_msgTypes[8].Exporter = func(v any, i int) any {
  1059. switch v := v.(*GetChildResponse_Child); i {
  1060. case 0:
  1061. return &v.state
  1062. case 1:
  1063. return &v.sizeCache
  1064. case 2:
  1065. return &v.unknownFields
  1066. default:
  1067. return nil
  1068. }
  1069. }
  1070. file_user_v2_child_proto_msgTypes[9].Exporter = func(v any, i int) any {
  1071. switch v := v.(*GetChildResponse_Device); i {
  1072. case 0:
  1073. return &v.state
  1074. case 1:
  1075. return &v.sizeCache
  1076. case 2:
  1077. return &v.unknownFields
  1078. default:
  1079. return nil
  1080. }
  1081. }
  1082. file_user_v2_child_proto_msgTypes[10].Exporter = func(v any, i int) any {
  1083. switch v := v.(*GetChildResponse_Location); i {
  1084. case 0:
  1085. return &v.state
  1086. case 1:
  1087. return &v.sizeCache
  1088. case 2:
  1089. return &v.unknownFields
  1090. default:
  1091. return nil
  1092. }
  1093. }
  1094. }
  1095. file_user_v2_child_proto_msgTypes[2].OneofWrappers = []any{}
  1096. file_user_v2_child_proto_msgTypes[8].OneofWrappers = []any{}
  1097. type x struct{}
  1098. out := protoimpl.TypeBuilder{
  1099. File: protoimpl.DescBuilder{
  1100. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1101. RawDescriptor: file_user_v2_child_proto_rawDesc,
  1102. NumEnums: 2,
  1103. NumMessages: 11,
  1104. NumExtensions: 0,
  1105. NumServices: 1,
  1106. },
  1107. GoTypes: file_user_v2_child_proto_goTypes,
  1108. DependencyIndexes: file_user_v2_child_proto_depIdxs,
  1109. EnumInfos: file_user_v2_child_proto_enumTypes,
  1110. MessageInfos: file_user_v2_child_proto_msgTypes,
  1111. }.Build()
  1112. File_user_v2_child_proto = out.File
  1113. file_user_v2_child_proto_rawDesc = nil
  1114. file_user_v2_child_proto_goTypes = nil
  1115. file_user_v2_child_proto_depIdxs = nil
  1116. }