66 lines
2.1 KiB
Dart
66 lines
2.1 KiB
Dart
// This is a generated file - do not edit.
|
|
//
|
|
// Generated from blocks.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
|
|
|
|
import 'dart:core' as $core;
|
|
|
|
import 'package:protobuf/protobuf.dart' as $pb;
|
|
|
|
class DeviceType extends $pb.ProtobufEnum {
|
|
static const DeviceType Pc = DeviceType._(0, _omitEnumNames ? '' : 'Pc');
|
|
static const DeviceType Android =
|
|
DeviceType._(1, _omitEnumNames ? '' : 'Android');
|
|
static const DeviceType Ios = DeviceType._(2, _omitEnumNames ? '' : 'Ios');
|
|
static const DeviceType Web = DeviceType._(3, _omitEnumNames ? '' : 'Web');
|
|
|
|
static const $core.List<DeviceType> values = <DeviceType>[
|
|
Pc,
|
|
Android,
|
|
Ios,
|
|
Web,
|
|
];
|
|
|
|
static final $core.List<DeviceType?> _byValue =
|
|
$pb.ProtobufEnum.$_initByValueList(values, 3);
|
|
static DeviceType? valueOf($core.int value) =>
|
|
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const DeviceType._(super.value, super.name);
|
|
}
|
|
|
|
/// 消息类型
|
|
class MsgType extends $pb.ProtobufEnum {
|
|
static const MsgType Exception =
|
|
MsgType._(0, _omitEnumNames ? '' : 'Exception');
|
|
static const MsgType Chat = MsgType._(1, _omitEnumNames ? '' : 'Chat');
|
|
static const MsgType Group = MsgType._(2, _omitEnumNames ? '' : 'Group');
|
|
static const MsgType System = MsgType._(3, _omitEnumNames ? '' : 'System');
|
|
static const MsgType Event = MsgType._(4, _omitEnumNames ? '' : 'Event');
|
|
|
|
static const $core.List<MsgType> values = <MsgType>[
|
|
Exception,
|
|
Chat,
|
|
Group,
|
|
System,
|
|
Event,
|
|
];
|
|
|
|
static final $core.List<MsgType?> _byValue =
|
|
$pb.ProtobufEnum.$_initByValueList(values, 4);
|
|
static MsgType? valueOf($core.int value) =>
|
|
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const MsgType._(super.value, super.name);
|
|
}
|
|
|
|
const $core.bool _omitEnumNames =
|
|
$core.bool.fromEnvironment('protobuf.omit_enum_names');
|