// This is a generated file - do not edit. // // Generated from control_message.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, prefer_relative_imports import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; /// 控制指令类型,对应原 JSON 字段 action。 class Action extends $pb.ProtobufEnum { static const Action ACTION_UNKNOWN = Action._(0, _omitEnumNames ? '' : 'ACTION_UNKNOWN'); static const Action TOUCH = Action._(1, _omitEnumNames ? '' : 'TOUCH'); static const Action SWIPE = Action._(2, _omitEnumNames ? '' : 'SWIPE'); static const Action KEY = Action._(3, _omitEnumNames ? '' : 'KEY'); static const Action LONG_PRESS = Action._(4, _omitEnumNames ? '' : 'LONG_PRESS'); static const Action MOTION_EVENT = Action._(5, _omitEnumNames ? '' : 'MOTION_EVENT'); static const Action SET_RESOLUTION = Action._(6, _omitEnumNames ? '' : 'SET_RESOLUTION'); static const Action REPORT_RESOLUTION = Action._(7, _omitEnumNames ? '' : 'REPORT_RESOLUTION'); static const $core.List values = [ ACTION_UNKNOWN, TOUCH, SWIPE, KEY, LONG_PRESS, MOTION_EVENT, SET_RESOLUTION, REPORT_RESOLUTION, ]; static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 7); static Action? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const Action._(super.value, super.name); } const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');