Hibok
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

165 строки
6.8 KiB

  1. ///
  2. // Generated code. Do not modify.
  3. // source: chat.proto
  4. //
  5. // @dart = 2.3
  6. // ignore_for_file: camel_case_types,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type
  7. // ignore_for_file: UNDEFINED_SHOWN_NAME,UNUSED_SHOWN_NAME
  8. import 'dart:core' as $core show int, dynamic, String, List, Map;
  9. import 'package:protobuf/protobuf.dart' as $pb;
  10. class ChatChannelType extends $pb.ProtobufEnum {
  11. static const ChatChannelType Session = ChatChannelType._(0, 'Session');
  12. static const ChatChannelType Group = ChatChannelType._(1, 'Group');
  13. static const ChatChannelType CSD = ChatChannelType._(2, 'CSD');
  14. static const $core.List<ChatChannelType> values = <ChatChannelType> [
  15. Session,
  16. Group,
  17. CSD,
  18. ];
  19. static final $core.Map<$core.int, ChatChannelType> _byValue = $pb.ProtobufEnum.initByValue(values);
  20. static ChatChannelType valueOf($core.int value) => _byValue[value];
  21. const ChatChannelType._($core.int v, $core.String n) : super(v, n);
  22. }
  23. class ChatType extends $pb.ProtobufEnum {
  24. static const ChatType TextChatType = ChatType._(0, 'TextChatType');
  25. static const ChatType ImageChatType = ChatType._(1, 'ImageChatType');
  26. static const ChatType ShortVoiceChatType = ChatType._(2, 'ShortVoiceChatType');
  27. static const ChatType ShortVideoChatType = ChatType._(3, 'ShortVideoChatType');
  28. static const ChatType RealtimeCallVoiceType = ChatType._(4, 'RealtimeCallVoiceType');
  29. static const ChatType RealtimeCallVideoType = ChatType._(5, 'RealtimeCallVideoType');
  30. static const ChatType RedWalletChatType = ChatType._(6, 'RedWalletChatType');
  31. static const ChatType PlaceChatType = ChatType._(7, 'PlaceChatType');
  32. static const ChatType EmoticonType = ChatType._(8, 'EmoticonType');
  33. static const ChatType GroupChatNoticeType = ChatType._(9, 'GroupChatNoticeType');
  34. static const ChatType GiftChatType = ChatType._(10, 'GiftChatType');
  35. static const ChatType FileChatType = ChatType._(11, 'FileChatType');
  36. static const $core.List<ChatType> values = <ChatType> [
  37. TextChatType,
  38. ImageChatType,
  39. ShortVoiceChatType,
  40. ShortVideoChatType,
  41. RealtimeCallVoiceType,
  42. RealtimeCallVideoType,
  43. RedWalletChatType,
  44. PlaceChatType,
  45. EmoticonType,
  46. GroupChatNoticeType,
  47. GiftChatType,
  48. FileChatType,
  49. ];
  50. static final $core.Map<$core.int, ChatType> _byValue = $pb.ProtobufEnum.initByValue(values);
  51. static ChatType valueOf($core.int value) => _byValue[value];
  52. const ChatType._($core.int v, $core.String n) : super(v, n);
  53. }
  54. class RedWalletState extends $pb.ProtobufEnum {
  55. static const RedWalletState Uncollected = RedWalletState._(0, 'Uncollected');
  56. static const RedWalletState Received = RedWalletState._(1, 'Received');
  57. static const RedWalletState Expire = RedWalletState._(2, 'Expire');
  58. static const $core.List<RedWalletState> values = <RedWalletState> [
  59. Uncollected,
  60. Received,
  61. Expire,
  62. ];
  63. static final $core.Map<$core.int, RedWalletState> _byValue = $pb.ProtobufEnum.initByValue(values);
  64. static RedWalletState valueOf($core.int value) => _byValue[value];
  65. const RedWalletState._($core.int v, $core.String n) : super(v, n);
  66. }
  67. class TranslateState extends $pb.ProtobufEnum {
  68. static const TranslateState NoPerson = TranslateState._(0, 'NoPerson');
  69. static const TranslateState SameLan = TranslateState._(1, 'SameLan');
  70. static const TranslateState Unopen = TranslateState._(2, 'Unopen');
  71. static const TranslateState Opend = TranslateState._(3, 'Opend');
  72. static const $core.List<TranslateState> values = <TranslateState> [
  73. NoPerson,
  74. SameLan,
  75. Unopen,
  76. Opend,
  77. ];
  78. static final $core.Map<$core.int, TranslateState> _byValue = $pb.ProtobufEnum.initByValue(values);
  79. static TranslateState valueOf($core.int value) => _byValue[value];
  80. const TranslateState._($core.int v, $core.String n) : super(v, n);
  81. }
  82. class ChatNiceoType extends $pb.ProtobufEnum {
  83. static const ChatNiceoType GroupAddMember = ChatNiceoType._(1, 'GroupAddMember');
  84. static const ChatNiceoType GroupRemoveMember = ChatNiceoType._(2, 'GroupRemoveMember');
  85. static const $core.List<ChatNiceoType> values = <ChatNiceoType> [
  86. GroupAddMember,
  87. GroupRemoveMember,
  88. ];
  89. static final $core.Map<$core.int, ChatNiceoType> _byValue = $pb.ProtobufEnum.initByValue(values);
  90. static ChatNiceoType valueOf($core.int value) => _byValue[value];
  91. const ChatNiceoType._($core.int v, $core.String n) : super(v, n);
  92. }
  93. class GroupMemberIdentity extends $pb.ProtobufEnum {
  94. static const GroupMemberIdentity identityNormal = GroupMemberIdentity._(0, 'identityNormal');
  95. static const GroupMemberIdentity identityManager = GroupMemberIdentity._(1, 'identityManager');
  96. static const GroupMemberIdentity identityMaster = GroupMemberIdentity._(2, 'identityMaster');
  97. static const $core.List<GroupMemberIdentity> values = <GroupMemberIdentity> [
  98. identityNormal,
  99. identityManager,
  100. identityMaster,
  101. ];
  102. static final $core.Map<$core.int, GroupMemberIdentity> _byValue = $pb.ProtobufEnum.initByValue(values);
  103. static GroupMemberIdentity valueOf($core.int value) => _byValue[value];
  104. const GroupMemberIdentity._($core.int v, $core.String n) : super(v, n);
  105. }
  106. class GroupChangeType extends $pb.ProtobufEnum {
  107. static const GroupChangeType AddMember = GroupChangeType._(1, 'AddMember');
  108. static const GroupChangeType RemoveMember = GroupChangeType._(2, 'RemoveMember');
  109. static const GroupChangeType MasterTrans = GroupChangeType._(3, 'MasterTrans');
  110. static const GroupChangeType GroupNoticeChange = GroupChangeType._(4, 'GroupNoticeChange');
  111. static const GroupChangeType GroupNameChange = GroupChangeType._(5, 'GroupNameChange');
  112. static const GroupChangeType GroupMemberAliasChange = GroupChangeType._(6, 'GroupMemberAliasChange');
  113. static const GroupChangeType GroupIsOpenMemberCheckChange = GroupChangeType._(7, 'GroupIsOpenMemberCheckChange');
  114. static const GroupChangeType GroupMemberCheckNotice = GroupChangeType._(8, 'GroupMemberCheckNotice');
  115. static const GroupChangeType QRCodeAddMemberNotice = GroupChangeType._(9, 'QRCodeAddMemberNotice');
  116. static const GroupChangeType GroupMemberCheckAddMemberNotice = GroupChangeType._(10, 'GroupMemberCheckAddMemberNotice');
  117. static const GroupChangeType GroupMemberLeave = GroupChangeType._(11, 'GroupMemberLeave');
  118. static const $core.List<GroupChangeType> values = <GroupChangeType> [
  119. AddMember,
  120. RemoveMember,
  121. MasterTrans,
  122. GroupNoticeChange,
  123. GroupNameChange,
  124. GroupMemberAliasChange,
  125. GroupIsOpenMemberCheckChange,
  126. GroupMemberCheckNotice,
  127. QRCodeAddMemberNotice,
  128. GroupMemberCheckAddMemberNotice,
  129. GroupMemberLeave,
  130. ];
  131. static final $core.Map<$core.int, GroupChangeType> _byValue = $pb.ProtobufEnum.initByValue(values);
  132. static GroupChangeType valueOf($core.int value) => _byValue[value];
  133. const GroupChangeType._($core.int v, $core.String n) : super(v, n);
  134. }