wx.pb.go 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  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: wx.proto
  6. package wx
  7. import (
  8. common "git.ikuban.com/server/pw-protobuf/api/common"
  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 ReduceUserUnreadRequest struct {
  22. state protoimpl.MessageState
  23. sizeCache protoimpl.SizeCache
  24. unknownFields protoimpl.UnknownFields
  25. AccountId int64 `protobuf:"varint,1,opt,name=accountId,proto3" json:"accountId"`
  26. PersonId string `protobuf:"bytes,2,opt,name=personId,proto3" json:"personId"`
  27. }
  28. func (x *ReduceUserUnreadRequest) Reset() {
  29. *x = ReduceUserUnreadRequest{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_wx_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *ReduceUserUnreadRequest) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*ReduceUserUnreadRequest) ProtoMessage() {}
  40. func (x *ReduceUserUnreadRequest) ProtoReflect() protoreflect.Message {
  41. mi := &file_wx_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 ReduceUserUnreadRequest.ProtoReflect.Descriptor instead.
  52. func (*ReduceUserUnreadRequest) Descriptor() ([]byte, []int) {
  53. return file_wx_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *ReduceUserUnreadRequest) GetAccountId() int64 {
  56. if x != nil {
  57. return x.AccountId
  58. }
  59. return 0
  60. }
  61. func (x *ReduceUserUnreadRequest) GetPersonId() string {
  62. if x != nil {
  63. return x.PersonId
  64. }
  65. return ""
  66. }
  67. type SendNewMessageUnreadReminderRequest struct {
  68. state protoimpl.MessageState
  69. sizeCache protoimpl.SizeCache
  70. unknownFields protoimpl.UnknownFields
  71. PersonId string `protobuf:"bytes,1,opt,name=personId,proto3" json:"personId"`
  72. SendPersonId string `protobuf:"bytes,2,opt,name=sendPersonId,proto3" json:"sendPersonId"`
  73. }
  74. func (x *SendNewMessageUnreadReminderRequest) Reset() {
  75. *x = SendNewMessageUnreadReminderRequest{}
  76. if protoimpl.UnsafeEnabled {
  77. mi := &file_wx_proto_msgTypes[1]
  78. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  79. ms.StoreMessageInfo(mi)
  80. }
  81. }
  82. func (x *SendNewMessageUnreadReminderRequest) String() string {
  83. return protoimpl.X.MessageStringOf(x)
  84. }
  85. func (*SendNewMessageUnreadReminderRequest) ProtoMessage() {}
  86. func (x *SendNewMessageUnreadReminderRequest) ProtoReflect() protoreflect.Message {
  87. mi := &file_wx_proto_msgTypes[1]
  88. if protoimpl.UnsafeEnabled && x != nil {
  89. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  90. if ms.LoadMessageInfo() == nil {
  91. ms.StoreMessageInfo(mi)
  92. }
  93. return ms
  94. }
  95. return mi.MessageOf(x)
  96. }
  97. // Deprecated: Use SendNewMessageUnreadReminderRequest.ProtoReflect.Descriptor instead.
  98. func (*SendNewMessageUnreadReminderRequest) Descriptor() ([]byte, []int) {
  99. return file_wx_proto_rawDescGZIP(), []int{1}
  100. }
  101. func (x *SendNewMessageUnreadReminderRequest) GetPersonId() string {
  102. if x != nil {
  103. return x.PersonId
  104. }
  105. return ""
  106. }
  107. func (x *SendNewMessageUnreadReminderRequest) GetSendPersonId() string {
  108. if x != nil {
  109. return x.SendPersonId
  110. }
  111. return ""
  112. }
  113. var File_wx_proto protoreflect.FileDescriptor
  114. var file_wx_proto_rawDesc = []byte{
  115. 0x0a, 0x08, 0x77, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x61, 0x70, 0x69, 0x2e,
  116. 0x77, 0x78, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  117. 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
  118. 0x17, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
  119. 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x17, 0x52, 0x65, 0x64, 0x75,
  120. 0x63, 0x65, 0x55, 0x73, 0x65, 0x72, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75,
  121. 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
  122. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49,
  123. 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20,
  124. 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x65, 0x0a,
  125. 0x23, 0x53, 0x65, 0x6e, 0x64, 0x4e, 0x65, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x55,
  126. 0x6e, 0x72, 0x65, 0x61, 0x64, 0x52, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71,
  127. 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64,
  128. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64,
  129. 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x65, 0x6e, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64,
  130. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x6e, 0x64, 0x50, 0x65, 0x72, 0x73,
  131. 0x6f, 0x6e, 0x49, 0x64, 0x32, 0xa1, 0x03, 0x0a, 0x02, 0x57, 0x78, 0x12, 0x42, 0x0a, 0x0e, 0x43,
  132. 0x72, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x16, 0x2e,
  133. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  134. 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
  135. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12,
  136. 0x4a, 0x0a, 0x16, 0x43, 0x72, 0x6f, 0x6e, 0x53, 0x65, 0x6e, 0x64, 0x55, 0x6e, 0x72, 0x65, 0x61,
  137. 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  138. 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
  139. 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  140. 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x1c, 0x53,
  141. 0x65, 0x6e, 0x64, 0x4e, 0x65, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x55, 0x6e, 0x72,
  142. 0x65, 0x61, 0x64, 0x52, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x61, 0x70,
  143. 0x69, 0x2e, 0x77, 0x78, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4e, 0x65, 0x77, 0x4d, 0x65, 0x73, 0x73,
  144. 0x61, 0x67, 0x65, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x52, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65,
  145. 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  146. 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
  147. 0x22, 0x00, 0x12, 0x55, 0x0a, 0x1e, 0x53, 0x65, 0x6e, 0x64, 0x4e, 0x65, 0x77, 0x56, 0x69, 0x73,
  148. 0x69, 0x74, 0x6f, 0x72, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x69,
  149. 0x6e, 0x64, 0x65, 0x72, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
  150. 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a,
  151. 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  152. 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x10, 0x52, 0x65, 0x64,
  153. 0x75, 0x63, 0x65, 0x55, 0x73, 0x65, 0x72, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x12, 0x1f, 0x2e,
  154. 0x61, 0x70, 0x69, 0x2e, 0x77, 0x78, 0x2e, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x55, 0x73, 0x65,
  155. 0x72, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16,
  156. 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  157. 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x37, 0x0a, 0x06, 0x61, 0x70, 0x69, 0x2e,
  158. 0x77, 0x78, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e,
  159. 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70,
  160. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x77, 0x78, 0x3b, 0x77,
  161. 0x78, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  162. }
  163. var (
  164. file_wx_proto_rawDescOnce sync.Once
  165. file_wx_proto_rawDescData = file_wx_proto_rawDesc
  166. )
  167. func file_wx_proto_rawDescGZIP() []byte {
  168. file_wx_proto_rawDescOnce.Do(func() {
  169. file_wx_proto_rawDescData = protoimpl.X.CompressGZIP(file_wx_proto_rawDescData)
  170. })
  171. return file_wx_proto_rawDescData
  172. }
  173. var file_wx_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  174. var file_wx_proto_goTypes = []interface{}{
  175. (*ReduceUserUnreadRequest)(nil), // 0: api.wx.ReduceUserUnreadRequest
  176. (*SendNewMessageUnreadReminderRequest)(nil), // 1: api.wx.SendNewMessageUnreadReminderRequest
  177. (*emptypb.Empty)(nil), // 2: google.protobuf.Empty
  178. (*common.PersonIDParam)(nil), // 3: api.common.PersonIDParam
  179. }
  180. var file_wx_proto_depIdxs = []int32{
  181. 2, // 0: api.wx.Wx.CronSignInUser:input_type -> google.protobuf.Empty
  182. 2, // 1: api.wx.Wx.CronSendUnreadTemplate:input_type -> google.protobuf.Empty
  183. 1, // 2: api.wx.Wx.SendNewMessageUnreadReminder:input_type -> api.wx.SendNewMessageUnreadReminderRequest
  184. 3, // 3: api.wx.Wx.SendNewVisitorTemplateReminder:input_type -> api.common.PersonIDParam
  185. 0, // 4: api.wx.Wx.ReduceUserUnread:input_type -> api.wx.ReduceUserUnreadRequest
  186. 2, // 5: api.wx.Wx.CronSignInUser:output_type -> google.protobuf.Empty
  187. 2, // 6: api.wx.Wx.CronSendUnreadTemplate:output_type -> google.protobuf.Empty
  188. 2, // 7: api.wx.Wx.SendNewMessageUnreadReminder:output_type -> google.protobuf.Empty
  189. 2, // 8: api.wx.Wx.SendNewVisitorTemplateReminder:output_type -> google.protobuf.Empty
  190. 2, // 9: api.wx.Wx.ReduceUserUnread:output_type -> google.protobuf.Empty
  191. 5, // [5:10] is the sub-list for method output_type
  192. 0, // [0:5] is the sub-list for method input_type
  193. 0, // [0:0] is the sub-list for extension type_name
  194. 0, // [0:0] is the sub-list for extension extendee
  195. 0, // [0:0] is the sub-list for field type_name
  196. }
  197. func init() { file_wx_proto_init() }
  198. func file_wx_proto_init() {
  199. if File_wx_proto != nil {
  200. return
  201. }
  202. if !protoimpl.UnsafeEnabled {
  203. file_wx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  204. switch v := v.(*ReduceUserUnreadRequest); i {
  205. case 0:
  206. return &v.state
  207. case 1:
  208. return &v.sizeCache
  209. case 2:
  210. return &v.unknownFields
  211. default:
  212. return nil
  213. }
  214. }
  215. file_wx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  216. switch v := v.(*SendNewMessageUnreadReminderRequest); i {
  217. case 0:
  218. return &v.state
  219. case 1:
  220. return &v.sizeCache
  221. case 2:
  222. return &v.unknownFields
  223. default:
  224. return nil
  225. }
  226. }
  227. }
  228. type x struct{}
  229. out := protoimpl.TypeBuilder{
  230. File: protoimpl.DescBuilder{
  231. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  232. RawDescriptor: file_wx_proto_rawDesc,
  233. NumEnums: 0,
  234. NumMessages: 2,
  235. NumExtensions: 0,
  236. NumServices: 1,
  237. },
  238. GoTypes: file_wx_proto_goTypes,
  239. DependencyIndexes: file_wx_proto_depIdxs,
  240. MessageInfos: file_wx_proto_msgTypes,
  241. }.Build()
  242. File_wx_proto = out.File
  243. file_wx_proto_rawDesc = nil
  244. file_wx_proto_goTypes = nil
  245. file_wx_proto_depIdxs = nil
  246. }