You've already forked dart-core-sdk
Latest generation
This commit is contained in:
35
lib/validate.pbenum.dart
Normal file
35
lib/validate.pbenum.dart
Normal file
@@ -0,0 +1,35 @@
|
||||
//
|
||||
// Generated code. Do not modify.
|
||||
// source: validate.proto
|
||||
//
|
||||
// @dart = 2.12
|
||||
|
||||
// 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;
|
||||
|
||||
/// WellKnownRegex contain some well-known patterns.
|
||||
class KnownRegex extends $pb.ProtobufEnum {
|
||||
static const KnownRegex UNKNOWN = KnownRegex._(0, _omitEnumNames ? '' : 'UNKNOWN');
|
||||
static const KnownRegex HTTP_HEADER_NAME = KnownRegex._(1, _omitEnumNames ? '' : 'HTTP_HEADER_NAME');
|
||||
static const KnownRegex HTTP_HEADER_VALUE = KnownRegex._(2, _omitEnumNames ? '' : 'HTTP_HEADER_VALUE');
|
||||
|
||||
static const $core.List<KnownRegex> values = <KnownRegex> [
|
||||
UNKNOWN,
|
||||
HTTP_HEADER_NAME,
|
||||
HTTP_HEADER_VALUE,
|
||||
];
|
||||
|
||||
static final $core.Map<$core.int, KnownRegex> _byValue = $pb.ProtobufEnum.initByValue(values);
|
||||
static KnownRegex? valueOf($core.int value) => _byValue[value];
|
||||
|
||||
const KnownRegex._($core.int v, $core.String n) : super(v, n);
|
||||
}
|
||||
|
||||
|
||||
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
|
||||
Reference in New Issue
Block a user