FriendTalkNotice.pb.go 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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: FriendTalkNotice.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 FriendTalkNoticeMessage 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. Ext string `protobuf:"bytes,9,opt,name=Ext,proto3" json:"Ext,omitempty"` // 扩展信息,图片视频{"length":10000, "hdlen":20000, "duration":30} 文件大小,原图大小,视频时长
  30. CreateTime int64 `protobuf:"varint,10,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"` // 消息时间
  31. NickName string `protobuf:"bytes,11,opt,name=NickName,proto3" json:"NickName,omitempty"` // 发送者昵称
  32. }
  33. func (x *FriendTalkNoticeMessage) Reset() {
  34. *x = FriendTalkNoticeMessage{}
  35. mi := &file_FriendTalkNotice_proto_msgTypes[0]
  36. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  37. ms.StoreMessageInfo(mi)
  38. }
  39. func (x *FriendTalkNoticeMessage) String() string {
  40. return protoimpl.X.MessageStringOf(x)
  41. }
  42. func (*FriendTalkNoticeMessage) ProtoMessage() {}
  43. func (x *FriendTalkNoticeMessage) ProtoReflect() protoreflect.Message {
  44. mi := &file_FriendTalkNotice_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 FriendTalkNoticeMessage.ProtoReflect.Descriptor instead.
  55. func (*FriendTalkNoticeMessage) Descriptor() ([]byte, []int) {
  56. return file_FriendTalkNotice_proto_rawDescGZIP(), []int{0}
  57. }
  58. func (x *FriendTalkNoticeMessage) GetWeChatId() string {
  59. if x != nil {
  60. return x.WeChatId
  61. }
  62. return ""
  63. }
  64. func (x *FriendTalkNoticeMessage) GetFriendId() string {
  65. if x != nil {
  66. return x.FriendId
  67. }
  68. return ""
  69. }
  70. func (x *FriendTalkNoticeMessage) GetContentType() EnumContentType {
  71. if x != nil {
  72. return x.ContentType
  73. }
  74. return EnumContentType_UnknownContent
  75. }
  76. func (x *FriendTalkNoticeMessage) GetContent() []byte {
  77. if x != nil {
  78. return x.Content
  79. }
  80. return nil
  81. }
  82. func (x *FriendTalkNoticeMessage) GetMsgId() int64 {
  83. if x != nil {
  84. return x.MsgId
  85. }
  86. return 0
  87. }
  88. func (x *FriendTalkNoticeMessage) GetMsgSvrId() int64 {
  89. if x != nil {
  90. return x.MsgSvrId
  91. }
  92. return 0
  93. }
  94. func (x *FriendTalkNoticeMessage) GetExt() string {
  95. if x != nil {
  96. return x.Ext
  97. }
  98. return ""
  99. }
  100. func (x *FriendTalkNoticeMessage) GetCreateTime() int64 {
  101. if x != nil {
  102. return x.CreateTime
  103. }
  104. return 0
  105. }
  106. func (x *FriendTalkNoticeMessage) GetNickName() string {
  107. if x != nil {
  108. return x.NickName
  109. }
  110. return ""
  111. }
  112. var File_FriendTalkNotice_proto protoreflect.FileDescriptor
  113. var file_FriendTalkNotice_proto_rawDesc = []byte{
  114. 0x0a, 0x16, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x54, 0x61, 0x6c, 0x6b, 0x4e, 0x6f, 0x74, 0x69,
  115. 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a,
  116. 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74,
  117. 0x6f, 0x1a, 0x16, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73,
  118. 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb7, 0x02, 0x0a, 0x17, 0x46, 0x72,
  119. 0x69, 0x65, 0x6e, 0x64, 0x54, 0x61, 0x6c, 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x4d, 0x65,
  120. 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49,
  121. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49,
  122. 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x18, 0x03, 0x20,
  123. 0x01, 0x28, 0x09, 0x52, 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x4a, 0x0a,
  124. 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01,
  125. 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f,
  126. 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x75,
  127. 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x43, 0x6f,
  128. 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x6f, 0x6e,
  129. 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x43, 0x6f, 0x6e, 0x74,
  130. 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01,
  131. 0x28, 0x03, 0x52, 0x05, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x73, 0x67,
  132. 0x53, 0x76, 0x72, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x73, 0x67,
  133. 0x53, 0x76, 0x72, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x45, 0x78, 0x74, 0x18, 0x09, 0x20, 0x01,
  134. 0x28, 0x09, 0x52, 0x03, 0x45, 0x78, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74,
  135. 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x43, 0x72, 0x65,
  136. 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e,
  137. 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e,
  138. 0x61, 0x6d, 0x65, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x70, 0x68, 0x6f,
  139. 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  140. }
  141. var (
  142. file_FriendTalkNotice_proto_rawDescOnce sync.Once
  143. file_FriendTalkNotice_proto_rawDescData = file_FriendTalkNotice_proto_rawDesc
  144. )
  145. func file_FriendTalkNotice_proto_rawDescGZIP() []byte {
  146. file_FriendTalkNotice_proto_rawDescOnce.Do(func() {
  147. file_FriendTalkNotice_proto_rawDescData = protoimpl.X.CompressGZIP(file_FriendTalkNotice_proto_rawDescData)
  148. })
  149. return file_FriendTalkNotice_proto_rawDescData
  150. }
  151. var file_FriendTalkNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  152. var file_FriendTalkNotice_proto_goTypes = []any{
  153. (*FriendTalkNoticeMessage)(nil), // 0: Jubo.JuLiao.IM.Wx.Proto.FriendTalkNoticeMessage
  154. (EnumContentType)(0), // 1: Jubo.JuLiao.IM.Wx.Proto.EnumContentType
  155. }
  156. var file_FriendTalkNotice_proto_depIdxs = []int32{
  157. 1, // 0: Jubo.JuLiao.IM.Wx.Proto.FriendTalkNoticeMessage.ContentType:type_name -> Jubo.JuLiao.IM.Wx.Proto.EnumContentType
  158. 1, // [1:1] is the sub-list for method output_type
  159. 1, // [1:1] is the sub-list for method input_type
  160. 1, // [1:1] is the sub-list for extension type_name
  161. 1, // [1:1] is the sub-list for extension extendee
  162. 0, // [0:1] is the sub-list for field type_name
  163. }
  164. func init() { file_FriendTalkNotice_proto_init() }
  165. func file_FriendTalkNotice_proto_init() {
  166. if File_FriendTalkNotice_proto != nil {
  167. return
  168. }
  169. file_TransportMessage_proto_init()
  170. type x struct{}
  171. out := protoimpl.TypeBuilder{
  172. File: protoimpl.DescBuilder{
  173. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  174. RawDescriptor: file_FriendTalkNotice_proto_rawDesc,
  175. NumEnums: 0,
  176. NumMessages: 1,
  177. NumExtensions: 0,
  178. NumServices: 0,
  179. },
  180. GoTypes: file_FriendTalkNotice_proto_goTypes,
  181. DependencyIndexes: file_FriendTalkNotice_proto_depIdxs,
  182. MessageInfos: file_FriendTalkNotice_proto_msgTypes,
  183. }.Build()
  184. File_FriendTalkNotice_proto = out.File
  185. file_FriendTalkNotice_proto_rawDesc = nil
  186. file_FriendTalkNotice_proto_goTypes = nil
  187. file_FriendTalkNotice_proto_depIdxs = nil
  188. }