enum.pb.go 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  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: enum.proto
  6. package proto
  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. // 聊天内容类型
  20. type EnumContentType int32
  21. const (
  22. EnumContentType_UnknownContent EnumContentType = 0 // 未知内容
  23. EnumContentType_Text EnumContentType = 1 // 文本内容
  24. EnumContentType_Picture EnumContentType = 2 // 图片消息
  25. EnumContentType_Voice EnumContentType = 3 // 语音消息
  26. EnumContentType_Video EnumContentType = 4 // 视频消息
  27. EnumContentType_System EnumContentType = 5 //系统消息
  28. EnumContentType_Link EnumContentType = 6 // 链接消息
  29. EnumContentType_LinkExt EnumContentType = 7 // 扩展的链接消息(小程序分享等),内容为xml格式,暂未使用
  30. EnumContentType_File EnumContentType = 8 // 文件发送
  31. EnumContentType_NameCard EnumContentType = 9 // 名片
  32. EnumContentType_Location EnumContentType = 10 // 位置信息
  33. EnumContentType_LuckyMoney EnumContentType = 11 // 红包
  34. EnumContentType_MoneyTrans EnumContentType = 12 // 转账
  35. EnumContentType_WeApp EnumContentType = 13 // 小程序
  36. EnumContentType_Emoji EnumContentType = 14 //
  37. EnumContentType_RoomManage EnumContentType = 15 // 群管理消息
  38. EnumContentType_Sys_LuckyMoney EnumContentType = 16 // 领取红包消息
  39. EnumContentType_RoomSystem EnumContentType = 17 // 群聊系统消息
  40. EnumContentType_BizLink EnumContentType = 18 // 公众号文章
  41. EnumContentType_AudioCall EnumContentType = 19 // 语音通话
  42. EnumContentType_VideoCall EnumContentType = 20 // 视频通话
  43. EnumContentType_NotifyMsg EnumContentType = 21 // 服务通知
  44. EnumContentType_QuoteMsg EnumContentType = 22 // 引用通知
  45. EnumContentType_JieLongMsg EnumContentType = 23 //接龙
  46. EnumContentType_ShiPinHao EnumContentType = 24 // 视频号消息
  47. EnumContentType_RoomLiving EnumContentType = 25 // 群直播消息
  48. EnumContentType_PaiYiPai EnumContentType = 26 // 拍一拍
  49. // Music = 27; // 分享音乐
  50. EnumContentType_FinderLive EnumContentType = 28 //视频号直播
  51. EnumContentType_KefuNameCard EnumContentType = 29 //客服号名片
  52. EnumContentType_QiyeNameCard EnumContentType = 30 //企业微信名片
  53. EnumContentType_UnSupport EnumContentType = 99 // 不支持的消息
  54. )
  55. // Enum value maps for EnumContentType.
  56. var (
  57. EnumContentType_name = map[int32]string{
  58. 0: "UnknownContent",
  59. 1: "Text",
  60. 2: "Picture",
  61. 3: "Voice",
  62. 4: "Video",
  63. 5: "System",
  64. 6: "Link",
  65. 7: "LinkExt",
  66. 8: "File",
  67. 9: "NameCard",
  68. 10: "Location",
  69. 11: "LuckyMoney",
  70. 12: "MoneyTrans",
  71. 13: "WeApp",
  72. 14: "Emoji",
  73. 15: "RoomManage",
  74. 16: "Sys_LuckyMoney",
  75. 17: "RoomSystem",
  76. 18: "BizLink",
  77. 19: "AudioCall",
  78. 20: "VideoCall",
  79. 21: "NotifyMsg",
  80. 22: "QuoteMsg",
  81. 23: "JieLongMsg",
  82. 24: "ShiPinHao",
  83. 25: "RoomLiving",
  84. 26: "PaiYiPai",
  85. 28: "FinderLive",
  86. 29: "KefuNameCard",
  87. 30: "QiyeNameCard",
  88. 99: "UnSupport",
  89. }
  90. EnumContentType_value = map[string]int32{
  91. "UnknownContent": 0,
  92. "Text": 1,
  93. "Picture": 2,
  94. "Voice": 3,
  95. "Video": 4,
  96. "System": 5,
  97. "Link": 6,
  98. "LinkExt": 7,
  99. "File": 8,
  100. "NameCard": 9,
  101. "Location": 10,
  102. "LuckyMoney": 11,
  103. "MoneyTrans": 12,
  104. "WeApp": 13,
  105. "Emoji": 14,
  106. "RoomManage": 15,
  107. "Sys_LuckyMoney": 16,
  108. "RoomSystem": 17,
  109. "BizLink": 18,
  110. "AudioCall": 19,
  111. "VideoCall": 20,
  112. "NotifyMsg": 21,
  113. "QuoteMsg": 22,
  114. "JieLongMsg": 23,
  115. "ShiPinHao": 24,
  116. "RoomLiving": 25,
  117. "PaiYiPai": 26,
  118. "FinderLive": 28,
  119. "KefuNameCard": 29,
  120. "QiyeNameCard": 30,
  121. "UnSupport": 99,
  122. }
  123. )
  124. func (x EnumContentType) Enum() *EnumContentType {
  125. p := new(EnumContentType)
  126. *p = x
  127. return p
  128. }
  129. func (x EnumContentType) String() string {
  130. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  131. }
  132. func (EnumContentType) Descriptor() protoreflect.EnumDescriptor {
  133. return file_enum_proto_enumTypes[0].Descriptor()
  134. }
  135. func (EnumContentType) Type() protoreflect.EnumType {
  136. return &file_enum_proto_enumTypes[0]
  137. }
  138. func (x EnumContentType) Number() protoreflect.EnumNumber {
  139. return protoreflect.EnumNumber(x)
  140. }
  141. // Deprecated: Use EnumContentType.Descriptor instead.
  142. func (EnumContentType) EnumDescriptor() ([]byte, []int) {
  143. return file_enum_proto_rawDescGZIP(), []int{0}
  144. }
  145. var File_enum_proto protoreflect.FileDescriptor
  146. var file_enum_proto_rawDesc = []byte{
  147. 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x70, 0x6b,
  148. 0x67, 0x2e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x6f, 0x66, 0x5f, 0x69, 0x6d,
  149. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xcd, 0x03, 0x0a, 0x0f, 0x45, 0x6e, 0x75, 0x6d, 0x43,
  150. 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x6e,
  151. 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x10, 0x00, 0x12, 0x08,
  152. 0x0a, 0x04, 0x54, 0x65, 0x78, 0x74, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x69, 0x63, 0x74,
  153. 0x75, 0x72, 0x65, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x10, 0x03,
  154. 0x12, 0x09, 0x0a, 0x05, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x53,
  155. 0x79, 0x73, 0x74, 0x65, 0x6d, 0x10, 0x05, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x69, 0x6e, 0x6b, 0x10,
  156. 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x4c, 0x69, 0x6e, 0x6b, 0x45, 0x78, 0x74, 0x10, 0x07, 0x12, 0x08,
  157. 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x10, 0x08, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x61, 0x6d, 0x65,
  158. 0x43, 0x61, 0x72, 0x64, 0x10, 0x09, 0x12, 0x0c, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
  159. 0x6f, 0x6e, 0x10, 0x0a, 0x12, 0x0e, 0x0a, 0x0a, 0x4c, 0x75, 0x63, 0x6b, 0x79, 0x4d, 0x6f, 0x6e,
  160. 0x65, 0x79, 0x10, 0x0b, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x6f, 0x6e, 0x65, 0x79, 0x54, 0x72, 0x61,
  161. 0x6e, 0x73, 0x10, 0x0c, 0x12, 0x09, 0x0a, 0x05, 0x57, 0x65, 0x41, 0x70, 0x70, 0x10, 0x0d, 0x12,
  162. 0x09, 0x0a, 0x05, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x10, 0x0e, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x6f,
  163. 0x6f, 0x6d, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x10, 0x0f, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x79,
  164. 0x73, 0x5f, 0x4c, 0x75, 0x63, 0x6b, 0x79, 0x4d, 0x6f, 0x6e, 0x65, 0x79, 0x10, 0x10, 0x12, 0x0e,
  165. 0x0a, 0x0a, 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x10, 0x11, 0x12, 0x0b,
  166. 0x0a, 0x07, 0x42, 0x69, 0x7a, 0x4c, 0x69, 0x6e, 0x6b, 0x10, 0x12, 0x12, 0x0d, 0x0a, 0x09, 0x41,
  167. 0x75, 0x64, 0x69, 0x6f, 0x43, 0x61, 0x6c, 0x6c, 0x10, 0x13, 0x12, 0x0d, 0x0a, 0x09, 0x56, 0x69,
  168. 0x64, 0x65, 0x6f, 0x43, 0x61, 0x6c, 0x6c, 0x10, 0x14, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x6f, 0x74,
  169. 0x69, 0x66, 0x79, 0x4d, 0x73, 0x67, 0x10, 0x15, 0x12, 0x0c, 0x0a, 0x08, 0x51, 0x75, 0x6f, 0x74,
  170. 0x65, 0x4d, 0x73, 0x67, 0x10, 0x16, 0x12, 0x0e, 0x0a, 0x0a, 0x4a, 0x69, 0x65, 0x4c, 0x6f, 0x6e,
  171. 0x67, 0x4d, 0x73, 0x67, 0x10, 0x17, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x68, 0x69, 0x50, 0x69, 0x6e,
  172. 0x48, 0x61, 0x6f, 0x10, 0x18, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x76,
  173. 0x69, 0x6e, 0x67, 0x10, 0x19, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x61, 0x69, 0x59, 0x69, 0x50, 0x61,
  174. 0x69, 0x10, 0x1a, 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x76,
  175. 0x65, 0x10, 0x1c, 0x12, 0x10, 0x0a, 0x0c, 0x4b, 0x65, 0x66, 0x75, 0x4e, 0x61, 0x6d, 0x65, 0x43,
  176. 0x61, 0x72, 0x64, 0x10, 0x1d, 0x12, 0x10, 0x0a, 0x0c, 0x51, 0x69, 0x79, 0x65, 0x4e, 0x61, 0x6d,
  177. 0x65, 0x43, 0x61, 0x72, 0x64, 0x10, 0x1e, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x6e, 0x53, 0x75, 0x70,
  178. 0x70, 0x6f, 0x72, 0x74, 0x10, 0x63, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f,
  179. 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  180. }
  181. var (
  182. file_enum_proto_rawDescOnce sync.Once
  183. file_enum_proto_rawDescData = file_enum_proto_rawDesc
  184. )
  185. func file_enum_proto_rawDescGZIP() []byte {
  186. file_enum_proto_rawDescOnce.Do(func() {
  187. file_enum_proto_rawDescData = protoimpl.X.CompressGZIP(file_enum_proto_rawDescData)
  188. })
  189. return file_enum_proto_rawDescData
  190. }
  191. var file_enum_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  192. var file_enum_proto_goTypes = []any{
  193. (EnumContentType)(0), // 0: pkg.customer_of_im.proto.EnumContentType
  194. }
  195. var file_enum_proto_depIdxs = []int32{
  196. 0, // [0:0] is the sub-list for method output_type
  197. 0, // [0:0] is the sub-list for method input_type
  198. 0, // [0:0] is the sub-list for extension type_name
  199. 0, // [0:0] is the sub-list for extension extendee
  200. 0, // [0:0] is the sub-list for field type_name
  201. }
  202. func init() { file_enum_proto_init() }
  203. func file_enum_proto_init() {
  204. if File_enum_proto != nil {
  205. return
  206. }
  207. type x struct{}
  208. out := protoimpl.TypeBuilder{
  209. File: protoimpl.DescBuilder{
  210. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  211. RawDescriptor: file_enum_proto_rawDesc,
  212. NumEnums: 1,
  213. NumMessages: 0,
  214. NumExtensions: 0,
  215. NumServices: 0,
  216. },
  217. GoTypes: file_enum_proto_goTypes,
  218. DependencyIndexes: file_enum_proto_depIdxs,
  219. EnumInfos: file_enum_proto_enumTypes,
  220. }.Build()
  221. File_enum_proto = out.File
  222. file_enum_proto_rawDesc = nil
  223. file_enum_proto_goTypes = nil
  224. file_enum_proto_depIdxs = nil
  225. }