activity.pb.go 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1-devel
  4. // protoc v3.21.8
  5. // source: activity.proto
  6. package activity
  7. import (
  8. common "git.ikuban.com/server/pw-protobuf/api/common"
  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. emptypb "google.golang.org/protobuf/types/known/emptypb"
  13. reflect "reflect"
  14. sync "sync"
  15. )
  16. const (
  17. // Verify that this generated code is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  19. // Verify that runtime/protoimpl is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  21. )
  22. type FinishOnceTaskByTypeRequest struct {
  23. state protoimpl.MessageState
  24. sizeCache protoimpl.SizeCache
  25. unknownFields protoimpl.UnknownFields
  26. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId"`
  27. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type"`
  28. }
  29. func (x *FinishOnceTaskByTypeRequest) Reset() {
  30. *x = FinishOnceTaskByTypeRequest{}
  31. if protoimpl.UnsafeEnabled {
  32. mi := &file_activity_proto_msgTypes[0]
  33. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  34. ms.StoreMessageInfo(mi)
  35. }
  36. }
  37. func (x *FinishOnceTaskByTypeRequest) String() string {
  38. return protoimpl.X.MessageStringOf(x)
  39. }
  40. func (*FinishOnceTaskByTypeRequest) ProtoMessage() {}
  41. func (x *FinishOnceTaskByTypeRequest) ProtoReflect() protoreflect.Message {
  42. mi := &file_activity_proto_msgTypes[0]
  43. if protoimpl.UnsafeEnabled && x != nil {
  44. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  45. if ms.LoadMessageInfo() == nil {
  46. ms.StoreMessageInfo(mi)
  47. }
  48. return ms
  49. }
  50. return mi.MessageOf(x)
  51. }
  52. // Deprecated: Use FinishOnceTaskByTypeRequest.ProtoReflect.Descriptor instead.
  53. func (*FinishOnceTaskByTypeRequest) Descriptor() ([]byte, []int) {
  54. return file_activity_proto_rawDescGZIP(), []int{0}
  55. }
  56. func (x *FinishOnceTaskByTypeRequest) GetUserId() string {
  57. if x != nil {
  58. return x.UserId
  59. }
  60. return ""
  61. }
  62. func (x *FinishOnceTaskByTypeRequest) GetType() string {
  63. if x != nil {
  64. return x.Type
  65. }
  66. return ""
  67. }
  68. type TaskRequest struct {
  69. state protoimpl.MessageState
  70. sizeCache protoimpl.SizeCache
  71. unknownFields protoimpl.UnknownFields
  72. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` // 任务ID
  73. }
  74. func (x *TaskRequest) Reset() {
  75. *x = TaskRequest{}
  76. if protoimpl.UnsafeEnabled {
  77. mi := &file_activity_proto_msgTypes[1]
  78. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  79. ms.StoreMessageInfo(mi)
  80. }
  81. }
  82. func (x *TaskRequest) String() string {
  83. return protoimpl.X.MessageStringOf(x)
  84. }
  85. func (*TaskRequest) ProtoMessage() {}
  86. func (x *TaskRequest) ProtoReflect() protoreflect.Message {
  87. mi := &file_activity_proto_msgTypes[1]
  88. if protoimpl.UnsafeEnabled && x != nil {
  89. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  90. if ms.LoadMessageInfo() == nil {
  91. ms.StoreMessageInfo(mi)
  92. }
  93. return ms
  94. }
  95. return mi.MessageOf(x)
  96. }
  97. // Deprecated: Use TaskRequest.ProtoReflect.Descriptor instead.
  98. func (*TaskRequest) Descriptor() ([]byte, []int) {
  99. return file_activity_proto_rawDescGZIP(), []int{1}
  100. }
  101. func (x *TaskRequest) GetId() int64 {
  102. if x != nil {
  103. return x.Id
  104. }
  105. return 0
  106. }
  107. type FindTaskListReply struct {
  108. state protoimpl.MessageState
  109. sizeCache protoimpl.SizeCache
  110. unknownFields protoimpl.UnknownFields
  111. List []*TaskInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  112. }
  113. func (x *FindTaskListReply) Reset() {
  114. *x = FindTaskListReply{}
  115. if protoimpl.UnsafeEnabled {
  116. mi := &file_activity_proto_msgTypes[2]
  117. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  118. ms.StoreMessageInfo(mi)
  119. }
  120. }
  121. func (x *FindTaskListReply) String() string {
  122. return protoimpl.X.MessageStringOf(x)
  123. }
  124. func (*FindTaskListReply) ProtoMessage() {}
  125. func (x *FindTaskListReply) ProtoReflect() protoreflect.Message {
  126. mi := &file_activity_proto_msgTypes[2]
  127. if protoimpl.UnsafeEnabled && x != nil {
  128. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  129. if ms.LoadMessageInfo() == nil {
  130. ms.StoreMessageInfo(mi)
  131. }
  132. return ms
  133. }
  134. return mi.MessageOf(x)
  135. }
  136. // Deprecated: Use FindTaskListReply.ProtoReflect.Descriptor instead.
  137. func (*FindTaskListReply) Descriptor() ([]byte, []int) {
  138. return file_activity_proto_rawDescGZIP(), []int{2}
  139. }
  140. func (x *FindTaskListReply) GetList() []*TaskInfo {
  141. if x != nil {
  142. return x.List
  143. }
  144. return make([]*TaskInfo, 0)
  145. }
  146. type TaskInfo struct {
  147. state protoimpl.MessageState
  148. sizeCache protoimpl.SizeCache
  149. unknownFields protoimpl.UnknownFields
  150. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` // 任务ID
  151. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type"` // 任务类型
  152. Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail"` // 任务要求
  153. Credit int64 `protobuf:"varint,4,opt,name=credit,proto3" json:"credit"` // 完成任务获取的积分
  154. CanFinishNum int64 `protobuf:"varint,5,opt,name=canFinishNum,proto3" json:"canFinishNum"` // 可完成任务的总次数
  155. FinishNum int64 `protobuf:"varint,6,opt,name=finishNum,proto3" json:"finishNum"` // 已完成任务的次数
  156. GetCreditNum int64 `protobuf:"varint,7,opt,name=getCreditNum,proto3" json:"getCreditNum"` // 已获取奖励的次数
  157. }
  158. func (x *TaskInfo) Reset() {
  159. *x = TaskInfo{}
  160. if protoimpl.UnsafeEnabled {
  161. mi := &file_activity_proto_msgTypes[3]
  162. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  163. ms.StoreMessageInfo(mi)
  164. }
  165. }
  166. func (x *TaskInfo) String() string {
  167. return protoimpl.X.MessageStringOf(x)
  168. }
  169. func (*TaskInfo) ProtoMessage() {}
  170. func (x *TaskInfo) ProtoReflect() protoreflect.Message {
  171. mi := &file_activity_proto_msgTypes[3]
  172. if protoimpl.UnsafeEnabled && x != nil {
  173. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  174. if ms.LoadMessageInfo() == nil {
  175. ms.StoreMessageInfo(mi)
  176. }
  177. return ms
  178. }
  179. return mi.MessageOf(x)
  180. }
  181. // Deprecated: Use TaskInfo.ProtoReflect.Descriptor instead.
  182. func (*TaskInfo) Descriptor() ([]byte, []int) {
  183. return file_activity_proto_rawDescGZIP(), []int{3}
  184. }
  185. func (x *TaskInfo) GetId() int64 {
  186. if x != nil {
  187. return x.Id
  188. }
  189. return 0
  190. }
  191. func (x *TaskInfo) GetType() string {
  192. if x != nil {
  193. return x.Type
  194. }
  195. return ""
  196. }
  197. func (x *TaskInfo) GetDetail() string {
  198. if x != nil {
  199. return x.Detail
  200. }
  201. return ""
  202. }
  203. func (x *TaskInfo) GetCredit() int64 {
  204. if x != nil {
  205. return x.Credit
  206. }
  207. return 0
  208. }
  209. func (x *TaskInfo) GetCanFinishNum() int64 {
  210. if x != nil {
  211. return x.CanFinishNum
  212. }
  213. return 0
  214. }
  215. func (x *TaskInfo) GetFinishNum() int64 {
  216. if x != nil {
  217. return x.FinishNum
  218. }
  219. return 0
  220. }
  221. func (x *TaskInfo) GetGetCreditNum() int64 {
  222. if x != nil {
  223. return x.GetCreditNum
  224. }
  225. return 0
  226. }
  227. type FindSignInListReply struct {
  228. state protoimpl.MessageState
  229. sizeCache protoimpl.SizeCache
  230. unknownFields protoimpl.UnknownFields
  231. List []*SignInInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  232. IsTodaySign bool `protobuf:"varint,2,opt,name=isTodaySign,proto3" json:"isTodaySign"` //今日是否签到
  233. }
  234. func (x *FindSignInListReply) Reset() {
  235. *x = FindSignInListReply{}
  236. if protoimpl.UnsafeEnabled {
  237. mi := &file_activity_proto_msgTypes[4]
  238. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  239. ms.StoreMessageInfo(mi)
  240. }
  241. }
  242. func (x *FindSignInListReply) String() string {
  243. return protoimpl.X.MessageStringOf(x)
  244. }
  245. func (*FindSignInListReply) ProtoMessage() {}
  246. func (x *FindSignInListReply) ProtoReflect() protoreflect.Message {
  247. mi := &file_activity_proto_msgTypes[4]
  248. if protoimpl.UnsafeEnabled && x != nil {
  249. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  250. if ms.LoadMessageInfo() == nil {
  251. ms.StoreMessageInfo(mi)
  252. }
  253. return ms
  254. }
  255. return mi.MessageOf(x)
  256. }
  257. // Deprecated: Use FindSignInListReply.ProtoReflect.Descriptor instead.
  258. func (*FindSignInListReply) Descriptor() ([]byte, []int) {
  259. return file_activity_proto_rawDescGZIP(), []int{4}
  260. }
  261. func (x *FindSignInListReply) GetList() []*SignInInfo {
  262. if x != nil {
  263. return x.List
  264. }
  265. return make([]*SignInInfo, 0)
  266. }
  267. func (x *FindSignInListReply) GetIsTodaySign() bool {
  268. if x != nil {
  269. return x.IsTodaySign
  270. }
  271. return false
  272. }
  273. type SignInInfo struct {
  274. state protoimpl.MessageState
  275. sizeCache protoimpl.SizeCache
  276. unknownFields protoimpl.UnknownFields
  277. Day int64 `protobuf:"varint,1,opt,name=day,proto3" json:"day"` // 签到的日期
  278. IsSign bool `protobuf:"varint,2,opt,name=isSign,proto3" json:"isSign"` // 是否签到
  279. IsDouble bool `protobuf:"varint,3,opt,name=isDouble,proto3" json:"isDouble"` // 是否获取双倍奖励
  280. Credit int64 `protobuf:"varint,4,opt,name=credit,proto3" json:"credit"` // 签到获取的积分
  281. }
  282. func (x *SignInInfo) Reset() {
  283. *x = SignInInfo{}
  284. if protoimpl.UnsafeEnabled {
  285. mi := &file_activity_proto_msgTypes[5]
  286. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  287. ms.StoreMessageInfo(mi)
  288. }
  289. }
  290. func (x *SignInInfo) String() string {
  291. return protoimpl.X.MessageStringOf(x)
  292. }
  293. func (*SignInInfo) ProtoMessage() {}
  294. func (x *SignInInfo) ProtoReflect() protoreflect.Message {
  295. mi := &file_activity_proto_msgTypes[5]
  296. if protoimpl.UnsafeEnabled && x != nil {
  297. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  298. if ms.LoadMessageInfo() == nil {
  299. ms.StoreMessageInfo(mi)
  300. }
  301. return ms
  302. }
  303. return mi.MessageOf(x)
  304. }
  305. // Deprecated: Use SignInInfo.ProtoReflect.Descriptor instead.
  306. func (*SignInInfo) Descriptor() ([]byte, []int) {
  307. return file_activity_proto_rawDescGZIP(), []int{5}
  308. }
  309. func (x *SignInInfo) GetDay() int64 {
  310. if x != nil {
  311. return x.Day
  312. }
  313. return 0
  314. }
  315. func (x *SignInInfo) GetIsSign() bool {
  316. if x != nil {
  317. return x.IsSign
  318. }
  319. return false
  320. }
  321. func (x *SignInInfo) GetIsDouble() bool {
  322. if x != nil {
  323. return x.IsDouble
  324. }
  325. return false
  326. }
  327. func (x *SignInInfo) GetCredit() int64 {
  328. if x != nil {
  329. return x.Credit
  330. }
  331. return 0
  332. }
  333. type SignRequest struct {
  334. state protoimpl.MessageState
  335. sizeCache protoimpl.SizeCache
  336. unknownFields protoimpl.UnknownFields
  337. IsDouble bool `protobuf:"varint,1,opt,name=isDouble,proto3" json:"isDouble"` // 是否获取双倍奖励
  338. }
  339. func (x *SignRequest) Reset() {
  340. *x = SignRequest{}
  341. if protoimpl.UnsafeEnabled {
  342. mi := &file_activity_proto_msgTypes[6]
  343. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  344. ms.StoreMessageInfo(mi)
  345. }
  346. }
  347. func (x *SignRequest) String() string {
  348. return protoimpl.X.MessageStringOf(x)
  349. }
  350. func (*SignRequest) ProtoMessage() {}
  351. func (x *SignRequest) ProtoReflect() protoreflect.Message {
  352. mi := &file_activity_proto_msgTypes[6]
  353. if protoimpl.UnsafeEnabled && x != nil {
  354. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  355. if ms.LoadMessageInfo() == nil {
  356. ms.StoreMessageInfo(mi)
  357. }
  358. return ms
  359. }
  360. return mi.MessageOf(x)
  361. }
  362. // Deprecated: Use SignRequest.ProtoReflect.Descriptor instead.
  363. func (*SignRequest) Descriptor() ([]byte, []int) {
  364. return file_activity_proto_rawDescGZIP(), []int{6}
  365. }
  366. func (x *SignRequest) GetIsDouble() bool {
  367. if x != nil {
  368. return x.IsDouble
  369. }
  370. return false
  371. }
  372. var File_activity_proto protoreflect.FileDescriptor
  373. var file_activity_proto_rawDesc = []byte{
  374. 0x0a, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  375. 0x12, 0x0c, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x1a, 0x1c,
  376. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
  377. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f,
  378. 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d,
  379. 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x61, 0x70, 0x69, 0x2f, 0x63,
  380. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
  381. 0x74, 0x6f, 0x22, 0x49, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4f, 0x6e, 0x63, 0x65,
  382. 0x54, 0x61, 0x73, 0x6b, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  383. 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  384. 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
  385. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x1d, 0x0a,
  386. 0x0b, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,
  387. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x3f, 0x0a, 0x11,
  388. 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c,
  389. 0x79, 0x12, 0x2a, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
  390. 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x54,
  391. 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0xc4, 0x01,
  392. 0x0a, 0x08, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
  393. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79,
  394. 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16,
  395. 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
  396. 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74,
  397. 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x12, 0x22,
  398. 0x0a, 0x0c, 0x63, 0x61, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x75, 0x6d, 0x18, 0x05,
  399. 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x63, 0x61, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e,
  400. 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x75, 0x6d, 0x18,
  401. 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x75, 0x6d,
  402. 0x12, 0x22, 0x0a, 0x0c, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x4e, 0x75, 0x6d,
  403. 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x69,
  404. 0x74, 0x4e, 0x75, 0x6d, 0x22, 0x65, 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x69, 0x67, 0x6e,
  405. 0x49, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2c, 0x0a, 0x04, 0x6c,
  406. 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  407. 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49,
  408. 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x54,
  409. 0x6f, 0x64, 0x61, 0x79, 0x53, 0x69, 0x67, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b,
  410. 0x69, 0x73, 0x54, 0x6f, 0x64, 0x61, 0x79, 0x53, 0x69, 0x67, 0x6e, 0x22, 0x6a, 0x0a, 0x0a, 0x53,
  411. 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79,
  412. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x64, 0x61, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x69,
  413. 0x73, 0x53, 0x69, 0x67, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x53,
  414. 0x69, 0x67, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18,
  415. 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12,
  416. 0x16, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52,
  417. 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x22, 0x29, 0x0a, 0x0b, 0x53, 0x69, 0x67, 0x6e, 0x52,
  418. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x44, 0x6f, 0x75, 0x62,
  419. 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x44, 0x6f, 0x75, 0x62,
  420. 0x6c, 0x65, 0x32, 0xc6, 0x06, 0x0a, 0x08, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x12,
  421. 0x66, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x4c, 0x69, 0x73,
  422. 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  423. 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  424. 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x69, 0x67,
  425. 0x6e, 0x49, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x19, 0x82, 0xd3,
  426. 0xe4, 0x93, 0x02, 0x13, 0x22, 0x0e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x2f,
  427. 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x4f, 0x0a, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x12,
  428. 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x53,
  429. 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
  430. 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,
  431. 0x74, 0x79, 0x22, 0x14, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x22, 0x09, 0x2f, 0x61, 0x70, 0x69,
  432. 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0x5b, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x53,
  433. 0x69, 0x67, 0x6e, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  434. 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
  435. 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  436. 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02,
  437. 0x14, 0x22, 0x0f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x2f, 0x61, 0x67, 0x61,
  438. 0x69, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0x62, 0x0a, 0x0c, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x73,
  439. 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
  440. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1f, 0x2e,
  441. 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x46, 0x69, 0x6e,
  442. 0x64, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x19,
  443. 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x22, 0x0e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x74, 0x61, 0x73,
  444. 0x6b, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x5c, 0x0a, 0x0a, 0x46, 0x69, 0x6e,
  445. 0x69, 0x73, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63,
  446. 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65,
  447. 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  448. 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93,
  449. 0x02, 0x15, 0x22, 0x10, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2f, 0x66, 0x69,
  450. 0x6e, 0x69, 0x73, 0x68, 0x3a, 0x01, 0x2a, 0x12, 0x5f, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x54, 0x61,
  451. 0x73, 0x6b, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61,
  452. 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75,
  453. 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  454. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x1b, 0x82, 0xd3, 0xe4,
  455. 0x93, 0x02, 0x15, 0x22, 0x10, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2f, 0x63,
  456. 0x72, 0x65, 0x64, 0x69, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x5b, 0x0a, 0x14, 0x46, 0x69, 0x6e, 0x69,
  457. 0x73, 0x68, 0x4f, 0x6e, 0x63, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65,
  458. 0x12, 0x29, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e,
  459. 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4f, 0x6e, 0x63, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x79,
  460. 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f,
  461. 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
  462. 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x14, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x69, 0x6e,
  463. 0x69, 0x73, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x29, 0x2e,
  464. 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x46, 0x69, 0x6e,
  465. 0x69, 0x73, 0x68, 0x4f, 0x6e, 0x63, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x79, 0x54, 0x79, 0x70,
  466. 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  467. 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
  468. 0x22, 0x00, 0x12, 0x47, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x6f, 0x64, 0x61, 0x79, 0x53,
  469. 0x69, 0x67, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  470. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a,
  471. 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72,
  472. 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x42, 0x49, 0x0a, 0x0c, 0x61,
  473. 0x70, 0x69, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x50, 0x01, 0x5a, 0x37, 0x67,
  474. 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65,
  475. 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  476. 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x3b, 0x61, 0x63,
  477. 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  478. }
  479. var (
  480. file_activity_proto_rawDescOnce sync.Once
  481. file_activity_proto_rawDescData = file_activity_proto_rawDesc
  482. )
  483. func file_activity_proto_rawDescGZIP() []byte {
  484. file_activity_proto_rawDescOnce.Do(func() {
  485. file_activity_proto_rawDescData = protoimpl.X.CompressGZIP(file_activity_proto_rawDescData)
  486. })
  487. return file_activity_proto_rawDescData
  488. }
  489. var file_activity_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
  490. var file_activity_proto_goTypes = []interface{}{
  491. (*FinishOnceTaskByTypeRequest)(nil), // 0: api.activity.FinishOnceTaskByTypeRequest
  492. (*TaskRequest)(nil), // 1: api.activity.TaskRequest
  493. (*FindTaskListReply)(nil), // 2: api.activity.FindTaskListReply
  494. (*TaskInfo)(nil), // 3: api.activity.TaskInfo
  495. (*FindSignInListReply)(nil), // 4: api.activity.FindSignInListReply
  496. (*SignInInfo)(nil), // 5: api.activity.SignInInfo
  497. (*SignRequest)(nil), // 6: api.activity.SignRequest
  498. (*emptypb.Empty)(nil), // 7: google.protobuf.Empty
  499. (*common.PersonIDList)(nil), // 8: api.common.PersonIDList
  500. }
  501. var file_activity_proto_depIdxs = []int32{
  502. 3, // 0: api.activity.FindTaskListReply.list:type_name -> api.activity.TaskInfo
  503. 5, // 1: api.activity.FindSignInListReply.list:type_name -> api.activity.SignInInfo
  504. 7, // 2: api.activity.Activity.FindSignInList:input_type -> google.protobuf.Empty
  505. 6, // 3: api.activity.Activity.Sign:input_type -> api.activity.SignRequest
  506. 7, // 4: api.activity.Activity.GetSignDouble:input_type -> google.protobuf.Empty
  507. 7, // 5: api.activity.Activity.FindTaskList:input_type -> google.protobuf.Empty
  508. 1, // 6: api.activity.Activity.FinishTask:input_type -> api.activity.TaskRequest
  509. 1, // 7: api.activity.Activity.GetTaskCredit:input_type -> api.activity.TaskRequest
  510. 0, // 8: api.activity.Activity.FinishOnceTaskByType:input_type -> api.activity.FinishOnceTaskByTypeRequest
  511. 0, // 9: api.activity.Activity.SyncFinishTaskRecord:input_type -> api.activity.FinishOnceTaskByTypeRequest
  512. 7, // 10: api.activity.Activity.FindTodaySignUser:input_type -> google.protobuf.Empty
  513. 4, // 11: api.activity.Activity.FindSignInList:output_type -> api.activity.FindSignInListReply
  514. 7, // 12: api.activity.Activity.Sign:output_type -> google.protobuf.Empty
  515. 7, // 13: api.activity.Activity.GetSignDouble:output_type -> google.protobuf.Empty
  516. 2, // 14: api.activity.Activity.FindTaskList:output_type -> api.activity.FindTaskListReply
  517. 7, // 15: api.activity.Activity.FinishTask:output_type -> google.protobuf.Empty
  518. 7, // 16: api.activity.Activity.GetTaskCredit:output_type -> google.protobuf.Empty
  519. 7, // 17: api.activity.Activity.FinishOnceTaskByType:output_type -> google.protobuf.Empty
  520. 7, // 18: api.activity.Activity.SyncFinishTaskRecord:output_type -> google.protobuf.Empty
  521. 8, // 19: api.activity.Activity.FindTodaySignUser:output_type -> api.common.PersonIDList
  522. 11, // [11:20] is the sub-list for method output_type
  523. 2, // [2:11] is the sub-list for method input_type
  524. 2, // [2:2] is the sub-list for extension type_name
  525. 2, // [2:2] is the sub-list for extension extendee
  526. 0, // [0:2] is the sub-list for field type_name
  527. }
  528. func init() { file_activity_proto_init() }
  529. func file_activity_proto_init() {
  530. if File_activity_proto != nil {
  531. return
  532. }
  533. if !protoimpl.UnsafeEnabled {
  534. file_activity_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  535. switch v := v.(*FinishOnceTaskByTypeRequest); i {
  536. case 0:
  537. return &v.state
  538. case 1:
  539. return &v.sizeCache
  540. case 2:
  541. return &v.unknownFields
  542. default:
  543. return nil
  544. }
  545. }
  546. file_activity_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  547. switch v := v.(*TaskRequest); i {
  548. case 0:
  549. return &v.state
  550. case 1:
  551. return &v.sizeCache
  552. case 2:
  553. return &v.unknownFields
  554. default:
  555. return nil
  556. }
  557. }
  558. file_activity_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  559. switch v := v.(*FindTaskListReply); i {
  560. case 0:
  561. return &v.state
  562. case 1:
  563. return &v.sizeCache
  564. case 2:
  565. return &v.unknownFields
  566. default:
  567. return nil
  568. }
  569. }
  570. file_activity_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  571. switch v := v.(*TaskInfo); i {
  572. case 0:
  573. return &v.state
  574. case 1:
  575. return &v.sizeCache
  576. case 2:
  577. return &v.unknownFields
  578. default:
  579. return nil
  580. }
  581. }
  582. file_activity_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  583. switch v := v.(*FindSignInListReply); i {
  584. case 0:
  585. return &v.state
  586. case 1:
  587. return &v.sizeCache
  588. case 2:
  589. return &v.unknownFields
  590. default:
  591. return nil
  592. }
  593. }
  594. file_activity_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  595. switch v := v.(*SignInInfo); i {
  596. case 0:
  597. return &v.state
  598. case 1:
  599. return &v.sizeCache
  600. case 2:
  601. return &v.unknownFields
  602. default:
  603. return nil
  604. }
  605. }
  606. file_activity_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  607. switch v := v.(*SignRequest); i {
  608. case 0:
  609. return &v.state
  610. case 1:
  611. return &v.sizeCache
  612. case 2:
  613. return &v.unknownFields
  614. default:
  615. return nil
  616. }
  617. }
  618. }
  619. type x struct{}
  620. out := protoimpl.TypeBuilder{
  621. File: protoimpl.DescBuilder{
  622. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  623. RawDescriptor: file_activity_proto_rawDesc,
  624. NumEnums: 0,
  625. NumMessages: 7,
  626. NumExtensions: 0,
  627. NumServices: 1,
  628. },
  629. GoTypes: file_activity_proto_goTypes,
  630. DependencyIndexes: file_activity_proto_depIdxs,
  631. MessageInfos: file_activity_proto_msgTypes,
  632. }.Build()
  633. File_activity_proto = out.File
  634. file_activity_proto_rawDesc = nil
  635. file_activity_proto_goTypes = nil
  636. file_activity_proto_depIdxs = nil
  637. }