mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 03:15:14 +08:00
update proto
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1,32 +1,37 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated code. Do not modify.
|
||||
// source: bilibili/app/archive/middleware/v1.proto
|
||||
//
|
||||
// Generated from bilibili/app/archive/middleware/v1.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
// 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
|
||||
// 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 QnPolicy extends $pb.ProtobufEnum {
|
||||
static const QnPolicy QN_POLICY_DEFAULT = QnPolicy._(0, _omitEnumNames ? '' : 'QN_POLICY_DEFAULT');
|
||||
static const QnPolicy QN_POLICY_AUTO_QN_ENABLE = QnPolicy._(1, _omitEnumNames ? '' : 'QN_POLICY_AUTO_QN_ENABLE');
|
||||
static const QnPolicy QN_POLICY_DEFAULT =
|
||||
QnPolicy._(0, _omitEnumNames ? '' : 'QN_POLICY_DEFAULT');
|
||||
static const QnPolicy QN_POLICY_AUTO_QN_ENABLE =
|
||||
QnPolicy._(1, _omitEnumNames ? '' : 'QN_POLICY_AUTO_QN_ENABLE');
|
||||
|
||||
static const $core.List<QnPolicy> values = <QnPolicy> [
|
||||
static const $core.List<QnPolicy> values = <QnPolicy>[
|
||||
QN_POLICY_DEFAULT,
|
||||
QN_POLICY_AUTO_QN_ENABLE,
|
||||
];
|
||||
|
||||
static final $core.Map<$core.int, QnPolicy> _byValue = $pb.ProtobufEnum.initByValue(values);
|
||||
static QnPolicy? valueOf($core.int value) => _byValue[value];
|
||||
static final $core.List<QnPolicy?> _byValue =
|
||||
$pb.ProtobufEnum.$_initByValueList(values, 1);
|
||||
static QnPolicy? valueOf($core.int value) =>
|
||||
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const QnPolicy._(super.v, super.n);
|
||||
const QnPolicy._(super.value, super.name);
|
||||
}
|
||||
|
||||
|
||||
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
|
||||
const $core.bool _omitEnumNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_enum_names');
|
||||
|
||||
Reference in New Issue
Block a user