/// // Generated code. Do not modify. // source: chat.proto // // @dart = 2.3 // ignore_for_file: camel_case_types,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type // ignore_for_file: UNDEFINED_SHOWN_NAME,UNUSED_SHOWN_NAME import 'dart:core' as $core show int, dynamic, String, List, Map; import 'package:protobuf/protobuf.dart' as $pb; class ChatChannelType extends $pb.ProtobufEnum { static const ChatChannelType Session = ChatChannelType._(0, 'Session'); static const ChatChannelType Group = ChatChannelType._(1, 'Group'); static const ChatChannelType CSD = ChatChannelType._(2, 'CSD'); static const $core.List values = [ Session, Group, CSD, ]; static final $core.Map<$core.int, ChatChannelType> _byValue = $pb.ProtobufEnum.initByValue(values); static ChatChannelType valueOf($core.int value) => _byValue[value]; const ChatChannelType._($core.int v, $core.String n) : super(v, n); } class ChatType extends $pb.ProtobufEnum { static const ChatType TextChatType = ChatType._(0, 'TextChatType'); static const ChatType ImageChatType = ChatType._(1, 'ImageChatType'); static const ChatType ShortVoiceChatType = ChatType._(2, 'ShortVoiceChatType'); static const ChatType ShortVideoChatType = ChatType._(3, 'ShortVideoChatType'); static const ChatType RealtimeCallVoiceType = ChatType._(4, 'RealtimeCallVoiceType'); static const ChatType RealtimeCallVideoType = ChatType._(5, 'RealtimeCallVideoType'); static const ChatType RedWalletChatType = ChatType._(6, 'RedWalletChatType'); static const ChatType PlaceChatType = ChatType._(7, 'PlaceChatType'); static const ChatType EmoticonType = ChatType._(8, 'EmoticonType'); static const ChatType GroupChatNoticeType = ChatType._(9, 'GroupChatNoticeType'); static const ChatType GiftChatType = ChatType._(10, 'GiftChatType'); static const ChatType FileChatType = ChatType._(11, 'FileChatType'); static const $core.List values = [ TextChatType, ImageChatType, ShortVoiceChatType, ShortVideoChatType, RealtimeCallVoiceType, RealtimeCallVideoType, RedWalletChatType, PlaceChatType, EmoticonType, GroupChatNoticeType, GiftChatType, FileChatType, ]; static final $core.Map<$core.int, ChatType> _byValue = $pb.ProtobufEnum.initByValue(values); static ChatType valueOf($core.int value) => _byValue[value]; const ChatType._($core.int v, $core.String n) : super(v, n); } class RedWalletState extends $pb.ProtobufEnum { static const RedWalletState Uncollected = RedWalletState._(0, 'Uncollected'); static const RedWalletState Received = RedWalletState._(1, 'Received'); static const RedWalletState Expire = RedWalletState._(2, 'Expire'); static const $core.List values = [ Uncollected, Received, Expire, ]; static final $core.Map<$core.int, RedWalletState> _byValue = $pb.ProtobufEnum.initByValue(values); static RedWalletState valueOf($core.int value) => _byValue[value]; const RedWalletState._($core.int v, $core.String n) : super(v, n); } class TranslateState extends $pb.ProtobufEnum { static const TranslateState NoPerson = TranslateState._(0, 'NoPerson'); static const TranslateState SameLan = TranslateState._(1, 'SameLan'); static const TranslateState Unopen = TranslateState._(2, 'Unopen'); static const TranslateState Opend = TranslateState._(3, 'Opend'); static const $core.List values = [ NoPerson, SameLan, Unopen, Opend, ]; static final $core.Map<$core.int, TranslateState> _byValue = $pb.ProtobufEnum.initByValue(values); static TranslateState valueOf($core.int value) => _byValue[value]; const TranslateState._($core.int v, $core.String n) : super(v, n); } class ChatNiceoType extends $pb.ProtobufEnum { static const ChatNiceoType GroupAddMember = ChatNiceoType._(1, 'GroupAddMember'); static const ChatNiceoType GroupRemoveMember = ChatNiceoType._(2, 'GroupRemoveMember'); static const $core.List values = [ GroupAddMember, GroupRemoveMember, ]; static final $core.Map<$core.int, ChatNiceoType> _byValue = $pb.ProtobufEnum.initByValue(values); static ChatNiceoType valueOf($core.int value) => _byValue[value]; const ChatNiceoType._($core.int v, $core.String n) : super(v, n); } class GroupMemberIdentity extends $pb.ProtobufEnum { static const GroupMemberIdentity identityNormal = GroupMemberIdentity._(0, 'identityNormal'); static const GroupMemberIdentity identityManager = GroupMemberIdentity._(1, 'identityManager'); static const GroupMemberIdentity identityMaster = GroupMemberIdentity._(2, 'identityMaster'); static const $core.List values = [ identityNormal, identityManager, identityMaster, ]; static final $core.Map<$core.int, GroupMemberIdentity> _byValue = $pb.ProtobufEnum.initByValue(values); static GroupMemberIdentity valueOf($core.int value) => _byValue[value]; const GroupMemberIdentity._($core.int v, $core.String n) : super(v, n); } class GroupChangeType extends $pb.ProtobufEnum { static const GroupChangeType AddMember = GroupChangeType._(1, 'AddMember'); static const GroupChangeType RemoveMember = GroupChangeType._(2, 'RemoveMember'); static const GroupChangeType MasterTrans = GroupChangeType._(3, 'MasterTrans'); static const GroupChangeType GroupNoticeChange = GroupChangeType._(4, 'GroupNoticeChange'); static const GroupChangeType GroupNameChange = GroupChangeType._(5, 'GroupNameChange'); static const GroupChangeType GroupMemberAliasChange = GroupChangeType._(6, 'GroupMemberAliasChange'); static const GroupChangeType GroupIsOpenMemberCheckChange = GroupChangeType._(7, 'GroupIsOpenMemberCheckChange'); static const GroupChangeType GroupMemberCheckNotice = GroupChangeType._(8, 'GroupMemberCheckNotice'); static const GroupChangeType QRCodeAddMemberNotice = GroupChangeType._(9, 'QRCodeAddMemberNotice'); static const GroupChangeType GroupMemberCheckAddMemberNotice = GroupChangeType._(10, 'GroupMemberCheckAddMemberNotice'); static const GroupChangeType GroupMemberLeave = GroupChangeType._(11, 'GroupMemberLeave'); static const $core.List values = [ AddMember, RemoveMember, MasterTrans, GroupNoticeChange, GroupNameChange, GroupMemberAliasChange, GroupIsOpenMemberCheckChange, GroupMemberCheckNotice, QRCodeAddMemberNotice, GroupMemberCheckAddMemberNotice, GroupMemberLeave, ]; static final $core.Map<$core.int, GroupChangeType> _byValue = $pb.ProtobufEnum.initByValue(values); static GroupChangeType valueOf($core.int value) => _byValue[value]; const GroupChangeType._($core.int v, $core.String n) : super(v, n); }