123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.35.2
- // protoc v5.28.3
- // source: enum.proto
- package proto
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- // 聊天内容类型
- type EnumContentType int32
- const (
- EnumContentType_UnknownContent EnumContentType = 0 // 未知内容
- EnumContentType_Text EnumContentType = 1 // 文本内容
- EnumContentType_Picture EnumContentType = 2 // 图片消息
- EnumContentType_Voice EnumContentType = 3 // 语音消息
- EnumContentType_Video EnumContentType = 4 // 视频消息
- EnumContentType_System EnumContentType = 5 //系统消息
- EnumContentType_Link EnumContentType = 6 // 链接消息
- EnumContentType_LinkExt EnumContentType = 7 // 扩展的链接消息(小程序分享等),内容为xml格式,暂未使用
- EnumContentType_File EnumContentType = 8 // 文件发送
- EnumContentType_NameCard EnumContentType = 9 // 名片
- EnumContentType_Location EnumContentType = 10 // 位置信息
- EnumContentType_LuckyMoney EnumContentType = 11 // 红包
- EnumContentType_MoneyTrans EnumContentType = 12 // 转账
- EnumContentType_WeApp EnumContentType = 13 // 小程序
- EnumContentType_Emoji EnumContentType = 14 //
- EnumContentType_RoomManage EnumContentType = 15 // 群管理消息
- EnumContentType_Sys_LuckyMoney EnumContentType = 16 // 领取红包消息
- EnumContentType_RoomSystem EnumContentType = 17 // 群聊系统消息
- EnumContentType_BizLink EnumContentType = 18 // 公众号文章
- EnumContentType_AudioCall EnumContentType = 19 // 语音通话
- EnumContentType_VideoCall EnumContentType = 20 // 视频通话
- EnumContentType_NotifyMsg EnumContentType = 21 // 服务通知
- EnumContentType_QuoteMsg EnumContentType = 22 // 引用通知
- EnumContentType_JieLongMsg EnumContentType = 23 //接龙
- EnumContentType_ShiPinHao EnumContentType = 24 // 视频号消息
- EnumContentType_RoomLiving EnumContentType = 25 // 群直播消息
- EnumContentType_PaiYiPai EnumContentType = 26 // 拍一拍
- // Music = 27; // 分享音乐
- EnumContentType_FinderLive EnumContentType = 28 //视频号直播
- EnumContentType_KefuNameCard EnumContentType = 29 //客服号名片
- EnumContentType_QiyeNameCard EnumContentType = 30 //企业微信名片
- EnumContentType_UnSupport EnumContentType = 99 // 不支持的消息
- )
- // Enum value maps for EnumContentType.
- var (
- EnumContentType_name = map[int32]string{
- 0: "UnknownContent",
- 1: "Text",
- 2: "Picture",
- 3: "Voice",
- 4: "Video",
- 5: "System",
- 6: "Link",
- 7: "LinkExt",
- 8: "File",
- 9: "NameCard",
- 10: "Location",
- 11: "LuckyMoney",
- 12: "MoneyTrans",
- 13: "WeApp",
- 14: "Emoji",
- 15: "RoomManage",
- 16: "Sys_LuckyMoney",
- 17: "RoomSystem",
- 18: "BizLink",
- 19: "AudioCall",
- 20: "VideoCall",
- 21: "NotifyMsg",
- 22: "QuoteMsg",
- 23: "JieLongMsg",
- 24: "ShiPinHao",
- 25: "RoomLiving",
- 26: "PaiYiPai",
- 28: "FinderLive",
- 29: "KefuNameCard",
- 30: "QiyeNameCard",
- 99: "UnSupport",
- }
- EnumContentType_value = map[string]int32{
- "UnknownContent": 0,
- "Text": 1,
- "Picture": 2,
- "Voice": 3,
- "Video": 4,
- "System": 5,
- "Link": 6,
- "LinkExt": 7,
- "File": 8,
- "NameCard": 9,
- "Location": 10,
- "LuckyMoney": 11,
- "MoneyTrans": 12,
- "WeApp": 13,
- "Emoji": 14,
- "RoomManage": 15,
- "Sys_LuckyMoney": 16,
- "RoomSystem": 17,
- "BizLink": 18,
- "AudioCall": 19,
- "VideoCall": 20,
- "NotifyMsg": 21,
- "QuoteMsg": 22,
- "JieLongMsg": 23,
- "ShiPinHao": 24,
- "RoomLiving": 25,
- "PaiYiPai": 26,
- "FinderLive": 28,
- "KefuNameCard": 29,
- "QiyeNameCard": 30,
- "UnSupport": 99,
- }
- )
- func (x EnumContentType) Enum() *EnumContentType {
- p := new(EnumContentType)
- *p = x
- return p
- }
- func (x EnumContentType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (EnumContentType) Descriptor() protoreflect.EnumDescriptor {
- return file_enum_proto_enumTypes[0].Descriptor()
- }
- func (EnumContentType) Type() protoreflect.EnumType {
- return &file_enum_proto_enumTypes[0]
- }
- func (x EnumContentType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use EnumContentType.Descriptor instead.
- func (EnumContentType) EnumDescriptor() ([]byte, []int) {
- return file_enum_proto_rawDescGZIP(), []int{0}
- }
- var File_enum_proto protoreflect.FileDescriptor
- var file_enum_proto_rawDesc = []byte{
- 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x70, 0x6b,
- 0x67, 0x2e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x6f, 0x66, 0x5f, 0x69, 0x6d,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xcd, 0x03, 0x0a, 0x0f, 0x45, 0x6e, 0x75, 0x6d, 0x43,
- 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x6e,
- 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x10, 0x00, 0x12, 0x08,
- 0x0a, 0x04, 0x54, 0x65, 0x78, 0x74, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x69, 0x63, 0x74,
- 0x75, 0x72, 0x65, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x10, 0x03,
- 0x12, 0x09, 0x0a, 0x05, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x53,
- 0x79, 0x73, 0x74, 0x65, 0x6d, 0x10, 0x05, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x69, 0x6e, 0x6b, 0x10,
- 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x4c, 0x69, 0x6e, 0x6b, 0x45, 0x78, 0x74, 0x10, 0x07, 0x12, 0x08,
- 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x10, 0x08, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x61, 0x6d, 0x65,
- 0x43, 0x61, 0x72, 0x64, 0x10, 0x09, 0x12, 0x0c, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x10, 0x0a, 0x12, 0x0e, 0x0a, 0x0a, 0x4c, 0x75, 0x63, 0x6b, 0x79, 0x4d, 0x6f, 0x6e,
- 0x65, 0x79, 0x10, 0x0b, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x6f, 0x6e, 0x65, 0x79, 0x54, 0x72, 0x61,
- 0x6e, 0x73, 0x10, 0x0c, 0x12, 0x09, 0x0a, 0x05, 0x57, 0x65, 0x41, 0x70, 0x70, 0x10, 0x0d, 0x12,
- 0x09, 0x0a, 0x05, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x10, 0x0e, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x6f,
- 0x6f, 0x6d, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x10, 0x0f, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x79,
- 0x73, 0x5f, 0x4c, 0x75, 0x63, 0x6b, 0x79, 0x4d, 0x6f, 0x6e, 0x65, 0x79, 0x10, 0x10, 0x12, 0x0e,
- 0x0a, 0x0a, 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x10, 0x11, 0x12, 0x0b,
- 0x0a, 0x07, 0x42, 0x69, 0x7a, 0x4c, 0x69, 0x6e, 0x6b, 0x10, 0x12, 0x12, 0x0d, 0x0a, 0x09, 0x41,
- 0x75, 0x64, 0x69, 0x6f, 0x43, 0x61, 0x6c, 0x6c, 0x10, 0x13, 0x12, 0x0d, 0x0a, 0x09, 0x56, 0x69,
- 0x64, 0x65, 0x6f, 0x43, 0x61, 0x6c, 0x6c, 0x10, 0x14, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x6f, 0x74,
- 0x69, 0x66, 0x79, 0x4d, 0x73, 0x67, 0x10, 0x15, 0x12, 0x0c, 0x0a, 0x08, 0x51, 0x75, 0x6f, 0x74,
- 0x65, 0x4d, 0x73, 0x67, 0x10, 0x16, 0x12, 0x0e, 0x0a, 0x0a, 0x4a, 0x69, 0x65, 0x4c, 0x6f, 0x6e,
- 0x67, 0x4d, 0x73, 0x67, 0x10, 0x17, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x68, 0x69, 0x50, 0x69, 0x6e,
- 0x48, 0x61, 0x6f, 0x10, 0x18, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x76,
- 0x69, 0x6e, 0x67, 0x10, 0x19, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x61, 0x69, 0x59, 0x69, 0x50, 0x61,
- 0x69, 0x10, 0x1a, 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x76,
- 0x65, 0x10, 0x1c, 0x12, 0x10, 0x0a, 0x0c, 0x4b, 0x65, 0x66, 0x75, 0x4e, 0x61, 0x6d, 0x65, 0x43,
- 0x61, 0x72, 0x64, 0x10, 0x1d, 0x12, 0x10, 0x0a, 0x0c, 0x51, 0x69, 0x79, 0x65, 0x4e, 0x61, 0x6d,
- 0x65, 0x43, 0x61, 0x72, 0x64, 0x10, 0x1e, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x6e, 0x53, 0x75, 0x70,
- 0x70, 0x6f, 0x72, 0x74, 0x10, 0x63, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_enum_proto_rawDescOnce sync.Once
- file_enum_proto_rawDescData = file_enum_proto_rawDesc
- )
- func file_enum_proto_rawDescGZIP() []byte {
- file_enum_proto_rawDescOnce.Do(func() {
- file_enum_proto_rawDescData = protoimpl.X.CompressGZIP(file_enum_proto_rawDescData)
- })
- return file_enum_proto_rawDescData
- }
- var file_enum_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
- var file_enum_proto_goTypes = []any{
- (EnumContentType)(0), // 0: pkg.customer_of_im.proto.EnumContentType
- }
- var file_enum_proto_depIdxs = []int32{
- 0, // [0:0] is the sub-list for method output_type
- 0, // [0:0] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
- }
- func init() { file_enum_proto_init() }
- func file_enum_proto_init() {
- if File_enum_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_enum_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 0,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_enum_proto_goTypes,
- DependencyIndexes: file_enum_proto_depIdxs,
- EnumInfos: file_enum_proto_enumTypes,
- }.Build()
- File_enum_proto = out.File
- file_enum_proto_rawDesc = nil
- file_enum_proto_goTypes = nil
- file_enum_proto_depIdxs = nil
- }
|