You've already forked dart-core-sdk
39 lines
1.6 KiB
Dart
39 lines
1.6 KiB
Dart
// This is a generated file - do not edit.
|
|
//
|
|
// Generated from rules.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;
|
|
|
|
/// RuleType categorises rules by their enforcement behaviour within a project.
|
|
class RuleType extends $pb.ProtobufEnum {
|
|
static const RuleType RULE_TYPE_PROJECT_UNKNOWN = RuleType._(0, _omitEnumNames ? '' : 'RULE_TYPE_PROJECT_UNKNOWN');
|
|
static const RuleType RULE_TYPE_PROJECT_RESTRICTION = RuleType._(1, _omitEnumNames ? '' : 'RULE_TYPE_PROJECT_RESTRICTION');
|
|
static const RuleType RULE_TYPE_PROJECT_PRUNE = RuleType._(2, _omitEnumNames ? '' : 'RULE_TYPE_PROJECT_PRUNE');
|
|
static const RuleType RULE_TYPE_PROJECT_ANONYMIZE = RuleType._(3, _omitEnumNames ? '' : 'RULE_TYPE_PROJECT_ANONYMIZE');
|
|
|
|
static const $core.List<RuleType> values = <RuleType> [
|
|
RULE_TYPE_PROJECT_UNKNOWN,
|
|
RULE_TYPE_PROJECT_RESTRICTION,
|
|
RULE_TYPE_PROJECT_PRUNE,
|
|
RULE_TYPE_PROJECT_ANONYMIZE,
|
|
];
|
|
|
|
static final $core.List<RuleType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
|
|
static RuleType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const RuleType._(super.value, super.name);
|
|
}
|
|
|
|
|
|
const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
|