You've already forked dart-core-sdk
54 lines
2.4 KiB
Dart
54 lines
2.4 KiB
Dart
//
|
|
// Generated code. Do not modify.
|
|
// source: restrictions.proto
|
|
//
|
|
// @dart = 3.3
|
|
|
|
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
|
// ignore_for_file: constant_identifier_names, library_prefixes
|
|
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
|
|
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
|
|
|
import 'dart:core' as $core;
|
|
|
|
import 'package:protobuf/protobuf.dart' as $pb;
|
|
|
|
class RestrictionType extends $pb.ProtobufEnum {
|
|
static const RestrictionType RESTRICTION_TYPE_UNKNOWN = RestrictionType._(0, _omitEnumNames ? '' : 'RESTRICTION_TYPE_UNKNOWN');
|
|
static const RestrictionType RESTRICTION_TYPE_USER = RestrictionType._(1, _omitEnumNames ? '' : 'RESTRICTION_TYPE_USER');
|
|
static const RestrictionType RESTRICTION_TYPE_PARTNER = RestrictionType._(2, _omitEnumNames ? '' : 'RESTRICTION_TYPE_PARTNER');
|
|
|
|
static const $core.List<RestrictionType> values = <RestrictionType> [
|
|
RESTRICTION_TYPE_UNKNOWN,
|
|
RESTRICTION_TYPE_USER,
|
|
RESTRICTION_TYPE_PARTNER,
|
|
];
|
|
|
|
static final $core.List<RestrictionType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
|
|
static RestrictionType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const RestrictionType._(super.v, super.n);
|
|
}
|
|
|
|
class RuleComputeFormat extends $pb.ProtobufEnum {
|
|
static const RuleComputeFormat RULE_COMPUTE_FORMAT_UNKNOWN = RuleComputeFormat._(0, _omitEnumNames ? '' : 'RULE_COMPUTE_FORMAT_UNKNOWN');
|
|
static const RuleComputeFormat RULE_COMPUTE_FORMAT_CH = RuleComputeFormat._(1, _omitEnumNames ? '' : 'RULE_COMPUTE_FORMAT_CH');
|
|
static const RuleComputeFormat RULE_COMPUTE_FORMAT_OS = RuleComputeFormat._(2, _omitEnumNames ? '' : 'RULE_COMPUTE_FORMAT_OS');
|
|
static const RuleComputeFormat RULE_COMPUTE_FORMAT_JQ = RuleComputeFormat._(3, _omitEnumNames ? '' : 'RULE_COMPUTE_FORMAT_JQ');
|
|
|
|
static const $core.List<RuleComputeFormat> values = <RuleComputeFormat> [
|
|
RULE_COMPUTE_FORMAT_UNKNOWN,
|
|
RULE_COMPUTE_FORMAT_CH,
|
|
RULE_COMPUTE_FORMAT_OS,
|
|
RULE_COMPUTE_FORMAT_JQ,
|
|
];
|
|
|
|
static final $core.List<RuleComputeFormat?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
|
|
static RuleComputeFormat? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const RuleComputeFormat._(super.v, super.n);
|
|
}
|
|
|
|
|
|
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
|