event.pbenum.dart 1.5 KB

1234567891011121314151617181920212223242526272829303132
  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 GetUserProfile = UserEvent._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'GetUserProfile');
  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 $core.List<UserEvent> values = <UserEvent> [
  17. GetUserProfile,
  18. SignIn,
  19. SignUp,
  20. SignOut,
  21. UpdateUser,
  22. ];
  23. static final $core.Map<$core.int, UserEvent> _byValue = $pb.ProtobufEnum.initByValue(values);
  24. static UserEvent? valueOf($core.int value) => _byValue[value];
  25. const UserEvent._($core.int v, $core.String n) : super(v, n);
  26. }