alarm_clock.pb.go 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125
  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/alarm_clock.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. // 手表获取闹钟 Request
  22. type GetWristwatchAlarmClockRequest struct {
  23. state protoimpl.MessageState
  24. sizeCache protoimpl.SizeCache
  25. unknownFields protoimpl.UnknownFields
  26. Ticket string `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"`
  27. }
  28. func (x *GetWristwatchAlarmClockRequest) Reset() {
  29. *x = GetWristwatchAlarmClockRequest{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_user_v2_alarm_clock_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *GetWristwatchAlarmClockRequest) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*GetWristwatchAlarmClockRequest) ProtoMessage() {}
  40. func (x *GetWristwatchAlarmClockRequest) ProtoReflect() protoreflect.Message {
  41. mi := &file_user_v2_alarm_clock_proto_msgTypes[0]
  42. if protoimpl.UnsafeEnabled && x != nil {
  43. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  44. if ms.LoadMessageInfo() == nil {
  45. ms.StoreMessageInfo(mi)
  46. }
  47. return ms
  48. }
  49. return mi.MessageOf(x)
  50. }
  51. // Deprecated: Use GetWristwatchAlarmClockRequest.ProtoReflect.Descriptor instead.
  52. func (*GetWristwatchAlarmClockRequest) Descriptor() ([]byte, []int) {
  53. return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *GetWristwatchAlarmClockRequest) GetTicket() string {
  56. if x != nil {
  57. return x.Ticket
  58. }
  59. return ""
  60. }
  61. // 手表获取闹钟 Response
  62. type GetWristwatchAlarmClockResponse struct {
  63. state protoimpl.MessageState
  64. sizeCache protoimpl.SizeCache
  65. unknownFields protoimpl.UnknownFields
  66. AlarmClocks []*GetWristwatchAlarmClockResponse_AlarmClock `protobuf:"bytes,1,rep,name=alarmClocks,proto3" json:"alarmClocks,omitempty"`
  67. }
  68. func (x *GetWristwatchAlarmClockResponse) Reset() {
  69. *x = GetWristwatchAlarmClockResponse{}
  70. if protoimpl.UnsafeEnabled {
  71. mi := &file_user_v2_alarm_clock_proto_msgTypes[1]
  72. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  73. ms.StoreMessageInfo(mi)
  74. }
  75. }
  76. func (x *GetWristwatchAlarmClockResponse) String() string {
  77. return protoimpl.X.MessageStringOf(x)
  78. }
  79. func (*GetWristwatchAlarmClockResponse) ProtoMessage() {}
  80. func (x *GetWristwatchAlarmClockResponse) ProtoReflect() protoreflect.Message {
  81. mi := &file_user_v2_alarm_clock_proto_msgTypes[1]
  82. if protoimpl.UnsafeEnabled && x != nil {
  83. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  84. if ms.LoadMessageInfo() == nil {
  85. ms.StoreMessageInfo(mi)
  86. }
  87. return ms
  88. }
  89. return mi.MessageOf(x)
  90. }
  91. // Deprecated: Use GetWristwatchAlarmClockResponse.ProtoReflect.Descriptor instead.
  92. func (*GetWristwatchAlarmClockResponse) Descriptor() ([]byte, []int) {
  93. return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{1}
  94. }
  95. func (x *GetWristwatchAlarmClockResponse) GetAlarmClocks() []*GetWristwatchAlarmClockResponse_AlarmClock {
  96. if x != nil {
  97. return x.AlarmClocks
  98. }
  99. return nil
  100. }
  101. // 获取闹钟 Request
  102. type GetAlarmClockRequest struct {
  103. state protoimpl.MessageState
  104. sizeCache protoimpl.SizeCache
  105. unknownFields protoimpl.UnknownFields
  106. Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
  107. }
  108. func (x *GetAlarmClockRequest) Reset() {
  109. *x = GetAlarmClockRequest{}
  110. if protoimpl.UnsafeEnabled {
  111. mi := &file_user_v2_alarm_clock_proto_msgTypes[2]
  112. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  113. ms.StoreMessageInfo(mi)
  114. }
  115. }
  116. func (x *GetAlarmClockRequest) String() string {
  117. return protoimpl.X.MessageStringOf(x)
  118. }
  119. func (*GetAlarmClockRequest) ProtoMessage() {}
  120. func (x *GetAlarmClockRequest) ProtoReflect() protoreflect.Message {
  121. mi := &file_user_v2_alarm_clock_proto_msgTypes[2]
  122. if protoimpl.UnsafeEnabled && x != nil {
  123. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  124. if ms.LoadMessageInfo() == nil {
  125. ms.StoreMessageInfo(mi)
  126. }
  127. return ms
  128. }
  129. return mi.MessageOf(x)
  130. }
  131. // Deprecated: Use GetAlarmClockRequest.ProtoReflect.Descriptor instead.
  132. func (*GetAlarmClockRequest) Descriptor() ([]byte, []int) {
  133. return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{2}
  134. }
  135. func (x *GetAlarmClockRequest) GetCid() string {
  136. if x != nil {
  137. return x.Cid
  138. }
  139. return ""
  140. }
  141. // 获取闹钟 Response
  142. type GetAlarmClockResponse struct {
  143. state protoimpl.MessageState
  144. sizeCache protoimpl.SizeCache
  145. unknownFields protoimpl.UnknownFields
  146. AlarmClocks []*GetAlarmClockResponse_AlarmClock `protobuf:"bytes,1,rep,name=alarmClocks,proto3" json:"alarmClocks,omitempty"`
  147. }
  148. func (x *GetAlarmClockResponse) Reset() {
  149. *x = GetAlarmClockResponse{}
  150. if protoimpl.UnsafeEnabled {
  151. mi := &file_user_v2_alarm_clock_proto_msgTypes[3]
  152. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  153. ms.StoreMessageInfo(mi)
  154. }
  155. }
  156. func (x *GetAlarmClockResponse) String() string {
  157. return protoimpl.X.MessageStringOf(x)
  158. }
  159. func (*GetAlarmClockResponse) ProtoMessage() {}
  160. func (x *GetAlarmClockResponse) ProtoReflect() protoreflect.Message {
  161. mi := &file_user_v2_alarm_clock_proto_msgTypes[3]
  162. if protoimpl.UnsafeEnabled && x != nil {
  163. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  164. if ms.LoadMessageInfo() == nil {
  165. ms.StoreMessageInfo(mi)
  166. }
  167. return ms
  168. }
  169. return mi.MessageOf(x)
  170. }
  171. // Deprecated: Use GetAlarmClockResponse.ProtoReflect.Descriptor instead.
  172. func (*GetAlarmClockResponse) Descriptor() ([]byte, []int) {
  173. return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{3}
  174. }
  175. func (x *GetAlarmClockResponse) GetAlarmClocks() []*GetAlarmClockResponse_AlarmClock {
  176. if x != nil {
  177. return x.AlarmClocks
  178. }
  179. return nil
  180. }
  181. // 创建闹钟 Request
  182. type CreateAlarmClockRequest struct {
  183. state protoimpl.MessageState
  184. sizeCache protoimpl.SizeCache
  185. unknownFields protoimpl.UnknownFields
  186. // 小孩ID
  187. Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
  188. // 闹钟标签
  189. Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
  190. // 重复天 eg: 1000000 周一开启 1111100 工作日开启
  191. Repeats string `protobuf:"bytes,3,opt,name=repeats,proto3" json:"repeats,omitempty"`
  192. // Time 闹钟时间 格式: HH:mm
  193. Time string `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
  194. // 仅一次时间戳
  195. OnceTime int64 `protobuf:"varint,5,opt,name=onceTime,proto3" json:"onceTime,omitempty"`
  196. // 是否开启
  197. Status bool `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
  198. }
  199. func (x *CreateAlarmClockRequest) Reset() {
  200. *x = CreateAlarmClockRequest{}
  201. if protoimpl.UnsafeEnabled {
  202. mi := &file_user_v2_alarm_clock_proto_msgTypes[4]
  203. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  204. ms.StoreMessageInfo(mi)
  205. }
  206. }
  207. func (x *CreateAlarmClockRequest) String() string {
  208. return protoimpl.X.MessageStringOf(x)
  209. }
  210. func (*CreateAlarmClockRequest) ProtoMessage() {}
  211. func (x *CreateAlarmClockRequest) ProtoReflect() protoreflect.Message {
  212. mi := &file_user_v2_alarm_clock_proto_msgTypes[4]
  213. if protoimpl.UnsafeEnabled && x != nil {
  214. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  215. if ms.LoadMessageInfo() == nil {
  216. ms.StoreMessageInfo(mi)
  217. }
  218. return ms
  219. }
  220. return mi.MessageOf(x)
  221. }
  222. // Deprecated: Use CreateAlarmClockRequest.ProtoReflect.Descriptor instead.
  223. func (*CreateAlarmClockRequest) Descriptor() ([]byte, []int) {
  224. return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{4}
  225. }
  226. func (x *CreateAlarmClockRequest) GetCid() string {
  227. if x != nil {
  228. return x.Cid
  229. }
  230. return ""
  231. }
  232. func (x *CreateAlarmClockRequest) GetLabel() string {
  233. if x != nil {
  234. return x.Label
  235. }
  236. return ""
  237. }
  238. func (x *CreateAlarmClockRequest) GetRepeats() string {
  239. if x != nil {
  240. return x.Repeats
  241. }
  242. return ""
  243. }
  244. func (x *CreateAlarmClockRequest) GetTime() string {
  245. if x != nil {
  246. return x.Time
  247. }
  248. return ""
  249. }
  250. func (x *CreateAlarmClockRequest) GetOnceTime() int64 {
  251. if x != nil {
  252. return x.OnceTime
  253. }
  254. return 0
  255. }
  256. func (x *CreateAlarmClockRequest) GetStatus() bool {
  257. if x != nil {
  258. return x.Status
  259. }
  260. return false
  261. }
  262. // 创建闹钟 Response
  263. type CreateAlarmClockResponse struct {
  264. state protoimpl.MessageState
  265. sizeCache protoimpl.SizeCache
  266. unknownFields protoimpl.UnknownFields
  267. }
  268. func (x *CreateAlarmClockResponse) Reset() {
  269. *x = CreateAlarmClockResponse{}
  270. if protoimpl.UnsafeEnabled {
  271. mi := &file_user_v2_alarm_clock_proto_msgTypes[5]
  272. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  273. ms.StoreMessageInfo(mi)
  274. }
  275. }
  276. func (x *CreateAlarmClockResponse) String() string {
  277. return protoimpl.X.MessageStringOf(x)
  278. }
  279. func (*CreateAlarmClockResponse) ProtoMessage() {}
  280. func (x *CreateAlarmClockResponse) ProtoReflect() protoreflect.Message {
  281. mi := &file_user_v2_alarm_clock_proto_msgTypes[5]
  282. if protoimpl.UnsafeEnabled && x != nil {
  283. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  284. if ms.LoadMessageInfo() == nil {
  285. ms.StoreMessageInfo(mi)
  286. }
  287. return ms
  288. }
  289. return mi.MessageOf(x)
  290. }
  291. // Deprecated: Use CreateAlarmClockResponse.ProtoReflect.Descriptor instead.
  292. func (*CreateAlarmClockResponse) Descriptor() ([]byte, []int) {
  293. return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{5}
  294. }
  295. // 修改闹钟 Request
  296. type UpdateAlarmClockRequest struct {
  297. state protoimpl.MessageState
  298. sizeCache protoimpl.SizeCache
  299. unknownFields protoimpl.UnknownFields
  300. // 小孩ID
  301. Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
  302. // 闹钟标签
  303. Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
  304. // 重复天 eg: 1000000 周一开启 1111100 工作日开启
  305. Repeats string `protobuf:"bytes,3,opt,name=repeats,proto3" json:"repeats,omitempty"`
  306. // Time 闹钟时间 格式: HH:mm
  307. Time string `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
  308. // 仅一次时间戳
  309. OnceTime int64 `protobuf:"varint,5,opt,name=onceTime,proto3" json:"onceTime,omitempty"`
  310. // 闹钟ID
  311. Id int64 `protobuf:"varint,6,opt,name=id,proto3" json:"id,omitempty"`
  312. // 是否开启
  313. Status bool `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`
  314. }
  315. func (x *UpdateAlarmClockRequest) Reset() {
  316. *x = UpdateAlarmClockRequest{}
  317. if protoimpl.UnsafeEnabled {
  318. mi := &file_user_v2_alarm_clock_proto_msgTypes[6]
  319. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  320. ms.StoreMessageInfo(mi)
  321. }
  322. }
  323. func (x *UpdateAlarmClockRequest) String() string {
  324. return protoimpl.X.MessageStringOf(x)
  325. }
  326. func (*UpdateAlarmClockRequest) ProtoMessage() {}
  327. func (x *UpdateAlarmClockRequest) ProtoReflect() protoreflect.Message {
  328. mi := &file_user_v2_alarm_clock_proto_msgTypes[6]
  329. if protoimpl.UnsafeEnabled && x != nil {
  330. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  331. if ms.LoadMessageInfo() == nil {
  332. ms.StoreMessageInfo(mi)
  333. }
  334. return ms
  335. }
  336. return mi.MessageOf(x)
  337. }
  338. // Deprecated: Use UpdateAlarmClockRequest.ProtoReflect.Descriptor instead.
  339. func (*UpdateAlarmClockRequest) Descriptor() ([]byte, []int) {
  340. return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{6}
  341. }
  342. func (x *UpdateAlarmClockRequest) GetCid() string {
  343. if x != nil {
  344. return x.Cid
  345. }
  346. return ""
  347. }
  348. func (x *UpdateAlarmClockRequest) GetLabel() string {
  349. if x != nil {
  350. return x.Label
  351. }
  352. return ""
  353. }
  354. func (x *UpdateAlarmClockRequest) GetRepeats() string {
  355. if x != nil {
  356. return x.Repeats
  357. }
  358. return ""
  359. }
  360. func (x *UpdateAlarmClockRequest) GetTime() string {
  361. if x != nil {
  362. return x.Time
  363. }
  364. return ""
  365. }
  366. func (x *UpdateAlarmClockRequest) GetOnceTime() int64 {
  367. if x != nil {
  368. return x.OnceTime
  369. }
  370. return 0
  371. }
  372. func (x *UpdateAlarmClockRequest) GetId() int64 {
  373. if x != nil {
  374. return x.Id
  375. }
  376. return 0
  377. }
  378. func (x *UpdateAlarmClockRequest) GetStatus() bool {
  379. if x != nil {
  380. return x.Status
  381. }
  382. return false
  383. }
  384. // 修改闹钟 Response
  385. type UpdateAlarmClockResponse struct {
  386. state protoimpl.MessageState
  387. sizeCache protoimpl.SizeCache
  388. unknownFields protoimpl.UnknownFields
  389. }
  390. func (x *UpdateAlarmClockResponse) Reset() {
  391. *x = UpdateAlarmClockResponse{}
  392. if protoimpl.UnsafeEnabled {
  393. mi := &file_user_v2_alarm_clock_proto_msgTypes[7]
  394. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  395. ms.StoreMessageInfo(mi)
  396. }
  397. }
  398. func (x *UpdateAlarmClockResponse) String() string {
  399. return protoimpl.X.MessageStringOf(x)
  400. }
  401. func (*UpdateAlarmClockResponse) ProtoMessage() {}
  402. func (x *UpdateAlarmClockResponse) ProtoReflect() protoreflect.Message {
  403. mi := &file_user_v2_alarm_clock_proto_msgTypes[7]
  404. if protoimpl.UnsafeEnabled && x != nil {
  405. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  406. if ms.LoadMessageInfo() == nil {
  407. ms.StoreMessageInfo(mi)
  408. }
  409. return ms
  410. }
  411. return mi.MessageOf(x)
  412. }
  413. // Deprecated: Use UpdateAlarmClockResponse.ProtoReflect.Descriptor instead.
  414. func (*UpdateAlarmClockResponse) Descriptor() ([]byte, []int) {
  415. return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{7}
  416. }
  417. // 删除闹钟 Request
  418. type DeleteAlarmClockRequest struct {
  419. state protoimpl.MessageState
  420. sizeCache protoimpl.SizeCache
  421. unknownFields protoimpl.UnknownFields
  422. // 闹钟ID
  423. Id int64 `protobuf:"varint,6,opt,name=id,proto3" json:"id,omitempty"`
  424. }
  425. func (x *DeleteAlarmClockRequest) Reset() {
  426. *x = DeleteAlarmClockRequest{}
  427. if protoimpl.UnsafeEnabled {
  428. mi := &file_user_v2_alarm_clock_proto_msgTypes[8]
  429. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  430. ms.StoreMessageInfo(mi)
  431. }
  432. }
  433. func (x *DeleteAlarmClockRequest) String() string {
  434. return protoimpl.X.MessageStringOf(x)
  435. }
  436. func (*DeleteAlarmClockRequest) ProtoMessage() {}
  437. func (x *DeleteAlarmClockRequest) ProtoReflect() protoreflect.Message {
  438. mi := &file_user_v2_alarm_clock_proto_msgTypes[8]
  439. if protoimpl.UnsafeEnabled && x != nil {
  440. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  441. if ms.LoadMessageInfo() == nil {
  442. ms.StoreMessageInfo(mi)
  443. }
  444. return ms
  445. }
  446. return mi.MessageOf(x)
  447. }
  448. // Deprecated: Use DeleteAlarmClockRequest.ProtoReflect.Descriptor instead.
  449. func (*DeleteAlarmClockRequest) Descriptor() ([]byte, []int) {
  450. return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{8}
  451. }
  452. func (x *DeleteAlarmClockRequest) GetId() int64 {
  453. if x != nil {
  454. return x.Id
  455. }
  456. return 0
  457. }
  458. // 删除闹钟 Response
  459. type DeleteAlarmClockResponse struct {
  460. state protoimpl.MessageState
  461. sizeCache protoimpl.SizeCache
  462. unknownFields protoimpl.UnknownFields
  463. }
  464. func (x *DeleteAlarmClockResponse) Reset() {
  465. *x = DeleteAlarmClockResponse{}
  466. if protoimpl.UnsafeEnabled {
  467. mi := &file_user_v2_alarm_clock_proto_msgTypes[9]
  468. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  469. ms.StoreMessageInfo(mi)
  470. }
  471. }
  472. func (x *DeleteAlarmClockResponse) String() string {
  473. return protoimpl.X.MessageStringOf(x)
  474. }
  475. func (*DeleteAlarmClockResponse) ProtoMessage() {}
  476. func (x *DeleteAlarmClockResponse) ProtoReflect() protoreflect.Message {
  477. mi := &file_user_v2_alarm_clock_proto_msgTypes[9]
  478. if protoimpl.UnsafeEnabled && x != nil {
  479. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  480. if ms.LoadMessageInfo() == nil {
  481. ms.StoreMessageInfo(mi)
  482. }
  483. return ms
  484. }
  485. return mi.MessageOf(x)
  486. }
  487. // Deprecated: Use DeleteAlarmClockResponse.ProtoReflect.Descriptor instead.
  488. func (*DeleteAlarmClockResponse) Descriptor() ([]byte, []int) {
  489. return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{9}
  490. }
  491. type GetWristwatchAlarmClockResponse_AlarmClock struct {
  492. state protoimpl.MessageState
  493. sizeCache protoimpl.SizeCache
  494. unknownFields protoimpl.UnknownFields
  495. Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
  496. Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
  497. Repeats string `protobuf:"bytes,3,opt,name=repeats,proto3" json:"repeats,omitempty"`
  498. Time string `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
  499. OnceTime int64 `protobuf:"varint,5,opt,name=onceTime,proto3" json:"onceTime,omitempty"`
  500. Id int64 `protobuf:"varint,6,opt,name=id,proto3" json:"id,omitempty"`
  501. Status bool `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`
  502. }
  503. func (x *GetWristwatchAlarmClockResponse_AlarmClock) Reset() {
  504. *x = GetWristwatchAlarmClockResponse_AlarmClock{}
  505. if protoimpl.UnsafeEnabled {
  506. mi := &file_user_v2_alarm_clock_proto_msgTypes[10]
  507. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  508. ms.StoreMessageInfo(mi)
  509. }
  510. }
  511. func (x *GetWristwatchAlarmClockResponse_AlarmClock) String() string {
  512. return protoimpl.X.MessageStringOf(x)
  513. }
  514. func (*GetWristwatchAlarmClockResponse_AlarmClock) ProtoMessage() {}
  515. func (x *GetWristwatchAlarmClockResponse_AlarmClock) ProtoReflect() protoreflect.Message {
  516. mi := &file_user_v2_alarm_clock_proto_msgTypes[10]
  517. if protoimpl.UnsafeEnabled && x != nil {
  518. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  519. if ms.LoadMessageInfo() == nil {
  520. ms.StoreMessageInfo(mi)
  521. }
  522. return ms
  523. }
  524. return mi.MessageOf(x)
  525. }
  526. // Deprecated: Use GetWristwatchAlarmClockResponse_AlarmClock.ProtoReflect.Descriptor instead.
  527. func (*GetWristwatchAlarmClockResponse_AlarmClock) Descriptor() ([]byte, []int) {
  528. return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{1, 0}
  529. }
  530. func (x *GetWristwatchAlarmClockResponse_AlarmClock) GetCid() string {
  531. if x != nil {
  532. return x.Cid
  533. }
  534. return ""
  535. }
  536. func (x *GetWristwatchAlarmClockResponse_AlarmClock) GetLabel() string {
  537. if x != nil {
  538. return x.Label
  539. }
  540. return ""
  541. }
  542. func (x *GetWristwatchAlarmClockResponse_AlarmClock) GetRepeats() string {
  543. if x != nil {
  544. return x.Repeats
  545. }
  546. return ""
  547. }
  548. func (x *GetWristwatchAlarmClockResponse_AlarmClock) GetTime() string {
  549. if x != nil {
  550. return x.Time
  551. }
  552. return ""
  553. }
  554. func (x *GetWristwatchAlarmClockResponse_AlarmClock) GetOnceTime() int64 {
  555. if x != nil {
  556. return x.OnceTime
  557. }
  558. return 0
  559. }
  560. func (x *GetWristwatchAlarmClockResponse_AlarmClock) GetId() int64 {
  561. if x != nil {
  562. return x.Id
  563. }
  564. return 0
  565. }
  566. func (x *GetWristwatchAlarmClockResponse_AlarmClock) GetStatus() bool {
  567. if x != nil {
  568. return x.Status
  569. }
  570. return false
  571. }
  572. type GetAlarmClockResponse_AlarmClock struct {
  573. state protoimpl.MessageState
  574. sizeCache protoimpl.SizeCache
  575. unknownFields protoimpl.UnknownFields
  576. Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
  577. Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
  578. Repeats string `protobuf:"bytes,3,opt,name=repeats,proto3" json:"repeats,omitempty"`
  579. Time string `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
  580. OnceTime int64 `protobuf:"varint,5,opt,name=onceTime,proto3" json:"onceTime,omitempty"`
  581. Id int64 `protobuf:"varint,6,opt,name=id,proto3" json:"id,omitempty"`
  582. Status bool `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`
  583. }
  584. func (x *GetAlarmClockResponse_AlarmClock) Reset() {
  585. *x = GetAlarmClockResponse_AlarmClock{}
  586. if protoimpl.UnsafeEnabled {
  587. mi := &file_user_v2_alarm_clock_proto_msgTypes[11]
  588. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  589. ms.StoreMessageInfo(mi)
  590. }
  591. }
  592. func (x *GetAlarmClockResponse_AlarmClock) String() string {
  593. return protoimpl.X.MessageStringOf(x)
  594. }
  595. func (*GetAlarmClockResponse_AlarmClock) ProtoMessage() {}
  596. func (x *GetAlarmClockResponse_AlarmClock) ProtoReflect() protoreflect.Message {
  597. mi := &file_user_v2_alarm_clock_proto_msgTypes[11]
  598. if protoimpl.UnsafeEnabled && x != nil {
  599. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  600. if ms.LoadMessageInfo() == nil {
  601. ms.StoreMessageInfo(mi)
  602. }
  603. return ms
  604. }
  605. return mi.MessageOf(x)
  606. }
  607. // Deprecated: Use GetAlarmClockResponse_AlarmClock.ProtoReflect.Descriptor instead.
  608. func (*GetAlarmClockResponse_AlarmClock) Descriptor() ([]byte, []int) {
  609. return file_user_v2_alarm_clock_proto_rawDescGZIP(), []int{3, 0}
  610. }
  611. func (x *GetAlarmClockResponse_AlarmClock) GetCid() string {
  612. if x != nil {
  613. return x.Cid
  614. }
  615. return ""
  616. }
  617. func (x *GetAlarmClockResponse_AlarmClock) GetLabel() string {
  618. if x != nil {
  619. return x.Label
  620. }
  621. return ""
  622. }
  623. func (x *GetAlarmClockResponse_AlarmClock) GetRepeats() string {
  624. if x != nil {
  625. return x.Repeats
  626. }
  627. return ""
  628. }
  629. func (x *GetAlarmClockResponse_AlarmClock) GetTime() string {
  630. if x != nil {
  631. return x.Time
  632. }
  633. return ""
  634. }
  635. func (x *GetAlarmClockResponse_AlarmClock) GetOnceTime() int64 {
  636. if x != nil {
  637. return x.OnceTime
  638. }
  639. return 0
  640. }
  641. func (x *GetAlarmClockResponse_AlarmClock) GetId() int64 {
  642. if x != nil {
  643. return x.Id
  644. }
  645. return 0
  646. }
  647. func (x *GetAlarmClockResponse_AlarmClock) GetStatus() bool {
  648. if x != nil {
  649. return x.Status
  650. }
  651. return false
  652. }
  653. var File_user_v2_alarm_clock_proto protoreflect.FileDescriptor
  654. var file_user_v2_alarm_clock_proto_rawDesc = []byte{
  655. 0x0a, 0x19, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x61, 0x72, 0x6d, 0x5f,
  656. 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x61, 0x70, 0x69,
  657. 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  658. 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  659. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
  660. 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
  661. 0x41, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x57, 0x72, 0x69, 0x73, 0x74, 0x77, 0x61, 0x74, 0x63, 0x68,
  662. 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  663. 0x74, 0x12, 0x1f, 0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
  664. 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x06, 0x74, 0x69, 0x63, 0x6b,
  665. 0x65, 0x74, 0x22, 0xa5, 0x02, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x57, 0x72, 0x69, 0x73, 0x74, 0x77,
  666. 0x61, 0x74, 0x63, 0x68, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65,
  667. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0b, 0x61, 0x6c, 0x61, 0x72, 0x6d, 0x43,
  668. 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x61, 0x70,
  669. 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x72, 0x69,
  670. 0x73, 0x74, 0x77, 0x61, 0x74, 0x63, 0x68, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63,
  671. 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43,
  672. 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x0b, 0x61, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b,
  673. 0x73, 0x1a, 0xa6, 0x01, 0x0a, 0x0a, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b,
  674. 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63,
  675. 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
  676. 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x65,
  677. 0x61, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x65, 0x61,
  678. 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
  679. 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x6e, 0x63, 0x65, 0x54, 0x69,
  680. 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x6e, 0x63, 0x65, 0x54, 0x69,
  681. 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02,
  682. 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01,
  683. 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x34, 0x0a, 0x14, 0x47, 0x65,
  684. 0x74, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65,
  685. 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
  686. 0x0a, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0xb0, 0x01, 0x01, 0x52, 0x03, 0x63, 0x69, 0x64,
  687. 0x22, 0x91, 0x02, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f,
  688. 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0b, 0x61, 0x6c,
  689. 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
  690. 0x2d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65,
  691. 0x74, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f,
  692. 0x6e, 0x73, 0x65, 0x2e, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x0b,
  693. 0x61, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x1a, 0xa6, 0x01, 0x0a, 0x0a,
  694. 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69,
  695. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05,
  696. 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62,
  697. 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x18, 0x03, 0x20,
  698. 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04,
  699. 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65,
  700. 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x6e, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
  701. 0x28, 0x03, 0x52, 0x08, 0x6f, 0x6e, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02,
  702. 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06,
  703. 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74,
  704. 0x61, 0x74, 0x75, 0x73, 0x22, 0xaf, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41,
  705. 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  706. 0x12, 0x1c, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xfa,
  707. 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0xb0, 0x01, 0x01, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x14,
  708. 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c,
  709. 0x61, 0x62, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x18,
  710. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x12,
  711. 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x69,
  712. 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x6e, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05,
  713. 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x6e, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16,
  714. 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06,
  715. 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
  716. 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  717. 0x73, 0x65, 0x22, 0xc8, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x61,
  718. 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c,
  719. 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xfa, 0x42, 0x07,
  720. 0x72, 0x05, 0x10, 0x01, 0xb0, 0x01, 0x01, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05,
  721. 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62,
  722. 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x18, 0x03, 0x20,
  723. 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04,
  724. 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65,
  725. 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x6e, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
  726. 0x28, 0x03, 0x52, 0x08, 0x6f, 0x6e, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x02,
  727. 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x22, 0x02, 0x20,
  728. 0x01, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
  729. 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x1a, 0x0a,
  730. 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63,
  731. 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x0a, 0x17, 0x44, 0x65, 0x6c,
  732. 0x65, 0x74, 0x65, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71,
  733. 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03,
  734. 0x42, 0x07, 0xfa, 0x42, 0x04, 0x22, 0x02, 0x20, 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1a, 0x0a,
  735. 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63,
  736. 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x82, 0x06, 0x0a, 0x0a, 0x41, 0x6c,
  737. 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0xae, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74,
  738. 0x57, 0x72, 0x69, 0x73, 0x74, 0x77, 0x61, 0x74, 0x63, 0x68, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43,
  739. 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e,
  740. 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x72, 0x69, 0x73, 0x74, 0x77, 0x61, 0x74, 0x63, 0x68,
  741. 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  742. 0x74, 0x1a, 0x2c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e,
  743. 0x47, 0x65, 0x74, 0x57, 0x72, 0x69, 0x73, 0x74, 0x77, 0x61, 0x74, 0x63, 0x68, 0x41, 0x6c, 0x61,
  744. 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  745. 0x38, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76,
  746. 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74, 0x78, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x77,
  747. 0x72, 0x69, 0x73, 0x74, 0x77, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x61, 0x6c, 0x61, 0x72, 0x6d, 0x2d,
  748. 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x2f, 0x67, 0x65, 0x74, 0x12, 0x88, 0x01, 0x0a, 0x0d, 0x47, 0x65,
  749. 0x74, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x21, 0x2e, 0x61, 0x70,
  750. 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x61,
  751. 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22,
  752. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74,
  753. 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  754. 0x73, 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x61, 0x70, 0x69,
  755. 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74, 0x78, 0x2f, 0x75, 0x73, 0x65,
  756. 0x72, 0x2f, 0x61, 0x6c, 0x61, 0x72, 0x6d, 0x2d, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x2f, 0x67, 0x65,
  757. 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x94, 0x01, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41,
  758. 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  759. 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6c,
  760. 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  761. 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72,
  762. 0x65, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65,
  763. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x3a, 0x01,
  764. 0x2a, 0x22, 0x28, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72,
  765. 0x63, 0x74, 0x78, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x61, 0x6c, 0x61, 0x72, 0x6d, 0x2d, 0x63,
  766. 0x6c, 0x6f, 0x63, 0x6b, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x94, 0x01, 0x0a, 0x10,
  767. 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b,
  768. 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x55,
  769. 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52,
  770. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65,
  771. 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x61, 0x72, 0x6d,
  772. 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82,
  773. 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x3a, 0x01, 0x2a, 0x22, 0x28, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f,
  774. 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x63, 0x74, 0x78, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f,
  775. 0x61, 0x6c, 0x61, 0x72, 0x6d, 0x2d, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x2f, 0x75, 0x70, 0x64, 0x61,
  776. 0x74, 0x65, 0x12, 0x89, 0x01, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x61,
  777. 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73,
  778. 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x61, 0x72,
  779. 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e,
  780. 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65,
  781. 0x74, 0x65, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70,
  782. 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x61,
  783. 0x70, 0x69, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x61, 0x6c, 0x61, 0x72,
  784. 0x6d, 0x2d, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x30,
  785. 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x50, 0x01, 0x5a,
  786. 0x1f, 0x73, 0x69, 0x6b, 0x65, 0x79, 0x2f, 0x77, 0x33, 0x30, 0x33, 0x61, 0x2f, 0x68, 0x74, 0x74,
  787. 0x70, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x3b, 0x76, 0x32,
  788. 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  789. }
  790. var (
  791. file_user_v2_alarm_clock_proto_rawDescOnce sync.Once
  792. file_user_v2_alarm_clock_proto_rawDescData = file_user_v2_alarm_clock_proto_rawDesc
  793. )
  794. func file_user_v2_alarm_clock_proto_rawDescGZIP() []byte {
  795. file_user_v2_alarm_clock_proto_rawDescOnce.Do(func() {
  796. file_user_v2_alarm_clock_proto_rawDescData = protoimpl.X.CompressGZIP(file_user_v2_alarm_clock_proto_rawDescData)
  797. })
  798. return file_user_v2_alarm_clock_proto_rawDescData
  799. }
  800. var file_user_v2_alarm_clock_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
  801. var file_user_v2_alarm_clock_proto_goTypes = []any{
  802. (*GetWristwatchAlarmClockRequest)(nil), // 0: api.user.v2.GetWristwatchAlarmClockRequest
  803. (*GetWristwatchAlarmClockResponse)(nil), // 1: api.user.v2.GetWristwatchAlarmClockResponse
  804. (*GetAlarmClockRequest)(nil), // 2: api.user.v2.GetAlarmClockRequest
  805. (*GetAlarmClockResponse)(nil), // 3: api.user.v2.GetAlarmClockResponse
  806. (*CreateAlarmClockRequest)(nil), // 4: api.user.v2.CreateAlarmClockRequest
  807. (*CreateAlarmClockResponse)(nil), // 5: api.user.v2.CreateAlarmClockResponse
  808. (*UpdateAlarmClockRequest)(nil), // 6: api.user.v2.UpdateAlarmClockRequest
  809. (*UpdateAlarmClockResponse)(nil), // 7: api.user.v2.UpdateAlarmClockResponse
  810. (*DeleteAlarmClockRequest)(nil), // 8: api.user.v2.DeleteAlarmClockRequest
  811. (*DeleteAlarmClockResponse)(nil), // 9: api.user.v2.DeleteAlarmClockResponse
  812. (*GetWristwatchAlarmClockResponse_AlarmClock)(nil), // 10: api.user.v2.GetWristwatchAlarmClockResponse.AlarmClock
  813. (*GetAlarmClockResponse_AlarmClock)(nil), // 11: api.user.v2.GetAlarmClockResponse.AlarmClock
  814. }
  815. var file_user_v2_alarm_clock_proto_depIdxs = []int32{
  816. 10, // 0: api.user.v2.GetWristwatchAlarmClockResponse.alarmClocks:type_name -> api.user.v2.GetWristwatchAlarmClockResponse.AlarmClock
  817. 11, // 1: api.user.v2.GetAlarmClockResponse.alarmClocks:type_name -> api.user.v2.GetAlarmClockResponse.AlarmClock
  818. 0, // 2: api.user.v2.AlarmClock.GetWristwatchAlarmClock:input_type -> api.user.v2.GetWristwatchAlarmClockRequest
  819. 2, // 3: api.user.v2.AlarmClock.GetAlarmClock:input_type -> api.user.v2.GetAlarmClockRequest
  820. 4, // 4: api.user.v2.AlarmClock.CreateAlarmClock:input_type -> api.user.v2.CreateAlarmClockRequest
  821. 6, // 5: api.user.v2.AlarmClock.UpdateAlarmClock:input_type -> api.user.v2.UpdateAlarmClockRequest
  822. 8, // 6: api.user.v2.AlarmClock.DeleteAlarmClock:input_type -> api.user.v2.DeleteAlarmClockRequest
  823. 1, // 7: api.user.v2.AlarmClock.GetWristwatchAlarmClock:output_type -> api.user.v2.GetWristwatchAlarmClockResponse
  824. 3, // 8: api.user.v2.AlarmClock.GetAlarmClock:output_type -> api.user.v2.GetAlarmClockResponse
  825. 5, // 9: api.user.v2.AlarmClock.CreateAlarmClock:output_type -> api.user.v2.CreateAlarmClockResponse
  826. 7, // 10: api.user.v2.AlarmClock.UpdateAlarmClock:output_type -> api.user.v2.UpdateAlarmClockResponse
  827. 9, // 11: api.user.v2.AlarmClock.DeleteAlarmClock:output_type -> api.user.v2.DeleteAlarmClockResponse
  828. 7, // [7:12] is the sub-list for method output_type
  829. 2, // [2:7] is the sub-list for method input_type
  830. 2, // [2:2] is the sub-list for extension type_name
  831. 2, // [2:2] is the sub-list for extension extendee
  832. 0, // [0:2] is the sub-list for field type_name
  833. }
  834. func init() { file_user_v2_alarm_clock_proto_init() }
  835. func file_user_v2_alarm_clock_proto_init() {
  836. if File_user_v2_alarm_clock_proto != nil {
  837. return
  838. }
  839. if !protoimpl.UnsafeEnabled {
  840. file_user_v2_alarm_clock_proto_msgTypes[0].Exporter = func(v any, i int) any {
  841. switch v := v.(*GetWristwatchAlarmClockRequest); i {
  842. case 0:
  843. return &v.state
  844. case 1:
  845. return &v.sizeCache
  846. case 2:
  847. return &v.unknownFields
  848. default:
  849. return nil
  850. }
  851. }
  852. file_user_v2_alarm_clock_proto_msgTypes[1].Exporter = func(v any, i int) any {
  853. switch v := v.(*GetWristwatchAlarmClockResponse); i {
  854. case 0:
  855. return &v.state
  856. case 1:
  857. return &v.sizeCache
  858. case 2:
  859. return &v.unknownFields
  860. default:
  861. return nil
  862. }
  863. }
  864. file_user_v2_alarm_clock_proto_msgTypes[2].Exporter = func(v any, i int) any {
  865. switch v := v.(*GetAlarmClockRequest); i {
  866. case 0:
  867. return &v.state
  868. case 1:
  869. return &v.sizeCache
  870. case 2:
  871. return &v.unknownFields
  872. default:
  873. return nil
  874. }
  875. }
  876. file_user_v2_alarm_clock_proto_msgTypes[3].Exporter = func(v any, i int) any {
  877. switch v := v.(*GetAlarmClockResponse); i {
  878. case 0:
  879. return &v.state
  880. case 1:
  881. return &v.sizeCache
  882. case 2:
  883. return &v.unknownFields
  884. default:
  885. return nil
  886. }
  887. }
  888. file_user_v2_alarm_clock_proto_msgTypes[4].Exporter = func(v any, i int) any {
  889. switch v := v.(*CreateAlarmClockRequest); i {
  890. case 0:
  891. return &v.state
  892. case 1:
  893. return &v.sizeCache
  894. case 2:
  895. return &v.unknownFields
  896. default:
  897. return nil
  898. }
  899. }
  900. file_user_v2_alarm_clock_proto_msgTypes[5].Exporter = func(v any, i int) any {
  901. switch v := v.(*CreateAlarmClockResponse); i {
  902. case 0:
  903. return &v.state
  904. case 1:
  905. return &v.sizeCache
  906. case 2:
  907. return &v.unknownFields
  908. default:
  909. return nil
  910. }
  911. }
  912. file_user_v2_alarm_clock_proto_msgTypes[6].Exporter = func(v any, i int) any {
  913. switch v := v.(*UpdateAlarmClockRequest); i {
  914. case 0:
  915. return &v.state
  916. case 1:
  917. return &v.sizeCache
  918. case 2:
  919. return &v.unknownFields
  920. default:
  921. return nil
  922. }
  923. }
  924. file_user_v2_alarm_clock_proto_msgTypes[7].Exporter = func(v any, i int) any {
  925. switch v := v.(*UpdateAlarmClockResponse); i {
  926. case 0:
  927. return &v.state
  928. case 1:
  929. return &v.sizeCache
  930. case 2:
  931. return &v.unknownFields
  932. default:
  933. return nil
  934. }
  935. }
  936. file_user_v2_alarm_clock_proto_msgTypes[8].Exporter = func(v any, i int) any {
  937. switch v := v.(*DeleteAlarmClockRequest); i {
  938. case 0:
  939. return &v.state
  940. case 1:
  941. return &v.sizeCache
  942. case 2:
  943. return &v.unknownFields
  944. default:
  945. return nil
  946. }
  947. }
  948. file_user_v2_alarm_clock_proto_msgTypes[9].Exporter = func(v any, i int) any {
  949. switch v := v.(*DeleteAlarmClockResponse); i {
  950. case 0:
  951. return &v.state
  952. case 1:
  953. return &v.sizeCache
  954. case 2:
  955. return &v.unknownFields
  956. default:
  957. return nil
  958. }
  959. }
  960. file_user_v2_alarm_clock_proto_msgTypes[10].Exporter = func(v any, i int) any {
  961. switch v := v.(*GetWristwatchAlarmClockResponse_AlarmClock); i {
  962. case 0:
  963. return &v.state
  964. case 1:
  965. return &v.sizeCache
  966. case 2:
  967. return &v.unknownFields
  968. default:
  969. return nil
  970. }
  971. }
  972. file_user_v2_alarm_clock_proto_msgTypes[11].Exporter = func(v any, i int) any {
  973. switch v := v.(*GetAlarmClockResponse_AlarmClock); i {
  974. case 0:
  975. return &v.state
  976. case 1:
  977. return &v.sizeCache
  978. case 2:
  979. return &v.unknownFields
  980. default:
  981. return nil
  982. }
  983. }
  984. }
  985. type x struct{}
  986. out := protoimpl.TypeBuilder{
  987. File: protoimpl.DescBuilder{
  988. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  989. RawDescriptor: file_user_v2_alarm_clock_proto_rawDesc,
  990. NumEnums: 0,
  991. NumMessages: 12,
  992. NumExtensions: 0,
  993. NumServices: 1,
  994. },
  995. GoTypes: file_user_v2_alarm_clock_proto_goTypes,
  996. DependencyIndexes: file_user_v2_alarm_clock_proto_depIdxs,
  997. MessageInfos: file_user_v2_alarm_clock_proto_msgTypes,
  998. }.Build()
  999. File_user_v2_alarm_clock_proto = out.File
  1000. file_user_v2_alarm_clock_proto_rawDesc = nil
  1001. file_user_v2_alarm_clock_proto_goTypes = nil
  1002. file_user_v2_alarm_clock_proto_depIdxs = nil
  1003. }