Hibok
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 
 

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