veilidchat/lib/proto/veilidchat.pbenum.dart

79 lines
3.3 KiB
Dart
Raw Normal View History

2023-07-08 10:38:23 -04:00
//
// Generated code. Do not modify.
2023-07-08 10:59:37 -04:00
// source: veilidchat.proto
2023-07-08 10:38:23 -04:00
//
// @dart = 2.12
// ignore_for_file: annotate_overrides, camel_case_types
// 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 Availability extends $pb.ProtobufEnum {
static const Availability AVAILABILITY_UNSPECIFIED = Availability._(0, _omitEnumNames ? '' : 'AVAILABILITY_UNSPECIFIED');
static const Availability AVAILABILITY_OFFLINE = Availability._(1, _omitEnumNames ? '' : 'AVAILABILITY_OFFLINE');
static const Availability AVAILABILITY_FREE = Availability._(2, _omitEnumNames ? '' : 'AVAILABILITY_FREE');
static const Availability AVAILABILITY_BUSY = Availability._(3, _omitEnumNames ? '' : 'AVAILABILITY_BUSY');
static const Availability AVAILABILITY_AWAY = Availability._(4, _omitEnumNames ? '' : 'AVAILABILITY_AWAY');
static const $core.List<Availability> values = <Availability> [
AVAILABILITY_UNSPECIFIED,
AVAILABILITY_OFFLINE,
AVAILABILITY_FREE,
AVAILABILITY_BUSY,
AVAILABILITY_AWAY,
];
static final $core.Map<$core.int, Availability> _byValue = $pb.ProtobufEnum.initByValue(values);
static Availability? valueOf($core.int value) => _byValue[value];
const Availability._($core.int v, $core.String n) : super(v, n);
}
2023-08-02 21:09:28 -04:00
class EncryptionKeyType extends $pb.ProtobufEnum {
static const EncryptionKeyType ENCRYPTION_KEY_TYPE_UNSPECIFIED = EncryptionKeyType._(0, _omitEnumNames ? '' : 'ENCRYPTION_KEY_TYPE_UNSPECIFIED');
static const EncryptionKeyType ENCRYPTION_KEY_TYPE_NONE = EncryptionKeyType._(1, _omitEnumNames ? '' : 'ENCRYPTION_KEY_TYPE_NONE');
static const EncryptionKeyType ENCRYPTION_KEY_TYPE_PIN = EncryptionKeyType._(2, _omitEnumNames ? '' : 'ENCRYPTION_KEY_TYPE_PIN');
static const EncryptionKeyType ENCRYPTION_KEY_TYPE_PASSWORD = EncryptionKeyType._(3, _omitEnumNames ? '' : 'ENCRYPTION_KEY_TYPE_PASSWORD');
static const $core.List<EncryptionKeyType> values = <EncryptionKeyType> [
ENCRYPTION_KEY_TYPE_UNSPECIFIED,
ENCRYPTION_KEY_TYPE_NONE,
ENCRYPTION_KEY_TYPE_PIN,
ENCRYPTION_KEY_TYPE_PASSWORD,
2023-07-29 15:27:35 -04:00
];
2023-08-02 21:09:28 -04:00
static final $core.Map<$core.int, EncryptionKeyType> _byValue = $pb.ProtobufEnum.initByValue(values);
static EncryptionKeyType? valueOf($core.int value) => _byValue[value];
2023-07-29 15:27:35 -04:00
2023-08-02 21:09:28 -04:00
const EncryptionKeyType._($core.int v, $core.String n) : super(v, n);
2023-07-29 15:27:35 -04:00
}
2024-05-25 22:46:43 -04:00
class Scope extends $pb.ProtobufEnum {
static const Scope WATCHERS = Scope._(0, _omitEnumNames ? '' : 'WATCHERS');
static const Scope MODERATED = Scope._(1, _omitEnumNames ? '' : 'MODERATED');
static const Scope TALKERS = Scope._(2, _omitEnumNames ? '' : 'TALKERS');
static const Scope MODERATORS = Scope._(3, _omitEnumNames ? '' : 'MODERATORS');
static const Scope ADMINS = Scope._(4, _omitEnumNames ? '' : 'ADMINS');
static const $core.List<Scope> values = <Scope> [
WATCHERS,
MODERATED,
TALKERS,
MODERATORS,
ADMINS,
];
static final $core.Map<$core.int, Scope> _byValue = $pb.ProtobufEnum.initByValue(values);
static Scope? valueOf($core.int value) => _byValue[value];
const Scope._($core.int v, $core.String n) : super(v, n);
}
2023-07-08 10:38:23 -04:00
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');