-
Notifications
You must be signed in to change notification settings - Fork 187
/
Copy pathdart_options.pb.dart
161 lines (147 loc) · 5.58 KB
/
dart_options.pb.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
///
// Generated code. Do not modify.
// source: dart_options.proto
//
// @dart = 2.3
// ignore_for_file: camel_case_types,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type
import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
class DartMixin extends $pb.GeneratedMessage {
static final $pb.BuilderInfo _i = $pb.BuilderInfo('DartMixin',
package: const $pb.PackageName('dart_options'),
createEmptyInstance: create)
..aOS(1, 'name')
..aOS(2, 'importFrom')
..aOS(3, 'parent')
..hasRequiredFields = false;
DartMixin._() : super();
factory DartMixin() => create();
factory DartMixin.fromBuffer($core.List<$core.int> i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(i, r);
factory DartMixin.fromJson($core.String i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(i, r);
DartMixin clone() => DartMixin()..mergeFromMessage(this);
DartMixin copyWith(void Function(DartMixin) updates) =>
super.copyWith((message) => updates(message as DartMixin));
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static DartMixin create() => DartMixin._();
DartMixin createEmptyInstance() => create();
static $pb.PbList<DartMixin> createRepeated() => $pb.PbList<DartMixin>();
@$core.pragma('dart2js:noInline')
static DartMixin getDefault() =>
_defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DartMixin>(create);
static DartMixin _defaultInstance;
@$pb.TagNumber(1)
$core.String get name => $_getSZ(0);
@$pb.TagNumber(1)
set name($core.String v) {
$_setString(0, v);
}
@$pb.TagNumber(1)
$core.bool hasName() => $_has(0);
@$pb.TagNumber(1)
void clearName() => clearField(1);
@$pb.TagNumber(2)
$core.String get importFrom => $_getSZ(1);
@$pb.TagNumber(2)
set importFrom($core.String v) {
$_setString(1, v);
}
@$pb.TagNumber(2)
$core.bool hasImportFrom() => $_has(1);
@$pb.TagNumber(2)
void clearImportFrom() => clearField(2);
@$pb.TagNumber(3)
$core.String get parent => $_getSZ(2);
@$pb.TagNumber(3)
set parent($core.String v) {
$_setString(2, v);
}
@$pb.TagNumber(3)
$core.bool hasParent() => $_has(2);
@$pb.TagNumber(3)
void clearParent() => clearField(3);
}
class Imports extends $pb.GeneratedMessage {
static final $pb.BuilderInfo _i = $pb.BuilderInfo('Imports',
package: const $pb.PackageName('dart_options'),
createEmptyInstance: create)
..pc<DartMixin>(1, 'mixins', $pb.PbFieldType.PM,
subBuilder: DartMixin.create)
..hasRequiredFields = false;
Imports._() : super();
factory Imports() => create();
factory Imports.fromBuffer($core.List<$core.int> i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(i, r);
factory Imports.fromJson($core.String i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(i, r);
Imports clone() => Imports()..mergeFromMessage(this);
Imports copyWith(void Function(Imports) updates) =>
super.copyWith((message) => updates(message as Imports));
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Imports create() => Imports._();
Imports createEmptyInstance() => create();
static $pb.PbList<Imports> createRepeated() => $pb.PbList<Imports>();
@$core.pragma('dart2js:noInline')
static Imports getDefault() =>
_defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Imports>(create);
static Imports _defaultInstance;
@$pb.TagNumber(1)
$core.List<DartMixin> get mixins => $_getList(0);
}
class Dart_options {
static final $pb.Extension dartPackage = $pb.Extension<$core.String>(
'google.protobuf.FileOptions',
'dartPackage',
28205290,
$pb.PbFieldType.OS);
static final $pb.Extension imports = $pb.Extension<Imports>(
'google.protobuf.FileOptions', 'imports', 28125061, $pb.PbFieldType.OM,
defaultOrMaker: Imports.getDefault, subBuilder: Imports.create);
static final $pb.Extension defaultMixin = $pb.Extension<$core.String>(
'google.protobuf.FileOptions',
'defaultMixin',
96128839,
$pb.PbFieldType.OS);
static final $pb.Extension mixin = $pb.Extension<$core.String>(
'google.protobuf.MessageOptions', 'mixin', 96128839, $pb.PbFieldType.OS);
static final $pb.Extension overrideGetter = $pb.Extension<$core.bool>(
'google.protobuf.FieldOptions',
'overrideGetter',
28205290,
$pb.PbFieldType.OB);
static final $pb.Extension overrideSetter = $pb.Extension<$core.bool>(
'google.protobuf.FieldOptions',
'overrideSetter',
28937366,
$pb.PbFieldType.OB);
static final $pb.Extension overrideHasMethod = $pb.Extension<$core.bool>(
'google.protobuf.FieldOptions',
'overrideHasMethod',
28937461,
$pb.PbFieldType.OB);
static final $pb.Extension overrideClearMethod = $pb.Extension<$core.bool>(
'google.protobuf.FieldOptions',
'overrideClearMethod',
28907907,
$pb.PbFieldType.OB);
static final $pb.Extension dartName = $pb.Extension<$core.String>(
'google.protobuf.FieldOptions', 'dartName', 28700919, $pb.PbFieldType.OS);
static void registerAllExtensions($pb.ExtensionRegistry registry) {
registry.add(dartPackage);
registry.add(imports);
registry.add(defaultMixin);
registry.add(mixin);
registry.add(overrideGetter);
registry.add(overrideSetter);
registry.add(overrideHasMethod);
registry.add(overrideClearMethod);
registry.add(dartName);
}
}