WeChatTalkToFriendNotice.pb.go 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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: WeChatTalkToFriendNotice.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 WeChatTalkToFriendNoticeMessage struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. WeChatId string `protobuf:"bytes,1,opt,name=WeChatId,proto3" json:"WeChatId,omitempty"` // 登录的人的微信号
  24. FriendId string `protobuf:"bytes,3,opt,name=FriendId,proto3" json:"FriendId,omitempty"` // 对方的微信号
  25. ContentType EnumContentType `protobuf:"varint,5,opt,name=ContentType,proto3,enum=Jubo.JuLiao.IM.Wx.Proto.EnumContentType" json:"ContentType,omitempty"` // 发送的消息内容类型
  26. Content []byte `protobuf:"bytes,6,opt,name=Content,proto3" json:"Content,omitempty"` // 内容 二进制流
  27. MsgId int64 `protobuf:"varint,7,opt,name=MsgId,proto3" json:"MsgId,omitempty"` //全局消息Id (手机端发送时无需赋值该参数)
  28. MsgSvrId int64 `protobuf:"varint,8,opt,name=msgSvrId,proto3" json:"msgSvrId,omitempty"` // 消息唯一id
  29. CreateTime int64 `protobuf:"varint,9,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"` // 消息时间
  30. Ext string `protobuf:"bytes,10,opt,name=Ext,proto3" json:"Ext,omitempty"`
  31. }
  32. func (x *WeChatTalkToFriendNoticeMessage) Reset() {
  33. *x = WeChatTalkToFriendNoticeMessage{}
  34. mi := &file_WeChatTalkToFriendNotice_proto_msgTypes[0]
  35. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  36. ms.StoreMessageInfo(mi)
  37. }
  38. func (x *WeChatTalkToFriendNoticeMessage) String() string {
  39. return protoimpl.X.MessageStringOf(x)
  40. }
  41. func (*WeChatTalkToFriendNoticeMessage) ProtoMessage() {}
  42. func (x *WeChatTalkToFriendNoticeMessage) ProtoReflect() protoreflect.Message {
  43. mi := &file_WeChatTalkToFriendNotice_proto_msgTypes[0]
  44. if x != nil {
  45. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  46. if ms.LoadMessageInfo() == nil {
  47. ms.StoreMessageInfo(mi)
  48. }
  49. return ms
  50. }
  51. return mi.MessageOf(x)
  52. }
  53. // Deprecated: Use WeChatTalkToFriendNoticeMessage.ProtoReflect.Descriptor instead.
  54. func (*WeChatTalkToFriendNoticeMessage) Descriptor() ([]byte, []int) {
  55. return file_WeChatTalkToFriendNotice_proto_rawDescGZIP(), []int{0}
  56. }
  57. func (x *WeChatTalkToFriendNoticeMessage) GetWeChatId() string {
  58. if x != nil {
  59. return x.WeChatId
  60. }
  61. return ""
  62. }
  63. func (x *WeChatTalkToFriendNoticeMessage) GetFriendId() string {
  64. if x != nil {
  65. return x.FriendId
  66. }
  67. return ""
  68. }
  69. func (x *WeChatTalkToFriendNoticeMessage) GetContentType() EnumContentType {
  70. if x != nil {
  71. return x.ContentType
  72. }
  73. return EnumContentType_UnknownContent
  74. }
  75. func (x *WeChatTalkToFriendNoticeMessage) GetContent() []byte {
  76. if x != nil {
  77. return x.Content
  78. }
  79. return nil
  80. }
  81. func (x *WeChatTalkToFriendNoticeMessage) GetMsgId() int64 {
  82. if x != nil {
  83. return x.MsgId
  84. }
  85. return 0
  86. }
  87. func (x *WeChatTalkToFriendNoticeMessage) GetMsgSvrId() int64 {
  88. if x != nil {
  89. return x.MsgSvrId
  90. }
  91. return 0
  92. }
  93. func (x *WeChatTalkToFriendNoticeMessage) GetCreateTime() int64 {
  94. if x != nil {
  95. return x.CreateTime
  96. }
  97. return 0
  98. }
  99. func (x *WeChatTalkToFriendNoticeMessage) GetExt() string {
  100. if x != nil {
  101. return x.Ext
  102. }
  103. return ""
  104. }
  105. var File_WeChatTalkToFriendNotice_proto protoreflect.FileDescriptor
  106. var file_WeChatTalkToFriendNotice_proto_rawDesc = []byte{
  107. 0x0a, 0x1e, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x54, 0x61, 0x6c, 0x6b, 0x54, 0x6f, 0x46, 0x72,
  108. 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  109. 0x12, 0x17, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d,
  110. 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x54, 0x72, 0x61, 0x6e, 0x73,
  111. 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  112. 0x6f, 0x22, 0xa3, 0x02, 0x0a, 0x1f, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x54, 0x61, 0x6c, 0x6b,
  113. 0x54, 0x6f, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x4d, 0x65,
  114. 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49,
  115. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49,
  116. 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x18, 0x03, 0x20,
  117. 0x01, 0x28, 0x09, 0x52, 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x4a, 0x0a,
  118. 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01,
  119. 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f,
  120. 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x75,
  121. 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x43, 0x6f,
  122. 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x6f, 0x6e,
  123. 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x43, 0x6f, 0x6e, 0x74,
  124. 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01,
  125. 0x28, 0x03, 0x52, 0x05, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x73, 0x67,
  126. 0x53, 0x76, 0x72, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x73, 0x67,
  127. 0x53, 0x76, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54,
  128. 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74,
  129. 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x45, 0x78, 0x74, 0x18, 0x0a, 0x20, 0x01,
  130. 0x28, 0x09, 0x52, 0x03, 0x45, 0x78, 0x74, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x77, 0x6f, 0x72,
  131. 0x6b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  132. }
  133. var (
  134. file_WeChatTalkToFriendNotice_proto_rawDescOnce sync.Once
  135. file_WeChatTalkToFriendNotice_proto_rawDescData = file_WeChatTalkToFriendNotice_proto_rawDesc
  136. )
  137. func file_WeChatTalkToFriendNotice_proto_rawDescGZIP() []byte {
  138. file_WeChatTalkToFriendNotice_proto_rawDescOnce.Do(func() {
  139. file_WeChatTalkToFriendNotice_proto_rawDescData = protoimpl.X.CompressGZIP(file_WeChatTalkToFriendNotice_proto_rawDescData)
  140. })
  141. return file_WeChatTalkToFriendNotice_proto_rawDescData
  142. }
  143. var file_WeChatTalkToFriendNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  144. var file_WeChatTalkToFriendNotice_proto_goTypes = []any{
  145. (*WeChatTalkToFriendNoticeMessage)(nil), // 0: Jubo.JuLiao.IM.Wx.Proto.WeChatTalkToFriendNoticeMessage
  146. (EnumContentType)(0), // 1: Jubo.JuLiao.IM.Wx.Proto.EnumContentType
  147. }
  148. var file_WeChatTalkToFriendNotice_proto_depIdxs = []int32{
  149. 1, // 0: Jubo.JuLiao.IM.Wx.Proto.WeChatTalkToFriendNoticeMessage.ContentType:type_name -> Jubo.JuLiao.IM.Wx.Proto.EnumContentType
  150. 1, // [1:1] is the sub-list for method output_type
  151. 1, // [1:1] is the sub-list for method input_type
  152. 1, // [1:1] is the sub-list for extension type_name
  153. 1, // [1:1] is the sub-list for extension extendee
  154. 0, // [0:1] is the sub-list for field type_name
  155. }
  156. func init() { file_WeChatTalkToFriendNotice_proto_init() }
  157. func file_WeChatTalkToFriendNotice_proto_init() {
  158. if File_WeChatTalkToFriendNotice_proto != nil {
  159. return
  160. }
  161. file_TransportMessage_proto_init()
  162. type x struct{}
  163. out := protoimpl.TypeBuilder{
  164. File: protoimpl.DescBuilder{
  165. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  166. RawDescriptor: file_WeChatTalkToFriendNotice_proto_rawDesc,
  167. NumEnums: 0,
  168. NumMessages: 1,
  169. NumExtensions: 0,
  170. NumServices: 0,
  171. },
  172. GoTypes: file_WeChatTalkToFriendNotice_proto_goTypes,
  173. DependencyIndexes: file_WeChatTalkToFriendNotice_proto_depIdxs,
  174. MessageInfos: file_WeChatTalkToFriendNotice_proto_msgTypes,
  175. }.Build()
  176. File_WeChatTalkToFriendNotice_proto = out.File
  177. file_WeChatTalkToFriendNotice_proto_rawDesc = nil
  178. file_WeChatTalkToFriendNotice_proto_goTypes = nil
  179. file_WeChatTalkToFriendNotice_proto_depIdxs = nil
  180. }