observable.pbenum.dart 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. ///
  2. // Generated code. Do not modify.
  3. // source: observable.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 UserNotification extends $pb.ProtobufEnum {
  11. static const UserNotification Unknown = UserNotification._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'Unknown');
  12. static const UserNotification UserAuthChanged = UserNotification._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'UserAuthChanged');
  13. static const UserNotification UserProfileUpdated = UserNotification._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'UserProfileUpdated');
  14. static const UserNotification UserUnauthorized = UserNotification._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'UserUnauthorized');
  15. static const UserNotification UserWsConnectStateChanged = UserNotification._(4, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'UserWsConnectStateChanged');
  16. static const $core.List<UserNotification> values = <UserNotification> [
  17. Unknown,
  18. UserAuthChanged,
  19. UserProfileUpdated,
  20. UserUnauthorized,
  21. UserWsConnectStateChanged,
  22. ];
  23. static final $core.Map<$core.int, UserNotification> _byValue = $pb.ProtobufEnum.initByValue(values);
  24. static UserNotification? valueOf($core.int value) => _byValue[value];
  25. const UserNotification._($core.int v, $core.String n) : super(v, n);
  26. }
  27. class NetworkType extends $pb.ProtobufEnum {
  28. static const NetworkType UnknownNetworkType = NetworkType._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'UnknownNetworkType');
  29. static const NetworkType Wifi = NetworkType._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'Wifi');
  30. static const NetworkType Cell = NetworkType._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'Cell');
  31. static const NetworkType Ethernet = NetworkType._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'Ethernet');
  32. static const $core.List<NetworkType> values = <NetworkType> [
  33. UnknownNetworkType,
  34. Wifi,
  35. Cell,
  36. Ethernet,
  37. ];
  38. static final $core.Map<$core.int, NetworkType> _byValue = $pb.ProtobufEnum.initByValue(values);
  39. static NetworkType? valueOf($core.int value) => _byValue[value];
  40. const NetworkType._($core.int v, $core.String n) : super(v, n);
  41. }