TakeMoneyTaskResultNotice.pb.go 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.2
  4. // protoc v5.28.3
  5. // source: TakeMoneyTaskResultNotice.proto
  6. package workphone
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type TakeMoneyTaskResultNoticeMessage struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"` // 是否成功
  24. Code EnumErrorCode `protobuf:"varint,2,opt,name=Code,proto3,enum=Jubo.JuLiao.IM.Wx.Proto.EnumErrorCode" json:"Code,omitempty"` // 错误码 Success = true 忽略
  25. ErrMsg string `protobuf:"bytes,3,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` // 错误内容描述 Success = true 忽略
  26. TaskId int64 `protobuf:"varint,4,opt,name=TaskId,proto3" json:"TaskId,omitempty"` // 业务的id,通用的。
  27. MsgKey string `protobuf:"bytes,5,opt,name=MsgKey,proto3" json:"MsgKey,omitempty"` // 消息的Key
  28. Amount int32 `protobuf:"varint,6,opt,name=Amount,proto3" json:"Amount,omitempty"` // 获取的金额(只对红包有效,转账为0)
  29. WeChatId string `protobuf:"bytes,7,opt,name=WeChatId,proto3" json:"WeChatId,omitempty"` // 商家个人微信内部全局唯一识别码
  30. Sender string `protobuf:"bytes,8,opt,name=Sender,proto3" json:"Sender,omitempty"`
  31. Type int32 `protobuf:"varint,9,opt,name=Type,proto3" json:"Type,omitempty"` //0 红包 1 转账
  32. SenderName string `protobuf:"bytes,10,opt,name=SenderName,proto3" json:"SenderName,omitempty"`
  33. }
  34. func (x *TakeMoneyTaskResultNoticeMessage) Reset() {
  35. *x = TakeMoneyTaskResultNoticeMessage{}
  36. mi := &file_TakeMoneyTaskResultNotice_proto_msgTypes[0]
  37. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  38. ms.StoreMessageInfo(mi)
  39. }
  40. func (x *TakeMoneyTaskResultNoticeMessage) String() string {
  41. return protoimpl.X.MessageStringOf(x)
  42. }
  43. func (*TakeMoneyTaskResultNoticeMessage) ProtoMessage() {}
  44. func (x *TakeMoneyTaskResultNoticeMessage) ProtoReflect() protoreflect.Message {
  45. mi := &file_TakeMoneyTaskResultNotice_proto_msgTypes[0]
  46. if x != nil {
  47. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  48. if ms.LoadMessageInfo() == nil {
  49. ms.StoreMessageInfo(mi)
  50. }
  51. return ms
  52. }
  53. return mi.MessageOf(x)
  54. }
  55. // Deprecated: Use TakeMoneyTaskResultNoticeMessage.ProtoReflect.Descriptor instead.
  56. func (*TakeMoneyTaskResultNoticeMessage) Descriptor() ([]byte, []int) {
  57. return file_TakeMoneyTaskResultNotice_proto_rawDescGZIP(), []int{0}
  58. }
  59. func (x *TakeMoneyTaskResultNoticeMessage) GetSuccess() bool {
  60. if x != nil {
  61. return x.Success
  62. }
  63. return false
  64. }
  65. func (x *TakeMoneyTaskResultNoticeMessage) GetCode() EnumErrorCode {
  66. if x != nil {
  67. return x.Code
  68. }
  69. return EnumErrorCode_Success
  70. }
  71. func (x *TakeMoneyTaskResultNoticeMessage) GetErrMsg() string {
  72. if x != nil {
  73. return x.ErrMsg
  74. }
  75. return ""
  76. }
  77. func (x *TakeMoneyTaskResultNoticeMessage) GetTaskId() int64 {
  78. if x != nil {
  79. return x.TaskId
  80. }
  81. return 0
  82. }
  83. func (x *TakeMoneyTaskResultNoticeMessage) GetMsgKey() string {
  84. if x != nil {
  85. return x.MsgKey
  86. }
  87. return ""
  88. }
  89. func (x *TakeMoneyTaskResultNoticeMessage) GetAmount() int32 {
  90. if x != nil {
  91. return x.Amount
  92. }
  93. return 0
  94. }
  95. func (x *TakeMoneyTaskResultNoticeMessage) GetWeChatId() string {
  96. if x != nil {
  97. return x.WeChatId
  98. }
  99. return ""
  100. }
  101. func (x *TakeMoneyTaskResultNoticeMessage) GetSender() string {
  102. if x != nil {
  103. return x.Sender
  104. }
  105. return ""
  106. }
  107. func (x *TakeMoneyTaskResultNoticeMessage) GetType() int32 {
  108. if x != nil {
  109. return x.Type
  110. }
  111. return 0
  112. }
  113. func (x *TakeMoneyTaskResultNoticeMessage) GetSenderName() string {
  114. if x != nil {
  115. return x.SenderName
  116. }
  117. return ""
  118. }
  119. var File_TakeMoneyTaskResultNotice_proto protoreflect.FileDescriptor
  120. var file_TakeMoneyTaskResultNotice_proto_rawDesc = []byte{
  121. 0x0a, 0x1f, 0x54, 0x61, 0x6b, 0x65, 0x4d, 0x6f, 0x6e, 0x65, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x52,
  122. 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  123. 0x6f, 0x12, 0x17, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49,
  124. 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x54, 0x72, 0x61, 0x6e,
  125. 0x73, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  126. 0x74, 0x6f, 0x22, 0xc0, 0x02, 0x0a, 0x20, 0x54, 0x61, 0x6b, 0x65, 0x4d, 0x6f, 0x6e, 0x65, 0x79,
  127. 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65,
  128. 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65,
  129. 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73,
  130. 0x73, 0x12, 0x3a, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
  131. 0x26, 0x2e, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d,
  132. 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x45, 0x72,
  133. 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a,
  134. 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x45,
  135. 0x72, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18,
  136. 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x16, 0x0a,
  137. 0x06, 0x4d, 0x73, 0x67, 0x4b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4d,
  138. 0x73, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18,
  139. 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a,
  140. 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
  141. 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x65, 0x6e,
  142. 0x64, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x53, 0x65, 0x6e, 0x64, 0x65,
  143. 0x72, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52,
  144. 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x4e,
  145. 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x53, 0x65, 0x6e, 0x64, 0x65,
  146. 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x70,
  147. 0x68, 0x6f, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  148. }
  149. var (
  150. file_TakeMoneyTaskResultNotice_proto_rawDescOnce sync.Once
  151. file_TakeMoneyTaskResultNotice_proto_rawDescData = file_TakeMoneyTaskResultNotice_proto_rawDesc
  152. )
  153. func file_TakeMoneyTaskResultNotice_proto_rawDescGZIP() []byte {
  154. file_TakeMoneyTaskResultNotice_proto_rawDescOnce.Do(func() {
  155. file_TakeMoneyTaskResultNotice_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeMoneyTaskResultNotice_proto_rawDescData)
  156. })
  157. return file_TakeMoneyTaskResultNotice_proto_rawDescData
  158. }
  159. var file_TakeMoneyTaskResultNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  160. var file_TakeMoneyTaskResultNotice_proto_goTypes = []any{
  161. (*TakeMoneyTaskResultNoticeMessage)(nil), // 0: Jubo.JuLiao.IM.Wx.Proto.TakeMoneyTaskResultNoticeMessage
  162. (EnumErrorCode)(0), // 1: Jubo.JuLiao.IM.Wx.Proto.EnumErrorCode
  163. }
  164. var file_TakeMoneyTaskResultNotice_proto_depIdxs = []int32{
  165. 1, // 0: Jubo.JuLiao.IM.Wx.Proto.TakeMoneyTaskResultNoticeMessage.Code:type_name -> Jubo.JuLiao.IM.Wx.Proto.EnumErrorCode
  166. 1, // [1:1] is the sub-list for method output_type
  167. 1, // [1:1] is the sub-list for method input_type
  168. 1, // [1:1] is the sub-list for extension type_name
  169. 1, // [1:1] is the sub-list for extension extendee
  170. 0, // [0:1] is the sub-list for field type_name
  171. }
  172. func init() { file_TakeMoneyTaskResultNotice_proto_init() }
  173. func file_TakeMoneyTaskResultNotice_proto_init() {
  174. if File_TakeMoneyTaskResultNotice_proto != nil {
  175. return
  176. }
  177. file_TransportMessage_proto_init()
  178. type x struct{}
  179. out := protoimpl.TypeBuilder{
  180. File: protoimpl.DescBuilder{
  181. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  182. RawDescriptor: file_TakeMoneyTaskResultNotice_proto_rawDesc,
  183. NumEnums: 0,
  184. NumMessages: 1,
  185. NumExtensions: 0,
  186. NumServices: 0,
  187. },
  188. GoTypes: file_TakeMoneyTaskResultNotice_proto_goTypes,
  189. DependencyIndexes: file_TakeMoneyTaskResultNotice_proto_depIdxs,
  190. MessageInfos: file_TakeMoneyTaskResultNotice_proto_msgTypes,
  191. }.Build()
  192. File_TakeMoneyTaskResultNotice_proto = out.File
  193. file_TakeMoneyTaskResultNotice_proto_rawDesc = nil
  194. file_TakeMoneyTaskResultNotice_proto_goTypes = nil
  195. file_TakeMoneyTaskResultNotice_proto_depIdxs = nil
  196. }