event.pbenum.dart 1.7 KB

123456789101112131415161718192021222324252627282930313233343536
  1. ///
  2. // Generated code. Do not modify.
  3. // source: event.proto
  4. //
  5. // @dart = 2.12
  6. // ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields
  7. // ignore_for_file: UNDEFINED_SHOWN_NAME
  8. import 'dart:core' as $core;
  9. import 'package:protobuf/protobuf.dart' as $pb;
  10. class UserEvent extends $pb.ProtobufEnum {
  11. static const UserEvent InitUser = UserEvent._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'InitUser');
  12. static const UserEvent SignIn = UserEvent._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'SignIn');
  13. static const UserEvent SignUp = UserEvent._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'SignUp');
  14. static const UserEvent SignOut = UserEvent._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'SignOut');
  15. static const UserEvent UpdateUser = UserEvent._(4, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'UpdateUser');
  16. static const UserEvent GetUserProfile = UserEvent._(5, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'GetUserProfile');
  17. static const UserEvent CheckUser = UserEvent._(6, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'CheckUser');
  18. static const $core.List<UserEvent> values = <UserEvent> [
  19. InitUser,
  20. SignIn,
  21. SignUp,
  22. SignOut,
  23. UpdateUser,
  24. GetUserProfile,
  25. CheckUser,
  26. ];
  27. static final $core.Map<$core.int, UserEvent> _byValue = $pb.ProtobufEnum.initByValue(values);
  28. static UserEvent? valueOf($core.int value) => _byValue[value];
  29. const UserEvent._($core.int v, $core.String n) : super(v, n);
  30. }