Files
dart-core-sdk/lib/notification.pbenum.dart
2025-06-26 08:23:24 +00:00

53 lines
2.5 KiB
Dart

// This is a generated file - do not edit.
//
// Generated from notification.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
class NotificationType extends $pb.ProtobufEnum {
static const NotificationType NOTIFICATION_TYPE_UNDEFINED = NotificationType._(0, _omitEnumNames ? '' : 'NOTIFICATION_TYPE_UNDEFINED');
static const NotificationType NOTIFICATION_TYPE_TEXT = NotificationType._(1, _omitEnumNames ? '' : 'NOTIFICATION_TYPE_TEXT');
static const NotificationType NOTIFICATION_TYPE_ADAPTIVE_CARD = NotificationType._(2, _omitEnumNames ? '' : 'NOTIFICATION_TYPE_ADAPTIVE_CARD');
static const $core.List<NotificationType> values = <NotificationType> [
NOTIFICATION_TYPE_UNDEFINED,
NOTIFICATION_TYPE_TEXT,
NOTIFICATION_TYPE_ADAPTIVE_CARD,
];
static final $core.List<NotificationType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static NotificationType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const NotificationType._(super.value, super.name);
}
class NotificationCategory extends $pb.ProtobufEnum {
static const NotificationCategory NOTIFICATION_CATEGORY_UNDEFINED = NotificationCategory._(0, _omitEnumNames ? '' : 'NOTIFICATION_CATEGORY_UNDEFINED');
static const NotificationCategory NOTIFICATION_CATEGORY_DATA_EXTRACTION = NotificationCategory._(1, _omitEnumNames ? '' : 'NOTIFICATION_CATEGORY_DATA_EXTRACTION');
static const NotificationCategory NOTIFICATION_CATEGORY_SYSTEM = NotificationCategory._(2, _omitEnumNames ? '' : 'NOTIFICATION_CATEGORY_SYSTEM');
static const $core.List<NotificationCategory> values = <NotificationCategory> [
NOTIFICATION_CATEGORY_UNDEFINED,
NOTIFICATION_CATEGORY_DATA_EXTRACTION,
NOTIFICATION_CATEGORY_SYSTEM,
];
static final $core.List<NotificationCategory?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static NotificationCategory? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const NotificationCategory._(super.value, super.name);
}
const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');