mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-09-23 13:14:08 +00:00
173 lines
7 KiB
Dart
173 lines
7 KiB
Dart
// This is a generated file - do not edit.
|
|
//
|
|
// Generated from messages.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;
|
|
|
|
class EncryptedContent_ErrorMessages_Type extends $pb.ProtobufEnum {
|
|
static const EncryptedContent_ErrorMessages_Type
|
|
ERROR_PROCESSING_MESSAGE_CREATED_ACCOUNT_REQUEST_INSTEAD =
|
|
EncryptedContent_ErrorMessages_Type._(
|
|
0,
|
|
_omitEnumNames
|
|
? ''
|
|
: 'ERROR_PROCESSING_MESSAGE_CREATED_ACCOUNT_REQUEST_INSTEAD');
|
|
static const EncryptedContent_ErrorMessages_Type UNKNOWN_MESSAGE_TYPE =
|
|
EncryptedContent_ErrorMessages_Type._(
|
|
2, _omitEnumNames ? '' : 'UNKNOWN_MESSAGE_TYPE');
|
|
static const EncryptedContent_ErrorMessages_Type SESSION_OUT_OF_SYNC =
|
|
EncryptedContent_ErrorMessages_Type._(
|
|
3, _omitEnumNames ? '' : 'SESSION_OUT_OF_SYNC');
|
|
static const EncryptedContent_ErrorMessages_Type
|
|
GROUP_NOT_FOUND_OR_NOT_A_MEMBER = EncryptedContent_ErrorMessages_Type._(
|
|
4, _omitEnumNames ? '' : 'GROUP_NOT_FOUND_OR_NOT_A_MEMBER');
|
|
|
|
static const $core.List<EncryptedContent_ErrorMessages_Type> values =
|
|
<EncryptedContent_ErrorMessages_Type>[
|
|
ERROR_PROCESSING_MESSAGE_CREATED_ACCOUNT_REQUEST_INSTEAD,
|
|
UNKNOWN_MESSAGE_TYPE,
|
|
SESSION_OUT_OF_SYNC,
|
|
GROUP_NOT_FOUND_OR_NOT_A_MEMBER,
|
|
];
|
|
|
|
static final $core.List<EncryptedContent_ErrorMessages_Type?> _byValue =
|
|
$pb.ProtobufEnum.$_initByValueList(values, 4);
|
|
static EncryptedContent_ErrorMessages_Type? valueOf($core.int value) =>
|
|
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const EncryptedContent_ErrorMessages_Type._(super.value, super.name);
|
|
}
|
|
|
|
class EncryptedContent_MessageUpdate_Type extends $pb.ProtobufEnum {
|
|
static const EncryptedContent_MessageUpdate_Type DELETE =
|
|
EncryptedContent_MessageUpdate_Type._(0, _omitEnumNames ? '' : 'DELETE');
|
|
static const EncryptedContent_MessageUpdate_Type EDIT_TEXT =
|
|
EncryptedContent_MessageUpdate_Type._(
|
|
1, _omitEnumNames ? '' : 'EDIT_TEXT');
|
|
static const EncryptedContent_MessageUpdate_Type OPENED =
|
|
EncryptedContent_MessageUpdate_Type._(2, _omitEnumNames ? '' : 'OPENED');
|
|
|
|
static const $core.List<EncryptedContent_MessageUpdate_Type> values =
|
|
<EncryptedContent_MessageUpdate_Type>[
|
|
DELETE,
|
|
EDIT_TEXT,
|
|
OPENED,
|
|
];
|
|
|
|
static final $core.List<EncryptedContent_MessageUpdate_Type?> _byValue =
|
|
$pb.ProtobufEnum.$_initByValueList(values, 2);
|
|
static EncryptedContent_MessageUpdate_Type? valueOf($core.int value) =>
|
|
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const EncryptedContent_MessageUpdate_Type._(super.value, super.name);
|
|
}
|
|
|
|
class EncryptedContent_Media_Type extends $pb.ProtobufEnum {
|
|
static const EncryptedContent_Media_Type REUPLOAD =
|
|
EncryptedContent_Media_Type._(0, _omitEnumNames ? '' : 'REUPLOAD');
|
|
static const EncryptedContent_Media_Type IMAGE =
|
|
EncryptedContent_Media_Type._(1, _omitEnumNames ? '' : 'IMAGE');
|
|
static const EncryptedContent_Media_Type VIDEO =
|
|
EncryptedContent_Media_Type._(2, _omitEnumNames ? '' : 'VIDEO');
|
|
static const EncryptedContent_Media_Type GIF =
|
|
EncryptedContent_Media_Type._(3, _omitEnumNames ? '' : 'GIF');
|
|
static const EncryptedContent_Media_Type AUDIO =
|
|
EncryptedContent_Media_Type._(4, _omitEnumNames ? '' : 'AUDIO');
|
|
|
|
static const $core.List<EncryptedContent_Media_Type> values =
|
|
<EncryptedContent_Media_Type>[
|
|
REUPLOAD,
|
|
IMAGE,
|
|
VIDEO,
|
|
GIF,
|
|
AUDIO,
|
|
];
|
|
|
|
static final $core.List<EncryptedContent_Media_Type?> _byValue =
|
|
$pb.ProtobufEnum.$_initByValueList(values, 4);
|
|
static EncryptedContent_Media_Type? valueOf($core.int value) =>
|
|
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const EncryptedContent_Media_Type._(super.value, super.name);
|
|
}
|
|
|
|
class EncryptedContent_MediaUpdate_Type extends $pb.ProtobufEnum {
|
|
static const EncryptedContent_MediaUpdate_Type REOPENED =
|
|
EncryptedContent_MediaUpdate_Type._(0, _omitEnumNames ? '' : 'REOPENED');
|
|
static const EncryptedContent_MediaUpdate_Type STORED =
|
|
EncryptedContent_MediaUpdate_Type._(1, _omitEnumNames ? '' : 'STORED');
|
|
static const EncryptedContent_MediaUpdate_Type DECRYPTION_ERROR =
|
|
EncryptedContent_MediaUpdate_Type._(
|
|
2, _omitEnumNames ? '' : 'DECRYPTION_ERROR');
|
|
|
|
static const $core.List<EncryptedContent_MediaUpdate_Type> values =
|
|
<EncryptedContent_MediaUpdate_Type>[
|
|
REOPENED,
|
|
STORED,
|
|
DECRYPTION_ERROR,
|
|
];
|
|
|
|
static final $core.List<EncryptedContent_MediaUpdate_Type?> _byValue =
|
|
$pb.ProtobufEnum.$_initByValueList(values, 2);
|
|
static EncryptedContent_MediaUpdate_Type? valueOf($core.int value) =>
|
|
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const EncryptedContent_MediaUpdate_Type._(super.value, super.name);
|
|
}
|
|
|
|
class EncryptedContent_ContactRequest_Type extends $pb.ProtobufEnum {
|
|
static const EncryptedContent_ContactRequest_Type REQUEST =
|
|
EncryptedContent_ContactRequest_Type._(
|
|
0, _omitEnumNames ? '' : 'REQUEST');
|
|
static const EncryptedContent_ContactRequest_Type REJECT =
|
|
EncryptedContent_ContactRequest_Type._(1, _omitEnumNames ? '' : 'REJECT');
|
|
static const EncryptedContent_ContactRequest_Type ACCEPT =
|
|
EncryptedContent_ContactRequest_Type._(2, _omitEnumNames ? '' : 'ACCEPT');
|
|
|
|
static const $core.List<EncryptedContent_ContactRequest_Type> values =
|
|
<EncryptedContent_ContactRequest_Type>[
|
|
REQUEST,
|
|
REJECT,
|
|
ACCEPT,
|
|
];
|
|
|
|
static final $core.List<EncryptedContent_ContactRequest_Type?> _byValue =
|
|
$pb.ProtobufEnum.$_initByValueList(values, 2);
|
|
static EncryptedContent_ContactRequest_Type? valueOf($core.int value) =>
|
|
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const EncryptedContent_ContactRequest_Type._(super.value, super.name);
|
|
}
|
|
|
|
class EncryptedContent_ContactUpdate_Type extends $pb.ProtobufEnum {
|
|
static const EncryptedContent_ContactUpdate_Type REQUEST =
|
|
EncryptedContent_ContactUpdate_Type._(0, _omitEnumNames ? '' : 'REQUEST');
|
|
static const EncryptedContent_ContactUpdate_Type UPDATE =
|
|
EncryptedContent_ContactUpdate_Type._(1, _omitEnumNames ? '' : 'UPDATE');
|
|
|
|
static const $core.List<EncryptedContent_ContactUpdate_Type> values =
|
|
<EncryptedContent_ContactUpdate_Type>[
|
|
REQUEST,
|
|
UPDATE,
|
|
];
|
|
|
|
static final $core.List<EncryptedContent_ContactUpdate_Type?> _byValue =
|
|
$pb.ProtobufEnum.$_initByValueList(values, 1);
|
|
static EncryptedContent_ContactUpdate_Type? valueOf($core.int value) =>
|
|
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const EncryptedContent_ContactUpdate_Type._(super.value, super.name);
|
|
}
|
|
|
|
const $core.bool _omitEnumNames =
|
|
$core.bool.fromEnvironment('protobuf.omit_enum_names');
|