mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 06:28:41 +00:00
Some checks failed
Flutter analyze & test / flutter_analyze_and_test (push) Has been cancelled
210 lines
8.3 KiB
Dart
210 lines
8.3 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
|
|
|
|
import 'dart:core' as $core;
|
|
|
|
import 'package:protobuf/protobuf.dart' as $pb;
|
|
|
|
class Message_Type extends $pb.ProtobufEnum {
|
|
static const Message_Type SENDER_DELIVERY_RECEIPT =
|
|
Message_Type._(0, _omitEnumNames ? '' : 'SENDER_DELIVERY_RECEIPT');
|
|
static const Message_Type PLAINTEXT_CONTENT =
|
|
Message_Type._(1, _omitEnumNames ? '' : 'PLAINTEXT_CONTENT');
|
|
static const Message_Type CIPHERTEXT =
|
|
Message_Type._(2, _omitEnumNames ? '' : 'CIPHERTEXT');
|
|
static const Message_Type PREKEY_BUNDLE =
|
|
Message_Type._(3, _omitEnumNames ? '' : 'PREKEY_BUNDLE');
|
|
static const Message_Type TEST_NOTIFICATION =
|
|
Message_Type._(4, _omitEnumNames ? '' : 'TEST_NOTIFICATION');
|
|
|
|
static const $core.List<Message_Type> values = <Message_Type>[
|
|
SENDER_DELIVERY_RECEIPT,
|
|
PLAINTEXT_CONTENT,
|
|
CIPHERTEXT,
|
|
PREKEY_BUNDLE,
|
|
TEST_NOTIFICATION,
|
|
];
|
|
|
|
static final $core.List<Message_Type?> _byValue =
|
|
$pb.ProtobufEnum.$_initByValueList(values, 4);
|
|
static Message_Type? valueOf($core.int value) =>
|
|
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const Message_Type._(super.value, super.name);
|
|
}
|
|
|
|
class PlaintextContent_DecryptionErrorMessage_Type extends $pb.ProtobufEnum {
|
|
static const PlaintextContent_DecryptionErrorMessage_Type UNKNOWN =
|
|
PlaintextContent_DecryptionErrorMessage_Type._(
|
|
0, _omitEnumNames ? '' : 'UNKNOWN');
|
|
static const PlaintextContent_DecryptionErrorMessage_Type PREKEY_UNKNOWN =
|
|
PlaintextContent_DecryptionErrorMessage_Type._(
|
|
1, _omitEnumNames ? '' : 'PREKEY_UNKNOWN');
|
|
|
|
static const $core.List<PlaintextContent_DecryptionErrorMessage_Type> values =
|
|
<PlaintextContent_DecryptionErrorMessage_Type>[
|
|
UNKNOWN,
|
|
PREKEY_UNKNOWN,
|
|
];
|
|
|
|
static final $core.List<PlaintextContent_DecryptionErrorMessage_Type?>
|
|
_byValue = $pb.ProtobufEnum.$_initByValueList(values, 1);
|
|
static PlaintextContent_DecryptionErrorMessage_Type? valueOf(
|
|
$core.int value) =>
|
|
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const PlaintextContent_DecryptionErrorMessage_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);
|
|
}
|
|
|
|
class EncryptedContent_PushKeys_Type extends $pb.ProtobufEnum {
|
|
static const EncryptedContent_PushKeys_Type REQUEST =
|
|
EncryptedContent_PushKeys_Type._(0, _omitEnumNames ? '' : 'REQUEST');
|
|
static const EncryptedContent_PushKeys_Type UPDATE =
|
|
EncryptedContent_PushKeys_Type._(1, _omitEnumNames ? '' : 'UPDATE');
|
|
|
|
static const $core.List<EncryptedContent_PushKeys_Type> values =
|
|
<EncryptedContent_PushKeys_Type>[
|
|
REQUEST,
|
|
UPDATE,
|
|
];
|
|
|
|
static final $core.List<EncryptedContent_PushKeys_Type?> _byValue =
|
|
$pb.ProtobufEnum.$_initByValueList(values, 1);
|
|
static EncryptedContent_PushKeys_Type? valueOf($core.int value) =>
|
|
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const EncryptedContent_PushKeys_Type._(super.value, super.name);
|
|
}
|
|
|
|
const $core.bool _omitEnumNames =
|
|
$core.bool.fromEnvironment('protobuf.omit_enum_names');
|