mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 19:14:42 +08:00
update proto
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1,27 +1,34 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated code. Do not modify.
|
||||
// source: bilibili/metadata/network.proto
|
||||
//
|
||||
// Generated from bilibili/metadata/network.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 NetworkType extends $pb.ProtobufEnum {
|
||||
static const NetworkType NT_UNKNOWN = NetworkType._(0, _omitEnumNames ? '' : 'NT_UNKNOWN');
|
||||
static const NetworkType WIFI = NetworkType._(1, _omitEnumNames ? '' : 'WIFI');
|
||||
static const NetworkType CELLULAR = NetworkType._(2, _omitEnumNames ? '' : 'CELLULAR');
|
||||
static const NetworkType OFFLINE = NetworkType._(3, _omitEnumNames ? '' : 'OFFLINE');
|
||||
static const NetworkType OTHERNET = NetworkType._(4, _omitEnumNames ? '' : 'OTHERNET');
|
||||
static const NetworkType ETHERNET = NetworkType._(5, _omitEnumNames ? '' : 'ETHERNET');
|
||||
static const NetworkType NT_UNKNOWN =
|
||||
NetworkType._(0, _omitEnumNames ? '' : 'NT_UNKNOWN');
|
||||
static const NetworkType WIFI =
|
||||
NetworkType._(1, _omitEnumNames ? '' : 'WIFI');
|
||||
static const NetworkType CELLULAR =
|
||||
NetworkType._(2, _omitEnumNames ? '' : 'CELLULAR');
|
||||
static const NetworkType OFFLINE =
|
||||
NetworkType._(3, _omitEnumNames ? '' : 'OFFLINE');
|
||||
static const NetworkType OTHERNET =
|
||||
NetworkType._(4, _omitEnumNames ? '' : 'OTHERNET');
|
||||
static const NetworkType ETHERNET =
|
||||
NetworkType._(5, _omitEnumNames ? '' : 'ETHERNET');
|
||||
|
||||
static const $core.List<NetworkType> values = <NetworkType> [
|
||||
static const $core.List<NetworkType> values = <NetworkType>[
|
||||
NT_UNKNOWN,
|
||||
WIFI,
|
||||
CELLULAR,
|
||||
@@ -30,14 +37,17 @@ class NetworkType extends $pb.ProtobufEnum {
|
||||
ETHERNET,
|
||||
];
|
||||
|
||||
static final $core.Map<$core.int, NetworkType> _byValue = $pb.ProtobufEnum.initByValue(values);
|
||||
static NetworkType? valueOf($core.int value) => _byValue[value];
|
||||
static final $core.List<NetworkType?> _byValue =
|
||||
$pb.ProtobufEnum.$_initByValueList(values, 5);
|
||||
static NetworkType? valueOf($core.int value) =>
|
||||
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const NetworkType._(super.v, super.n);
|
||||
const NetworkType._(super.value, super.name);
|
||||
}
|
||||
|
||||
class TFType extends $pb.ProtobufEnum {
|
||||
static const TFType TF_UNKNOWN = TFType._(0, _omitEnumNames ? '' : 'TF_UNKNOWN');
|
||||
static const TFType TF_UNKNOWN =
|
||||
TFType._(0, _omitEnumNames ? '' : 'TF_UNKNOWN');
|
||||
static const TFType U_CARD = TFType._(1, _omitEnumNames ? '' : 'U_CARD');
|
||||
static const TFType U_PKG = TFType._(2, _omitEnumNames ? '' : 'U_PKG');
|
||||
static const TFType C_CARD = TFType._(3, _omitEnumNames ? '' : 'C_CARD');
|
||||
@@ -45,7 +55,7 @@ class TFType extends $pb.ProtobufEnum {
|
||||
static const TFType T_CARD = TFType._(5, _omitEnumNames ? '' : 'T_CARD');
|
||||
static const TFType T_PKG = TFType._(6, _omitEnumNames ? '' : 'T_PKG');
|
||||
|
||||
static const $core.List<TFType> values = <TFType> [
|
||||
static const $core.List<TFType> values = <TFType>[
|
||||
TF_UNKNOWN,
|
||||
U_CARD,
|
||||
U_PKG,
|
||||
@@ -55,11 +65,13 @@ class TFType extends $pb.ProtobufEnum {
|
||||
T_PKG,
|
||||
];
|
||||
|
||||
static final $core.Map<$core.int, TFType> _byValue = $pb.ProtobufEnum.initByValue(values);
|
||||
static TFType? valueOf($core.int value) => _byValue[value];
|
||||
static final $core.List<TFType?> _byValue =
|
||||
$pb.ProtobufEnum.$_initByValueList(values, 6);
|
||||
static TFType? valueOf($core.int value) =>
|
||||
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const TFType._(super.v, super.n);
|
||||
const TFType._(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