WTaskResultNotice.pb.go 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.6
  4. // protoc v3.19.4
  5. // source: wecom/WTaskResultNotice.proto
  6. package wecom
  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. unsafe "unsafe"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type TaskResultNoticeMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` // 设备企业WX号
  23. TaskType EnumMsgType `protobuf:"varint,2,opt,name=TaskType,proto3,enum=Im.Scrm.Ww.Proto.EnumMsgType" json:"TaskType,omitempty"` //原来执行的任务的类型
  24. TaskId int64 `protobuf:"varint,3,opt,name=TaskId,proto3" json:"TaskId,omitempty"` // 业务的id,通用的。
  25. Success bool `protobuf:"varint,4,opt,name=Success,proto3" json:"Success,omitempty"` // 是否成功
  26. Code EnumErrorCode `protobuf:"varint,5,opt,name=Code,proto3,enum=Im.Scrm.Ww.Proto.EnumErrorCode" json:"Code,omitempty"` // 错误码 Success = true 忽略
  27. ErrMsg string `protobuf:"bytes,6,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` // 错误内容描述
  28. Ext string `protobuf:"bytes,7,opt,name=Ext,proto3" json:"Ext,omitempty"` // 自定义返回数据 string
  29. ExtId int64 `protobuf:"varint,8,opt,name=ExtId,proto3" json:"ExtId,omitempty"` // 自定义返回数据 long
  30. unknownFields protoimpl.UnknownFields
  31. sizeCache protoimpl.SizeCache
  32. }
  33. func (x *TaskResultNoticeMessage) Reset() {
  34. *x = TaskResultNoticeMessage{}
  35. mi := &file_wecom_WTaskResultNotice_proto_msgTypes[0]
  36. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  37. ms.StoreMessageInfo(mi)
  38. }
  39. func (x *TaskResultNoticeMessage) String() string {
  40. return protoimpl.X.MessageStringOf(x)
  41. }
  42. func (*TaskResultNoticeMessage) ProtoMessage() {}
  43. func (x *TaskResultNoticeMessage) ProtoReflect() protoreflect.Message {
  44. mi := &file_wecom_WTaskResultNotice_proto_msgTypes[0]
  45. if x != nil {
  46. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  47. if ms.LoadMessageInfo() == nil {
  48. ms.StoreMessageInfo(mi)
  49. }
  50. return ms
  51. }
  52. return mi.MessageOf(x)
  53. }
  54. // Deprecated: Use TaskResultNoticeMessage.ProtoReflect.Descriptor instead.
  55. func (*TaskResultNoticeMessage) Descriptor() ([]byte, []int) {
  56. return file_wecom_WTaskResultNotice_proto_rawDescGZIP(), []int{0}
  57. }
  58. func (x *TaskResultNoticeMessage) GetWxId() int64 {
  59. if x != nil {
  60. return x.WxId
  61. }
  62. return 0
  63. }
  64. func (x *TaskResultNoticeMessage) GetTaskType() EnumMsgType {
  65. if x != nil {
  66. return x.TaskType
  67. }
  68. return EnumMsgType_UnknownMsg
  69. }
  70. func (x *TaskResultNoticeMessage) GetTaskId() int64 {
  71. if x != nil {
  72. return x.TaskId
  73. }
  74. return 0
  75. }
  76. func (x *TaskResultNoticeMessage) GetSuccess() bool {
  77. if x != nil {
  78. return x.Success
  79. }
  80. return false
  81. }
  82. func (x *TaskResultNoticeMessage) GetCode() EnumErrorCode {
  83. if x != nil {
  84. return x.Code
  85. }
  86. return EnumErrorCode_Success
  87. }
  88. func (x *TaskResultNoticeMessage) GetErrMsg() string {
  89. if x != nil {
  90. return x.ErrMsg
  91. }
  92. return ""
  93. }
  94. func (x *TaskResultNoticeMessage) GetExt() string {
  95. if x != nil {
  96. return x.Ext
  97. }
  98. return ""
  99. }
  100. func (x *TaskResultNoticeMessage) GetExtId() int64 {
  101. if x != nil {
  102. return x.ExtId
  103. }
  104. return 0
  105. }
  106. var File_wecom_WTaskResultNotice_proto protoreflect.FileDescriptor
  107. const file_wecom_WTaskResultNotice_proto_rawDesc = "" +
  108. "\n" +
  109. "\x1dwecom/WTaskResultNotice.proto\x12\x10Im.Scrm.Ww.Proto\x1a\x16wecom/WTransport.proto\"\x8f\x02\n" +
  110. "\x17TaskResultNoticeMessage\x12\x12\n" +
  111. "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x129\n" +
  112. "\bTaskType\x18\x02 \x01(\x0e2\x1d.Im.Scrm.Ww.Proto.EnumMsgTypeR\bTaskType\x12\x16\n" +
  113. "\x06TaskId\x18\x03 \x01(\x03R\x06TaskId\x12\x18\n" +
  114. "\aSuccess\x18\x04 \x01(\bR\aSuccess\x123\n" +
  115. "\x04Code\x18\x05 \x01(\x0e2\x1f.Im.Scrm.Ww.Proto.EnumErrorCodeR\x04Code\x12\x16\n" +
  116. "\x06ErrMsg\x18\x06 \x01(\tR\x06ErrMsg\x12\x10\n" +
  117. "\x03Ext\x18\a \x01(\tR\x03Ext\x12\x14\n" +
  118. "\x05ExtId\x18\b \x01(\x03R\x05ExtIdB\x13Z\x11./workphone/wecomb\x06proto3"
  119. var (
  120. file_wecom_WTaskResultNotice_proto_rawDescOnce sync.Once
  121. file_wecom_WTaskResultNotice_proto_rawDescData []byte
  122. )
  123. func file_wecom_WTaskResultNotice_proto_rawDescGZIP() []byte {
  124. file_wecom_WTaskResultNotice_proto_rawDescOnce.Do(func() {
  125. file_wecom_WTaskResultNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WTaskResultNotice_proto_rawDesc), len(file_wecom_WTaskResultNotice_proto_rawDesc)))
  126. })
  127. return file_wecom_WTaskResultNotice_proto_rawDescData
  128. }
  129. var file_wecom_WTaskResultNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  130. var file_wecom_WTaskResultNotice_proto_goTypes = []any{
  131. (*TaskResultNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.TaskResultNoticeMessage
  132. (EnumMsgType)(0), // 1: Im.Scrm.Ww.Proto.EnumMsgType
  133. (EnumErrorCode)(0), // 2: Im.Scrm.Ww.Proto.EnumErrorCode
  134. }
  135. var file_wecom_WTaskResultNotice_proto_depIdxs = []int32{
  136. 1, // 0: Im.Scrm.Ww.Proto.TaskResultNoticeMessage.TaskType:type_name -> Im.Scrm.Ww.Proto.EnumMsgType
  137. 2, // 1: Im.Scrm.Ww.Proto.TaskResultNoticeMessage.Code:type_name -> Im.Scrm.Ww.Proto.EnumErrorCode
  138. 2, // [2:2] is the sub-list for method output_type
  139. 2, // [2:2] is the sub-list for method input_type
  140. 2, // [2:2] is the sub-list for extension type_name
  141. 2, // [2:2] is the sub-list for extension extendee
  142. 0, // [0:2] is the sub-list for field type_name
  143. }
  144. func init() { file_wecom_WTaskResultNotice_proto_init() }
  145. func file_wecom_WTaskResultNotice_proto_init() {
  146. if File_wecom_WTaskResultNotice_proto != nil {
  147. return
  148. }
  149. file_wecom_WTransport_proto_init()
  150. type x struct{}
  151. out := protoimpl.TypeBuilder{
  152. File: protoimpl.DescBuilder{
  153. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  154. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WTaskResultNotice_proto_rawDesc), len(file_wecom_WTaskResultNotice_proto_rawDesc)),
  155. NumEnums: 0,
  156. NumMessages: 1,
  157. NumExtensions: 0,
  158. NumServices: 0,
  159. },
  160. GoTypes: file_wecom_WTaskResultNotice_proto_goTypes,
  161. DependencyIndexes: file_wecom_WTaskResultNotice_proto_depIdxs,
  162. MessageInfos: file_wecom_WTaskResultNotice_proto_msgTypes,
  163. }.Build()
  164. File_wecom_WTaskResultNotice_proto = out.File
  165. file_wecom_WTaskResultNotice_proto_goTypes = nil
  166. file_wecom_WTaskResultNotice_proto_depIdxs = nil
  167. }