activity.pb.go 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0-devel
  4. // protoc v3.15.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 FindSignInListReply struct {
  22. state protoimpl.MessageState
  23. sizeCache protoimpl.SizeCache
  24. unknownFields protoimpl.UnknownFields
  25. List []*SignInInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  26. }
  27. func (x *FindSignInListReply) Reset() {
  28. *x = FindSignInListReply{}
  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 *FindSignInListReply) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*FindSignInListReply) ProtoMessage() {}
  39. func (x *FindSignInListReply) 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 FindSignInListReply.ProtoReflect.Descriptor instead.
  51. func (*FindSignInListReply) Descriptor() ([]byte, []int) {
  52. return file_activity_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *FindSignInListReply) GetList() []*SignInInfo {
  55. if x != nil {
  56. return x.List
  57. }
  58. return nil
  59. }
  60. type SignInInfo struct {
  61. state protoimpl.MessageState
  62. sizeCache protoimpl.SizeCache
  63. unknownFields protoimpl.UnknownFields
  64. Day int64 `protobuf:"varint,1,opt,name=day,proto3" json:"day"` // 签到的日期
  65. IsSign bool `protobuf:"varint,2,opt,name=isSign,proto3" json:"isSign"` // 是否签到
  66. IsDouble bool `protobuf:"varint,3,opt,name=isDouble,proto3" json:"isDouble"` // 是否获取双倍奖励
  67. Credit int64 `protobuf:"varint,4,opt,name=credit,proto3" json:"credit"` // 签到获取的积分
  68. }
  69. func (x *SignInInfo) Reset() {
  70. *x = SignInInfo{}
  71. if protoimpl.UnsafeEnabled {
  72. mi := &file_activity_proto_msgTypes[1]
  73. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  74. ms.StoreMessageInfo(mi)
  75. }
  76. }
  77. func (x *SignInInfo) String() string {
  78. return protoimpl.X.MessageStringOf(x)
  79. }
  80. func (*SignInInfo) ProtoMessage() {}
  81. func (x *SignInInfo) ProtoReflect() protoreflect.Message {
  82. mi := &file_activity_proto_msgTypes[1]
  83. if protoimpl.UnsafeEnabled && x != nil {
  84. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  85. if ms.LoadMessageInfo() == nil {
  86. ms.StoreMessageInfo(mi)
  87. }
  88. return ms
  89. }
  90. return mi.MessageOf(x)
  91. }
  92. // Deprecated: Use SignInInfo.ProtoReflect.Descriptor instead.
  93. func (*SignInInfo) Descriptor() ([]byte, []int) {
  94. return file_activity_proto_rawDescGZIP(), []int{1}
  95. }
  96. func (x *SignInInfo) GetDay() int64 {
  97. if x != nil {
  98. return x.Day
  99. }
  100. return 0
  101. }
  102. func (x *SignInInfo) GetIsSign() bool {
  103. if x != nil {
  104. return x.IsSign
  105. }
  106. return false
  107. }
  108. func (x *SignInInfo) GetIsDouble() bool {
  109. if x != nil {
  110. return x.IsDouble
  111. }
  112. return false
  113. }
  114. func (x *SignInInfo) GetCredit() int64 {
  115. if x != nil {
  116. return x.Credit
  117. }
  118. return 0
  119. }
  120. type SignRequest struct {
  121. state protoimpl.MessageState
  122. sizeCache protoimpl.SizeCache
  123. unknownFields protoimpl.UnknownFields
  124. IsDouble bool `protobuf:"varint,1,opt,name=isDouble,proto3" json:"isDouble"` // 是否获取双倍奖励
  125. }
  126. func (x *SignRequest) Reset() {
  127. *x = SignRequest{}
  128. if protoimpl.UnsafeEnabled {
  129. mi := &file_activity_proto_msgTypes[2]
  130. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  131. ms.StoreMessageInfo(mi)
  132. }
  133. }
  134. func (x *SignRequest) String() string {
  135. return protoimpl.X.MessageStringOf(x)
  136. }
  137. func (*SignRequest) ProtoMessage() {}
  138. func (x *SignRequest) ProtoReflect() protoreflect.Message {
  139. mi := &file_activity_proto_msgTypes[2]
  140. if protoimpl.UnsafeEnabled && x != nil {
  141. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  142. if ms.LoadMessageInfo() == nil {
  143. ms.StoreMessageInfo(mi)
  144. }
  145. return ms
  146. }
  147. return mi.MessageOf(x)
  148. }
  149. // Deprecated: Use SignRequest.ProtoReflect.Descriptor instead.
  150. func (*SignRequest) Descriptor() ([]byte, []int) {
  151. return file_activity_proto_rawDescGZIP(), []int{2}
  152. }
  153. func (x *SignRequest) GetIsDouble() bool {
  154. if x != nil {
  155. return x.IsDouble
  156. }
  157. return false
  158. }
  159. var File_activity_proto protoreflect.FileDescriptor
  160. var file_activity_proto_rawDesc = []byte{
  161. 0x0a, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  162. 0x12, 0x0c, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x1a, 0x1c,
  163. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
  164. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f,
  165. 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d,
  166. 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a, 0x13, 0x46, 0x69, 0x6e,
  167. 0x64, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79,
  168. 0x12, 0x2c, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18,
  169. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x53, 0x69,
  170. 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x6a,
  171. 0x0a, 0x0a, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03,
  172. 0x64, 0x61, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x64, 0x61, 0x79, 0x12, 0x16,
  173. 0x0a, 0x06, 0x69, 0x73, 0x53, 0x69, 0x67, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06,
  174. 0x69, 0x73, 0x53, 0x69, 0x67, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x44, 0x6f, 0x75, 0x62,
  175. 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x44, 0x6f, 0x75, 0x62,
  176. 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01,
  177. 0x28, 0x03, 0x52, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x22, 0x29, 0x0a, 0x0b, 0x53, 0x69,
  178. 0x67, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x44,
  179. 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x44,
  180. 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x32, 0xa0, 0x02, 0x0a, 0x08, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69,
  181. 0x74, 0x79, 0x12, 0x66, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e,
  182. 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
  183. 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x21, 0x2e, 0x61,
  184. 0x70, 0x69, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64,
  185. 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22,
  186. 0x19, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x22, 0x0e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x69,
  187. 0x67, 0x6e, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x4f, 0x0a, 0x04, 0x53, 0x69,
  188. 0x67, 0x6e, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
  189. 0x79, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
  190. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  191. 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x14, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x22, 0x09, 0x2f,
  192. 0x61, 0x70, 0x69, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0x5b, 0x0a, 0x0d, 0x47,
  193. 0x65, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x2e, 0x67,
  194. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45,
  195. 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
  196. 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x1a, 0x82, 0xd3,
  197. 0xe4, 0x93, 0x02, 0x14, 0x22, 0x0f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x2f,
  198. 0x61, 0x67, 0x61, 0x69, 0x6e, 0x3a, 0x01, 0x2a, 0x42, 0x49, 0x0a, 0x0c, 0x61, 0x70, 0x69, 0x2e,
  199. 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x50, 0x01, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x2e,
  200. 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65,
  201. 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70,
  202. 0x69, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x3b, 0x61, 0x63, 0x74, 0x69, 0x76,
  203. 0x69, 0x74, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  204. }
  205. var (
  206. file_activity_proto_rawDescOnce sync.Once
  207. file_activity_proto_rawDescData = file_activity_proto_rawDesc
  208. )
  209. func file_activity_proto_rawDescGZIP() []byte {
  210. file_activity_proto_rawDescOnce.Do(func() {
  211. file_activity_proto_rawDescData = protoimpl.X.CompressGZIP(file_activity_proto_rawDescData)
  212. })
  213. return file_activity_proto_rawDescData
  214. }
  215. var file_activity_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
  216. var file_activity_proto_goTypes = []interface{}{
  217. (*FindSignInListReply)(nil), // 0: api.activity.FindSignInListReply
  218. (*SignInInfo)(nil), // 1: api.activity.SignInInfo
  219. (*SignRequest)(nil), // 2: api.activity.SignRequest
  220. (*emptypb.Empty)(nil), // 3: google.protobuf.Empty
  221. }
  222. var file_activity_proto_depIdxs = []int32{
  223. 1, // 0: api.activity.FindSignInListReply.list:type_name -> api.activity.SignInInfo
  224. 3, // 1: api.activity.Activity.FindSignInList:input_type -> google.protobuf.Empty
  225. 2, // 2: api.activity.Activity.Sign:input_type -> api.activity.SignRequest
  226. 3, // 3: api.activity.Activity.GetSignDouble:input_type -> google.protobuf.Empty
  227. 0, // 4: api.activity.Activity.FindSignInList:output_type -> api.activity.FindSignInListReply
  228. 3, // 5: api.activity.Activity.Sign:output_type -> google.protobuf.Empty
  229. 3, // 6: api.activity.Activity.GetSignDouble:output_type -> google.protobuf.Empty
  230. 4, // [4:7] is the sub-list for method output_type
  231. 1, // [1:4] is the sub-list for method input_type
  232. 1, // [1:1] is the sub-list for extension type_name
  233. 1, // [1:1] is the sub-list for extension extendee
  234. 0, // [0:1] is the sub-list for field type_name
  235. }
  236. func init() { file_activity_proto_init() }
  237. func file_activity_proto_init() {
  238. if File_activity_proto != nil {
  239. return
  240. }
  241. if !protoimpl.UnsafeEnabled {
  242. file_activity_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  243. switch v := v.(*FindSignInListReply); i {
  244. case 0:
  245. return &v.state
  246. case 1:
  247. return &v.sizeCache
  248. case 2:
  249. return &v.unknownFields
  250. default:
  251. return nil
  252. }
  253. }
  254. file_activity_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  255. switch v := v.(*SignInInfo); i {
  256. case 0:
  257. return &v.state
  258. case 1:
  259. return &v.sizeCache
  260. case 2:
  261. return &v.unknownFields
  262. default:
  263. return nil
  264. }
  265. }
  266. file_activity_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  267. switch v := v.(*SignRequest); i {
  268. case 0:
  269. return &v.state
  270. case 1:
  271. return &v.sizeCache
  272. case 2:
  273. return &v.unknownFields
  274. default:
  275. return nil
  276. }
  277. }
  278. }
  279. type x struct{}
  280. out := protoimpl.TypeBuilder{
  281. File: protoimpl.DescBuilder{
  282. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  283. RawDescriptor: file_activity_proto_rawDesc,
  284. NumEnums: 0,
  285. NumMessages: 3,
  286. NumExtensions: 0,
  287. NumServices: 1,
  288. },
  289. GoTypes: file_activity_proto_goTypes,
  290. DependencyIndexes: file_activity_proto_depIdxs,
  291. MessageInfos: file_activity_proto_msgTypes,
  292. }.Build()
  293. File_activity_proto = out.File
  294. file_activity_proto_rawDesc = nil
  295. file_activity_proto_goTypes = nil
  296. file_activity_proto_depIdxs = nil
  297. }