github.com/binkynet/BinkyNet@v1.12.1-0.20240421190447-da4e34c20be0/dart/lib/types.pbenum.dart (about) 1 /// 2 // Generated code. Do not modify. 3 // source: types.proto 4 // 5 // @dart = 2.12 6 // ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name 7 8 // ignore_for_file: UNDEFINED_SHOWN_NAME 9 import 'dart:core' as $core; 10 import 'package:protobuf/protobuf.dart' as $pb; 11 12 class LocDirection extends $pb.ProtobufEnum { 13 static const LocDirection FORWARD = LocDirection._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'FORWARD'); 14 static const LocDirection REVERSE = LocDirection._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'REVERSE'); 15 16 static const $core.List<LocDirection> values = <LocDirection> [ 17 FORWARD, 18 REVERSE, 19 ]; 20 21 static final $core.Map<$core.int, LocDirection> _byValue = $pb.ProtobufEnum.initByValue(values); 22 static LocDirection? valueOf($core.int value) => _byValue[value]; 23 24 const LocDirection._($core.int v, $core.String n) : super(v, n); 25 } 26 27 class SwitchDirection extends $pb.ProtobufEnum { 28 static const SwitchDirection STRAIGHT = SwitchDirection._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'STRAIGHT'); 29 static const SwitchDirection OFF = SwitchDirection._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'OFF'); 30 31 static const $core.List<SwitchDirection> values = <SwitchDirection> [ 32 STRAIGHT, 33 OFF, 34 ]; 35 36 static final $core.Map<$core.int, SwitchDirection> _byValue = $pb.ProtobufEnum.initByValue(values); 37 static SwitchDirection? valueOf($core.int value) => _byValue[value]; 38 39 const SwitchDirection._($core.int v, $core.String n) : super(v, n); 40 } 41 42 class TimePeriod extends $pb.ProtobufEnum { 43 static const TimePeriod MORNING = TimePeriod._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'MORNING'); 44 static const TimePeriod AFTERNOON = TimePeriod._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'AFTERNOON'); 45 static const TimePeriod EVENING = TimePeriod._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'EVENING'); 46 static const TimePeriod NIGHT = TimePeriod._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'NIGHT'); 47 48 static const $core.List<TimePeriod> values = <TimePeriod> [ 49 MORNING, 50 AFTERNOON, 51 EVENING, 52 NIGHT, 53 ]; 54 55 static final $core.Map<$core.int, TimePeriod> _byValue = $pb.ProtobufEnum.initByValue(values); 56 static TimePeriod? valueOf($core.int value) => _byValue[value]; 57 58 const TimePeriod._($core.int v, $core.String n) : super(v, n); 59 } 60