Files
PiliPlus/lib/grpc/bilibili/metadata/network.pbenum.dart
bggRGjQaUbCoE ded78e534f upgrade protobuf
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-11-26 17:11:35 +08:00

78 lines
2.6 KiB
Dart

// This is a generated file - do not edit.
//
// 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
// 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 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 $core.List<NetworkType> values = <NetworkType>[
NT_UNKNOWN,
WIFI,
CELLULAR,
OFFLINE,
OTHERNET,
ETHERNET,
];
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.value, super.name);
}
class TFType extends $pb.ProtobufEnum {
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');
static const TFType C_PKG = TFType._(4, _omitEnumNames ? '' : 'C_PKG');
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>[
TF_UNKNOWN,
U_CARD,
U_PKG,
C_CARD,
C_PKG,
T_CARD,
T_PKG,
];
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.value, super.name);
}
const $core.bool _omitEnumNames =
$core.bool.fromEnvironment('protobuf.omit_enum_names');