activity.pb.go 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605
  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. }
  186. func (x *FindSignInListReply) Reset() {
  187. *x = FindSignInListReply{}
  188. if protoimpl.UnsafeEnabled {
  189. mi := &file_activity_proto_msgTypes[3]
  190. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  191. ms.StoreMessageInfo(mi)
  192. }
  193. }
  194. func (x *FindSignInListReply) String() string {
  195. return protoimpl.X.MessageStringOf(x)
  196. }
  197. func (*FindSignInListReply) ProtoMessage() {}
  198. func (x *FindSignInListReply) ProtoReflect() protoreflect.Message {
  199. mi := &file_activity_proto_msgTypes[3]
  200. if protoimpl.UnsafeEnabled && x != nil {
  201. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  202. if ms.LoadMessageInfo() == nil {
  203. ms.StoreMessageInfo(mi)
  204. }
  205. return ms
  206. }
  207. return mi.MessageOf(x)
  208. }
  209. // Deprecated: Use FindSignInListReply.ProtoReflect.Descriptor instead.
  210. func (*FindSignInListReply) Descriptor() ([]byte, []int) {
  211. return file_activity_proto_rawDescGZIP(), []int{3}
  212. }
  213. func (x *FindSignInListReply) GetList() []*SignInInfo {
  214. if x != nil {
  215. return x.List
  216. }
  217. return make([]*SignInInfo, 0)
  218. }
  219. type SignInInfo struct {
  220. state protoimpl.MessageState
  221. sizeCache protoimpl.SizeCache
  222. unknownFields protoimpl.UnknownFields
  223. Day int64 `protobuf:"varint,1,opt,name=day,proto3" json:"day"` // 签到的日期
  224. IsSign bool `protobuf:"varint,2,opt,name=isSign,proto3" json:"isSign"` // 是否签到
  225. IsDouble bool `protobuf:"varint,3,opt,name=isDouble,proto3" json:"isDouble"` // 是否获取双倍奖励
  226. Credit int64 `protobuf:"varint,4,opt,name=credit,proto3" json:"credit"` // 签到获取的积分
  227. }
  228. func (x *SignInInfo) Reset() {
  229. *x = SignInInfo{}
  230. if protoimpl.UnsafeEnabled {
  231. mi := &file_activity_proto_msgTypes[4]
  232. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  233. ms.StoreMessageInfo(mi)
  234. }
  235. }
  236. func (x *SignInInfo) String() string {
  237. return protoimpl.X.MessageStringOf(x)
  238. }
  239. func (*SignInInfo) ProtoMessage() {}
  240. func (x *SignInInfo) ProtoReflect() protoreflect.Message {
  241. mi := &file_activity_proto_msgTypes[4]
  242. if protoimpl.UnsafeEnabled && x != nil {
  243. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  244. if ms.LoadMessageInfo() == nil {
  245. ms.StoreMessageInfo(mi)
  246. }
  247. return ms
  248. }
  249. return mi.MessageOf(x)
  250. }
  251. // Deprecated: Use SignInInfo.ProtoReflect.Descriptor instead.
  252. func (*SignInInfo) Descriptor() ([]byte, []int) {
  253. return file_activity_proto_rawDescGZIP(), []int{4}
  254. }
  255. func (x *SignInInfo) GetDay() int64 {
  256. if x != nil {
  257. return x.Day
  258. }
  259. return 0
  260. }
  261. func (x *SignInInfo) GetIsSign() bool {
  262. if x != nil {
  263. return x.IsSign
  264. }
  265. return false
  266. }
  267. func (x *SignInInfo) GetIsDouble() bool {
  268. if x != nil {
  269. return x.IsDouble
  270. }
  271. return false
  272. }
  273. func (x *SignInInfo) GetCredit() int64 {
  274. if x != nil {
  275. return x.Credit
  276. }
  277. return 0
  278. }
  279. type SignRequest struct {
  280. state protoimpl.MessageState
  281. sizeCache protoimpl.SizeCache
  282. unknownFields protoimpl.UnknownFields
  283. IsDouble bool `protobuf:"varint,1,opt,name=isDouble,proto3" json:"isDouble"` // 是否获取双倍奖励
  284. }
  285. func (x *SignRequest) Reset() {
  286. *x = SignRequest{}
  287. if protoimpl.UnsafeEnabled {
  288. mi := &file_activity_proto_msgTypes[5]
  289. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  290. ms.StoreMessageInfo(mi)
  291. }
  292. }
  293. func (x *SignRequest) String() string {
  294. return protoimpl.X.MessageStringOf(x)
  295. }
  296. func (*SignRequest) ProtoMessage() {}
  297. func (x *SignRequest) ProtoReflect() protoreflect.Message {
  298. mi := &file_activity_proto_msgTypes[5]
  299. if protoimpl.UnsafeEnabled && x != nil {
  300. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  301. if ms.LoadMessageInfo() == nil {
  302. ms.StoreMessageInfo(mi)
  303. }
  304. return ms
  305. }
  306. return mi.MessageOf(x)
  307. }
  308. // Deprecated: Use SignRequest.ProtoReflect.Descriptor instead.
  309. func (*SignRequest) Descriptor() ([]byte, []int) {
  310. return file_activity_proto_rawDescGZIP(), []int{5}
  311. }
  312. func (x *SignRequest) GetIsDouble() bool {
  313. if x != nil {
  314. return x.IsDouble
  315. }
  316. return false
  317. }
  318. var File_activity_proto protoreflect.FileDescriptor
  319. var file_activity_proto_rawDesc = []byte{
  320. 0x0a, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  321. 0x12, 0x0c, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x1a, 0x1c,
  322. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
  323. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f,
  324. 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d,
  325. 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1d, 0x0a, 0x0b, 0x54, 0x61, 0x73,
  326. 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  327. 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x3f, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64,
  328. 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2a, 0x0a,
  329. 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x70,
  330. 0x69, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x49,
  331. 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0xc4, 0x01, 0x0a, 0x08, 0x54, 0x61,
  332. 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  333. 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
  334. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65,
  335. 0x74, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61,
  336. 0x69, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01,
  337. 0x28, 0x03, 0x52, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x61,
  338. 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03,
  339. 0x52, 0x0c, 0x63, 0x61, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x75, 0x6d, 0x12, 0x1c,
  340. 0x0a, 0x09, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28,
  341. 0x03, 0x52, 0x09, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x75, 0x6d, 0x12, 0x22, 0x0a, 0x0c,
  342. 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x07, 0x20, 0x01,
  343. 0x28, 0x03, 0x52, 0x0c, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x4e, 0x75, 0x6d,
  344. 0x22, 0x43, 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x4c, 0x69,
  345. 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2c, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18,
  346. 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x74, 0x69,
  347. 0x76, 0x69, 0x74, 0x79, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52,
  348. 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x6a, 0x0a, 0x0a, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49,
  349. 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  350. 0x52, 0x03, 0x64, 0x61, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x53, 0x69, 0x67, 0x6e, 0x18,
  351. 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x53, 0x69, 0x67, 0x6e, 0x12, 0x1a, 0x0a,
  352. 0x08, 0x69, 0x73, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
  353. 0x08, 0x69, 0x73, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72, 0x65,
  354. 0x64, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69,
  355. 0x74, 0x22, 0x29, 0x0a, 0x0b, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  356. 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01,
  357. 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x32, 0xc3, 0x04, 0x0a,
  358. 0x08, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x12, 0x66, 0x0a, 0x0e, 0x46, 0x69, 0x6e,
  359. 0x64, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f,
  360. 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
  361. 0x70, 0x74, 0x79, 0x1a, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69,
  362. 0x74, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x4c, 0x69, 0x73,
  363. 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x19, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x22, 0x0e,
  364. 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01,
  365. 0x2a, 0x12, 0x4f, 0x0a, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  366. 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71,
  367. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
  368. 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x14, 0x82, 0xd3,
  369. 0xe4, 0x93, 0x02, 0x0e, 0x22, 0x09, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x3a,
  370. 0x01, 0x2a, 0x12, 0x5b, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x44, 0x6f, 0x75,
  371. 0x62, 0x6c, 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  372. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f,
  373. 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
  374. 0x70, 0x74, 0x79, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x22, 0x0f, 0x2f, 0x61, 0x70,
  375. 0x69, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x2f, 0x61, 0x67, 0x61, 0x69, 0x6e, 0x3a, 0x01, 0x2a, 0x12,
  376. 0x62, 0x0a, 0x0c, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12,
  377. 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  378. 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63,
  379. 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x4c,
  380. 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x19, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13,
  381. 0x22, 0x0e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2f, 0x6c, 0x69, 0x73, 0x74,
  382. 0x3a, 0x01, 0x2a, 0x12, 0x5c, 0x0a, 0x0a, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x54, 0x61, 0x73,
  383. 0x6b, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,
  384. 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67,
  385. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45,
  386. 0x6d, 0x70, 0x74, 0x79, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x22, 0x10, 0x2f, 0x61,
  387. 0x70, 0x69, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x3a, 0x01,
  388. 0x2a, 0x12, 0x5f, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x72, 0x65, 0x64,
  389. 0x69, 0x74, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
  390. 0x79, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
  391. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  392. 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x22, 0x10, 0x2f,
  393. 0x61, 0x70, 0x69, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x3a,
  394. 0x01, 0x2a, 0x42, 0x49, 0x0a, 0x0c, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69,
  395. 0x74, 0x79, 0x50, 0x01, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e,
  396. 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70,
  397. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x63, 0x74, 0x69,
  398. 0x76, 0x69, 0x74, 0x79, 0x3b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70,
  399. 0x72, 0x6f, 0x74, 0x6f, 0x33,
  400. }
  401. var (
  402. file_activity_proto_rawDescOnce sync.Once
  403. file_activity_proto_rawDescData = file_activity_proto_rawDesc
  404. )
  405. func file_activity_proto_rawDescGZIP() []byte {
  406. file_activity_proto_rawDescOnce.Do(func() {
  407. file_activity_proto_rawDescData = protoimpl.X.CompressGZIP(file_activity_proto_rawDescData)
  408. })
  409. return file_activity_proto_rawDescData
  410. }
  411. var file_activity_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  412. var file_activity_proto_goTypes = []interface{}{
  413. (*TaskRequest)(nil), // 0: api.activity.TaskRequest
  414. (*FindTaskListReply)(nil), // 1: api.activity.FindTaskListReply
  415. (*TaskInfo)(nil), // 2: api.activity.TaskInfo
  416. (*FindSignInListReply)(nil), // 3: api.activity.FindSignInListReply
  417. (*SignInInfo)(nil), // 4: api.activity.SignInInfo
  418. (*SignRequest)(nil), // 5: api.activity.SignRequest
  419. (*emptypb.Empty)(nil), // 6: google.protobuf.Empty
  420. }
  421. var file_activity_proto_depIdxs = []int32{
  422. 2, // 0: api.activity.FindTaskListReply.list:type_name -> api.activity.TaskInfo
  423. 4, // 1: api.activity.FindSignInListReply.list:type_name -> api.activity.SignInInfo
  424. 6, // 2: api.activity.Activity.FindSignInList:input_type -> google.protobuf.Empty
  425. 5, // 3: api.activity.Activity.Sign:input_type -> api.activity.SignRequest
  426. 6, // 4: api.activity.Activity.GetSignDouble:input_type -> google.protobuf.Empty
  427. 6, // 5: api.activity.Activity.FindTaskList:input_type -> google.protobuf.Empty
  428. 0, // 6: api.activity.Activity.FinishTask:input_type -> api.activity.TaskRequest
  429. 0, // 7: api.activity.Activity.GetTaskCredit:input_type -> api.activity.TaskRequest
  430. 3, // 8: api.activity.Activity.FindSignInList:output_type -> api.activity.FindSignInListReply
  431. 6, // 9: api.activity.Activity.Sign:output_type -> google.protobuf.Empty
  432. 6, // 10: api.activity.Activity.GetSignDouble:output_type -> google.protobuf.Empty
  433. 1, // 11: api.activity.Activity.FindTaskList:output_type -> api.activity.FindTaskListReply
  434. 6, // 12: api.activity.Activity.FinishTask:output_type -> google.protobuf.Empty
  435. 6, // 13: api.activity.Activity.GetTaskCredit:output_type -> google.protobuf.Empty
  436. 8, // [8:14] is the sub-list for method output_type
  437. 2, // [2:8] is the sub-list for method input_type
  438. 2, // [2:2] is the sub-list for extension type_name
  439. 2, // [2:2] is the sub-list for extension extendee
  440. 0, // [0:2] is the sub-list for field type_name
  441. }
  442. func init() { file_activity_proto_init() }
  443. func file_activity_proto_init() {
  444. if File_activity_proto != nil {
  445. return
  446. }
  447. if !protoimpl.UnsafeEnabled {
  448. file_activity_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  449. switch v := v.(*TaskRequest); i {
  450. case 0:
  451. return &v.state
  452. case 1:
  453. return &v.sizeCache
  454. case 2:
  455. return &v.unknownFields
  456. default:
  457. return nil
  458. }
  459. }
  460. file_activity_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  461. switch v := v.(*FindTaskListReply); i {
  462. case 0:
  463. return &v.state
  464. case 1:
  465. return &v.sizeCache
  466. case 2:
  467. return &v.unknownFields
  468. default:
  469. return nil
  470. }
  471. }
  472. file_activity_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  473. switch v := v.(*TaskInfo); i {
  474. case 0:
  475. return &v.state
  476. case 1:
  477. return &v.sizeCache
  478. case 2:
  479. return &v.unknownFields
  480. default:
  481. return nil
  482. }
  483. }
  484. file_activity_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  485. switch v := v.(*FindSignInListReply); i {
  486. case 0:
  487. return &v.state
  488. case 1:
  489. return &v.sizeCache
  490. case 2:
  491. return &v.unknownFields
  492. default:
  493. return nil
  494. }
  495. }
  496. file_activity_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  497. switch v := v.(*SignInInfo); i {
  498. case 0:
  499. return &v.state
  500. case 1:
  501. return &v.sizeCache
  502. case 2:
  503. return &v.unknownFields
  504. default:
  505. return nil
  506. }
  507. }
  508. file_activity_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  509. switch v := v.(*SignRequest); i {
  510. case 0:
  511. return &v.state
  512. case 1:
  513. return &v.sizeCache
  514. case 2:
  515. return &v.unknownFields
  516. default:
  517. return nil
  518. }
  519. }
  520. }
  521. type x struct{}
  522. out := protoimpl.TypeBuilder{
  523. File: protoimpl.DescBuilder{
  524. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  525. RawDescriptor: file_activity_proto_rawDesc,
  526. NumEnums: 0,
  527. NumMessages: 6,
  528. NumExtensions: 0,
  529. NumServices: 1,
  530. },
  531. GoTypes: file_activity_proto_goTypes,
  532. DependencyIndexes: file_activity_proto_depIdxs,
  533. MessageInfos: file_activity_proto_msgTypes,
  534. }.Build()
  535. File_activity_proto = out.File
  536. file_activity_proto_rawDesc = nil
  537. file_activity_proto_goTypes = nil
  538. file_activity_proto_depIdxs = nil
  539. }