// // Generated code. Do not modify. // source: validate.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; /// WellKnownRegex contain some well-known patterns. class KnownRegex extends $pb.ProtobufEnum { static const KnownRegex UNKNOWN = KnownRegex._(0, _omitEnumNames ? '' : 'UNKNOWN'); /// HTTP header name as defined by RFC 7230. static const KnownRegex HTTP_HEADER_NAME = KnownRegex._(1, _omitEnumNames ? '' : 'HTTP_HEADER_NAME'); /// HTTP header value as defined by RFC 7230. static const KnownRegex HTTP_HEADER_VALUE = KnownRegex._(2, _omitEnumNames ? '' : 'HTTP_HEADER_VALUE'); static const $core.List values = [ UNKNOWN, HTTP_HEADER_NAME, HTTP_HEADER_VALUE, ]; static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); static KnownRegex? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const KnownRegex._(super.v, super.n); } const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');