activity.pb.go 26 KB

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