WTalkToFriendTaskResultNotice.pb.go 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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/WTalkToFriendTaskResultNotice.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 TalkToFriendTaskResultNoticeMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` // 设备企业WX号
  23. Success bool `protobuf:"varint,2,opt,name=Success,proto3" json:"Success,omitempty"` // 是否成功
  24. Code EnumErrorCode `protobuf:"varint,3,opt,name=Code,proto3,enum=Im.Scrm.Ww.Proto.EnumErrorCode" json:"Code,omitempty"` // 错误码 Success = true 忽略
  25. ErrMsg string `protobuf:"bytes,4,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` // 错误内容描述 获取 成功时附带的结果内容
  26. TaskId int64 `protobuf:"varint,5,opt,name=TaskId,proto3" json:"TaskId,omitempty"` // 业务的id,通用的。
  27. ConvId int64 `protobuf:"varint,6,opt,name=ConvId,proto3" json:"ConvId,omitempty"` // 会话 RemoteId
  28. MsgId int64 `protobuf:"varint,7,opt,name=MsgId,proto3" json:"MsgId,omitempty"` // 消息id
  29. MsgRemoteId int64 `protobuf:"varint,8,opt,name=MsgRemoteId,proto3" json:"MsgRemoteId,omitempty"` // 消息RemoteId
  30. CreateTime int64 `protobuf:"varint,9,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"` // 消息发送时间
  31. unknownFields protoimpl.UnknownFields
  32. sizeCache protoimpl.SizeCache
  33. }
  34. func (x *TalkToFriendTaskResultNoticeMessage) Reset() {
  35. *x = TalkToFriendTaskResultNoticeMessage{}
  36. mi := &file_wecom_WTalkToFriendTaskResultNotice_proto_msgTypes[0]
  37. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  38. ms.StoreMessageInfo(mi)
  39. }
  40. func (x *TalkToFriendTaskResultNoticeMessage) String() string {
  41. return protoimpl.X.MessageStringOf(x)
  42. }
  43. func (*TalkToFriendTaskResultNoticeMessage) ProtoMessage() {}
  44. func (x *TalkToFriendTaskResultNoticeMessage) ProtoReflect() protoreflect.Message {
  45. mi := &file_wecom_WTalkToFriendTaskResultNotice_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 TalkToFriendTaskResultNoticeMessage.ProtoReflect.Descriptor instead.
  56. func (*TalkToFriendTaskResultNoticeMessage) Descriptor() ([]byte, []int) {
  57. return file_wecom_WTalkToFriendTaskResultNotice_proto_rawDescGZIP(), []int{0}
  58. }
  59. func (x *TalkToFriendTaskResultNoticeMessage) GetWxId() int64 {
  60. if x != nil {
  61. return x.WxId
  62. }
  63. return 0
  64. }
  65. func (x *TalkToFriendTaskResultNoticeMessage) GetSuccess() bool {
  66. if x != nil {
  67. return x.Success
  68. }
  69. return false
  70. }
  71. func (x *TalkToFriendTaskResultNoticeMessage) GetCode() EnumErrorCode {
  72. if x != nil {
  73. return x.Code
  74. }
  75. return EnumErrorCode_Success
  76. }
  77. func (x *TalkToFriendTaskResultNoticeMessage) GetErrMsg() string {
  78. if x != nil {
  79. return x.ErrMsg
  80. }
  81. return ""
  82. }
  83. func (x *TalkToFriendTaskResultNoticeMessage) GetTaskId() int64 {
  84. if x != nil {
  85. return x.TaskId
  86. }
  87. return 0
  88. }
  89. func (x *TalkToFriendTaskResultNoticeMessage) GetConvId() int64 {
  90. if x != nil {
  91. return x.ConvId
  92. }
  93. return 0
  94. }
  95. func (x *TalkToFriendTaskResultNoticeMessage) GetMsgId() int64 {
  96. if x != nil {
  97. return x.MsgId
  98. }
  99. return 0
  100. }
  101. func (x *TalkToFriendTaskResultNoticeMessage) GetMsgRemoteId() int64 {
  102. if x != nil {
  103. return x.MsgRemoteId
  104. }
  105. return 0
  106. }
  107. func (x *TalkToFriendTaskResultNoticeMessage) GetCreateTime() int64 {
  108. if x != nil {
  109. return x.CreateTime
  110. }
  111. return 0
  112. }
  113. var File_wecom_WTalkToFriendTaskResultNotice_proto protoreflect.FileDescriptor
  114. const file_wecom_WTalkToFriendTaskResultNotice_proto_rawDesc = "" +
  115. "\n" +
  116. ")wecom/WTalkToFriendTaskResultNotice.proto\x12\x10Im.Scrm.Ww.Proto\x1a\x16wecom/WTransport.proto\"\xa8\x02\n" +
  117. "#TalkToFriendTaskResultNoticeMessage\x12\x12\n" +
  118. "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12\x18\n" +
  119. "\aSuccess\x18\x02 \x01(\bR\aSuccess\x123\n" +
  120. "\x04Code\x18\x03 \x01(\x0e2\x1f.Im.Scrm.Ww.Proto.EnumErrorCodeR\x04Code\x12\x16\n" +
  121. "\x06ErrMsg\x18\x04 \x01(\tR\x06ErrMsg\x12\x16\n" +
  122. "\x06TaskId\x18\x05 \x01(\x03R\x06TaskId\x12\x16\n" +
  123. "\x06ConvId\x18\x06 \x01(\x03R\x06ConvId\x12\x14\n" +
  124. "\x05MsgId\x18\a \x01(\x03R\x05MsgId\x12 \n" +
  125. "\vMsgRemoteId\x18\b \x01(\x03R\vMsgRemoteId\x12\x1e\n" +
  126. "\n" +
  127. "CreateTime\x18\t \x01(\x03R\n" +
  128. "CreateTimeB\x13Z\x11./workphone/wecomb\x06proto3"
  129. var (
  130. file_wecom_WTalkToFriendTaskResultNotice_proto_rawDescOnce sync.Once
  131. file_wecom_WTalkToFriendTaskResultNotice_proto_rawDescData []byte
  132. )
  133. func file_wecom_WTalkToFriendTaskResultNotice_proto_rawDescGZIP() []byte {
  134. file_wecom_WTalkToFriendTaskResultNotice_proto_rawDescOnce.Do(func() {
  135. file_wecom_WTalkToFriendTaskResultNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WTalkToFriendTaskResultNotice_proto_rawDesc), len(file_wecom_WTalkToFriendTaskResultNotice_proto_rawDesc)))
  136. })
  137. return file_wecom_WTalkToFriendTaskResultNotice_proto_rawDescData
  138. }
  139. var file_wecom_WTalkToFriendTaskResultNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  140. var file_wecom_WTalkToFriendTaskResultNotice_proto_goTypes = []any{
  141. (*TalkToFriendTaskResultNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.TalkToFriendTaskResultNoticeMessage
  142. (EnumErrorCode)(0), // 1: Im.Scrm.Ww.Proto.EnumErrorCode
  143. }
  144. var file_wecom_WTalkToFriendTaskResultNotice_proto_depIdxs = []int32{
  145. 1, // 0: Im.Scrm.Ww.Proto.TalkToFriendTaskResultNoticeMessage.Code:type_name -> Im.Scrm.Ww.Proto.EnumErrorCode
  146. 1, // [1:1] is the sub-list for method output_type
  147. 1, // [1:1] is the sub-list for method input_type
  148. 1, // [1:1] is the sub-list for extension type_name
  149. 1, // [1:1] is the sub-list for extension extendee
  150. 0, // [0:1] is the sub-list for field type_name
  151. }
  152. func init() { file_wecom_WTalkToFriendTaskResultNotice_proto_init() }
  153. func file_wecom_WTalkToFriendTaskResultNotice_proto_init() {
  154. if File_wecom_WTalkToFriendTaskResultNotice_proto != nil {
  155. return
  156. }
  157. file_wecom_WTransport_proto_init()
  158. type x struct{}
  159. out := protoimpl.TypeBuilder{
  160. File: protoimpl.DescBuilder{
  161. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  162. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WTalkToFriendTaskResultNotice_proto_rawDesc), len(file_wecom_WTalkToFriendTaskResultNotice_proto_rawDesc)),
  163. NumEnums: 0,
  164. NumMessages: 1,
  165. NumExtensions: 0,
  166. NumServices: 0,
  167. },
  168. GoTypes: file_wecom_WTalkToFriendTaskResultNotice_proto_goTypes,
  169. DependencyIndexes: file_wecom_WTalkToFriendTaskResultNotice_proto_depIdxs,
  170. MessageInfos: file_wecom_WTalkToFriendTaskResultNotice_proto_msgTypes,
  171. }.Build()
  172. File_wecom_WTalkToFriendTaskResultNotice_proto = out.File
  173. file_wecom_WTalkToFriendTaskResultNotice_proto_goTypes = nil
  174. file_wecom_WTalkToFriendTaskResultNotice_proto_depIdxs = nil
  175. }