WFriendTalkNotice.pb.go 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  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/WFriendTalkNotice.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 FriendTalkNoticeMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` // 设备企业WX号
  23. ConvId int64 `protobuf:"varint,2,opt,name=ConvId,proto3" json:"ConvId,omitempty"` // 会话RemoteId
  24. SenderId int64 `protobuf:"varint,3,opt,name=SenderId,proto3" json:"SenderId,omitempty"` // 消息发送者Id
  25. ContentType EnumContentType `protobuf:"varint,4,opt,name=ContentType,proto3,enum=Im.Scrm.Ww.Proto.EnumContentType" json:"ContentType,omitempty"` // 发送的消息内容类型
  26. Content []byte `protobuf:"bytes,5,opt,name=Content,proto3" json:"Content,omitempty"` // 内容 二进制流
  27. MsgId int64 `protobuf:"varint,6,opt,name=MsgId,proto3" json:"MsgId,omitempty"` //服务端的主键id
  28. MsgRemoteId int64 `protobuf:"varint,7,opt,name=MsgRemoteId,proto3" json:"MsgRemoteId,omitempty"` // 消息唯一id
  29. CreateTime int64 `protobuf:"varint,8,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"` // 消息时间
  30. SenderName string `protobuf:"bytes,9,opt,name=SenderName,proto3" json:"SenderName,omitempty"` // 消息发送者名称
  31. RefId int64 `protobuf:"varint,10,opt,name=RefId,proto3" json:"RefId,omitempty"` // 引用消息的id
  32. Flag int32 `protobuf:"varint,11,opt,name=Flag,proto3" json:"Flag,omitempty"`
  33. IsRevoke bool `protobuf:"varint,12,opt,name=IsRevoke,proto3" json:"IsRevoke,omitempty"`
  34. AtMe bool `protobuf:"varint,13,opt,name=AtMe,proto3" json:"AtMe,omitempty"`
  35. TaskId int64 `protobuf:"varint,14,opt,name=TaskId,proto3" json:"TaskId,omitempty"`
  36. ConvType int32 `protobuf:"varint,15,opt,name=ConvType,proto3" json:"ConvType,omitempty"`
  37. ConvLocalId int64 `protobuf:"varint,16,opt,name=ConvLocalId,proto3" json:"ConvLocalId,omitempty"` // 会话的LocalId
  38. unknownFields protoimpl.UnknownFields
  39. sizeCache protoimpl.SizeCache
  40. }
  41. func (x *FriendTalkNoticeMessage) Reset() {
  42. *x = FriendTalkNoticeMessage{}
  43. mi := &file_wecom_WFriendTalkNotice_proto_msgTypes[0]
  44. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  45. ms.StoreMessageInfo(mi)
  46. }
  47. func (x *FriendTalkNoticeMessage) String() string {
  48. return protoimpl.X.MessageStringOf(x)
  49. }
  50. func (*FriendTalkNoticeMessage) ProtoMessage() {}
  51. func (x *FriendTalkNoticeMessage) ProtoReflect() protoreflect.Message {
  52. mi := &file_wecom_WFriendTalkNotice_proto_msgTypes[0]
  53. if x != nil {
  54. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  55. if ms.LoadMessageInfo() == nil {
  56. ms.StoreMessageInfo(mi)
  57. }
  58. return ms
  59. }
  60. return mi.MessageOf(x)
  61. }
  62. // Deprecated: Use FriendTalkNoticeMessage.ProtoReflect.Descriptor instead.
  63. func (*FriendTalkNoticeMessage) Descriptor() ([]byte, []int) {
  64. return file_wecom_WFriendTalkNotice_proto_rawDescGZIP(), []int{0}
  65. }
  66. func (x *FriendTalkNoticeMessage) GetWxId() int64 {
  67. if x != nil {
  68. return x.WxId
  69. }
  70. return 0
  71. }
  72. func (x *FriendTalkNoticeMessage) GetConvId() int64 {
  73. if x != nil {
  74. return x.ConvId
  75. }
  76. return 0
  77. }
  78. func (x *FriendTalkNoticeMessage) GetSenderId() int64 {
  79. if x != nil {
  80. return x.SenderId
  81. }
  82. return 0
  83. }
  84. func (x *FriendTalkNoticeMessage) GetContentType() EnumContentType {
  85. if x != nil {
  86. return x.ContentType
  87. }
  88. return EnumContentType_UnknownContent
  89. }
  90. func (x *FriendTalkNoticeMessage) GetContent() []byte {
  91. if x != nil {
  92. return x.Content
  93. }
  94. return nil
  95. }
  96. func (x *FriendTalkNoticeMessage) GetMsgId() int64 {
  97. if x != nil {
  98. return x.MsgId
  99. }
  100. return 0
  101. }
  102. func (x *FriendTalkNoticeMessage) GetMsgRemoteId() int64 {
  103. if x != nil {
  104. return x.MsgRemoteId
  105. }
  106. return 0
  107. }
  108. func (x *FriendTalkNoticeMessage) GetCreateTime() int64 {
  109. if x != nil {
  110. return x.CreateTime
  111. }
  112. return 0
  113. }
  114. func (x *FriendTalkNoticeMessage) GetSenderName() string {
  115. if x != nil {
  116. return x.SenderName
  117. }
  118. return ""
  119. }
  120. func (x *FriendTalkNoticeMessage) GetRefId() int64 {
  121. if x != nil {
  122. return x.RefId
  123. }
  124. return 0
  125. }
  126. func (x *FriendTalkNoticeMessage) GetFlag() int32 {
  127. if x != nil {
  128. return x.Flag
  129. }
  130. return 0
  131. }
  132. func (x *FriendTalkNoticeMessage) GetIsRevoke() bool {
  133. if x != nil {
  134. return x.IsRevoke
  135. }
  136. return false
  137. }
  138. func (x *FriendTalkNoticeMessage) GetAtMe() bool {
  139. if x != nil {
  140. return x.AtMe
  141. }
  142. return false
  143. }
  144. func (x *FriendTalkNoticeMessage) GetTaskId() int64 {
  145. if x != nil {
  146. return x.TaskId
  147. }
  148. return 0
  149. }
  150. func (x *FriendTalkNoticeMessage) GetConvType() int32 {
  151. if x != nil {
  152. return x.ConvType
  153. }
  154. return 0
  155. }
  156. func (x *FriendTalkNoticeMessage) GetConvLocalId() int64 {
  157. if x != nil {
  158. return x.ConvLocalId
  159. }
  160. return 0
  161. }
  162. var File_wecom_WFriendTalkNotice_proto protoreflect.FileDescriptor
  163. const file_wecom_WFriendTalkNotice_proto_rawDesc = "" +
  164. "\n" +
  165. "\x1dwecom/WFriendTalkNotice.proto\x12\x10Im.Scrm.Ww.Proto\x1a\x16wecom/WTransport.proto\"\xe8\x03\n" +
  166. "\x17FriendTalkNoticeMessage\x12\x12\n" +
  167. "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12\x16\n" +
  168. "\x06ConvId\x18\x02 \x01(\x03R\x06ConvId\x12\x1a\n" +
  169. "\bSenderId\x18\x03 \x01(\x03R\bSenderId\x12C\n" +
  170. "\vContentType\x18\x04 \x01(\x0e2!.Im.Scrm.Ww.Proto.EnumContentTypeR\vContentType\x12\x18\n" +
  171. "\aContent\x18\x05 \x01(\fR\aContent\x12\x14\n" +
  172. "\x05MsgId\x18\x06 \x01(\x03R\x05MsgId\x12 \n" +
  173. "\vMsgRemoteId\x18\a \x01(\x03R\vMsgRemoteId\x12\x1e\n" +
  174. "\n" +
  175. "CreateTime\x18\b \x01(\x03R\n" +
  176. "CreateTime\x12\x1e\n" +
  177. "\n" +
  178. "SenderName\x18\t \x01(\tR\n" +
  179. "SenderName\x12\x14\n" +
  180. "\x05RefId\x18\n" +
  181. " \x01(\x03R\x05RefId\x12\x12\n" +
  182. "\x04Flag\x18\v \x01(\x05R\x04Flag\x12\x1a\n" +
  183. "\bIsRevoke\x18\f \x01(\bR\bIsRevoke\x12\x12\n" +
  184. "\x04AtMe\x18\r \x01(\bR\x04AtMe\x12\x16\n" +
  185. "\x06TaskId\x18\x0e \x01(\x03R\x06TaskId\x12\x1a\n" +
  186. "\bConvType\x18\x0f \x01(\x05R\bConvType\x12 \n" +
  187. "\vConvLocalId\x18\x10 \x01(\x03R\vConvLocalIdB\x13Z\x11./workphone/wecomb\x06proto3"
  188. var (
  189. file_wecom_WFriendTalkNotice_proto_rawDescOnce sync.Once
  190. file_wecom_WFriendTalkNotice_proto_rawDescData []byte
  191. )
  192. func file_wecom_WFriendTalkNotice_proto_rawDescGZIP() []byte {
  193. file_wecom_WFriendTalkNotice_proto_rawDescOnce.Do(func() {
  194. file_wecom_WFriendTalkNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WFriendTalkNotice_proto_rawDesc), len(file_wecom_WFriendTalkNotice_proto_rawDesc)))
  195. })
  196. return file_wecom_WFriendTalkNotice_proto_rawDescData
  197. }
  198. var file_wecom_WFriendTalkNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  199. var file_wecom_WFriendTalkNotice_proto_goTypes = []any{
  200. (*FriendTalkNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.FriendTalkNoticeMessage
  201. (EnumContentType)(0), // 1: Im.Scrm.Ww.Proto.EnumContentType
  202. }
  203. var file_wecom_WFriendTalkNotice_proto_depIdxs = []int32{
  204. 1, // 0: Im.Scrm.Ww.Proto.FriendTalkNoticeMessage.ContentType:type_name -> Im.Scrm.Ww.Proto.EnumContentType
  205. 1, // [1:1] is the sub-list for method output_type
  206. 1, // [1:1] is the sub-list for method input_type
  207. 1, // [1:1] is the sub-list for extension type_name
  208. 1, // [1:1] is the sub-list for extension extendee
  209. 0, // [0:1] is the sub-list for field type_name
  210. }
  211. func init() { file_wecom_WFriendTalkNotice_proto_init() }
  212. func file_wecom_WFriendTalkNotice_proto_init() {
  213. if File_wecom_WFriendTalkNotice_proto != nil {
  214. return
  215. }
  216. file_wecom_WTransport_proto_init()
  217. type x struct{}
  218. out := protoimpl.TypeBuilder{
  219. File: protoimpl.DescBuilder{
  220. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  221. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WFriendTalkNotice_proto_rawDesc), len(file_wecom_WFriendTalkNotice_proto_rawDesc)),
  222. NumEnums: 0,
  223. NumMessages: 1,
  224. NumExtensions: 0,
  225. NumServices: 0,
  226. },
  227. GoTypes: file_wecom_WFriendTalkNotice_proto_goTypes,
  228. DependencyIndexes: file_wecom_WFriendTalkNotice_proto_depIdxs,
  229. MessageInfos: file_wecom_WFriendTalkNotice_proto_msgTypes,
  230. }.Build()
  231. File_wecom_WFriendTalkNotice_proto = out.File
  232. file_wecom_WFriendTalkNotice_proto_goTypes = nil
  233. file_wecom_WFriendTalkNotice_proto_depIdxs = nil
  234. }