You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.5 KiB
44 lines
1.5 KiB
// |
|
// Generated code. Do not modify. |
|
// source: message.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; |
|
|
|
class MsgType extends $pb.ProtobufEnum { |
|
static const MsgType COMMAND = MsgType._(0, _omitEnumNames ? '' : 'COMMAND'); |
|
static const MsgType TEXT = MsgType._(1, _omitEnumNames ? '' : 'TEXT'); |
|
static const MsgType IMAGE = MsgType._(2, _omitEnumNames ? '' : 'IMAGE'); |
|
static const MsgType AUDIO = MsgType._(3, _omitEnumNames ? '' : 'AUDIO'); |
|
static const MsgType VIDEO = MsgType._(4, _omitEnumNames ? '' : 'VIDEO'); |
|
static const MsgType PACKET = MsgType._(5, _omitEnumNames ? '' : 'PACKET'); |
|
static const MsgType TRANSFER = MsgType._(6, _omitEnumNames ? '' : 'TRANSFER'); |
|
static const MsgType LOCATION = MsgType._(7, _omitEnumNames ? '' : 'LOCATION'); |
|
|
|
static const $core.List<MsgType> values = <MsgType> [ |
|
COMMAND, |
|
TEXT, |
|
IMAGE, |
|
AUDIO, |
|
VIDEO, |
|
PACKET, |
|
TRANSFER, |
|
LOCATION, |
|
]; |
|
|
|
static final $core.Map<$core.int, MsgType> _byValue = $pb.ProtobufEnum.initByValue(values); |
|
static MsgType? valueOf($core.int value) => _byValue[value]; |
|
|
|
const MsgType._($core.int v, $core.String n) : super(v, n); |
|
} |
|
|
|
|
|
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
|
|
|