activity.pb.go 22 KB

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