| OLD | NEW |
| 1 /// | 1 /// |
| 2 // Generated code. Do not modify. | 2 // Generated code. Do not modify. |
| 3 /// | 3 /// |
| 4 library proto2; | 4 library proto2; |
| 5 | 5 |
| 6 import 'package:fixnum/fixnum.dart'; | 6 import 'package:fixnum/fixnum.dart'; |
| 7 import 'package:protobuf/protobuf.dart'; | 7 import 'package:protobuf/protobuf.dart'; |
| 8 | 8 |
| 9 class FileDescriptorSet extends GeneratedMessage { | 9 class FileDescriptorSet extends GeneratedMessage { |
| 10 static final BuilderInfo _i = new BuilderInfo('FileDescriptorSet') | 10 static final BuilderInfo _i = new BuilderInfo('FileDescriptorSet') |
| 11 ..m(1, 'file', () => new FileDescriptorProto(), () => new PbList<FileDescrip
torProto>()) | 11 ..m(1, 'file', FileDescriptorProto.create, FileDescriptorProto.createRepeate
d) |
| 12 ; | 12 ; |
| 13 | 13 |
| 14 FileDescriptorSet() : super(); | 14 FileDescriptorSet() : super(); |
| 15 FileDescriptorSet.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegi
stry.EMPTY]) : super.fromBuffer(i, r); | 15 FileDescriptorSet.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegi
stry.EMPTY]) : super.fromBuffer(i, r); |
| 16 FileDescriptorSet.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.
EMPTY]) : super.fromJson(i, r); | 16 FileDescriptorSet.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.
EMPTY]) : super.fromJson(i, r); |
| 17 FileDescriptorSet clone() => new FileDescriptorSet()..mergeFromMessage(this); | 17 FileDescriptorSet clone() => new FileDescriptorSet()..mergeFromMessage(this); |
| 18 BuilderInfo get info_ => _i; | 18 BuilderInfo get info_ => _i; |
| 19 static FileDescriptorSet create() => new FileDescriptorSet(); |
| 20 static PbList<FileDescriptorSet> createRepeated() => new PbList<FileDescriptor
Set>(); |
| 19 | 21 |
| 20 List<FileDescriptorProto> get file => getField(1); | 22 List<FileDescriptorProto> get file => getField(1); |
| 21 } | 23 } |
| 22 | 24 |
| 23 class FileDescriptorProto extends GeneratedMessage { | 25 class FileDescriptorProto extends GeneratedMessage { |
| 24 static final BuilderInfo _i = new BuilderInfo('FileDescriptorProto') | 26 static final BuilderInfo _i = new BuilderInfo('FileDescriptorProto') |
| 25 ..a(1, 'name', GeneratedMessage.OS) | 27 ..a(1, 'name', GeneratedMessage.OS) |
| 26 ..a(2, 'package', GeneratedMessage.OS) | 28 ..a(2, 'package', GeneratedMessage.OS) |
| 27 ..p(3, 'dependency', GeneratedMessage.PS) | 29 ..p(3, 'dependency', GeneratedMessage.PS) |
| 28 ..p(10, 'publicDependency', GeneratedMessage.P3) | 30 ..p(10, 'publicDependency', GeneratedMessage.P3) |
| 29 ..p(11, 'weakDependency', GeneratedMessage.P3) | 31 ..p(11, 'weakDependency', GeneratedMessage.P3) |
| 30 ..m(4, 'messageType', () => new DescriptorProto(), () => new PbList<Descript
orProto>()) | 32 ..m(4, 'messageType', DescriptorProto.create, DescriptorProto.createRepeated
) |
| 31 ..m(5, 'enumType', () => new EnumDescriptorProto(), () => new PbList<EnumDes
criptorProto>()) | 33 ..m(5, 'enumType', EnumDescriptorProto.create, EnumDescriptorProto.createRep
eated) |
| 32 ..m(6, 'service', () => new ServiceDescriptorProto(), () => new PbList<Servi
ceDescriptorProto>()) | 34 ..m(6, 'service', ServiceDescriptorProto.create, ServiceDescriptorProto.crea
teRepeated) |
| 33 ..m(7, 'extension', () => new FieldDescriptorProto(), () => new PbList<Field
DescriptorProto>()) | 35 ..m(7, 'extension', FieldDescriptorProto.create, FieldDescriptorProto.create
Repeated) |
| 34 ..a(8, 'options', GeneratedMessage.OM, () => new FileOptions(), () => new Fi
leOptions()) | 36 ..a(8, 'options', GeneratedMessage.OM, FileOptions.create, FileOptions.creat
e) |
| 35 ..a(9, 'sourceCodeInfo', GeneratedMessage.OM, () => new SourceCodeInfo(), ()
=> new SourceCodeInfo()) | 37 ..a(9, 'sourceCodeInfo', GeneratedMessage.OM, SourceCodeInfo.create, SourceC
odeInfo.create) |
| 36 ; | 38 ; |
| 37 | 39 |
| 38 FileDescriptorProto() : super(); | 40 FileDescriptorProto() : super(); |
| 39 FileDescriptorProto.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRe
gistry.EMPTY]) : super.fromBuffer(i, r); | 41 FileDescriptorProto.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRe
gistry.EMPTY]) : super.fromBuffer(i, r); |
| 40 FileDescriptorProto.fromJson(String i, [ExtensionRegistry r = ExtensionRegistr
y.EMPTY]) : super.fromJson(i, r); | 42 FileDescriptorProto.fromJson(String i, [ExtensionRegistry r = ExtensionRegistr
y.EMPTY]) : super.fromJson(i, r); |
| 41 FileDescriptorProto clone() => new FileDescriptorProto()..mergeFromMessage(thi
s); | 43 FileDescriptorProto clone() => new FileDescriptorProto()..mergeFromMessage(thi
s); |
| 42 BuilderInfo get info_ => _i; | 44 BuilderInfo get info_ => _i; |
| 45 static FileDescriptorProto create() => new FileDescriptorProto(); |
| 46 static PbList<FileDescriptorProto> createRepeated() => new PbList<FileDescript
orProto>(); |
| 43 | 47 |
| 44 String get name => getField(1); | 48 String get name => getField(1); |
| 45 void set name(String v) { setField(1, v); } | 49 void set name(String v) { setField(1, v); } |
| 46 bool hasName() => hasField(1); | 50 bool hasName() => hasField(1); |
| 47 void clearName() => clearField(1); | 51 void clearName() => clearField(1); |
| 48 | 52 |
| 49 String get package => getField(2); | 53 String get package => getField(2); |
| 50 void set package(String v) { setField(2, v); } | 54 void set package(String v) { setField(2, v); } |
| 51 bool hasPackage() => hasField(2); | 55 bool hasPackage() => hasField(2); |
| 52 void clearPackage() => clearField(2); | 56 void clearPackage() => clearField(2); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 81 ..a(1, 'start', GeneratedMessage.O3) | 85 ..a(1, 'start', GeneratedMessage.O3) |
| 82 ..a(2, 'end', GeneratedMessage.O3) | 86 ..a(2, 'end', GeneratedMessage.O3) |
| 83 ..hasRequiredFields = false | 87 ..hasRequiredFields = false |
| 84 ; | 88 ; |
| 85 | 89 |
| 86 DescriptorProto_ExtensionRange() : super(); | 90 DescriptorProto_ExtensionRange() : super(); |
| 87 DescriptorProto_ExtensionRange.fromBuffer(List<int> i, [ExtensionRegistry r =
ExtensionRegistry.EMPTY]) : super.fromBuffer(i, r); | 91 DescriptorProto_ExtensionRange.fromBuffer(List<int> i, [ExtensionRegistry r =
ExtensionRegistry.EMPTY]) : super.fromBuffer(i, r); |
| 88 DescriptorProto_ExtensionRange.fromJson(String i, [ExtensionRegistry r = Exten
sionRegistry.EMPTY]) : super.fromJson(i, r); | 92 DescriptorProto_ExtensionRange.fromJson(String i, [ExtensionRegistry r = Exten
sionRegistry.EMPTY]) : super.fromJson(i, r); |
| 89 DescriptorProto_ExtensionRange clone() => new DescriptorProto_ExtensionRange()
..mergeFromMessage(this); | 93 DescriptorProto_ExtensionRange clone() => new DescriptorProto_ExtensionRange()
..mergeFromMessage(this); |
| 90 BuilderInfo get info_ => _i; | 94 BuilderInfo get info_ => _i; |
| 95 static DescriptorProto_ExtensionRange create() => new DescriptorProto_Extensio
nRange(); |
| 96 static PbList<DescriptorProto_ExtensionRange> createRepeated() => new PbList<D
escriptorProto_ExtensionRange>(); |
| 91 | 97 |
| 92 int get start => getField(1); | 98 int get start => getField(1); |
| 93 void set start(int v) { setField(1, v); } | 99 void set start(int v) { setField(1, v); } |
| 94 bool hasStart() => hasField(1); | 100 bool hasStart() => hasField(1); |
| 95 void clearStart() => clearField(1); | 101 void clearStart() => clearField(1); |
| 96 | 102 |
| 97 int get end => getField(2); | 103 int get end => getField(2); |
| 98 void set end(int v) { setField(2, v); } | 104 void set end(int v) { setField(2, v); } |
| 99 bool hasEnd() => hasField(2); | 105 bool hasEnd() => hasField(2); |
| 100 void clearEnd() => clearField(2); | 106 void clearEnd() => clearField(2); |
| 101 } | 107 } |
| 102 | 108 |
| 103 class DescriptorProto extends GeneratedMessage { | 109 class DescriptorProto extends GeneratedMessage { |
| 104 static final BuilderInfo _i = new BuilderInfo('DescriptorProto') | 110 static final BuilderInfo _i = new BuilderInfo('DescriptorProto') |
| 105 ..a(1, 'name', GeneratedMessage.OS) | 111 ..a(1, 'name', GeneratedMessage.OS) |
| 106 ..m(2, 'field', () => new FieldDescriptorProto(), () => new PbList<FieldDesc
riptorProto>()) | 112 ..m(2, 'field', FieldDescriptorProto.create, FieldDescriptorProto.createRepe
ated) |
| 107 ..m(6, 'extension', () => new FieldDescriptorProto(), () => new PbList<Field
DescriptorProto>()) | 113 ..m(6, 'extension', FieldDescriptorProto.create, FieldDescriptorProto.create
Repeated) |
| 108 ..m(3, 'nestedType', () => new DescriptorProto(), () => new PbList<Descripto
rProto>()) | 114 ..m(3, 'nestedType', DescriptorProto.create, DescriptorProto.createRepeated) |
| 109 ..m(4, 'enumType', () => new EnumDescriptorProto(), () => new PbList<EnumDes
criptorProto>()) | 115 ..m(4, 'enumType', EnumDescriptorProto.create, EnumDescriptorProto.createRep
eated) |
| 110 ..m(5, 'extensionRange', () => new DescriptorProto_ExtensionRange(), () => n
ew PbList<DescriptorProto_ExtensionRange>()) | 116 ..m(5, 'extensionRange', DescriptorProto_ExtensionRange.create, DescriptorPr
oto_ExtensionRange.createRepeated) |
| 111 ..a(7, 'options', GeneratedMessage.OM, () => new MessageOptions(), () => new
MessageOptions()) | 117 ..a(7, 'options', GeneratedMessage.OM, MessageOptions.create, MessageOptions
.create) |
| 112 ; | 118 ; |
| 113 | 119 |
| 114 DescriptorProto() : super(); | 120 DescriptorProto() : super(); |
| 115 DescriptorProto.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegist
ry.EMPTY]) : super.fromBuffer(i, r); | 121 DescriptorProto.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegist
ry.EMPTY]) : super.fromBuffer(i, r); |
| 116 DescriptorProto.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EM
PTY]) : super.fromJson(i, r); | 122 DescriptorProto.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EM
PTY]) : super.fromJson(i, r); |
| 117 DescriptorProto clone() => new DescriptorProto()..mergeFromMessage(this); | 123 DescriptorProto clone() => new DescriptorProto()..mergeFromMessage(this); |
| 118 BuilderInfo get info_ => _i; | 124 BuilderInfo get info_ => _i; |
| 125 static DescriptorProto create() => new DescriptorProto(); |
| 126 static PbList<DescriptorProto> createRepeated() => new PbList<DescriptorProto>
(); |
| 119 | 127 |
| 120 String get name => getField(1); | 128 String get name => getField(1); |
| 121 void set name(String v) { setField(1, v); } | 129 void set name(String v) { setField(1, v); } |
| 122 bool hasName() => hasField(1); | 130 bool hasName() => hasField(1); |
| 123 void clearName() => clearField(1); | 131 void clearName() => clearField(1); |
| 124 | 132 |
| 125 List<FieldDescriptorProto> get field => getField(2); | 133 List<FieldDescriptorProto> get field => getField(2); |
| 126 | 134 |
| 127 List<FieldDescriptorProto> get extension => getField(6); | 135 List<FieldDescriptorProto> get extension => getField(6); |
| 128 | 136 |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 static final Map<int, FieldDescriptorProto_Label> _byValue = ProtobufEnum.init
ByValue(values); | 207 static final Map<int, FieldDescriptorProto_Label> _byValue = ProtobufEnum.init
ByValue(values); |
| 200 static FieldDescriptorProto_Label valueOf(int value) => _byValue[value]; | 208 static FieldDescriptorProto_Label valueOf(int value) => _byValue[value]; |
| 201 | 209 |
| 202 const FieldDescriptorProto_Label._(int v, String n) : super(v, n); | 210 const FieldDescriptorProto_Label._(int v, String n) : super(v, n); |
| 203 } | 211 } |
| 204 | 212 |
| 205 class FieldDescriptorProto extends GeneratedMessage { | 213 class FieldDescriptorProto extends GeneratedMessage { |
| 206 static final BuilderInfo _i = new BuilderInfo('FieldDescriptorProto') | 214 static final BuilderInfo _i = new BuilderInfo('FieldDescriptorProto') |
| 207 ..a(1, 'name', GeneratedMessage.OS) | 215 ..a(1, 'name', GeneratedMessage.OS) |
| 208 ..a(3, 'number', GeneratedMessage.O3) | 216 ..a(3, 'number', GeneratedMessage.O3) |
| 209 ..e(4, 'label', GeneratedMessage.OE, () => FieldDescriptorProto_Label.LABEL_
OPTIONAL, (var v) => FieldDescriptorProto_Label.valueOf(v)) | 217 ..e(4, 'label', GeneratedMessage.OE, FieldDescriptorProto_Label.LABEL_OPTION
AL, (var v) => FieldDescriptorProto_Label.valueOf(v)) |
| 210 ..e(5, 'type', GeneratedMessage.OE, () => FieldDescriptorProto_Type.TYPE_DOU
BLE, (var v) => FieldDescriptorProto_Type.valueOf(v)) | 218 ..e(5, 'type', GeneratedMessage.OE, FieldDescriptorProto_Type.TYPE_DOUBLE, (
var v) => FieldDescriptorProto_Type.valueOf(v)) |
| 211 ..a(6, 'typeName', GeneratedMessage.OS) | 219 ..a(6, 'typeName', GeneratedMessage.OS) |
| 212 ..a(2, 'extendee', GeneratedMessage.OS) | 220 ..a(2, 'extendee', GeneratedMessage.OS) |
| 213 ..a(7, 'defaultValue', GeneratedMessage.OS) | 221 ..a(7, 'defaultValue', GeneratedMessage.OS) |
| 214 ..a(8, 'options', GeneratedMessage.OM, () => new FieldOptions(), () => new F
ieldOptions()) | 222 ..a(8, 'options', GeneratedMessage.OM, FieldOptions.create, FieldOptions.cre
ate) |
| 215 ; | 223 ; |
| 216 | 224 |
| 217 FieldDescriptorProto() : super(); | 225 FieldDescriptorProto() : super(); |
| 218 FieldDescriptorProto.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionR
egistry.EMPTY]) : super.fromBuffer(i, r); | 226 FieldDescriptorProto.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionR
egistry.EMPTY]) : super.fromBuffer(i, r); |
| 219 FieldDescriptorProto.fromJson(String i, [ExtensionRegistry r = ExtensionRegist
ry.EMPTY]) : super.fromJson(i, r); | 227 FieldDescriptorProto.fromJson(String i, [ExtensionRegistry r = ExtensionRegist
ry.EMPTY]) : super.fromJson(i, r); |
| 220 FieldDescriptorProto clone() => new FieldDescriptorProto()..mergeFromMessage(t
his); | 228 FieldDescriptorProto clone() => new FieldDescriptorProto()..mergeFromMessage(t
his); |
| 221 BuilderInfo get info_ => _i; | 229 BuilderInfo get info_ => _i; |
| 230 static FieldDescriptorProto create() => new FieldDescriptorProto(); |
| 231 static PbList<FieldDescriptorProto> createRepeated() => new PbList<FieldDescri
ptorProto>(); |
| 222 | 232 |
| 223 String get name => getField(1); | 233 String get name => getField(1); |
| 224 void set name(String v) { setField(1, v); } | 234 void set name(String v) { setField(1, v); } |
| 225 bool hasName() => hasField(1); | 235 bool hasName() => hasField(1); |
| 226 void clearName() => clearField(1); | 236 void clearName() => clearField(1); |
| 227 | 237 |
| 228 int get number => getField(3); | 238 int get number => getField(3); |
| 229 void set number(int v) { setField(3, v); } | 239 void set number(int v) { setField(3, v); } |
| 230 bool hasNumber() => hasField(3); | 240 bool hasNumber() => hasField(3); |
| 231 void clearNumber() => clearField(3); | 241 void clearNumber() => clearField(3); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 257 | 267 |
| 258 FieldOptions get options => getField(8); | 268 FieldOptions get options => getField(8); |
| 259 void set options(FieldOptions v) { setField(8, v); } | 269 void set options(FieldOptions v) { setField(8, v); } |
| 260 bool hasOptions() => hasField(8); | 270 bool hasOptions() => hasField(8); |
| 261 void clearOptions() => clearField(8); | 271 void clearOptions() => clearField(8); |
| 262 } | 272 } |
| 263 | 273 |
| 264 class EnumDescriptorProto extends GeneratedMessage { | 274 class EnumDescriptorProto extends GeneratedMessage { |
| 265 static final BuilderInfo _i = new BuilderInfo('EnumDescriptorProto') | 275 static final BuilderInfo _i = new BuilderInfo('EnumDescriptorProto') |
| 266 ..a(1, 'name', GeneratedMessage.OS) | 276 ..a(1, 'name', GeneratedMessage.OS) |
| 267 ..m(2, 'value', () => new EnumValueDescriptorProto(), () => new PbList<EnumV
alueDescriptorProto>()) | 277 ..m(2, 'value', EnumValueDescriptorProto.create, EnumValueDescriptorProto.cr
eateRepeated) |
| 268 ..a(3, 'options', GeneratedMessage.OM, () => new EnumOptions(), () => new En
umOptions()) | 278 ..a(3, 'options', GeneratedMessage.OM, EnumOptions.create, EnumOptions.creat
e) |
| 269 ; | 279 ; |
| 270 | 280 |
| 271 EnumDescriptorProto() : super(); | 281 EnumDescriptorProto() : super(); |
| 272 EnumDescriptorProto.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRe
gistry.EMPTY]) : super.fromBuffer(i, r); | 282 EnumDescriptorProto.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRe
gistry.EMPTY]) : super.fromBuffer(i, r); |
| 273 EnumDescriptorProto.fromJson(String i, [ExtensionRegistry r = ExtensionRegistr
y.EMPTY]) : super.fromJson(i, r); | 283 EnumDescriptorProto.fromJson(String i, [ExtensionRegistry r = ExtensionRegistr
y.EMPTY]) : super.fromJson(i, r); |
| 274 EnumDescriptorProto clone() => new EnumDescriptorProto()..mergeFromMessage(thi
s); | 284 EnumDescriptorProto clone() => new EnumDescriptorProto()..mergeFromMessage(thi
s); |
| 275 BuilderInfo get info_ => _i; | 285 BuilderInfo get info_ => _i; |
| 286 static EnumDescriptorProto create() => new EnumDescriptorProto(); |
| 287 static PbList<EnumDescriptorProto> createRepeated() => new PbList<EnumDescript
orProto>(); |
| 276 | 288 |
| 277 String get name => getField(1); | 289 String get name => getField(1); |
| 278 void set name(String v) { setField(1, v); } | 290 void set name(String v) { setField(1, v); } |
| 279 bool hasName() => hasField(1); | 291 bool hasName() => hasField(1); |
| 280 void clearName() => clearField(1); | 292 void clearName() => clearField(1); |
| 281 | 293 |
| 282 List<EnumValueDescriptorProto> get value => getField(2); | 294 List<EnumValueDescriptorProto> get value => getField(2); |
| 283 | 295 |
| 284 EnumOptions get options => getField(3); | 296 EnumOptions get options => getField(3); |
| 285 void set options(EnumOptions v) { setField(3, v); } | 297 void set options(EnumOptions v) { setField(3, v); } |
| 286 bool hasOptions() => hasField(3); | 298 bool hasOptions() => hasField(3); |
| 287 void clearOptions() => clearField(3); | 299 void clearOptions() => clearField(3); |
| 288 } | 300 } |
| 289 | 301 |
| 290 class EnumValueDescriptorProto extends GeneratedMessage { | 302 class EnumValueDescriptorProto extends GeneratedMessage { |
| 291 static final BuilderInfo _i = new BuilderInfo('EnumValueDescriptorProto') | 303 static final BuilderInfo _i = new BuilderInfo('EnumValueDescriptorProto') |
| 292 ..a(1, 'name', GeneratedMessage.OS) | 304 ..a(1, 'name', GeneratedMessage.OS) |
| 293 ..a(2, 'number', GeneratedMessage.O3) | 305 ..a(2, 'number', GeneratedMessage.O3) |
| 294 ..a(3, 'options', GeneratedMessage.OM, () => new EnumValueOptions(), () => n
ew EnumValueOptions()) | 306 ..a(3, 'options', GeneratedMessage.OM, EnumValueOptions.create, EnumValueOpt
ions.create) |
| 295 ; | 307 ; |
| 296 | 308 |
| 297 EnumValueDescriptorProto() : super(); | 309 EnumValueDescriptorProto() : super(); |
| 298 EnumValueDescriptorProto.fromBuffer(List<int> i, [ExtensionRegistry r = Extens
ionRegistry.EMPTY]) : super.fromBuffer(i, r); | 310 EnumValueDescriptorProto.fromBuffer(List<int> i, [ExtensionRegistry r = Extens
ionRegistry.EMPTY]) : super.fromBuffer(i, r); |
| 299 EnumValueDescriptorProto.fromJson(String i, [ExtensionRegistry r = ExtensionRe
gistry.EMPTY]) : super.fromJson(i, r); | 311 EnumValueDescriptorProto.fromJson(String i, [ExtensionRegistry r = ExtensionRe
gistry.EMPTY]) : super.fromJson(i, r); |
| 300 EnumValueDescriptorProto clone() => new EnumValueDescriptorProto()..mergeFromM
essage(this); | 312 EnumValueDescriptorProto clone() => new EnumValueDescriptorProto()..mergeFromM
essage(this); |
| 301 BuilderInfo get info_ => _i; | 313 BuilderInfo get info_ => _i; |
| 314 static EnumValueDescriptorProto create() => new EnumValueDescriptorProto(); |
| 315 static PbList<EnumValueDescriptorProto> createRepeated() => new PbList<EnumVal
ueDescriptorProto>(); |
| 302 | 316 |
| 303 String get name => getField(1); | 317 String get name => getField(1); |
| 304 void set name(String v) { setField(1, v); } | 318 void set name(String v) { setField(1, v); } |
| 305 bool hasName() => hasField(1); | 319 bool hasName() => hasField(1); |
| 306 void clearName() => clearField(1); | 320 void clearName() => clearField(1); |
| 307 | 321 |
| 308 int get number => getField(2); | 322 int get number => getField(2); |
| 309 void set number(int v) { setField(2, v); } | 323 void set number(int v) { setField(2, v); } |
| 310 bool hasNumber() => hasField(2); | 324 bool hasNumber() => hasField(2); |
| 311 void clearNumber() => clearField(2); | 325 void clearNumber() => clearField(2); |
| 312 | 326 |
| 313 EnumValueOptions get options => getField(3); | 327 EnumValueOptions get options => getField(3); |
| 314 void set options(EnumValueOptions v) { setField(3, v); } | 328 void set options(EnumValueOptions v) { setField(3, v); } |
| 315 bool hasOptions() => hasField(3); | 329 bool hasOptions() => hasField(3); |
| 316 void clearOptions() => clearField(3); | 330 void clearOptions() => clearField(3); |
| 317 } | 331 } |
| 318 | 332 |
| 319 class ServiceDescriptorProto extends GeneratedMessage { | 333 class ServiceDescriptorProto extends GeneratedMessage { |
| 320 static final BuilderInfo _i = new BuilderInfo('ServiceDescriptorProto') | 334 static final BuilderInfo _i = new BuilderInfo('ServiceDescriptorProto') |
| 321 ..a(1, 'name', GeneratedMessage.OS) | 335 ..a(1, 'name', GeneratedMessage.OS) |
| 322 ..m(2, 'method', () => new MethodDescriptorProto(), () => new PbList<MethodD
escriptorProto>()) | 336 ..m(2, 'method', MethodDescriptorProto.create, MethodDescriptorProto.createR
epeated) |
| 323 ..m(4, 'stream', () => new StreamDescriptorProto(), () => new PbList<StreamD
escriptorProto>()) | 337 ..m(4, 'stream', StreamDescriptorProto.create, StreamDescriptorProto.createR
epeated) |
| 324 ..a(3, 'options', GeneratedMessage.OM, () => new ServiceOptions(), () => new
ServiceOptions()) | 338 ..a(3, 'options', GeneratedMessage.OM, ServiceOptions.create, ServiceOptions
.create) |
| 325 ; | 339 ; |
| 326 | 340 |
| 327 ServiceDescriptorProto() : super(); | 341 ServiceDescriptorProto() : super(); |
| 328 ServiceDescriptorProto.fromBuffer(List<int> i, [ExtensionRegistry r = Extensio
nRegistry.EMPTY]) : super.fromBuffer(i, r); | 342 ServiceDescriptorProto.fromBuffer(List<int> i, [ExtensionRegistry r = Extensio
nRegistry.EMPTY]) : super.fromBuffer(i, r); |
| 329 ServiceDescriptorProto.fromJson(String i, [ExtensionRegistry r = ExtensionRegi
stry.EMPTY]) : super.fromJson(i, r); | 343 ServiceDescriptorProto.fromJson(String i, [ExtensionRegistry r = ExtensionRegi
stry.EMPTY]) : super.fromJson(i, r); |
| 330 ServiceDescriptorProto clone() => new ServiceDescriptorProto()..mergeFromMessa
ge(this); | 344 ServiceDescriptorProto clone() => new ServiceDescriptorProto()..mergeFromMessa
ge(this); |
| 331 BuilderInfo get info_ => _i; | 345 BuilderInfo get info_ => _i; |
| 346 static ServiceDescriptorProto create() => new ServiceDescriptorProto(); |
| 347 static PbList<ServiceDescriptorProto> createRepeated() => new PbList<ServiceDe
scriptorProto>(); |
| 332 | 348 |
| 333 String get name => getField(1); | 349 String get name => getField(1); |
| 334 void set name(String v) { setField(1, v); } | 350 void set name(String v) { setField(1, v); } |
| 335 bool hasName() => hasField(1); | 351 bool hasName() => hasField(1); |
| 336 void clearName() => clearField(1); | 352 void clearName() => clearField(1); |
| 337 | 353 |
| 338 List<MethodDescriptorProto> get method => getField(2); | 354 List<MethodDescriptorProto> get method => getField(2); |
| 339 | 355 |
| 340 List<StreamDescriptorProto> get stream => getField(4); | 356 List<StreamDescriptorProto> get stream => getField(4); |
| 341 | 357 |
| 342 ServiceOptions get options => getField(3); | 358 ServiceOptions get options => getField(3); |
| 343 void set options(ServiceOptions v) { setField(3, v); } | 359 void set options(ServiceOptions v) { setField(3, v); } |
| 344 bool hasOptions() => hasField(3); | 360 bool hasOptions() => hasField(3); |
| 345 void clearOptions() => clearField(3); | 361 void clearOptions() => clearField(3); |
| 346 } | 362 } |
| 347 | 363 |
| 348 class MethodDescriptorProto extends GeneratedMessage { | 364 class MethodDescriptorProto extends GeneratedMessage { |
| 349 static final BuilderInfo _i = new BuilderInfo('MethodDescriptorProto') | 365 static final BuilderInfo _i = new BuilderInfo('MethodDescriptorProto') |
| 350 ..a(1, 'name', GeneratedMessage.OS) | 366 ..a(1, 'name', GeneratedMessage.OS) |
| 351 ..a(2, 'inputType', GeneratedMessage.OS) | 367 ..a(2, 'inputType', GeneratedMessage.OS) |
| 352 ..a(3, 'outputType', GeneratedMessage.OS) | 368 ..a(3, 'outputType', GeneratedMessage.OS) |
| 353 ..a(4, 'options', GeneratedMessage.OM, () => new MethodOptions(), () => new
MethodOptions()) | 369 ..a(4, 'options', GeneratedMessage.OM, MethodOptions.create, MethodOptions.c
reate) |
| 354 ; | 370 ; |
| 355 | 371 |
| 356 MethodDescriptorProto() : super(); | 372 MethodDescriptorProto() : super(); |
| 357 MethodDescriptorProto.fromBuffer(List<int> i, [ExtensionRegistry r = Extension
Registry.EMPTY]) : super.fromBuffer(i, r); | 373 MethodDescriptorProto.fromBuffer(List<int> i, [ExtensionRegistry r = Extension
Registry.EMPTY]) : super.fromBuffer(i, r); |
| 358 MethodDescriptorProto.fromJson(String i, [ExtensionRegistry r = ExtensionRegis
try.EMPTY]) : super.fromJson(i, r); | 374 MethodDescriptorProto.fromJson(String i, [ExtensionRegistry r = ExtensionRegis
try.EMPTY]) : super.fromJson(i, r); |
| 359 MethodDescriptorProto clone() => new MethodDescriptorProto()..mergeFromMessage
(this); | 375 MethodDescriptorProto clone() => new MethodDescriptorProto()..mergeFromMessage
(this); |
| 360 BuilderInfo get info_ => _i; | 376 BuilderInfo get info_ => _i; |
| 377 static MethodDescriptorProto create() => new MethodDescriptorProto(); |
| 378 static PbList<MethodDescriptorProto> createRepeated() => new PbList<MethodDesc
riptorProto>(); |
| 361 | 379 |
| 362 String get name => getField(1); | 380 String get name => getField(1); |
| 363 void set name(String v) { setField(1, v); } | 381 void set name(String v) { setField(1, v); } |
| 364 bool hasName() => hasField(1); | 382 bool hasName() => hasField(1); |
| 365 void clearName() => clearField(1); | 383 void clearName() => clearField(1); |
| 366 | 384 |
| 367 String get inputType => getField(2); | 385 String get inputType => getField(2); |
| 368 void set inputType(String v) { setField(2, v); } | 386 void set inputType(String v) { setField(2, v); } |
| 369 bool hasInputType() => hasField(2); | 387 bool hasInputType() => hasField(2); |
| 370 void clearInputType() => clearField(2); | 388 void clearInputType() => clearField(2); |
| 371 | 389 |
| 372 String get outputType => getField(3); | 390 String get outputType => getField(3); |
| 373 void set outputType(String v) { setField(3, v); } | 391 void set outputType(String v) { setField(3, v); } |
| 374 bool hasOutputType() => hasField(3); | 392 bool hasOutputType() => hasField(3); |
| 375 void clearOutputType() => clearField(3); | 393 void clearOutputType() => clearField(3); |
| 376 | 394 |
| 377 MethodOptions get options => getField(4); | 395 MethodOptions get options => getField(4); |
| 378 void set options(MethodOptions v) { setField(4, v); } | 396 void set options(MethodOptions v) { setField(4, v); } |
| 379 bool hasOptions() => hasField(4); | 397 bool hasOptions() => hasField(4); |
| 380 void clearOptions() => clearField(4); | 398 void clearOptions() => clearField(4); |
| 381 } | 399 } |
| 382 | 400 |
| 383 class StreamDescriptorProto extends GeneratedMessage { | 401 class StreamDescriptorProto extends GeneratedMessage { |
| 384 static final BuilderInfo _i = new BuilderInfo('StreamDescriptorProto') | 402 static final BuilderInfo _i = new BuilderInfo('StreamDescriptorProto') |
| 385 ..a(1, 'name', GeneratedMessage.OS) | 403 ..a(1, 'name', GeneratedMessage.OS) |
| 386 ..a(2, 'clientMessageType', GeneratedMessage.OS) | 404 ..a(2, 'clientMessageType', GeneratedMessage.OS) |
| 387 ..a(3, 'serverMessageType', GeneratedMessage.OS) | 405 ..a(3, 'serverMessageType', GeneratedMessage.OS) |
| 388 ..a(4, 'options', GeneratedMessage.OM, () => new StreamOptions(), () => new
StreamOptions()) | 406 ..a(4, 'options', GeneratedMessage.OM, StreamOptions.create, StreamOptions.c
reate) |
| 389 ; | 407 ; |
| 390 | 408 |
| 391 StreamDescriptorProto() : super(); | 409 StreamDescriptorProto() : super(); |
| 392 StreamDescriptorProto.fromBuffer(List<int> i, [ExtensionRegistry r = Extension
Registry.EMPTY]) : super.fromBuffer(i, r); | 410 StreamDescriptorProto.fromBuffer(List<int> i, [ExtensionRegistry r = Extension
Registry.EMPTY]) : super.fromBuffer(i, r); |
| 393 StreamDescriptorProto.fromJson(String i, [ExtensionRegistry r = ExtensionRegis
try.EMPTY]) : super.fromJson(i, r); | 411 StreamDescriptorProto.fromJson(String i, [ExtensionRegistry r = ExtensionRegis
try.EMPTY]) : super.fromJson(i, r); |
| 394 StreamDescriptorProto clone() => new StreamDescriptorProto()..mergeFromMessage
(this); | 412 StreamDescriptorProto clone() => new StreamDescriptorProto()..mergeFromMessage
(this); |
| 395 BuilderInfo get info_ => _i; | 413 BuilderInfo get info_ => _i; |
| 414 static StreamDescriptorProto create() => new StreamDescriptorProto(); |
| 415 static PbList<StreamDescriptorProto> createRepeated() => new PbList<StreamDesc
riptorProto>(); |
| 396 | 416 |
| 397 String get name => getField(1); | 417 String get name => getField(1); |
| 398 void set name(String v) { setField(1, v); } | 418 void set name(String v) { setField(1, v); } |
| 399 bool hasName() => hasField(1); | 419 bool hasName() => hasField(1); |
| 400 void clearName() => clearField(1); | 420 void clearName() => clearField(1); |
| 401 | 421 |
| 402 String get clientMessageType => getField(2); | 422 String get clientMessageType => getField(2); |
| 403 void set clientMessageType(String v) { setField(2, v); } | 423 void set clientMessageType(String v) { setField(2, v); } |
| 404 bool hasClientMessageType() => hasField(2); | 424 bool hasClientMessageType() => hasField(2); |
| 405 void clearClientMessageType() => clearField(2); | 425 void clearClientMessageType() => clearField(2); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 431 | 451 |
| 432 const FileOptions_OptimizeMode._(int v, String n) : super(v, n); | 452 const FileOptions_OptimizeMode._(int v, String n) : super(v, n); |
| 433 } | 453 } |
| 434 | 454 |
| 435 class FileOptions extends GeneratedMessage { | 455 class FileOptions extends GeneratedMessage { |
| 436 static final BuilderInfo _i = new BuilderInfo('FileOptions') | 456 static final BuilderInfo _i = new BuilderInfo('FileOptions') |
| 437 ..a(1, 'javaPackage', GeneratedMessage.OS) | 457 ..a(1, 'javaPackage', GeneratedMessage.OS) |
| 438 ..a(8, 'javaOuterClassname', GeneratedMessage.OS) | 458 ..a(8, 'javaOuterClassname', GeneratedMessage.OS) |
| 439 ..a(10, 'javaMultipleFiles', GeneratedMessage.OB) | 459 ..a(10, 'javaMultipleFiles', GeneratedMessage.OB) |
| 440 ..a(20, 'javaGenerateEqualsAndHash', GeneratedMessage.OB) | 460 ..a(20, 'javaGenerateEqualsAndHash', GeneratedMessage.OB) |
| 441 ..e(9, 'optimizeFor', GeneratedMessage.OE, () => FileOptions_OptimizeMode.SP
EED, (var v) => FileOptions_OptimizeMode.valueOf(v)) | 461 ..e(9, 'optimizeFor', GeneratedMessage.OE, FileOptions_OptimizeMode.SPEED, (
var v) => FileOptions_OptimizeMode.valueOf(v)) |
| 442 ..a(16, 'ccGenericServices', GeneratedMessage.OB) | 462 ..a(16, 'ccGenericServices', GeneratedMessage.OB) |
| 443 ..a(17, 'javaGenericServices', GeneratedMessage.OB) | 463 ..a(17, 'javaGenericServices', GeneratedMessage.OB) |
| 444 ..a(18, 'pyGenericServices', GeneratedMessage.OB) | 464 ..a(18, 'pyGenericServices', GeneratedMessage.OB) |
| 445 ..m(999, 'uninterpretedOption', () => new UninterpretedOption(), () => new P
bList<UninterpretedOption>()) | 465 ..m(999, 'uninterpretedOption', UninterpretedOption.create, UninterpretedOpt
ion.createRepeated) |
| 446 ..hasExtensions = true | 466 ..hasExtensions = true |
| 447 ; | 467 ; |
| 448 | 468 |
| 449 FileOptions() : super(); | 469 FileOptions() : super(); |
| 450 FileOptions.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.E
MPTY]) : super.fromBuffer(i, r); | 470 FileOptions.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.E
MPTY]) : super.fromBuffer(i, r); |
| 451 FileOptions.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]
) : super.fromJson(i, r); | 471 FileOptions.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]
) : super.fromJson(i, r); |
| 452 FileOptions clone() => new FileOptions()..mergeFromMessage(this); | 472 FileOptions clone() => new FileOptions()..mergeFromMessage(this); |
| 453 BuilderInfo get info_ => _i; | 473 BuilderInfo get info_ => _i; |
| 474 static FileOptions create() => new FileOptions(); |
| 475 static PbList<FileOptions> createRepeated() => new PbList<FileOptions>(); |
| 454 | 476 |
| 455 String get javaPackage => getField(1); | 477 String get javaPackage => getField(1); |
| 456 void set javaPackage(String v) { setField(1, v); } | 478 void set javaPackage(String v) { setField(1, v); } |
| 457 bool hasJavaPackage() => hasField(1); | 479 bool hasJavaPackage() => hasField(1); |
| 458 void clearJavaPackage() => clearField(1); | 480 void clearJavaPackage() => clearField(1); |
| 459 | 481 |
| 460 String get javaOuterClassname => getField(8); | 482 String get javaOuterClassname => getField(8); |
| 461 void set javaOuterClassname(String v) { setField(8, v); } | 483 void set javaOuterClassname(String v) { setField(8, v); } |
| 462 bool hasJavaOuterClassname() => hasField(8); | 484 bool hasJavaOuterClassname() => hasField(8); |
| 463 void clearJavaOuterClassname() => clearField(8); | 485 void clearJavaOuterClassname() => clearField(8); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 492 bool hasPyGenericServices() => hasField(18); | 514 bool hasPyGenericServices() => hasField(18); |
| 493 void clearPyGenericServices() => clearField(18); | 515 void clearPyGenericServices() => clearField(18); |
| 494 | 516 |
| 495 List<UninterpretedOption> get uninterpretedOption => getField(999); | 517 List<UninterpretedOption> get uninterpretedOption => getField(999); |
| 496 } | 518 } |
| 497 | 519 |
| 498 class MessageOptions extends GeneratedMessage { | 520 class MessageOptions extends GeneratedMessage { |
| 499 static final BuilderInfo _i = new BuilderInfo('MessageOptions') | 521 static final BuilderInfo _i = new BuilderInfo('MessageOptions') |
| 500 ..a(1, 'messageSetWireFormat', GeneratedMessage.OB) | 522 ..a(1, 'messageSetWireFormat', GeneratedMessage.OB) |
| 501 ..a(2, 'noStandardDescriptorAccessor', GeneratedMessage.OB) | 523 ..a(2, 'noStandardDescriptorAccessor', GeneratedMessage.OB) |
| 502 ..m(999, 'uninterpretedOption', () => new UninterpretedOption(), () => new P
bList<UninterpretedOption>()) | 524 ..m(999, 'uninterpretedOption', UninterpretedOption.create, UninterpretedOpt
ion.createRepeated) |
| 503 ..hasExtensions = true | 525 ..hasExtensions = true |
| 504 ; | 526 ; |
| 505 | 527 |
| 506 MessageOptions() : super(); | 528 MessageOptions() : super(); |
| 507 MessageOptions.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistr
y.EMPTY]) : super.fromBuffer(i, r); | 529 MessageOptions.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistr
y.EMPTY]) : super.fromBuffer(i, r); |
| 508 MessageOptions.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMP
TY]) : super.fromJson(i, r); | 530 MessageOptions.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMP
TY]) : super.fromJson(i, r); |
| 509 MessageOptions clone() => new MessageOptions()..mergeFromMessage(this); | 531 MessageOptions clone() => new MessageOptions()..mergeFromMessage(this); |
| 510 BuilderInfo get info_ => _i; | 532 BuilderInfo get info_ => _i; |
| 533 static MessageOptions create() => new MessageOptions(); |
| 534 static PbList<MessageOptions> createRepeated() => new PbList<MessageOptions>()
; |
| 511 | 535 |
| 512 bool get messageSetWireFormat => getField(1); | 536 bool get messageSetWireFormat => getField(1); |
| 513 void set messageSetWireFormat(bool v) { setField(1, v); } | 537 void set messageSetWireFormat(bool v) { setField(1, v); } |
| 514 bool hasMessageSetWireFormat() => hasField(1); | 538 bool hasMessageSetWireFormat() => hasField(1); |
| 515 void clearMessageSetWireFormat() => clearField(1); | 539 void clearMessageSetWireFormat() => clearField(1); |
| 516 | 540 |
| 517 bool get noStandardDescriptorAccessor => getField(2); | 541 bool get noStandardDescriptorAccessor => getField(2); |
| 518 void set noStandardDescriptorAccessor(bool v) { setField(2, v); } | 542 void set noStandardDescriptorAccessor(bool v) { setField(2, v); } |
| 519 bool hasNoStandardDescriptorAccessor() => hasField(2); | 543 bool hasNoStandardDescriptorAccessor() => hasField(2); |
| 520 void clearNoStandardDescriptorAccessor() => clearField(2); | 544 void clearNoStandardDescriptorAccessor() => clearField(2); |
| 521 | 545 |
| 522 List<UninterpretedOption> get uninterpretedOption => getField(999); | 546 List<UninterpretedOption> get uninterpretedOption => getField(999); |
| 523 } | 547 } |
| 524 | 548 |
| 525 class FieldOptions_CType extends ProtobufEnum { | 549 class FieldOptions_CType extends ProtobufEnum { |
| 526 static const FieldOptions_CType STRING = const FieldOptions_CType._(0, 'STRING
'); | 550 static const FieldOptions_CType STRING = const FieldOptions_CType._(0, 'STRING
'); |
| 527 | 551 |
| 528 static const List<FieldOptions_CType> values = const <FieldOptions_CType> [ | 552 static const List<FieldOptions_CType> values = const <FieldOptions_CType> [ |
| 529 STRING, | 553 STRING, |
| 530 ]; | 554 ]; |
| 531 | 555 |
| 532 static final Map<int, FieldOptions_CType> _byValue = ProtobufEnum.initByValue(
values); | 556 static final Map<int, FieldOptions_CType> _byValue = ProtobufEnum.initByValue(
values); |
| 533 static FieldOptions_CType valueOf(int value) => _byValue[value]; | 557 static FieldOptions_CType valueOf(int value) => _byValue[value]; |
| 534 | 558 |
| 535 const FieldOptions_CType._(int v, String n) : super(v, n); | 559 const FieldOptions_CType._(int v, String n) : super(v, n); |
| 536 } | 560 } |
| 537 | 561 |
| 538 class FieldOptions extends GeneratedMessage { | 562 class FieldOptions extends GeneratedMessage { |
| 539 static final BuilderInfo _i = new BuilderInfo('FieldOptions') | 563 static final BuilderInfo _i = new BuilderInfo('FieldOptions') |
| 540 ..e(1, 'ctype', GeneratedMessage.OE, () => FieldOptions_CType.STRING, (var v
) => FieldOptions_CType.valueOf(v)) | 564 ..e(1, 'ctype', GeneratedMessage.OE, FieldOptions_CType.STRING, (var v) => F
ieldOptions_CType.valueOf(v)) |
| 541 ..a(2, 'packed', GeneratedMessage.OB) | 565 ..a(2, 'packed', GeneratedMessage.OB) |
| 542 ..a(5, 'lazy', GeneratedMessage.OB) | 566 ..a(5, 'lazy', GeneratedMessage.OB) |
| 543 ..a(3, 'deprecated', GeneratedMessage.OB) | 567 ..a(3, 'deprecated', GeneratedMessage.OB) |
| 544 ..a(9, 'experimentalMapKey', GeneratedMessage.OS) | 568 ..a(9, 'experimentalMapKey', GeneratedMessage.OS) |
| 545 ..m(999, 'uninterpretedOption', () => new UninterpretedOption(), () => new P
bList<UninterpretedOption>()) | 569 ..m(999, 'uninterpretedOption', UninterpretedOption.create, UninterpretedOpt
ion.createRepeated) |
| 546 ..hasExtensions = true | 570 ..hasExtensions = true |
| 547 ; | 571 ; |
| 548 | 572 |
| 549 FieldOptions() : super(); | 573 FieldOptions() : super(); |
| 550 FieldOptions.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.
EMPTY]) : super.fromBuffer(i, r); | 574 FieldOptions.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.
EMPTY]) : super.fromBuffer(i, r); |
| 551 FieldOptions.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY
]) : super.fromJson(i, r); | 575 FieldOptions.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY
]) : super.fromJson(i, r); |
| 552 FieldOptions clone() => new FieldOptions()..mergeFromMessage(this); | 576 FieldOptions clone() => new FieldOptions()..mergeFromMessage(this); |
| 553 BuilderInfo get info_ => _i; | 577 BuilderInfo get info_ => _i; |
| 578 static FieldOptions create() => new FieldOptions(); |
| 579 static PbList<FieldOptions> createRepeated() => new PbList<FieldOptions>(); |
| 554 | 580 |
| 555 FieldOptions_CType get ctype => getField(1); | 581 FieldOptions_CType get ctype => getField(1); |
| 556 void set ctype(FieldOptions_CType v) { setField(1, v); } | 582 void set ctype(FieldOptions_CType v) { setField(1, v); } |
| 557 bool hasCtype() => hasField(1); | 583 bool hasCtype() => hasField(1); |
| 558 void clearCtype() => clearField(1); | 584 void clearCtype() => clearField(1); |
| 559 | 585 |
| 560 bool get packed => getField(2); | 586 bool get packed => getField(2); |
| 561 void set packed(bool v) { setField(2, v); } | 587 void set packed(bool v) { setField(2, v); } |
| 562 bool hasPacked() => hasField(2); | 588 bool hasPacked() => hasField(2); |
| 563 void clearPacked() => clearField(2); | 589 void clearPacked() => clearField(2); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 575 String get experimentalMapKey => getField(9); | 601 String get experimentalMapKey => getField(9); |
| 576 void set experimentalMapKey(String v) { setField(9, v); } | 602 void set experimentalMapKey(String v) { setField(9, v); } |
| 577 bool hasExperimentalMapKey() => hasField(9); | 603 bool hasExperimentalMapKey() => hasField(9); |
| 578 void clearExperimentalMapKey() => clearField(9); | 604 void clearExperimentalMapKey() => clearField(9); |
| 579 | 605 |
| 580 List<UninterpretedOption> get uninterpretedOption => getField(999); | 606 List<UninterpretedOption> get uninterpretedOption => getField(999); |
| 581 } | 607 } |
| 582 | 608 |
| 583 class EnumOptions extends GeneratedMessage { | 609 class EnumOptions extends GeneratedMessage { |
| 584 static final BuilderInfo _i = new BuilderInfo('EnumOptions') | 610 static final BuilderInfo _i = new BuilderInfo('EnumOptions') |
| 585 ..a(2, 'allowAlias', GeneratedMessage.OB, () => true) | 611 ..a(2, 'allowAlias', GeneratedMessage.OB, true) |
| 586 ..m(999, 'uninterpretedOption', () => new UninterpretedOption(), () => new P
bList<UninterpretedOption>()) | 612 ..m(999, 'uninterpretedOption', UninterpretedOption.create, UninterpretedOpt
ion.createRepeated) |
| 587 ..hasExtensions = true | 613 ..hasExtensions = true |
| 588 ; | 614 ; |
| 589 | 615 |
| 590 EnumOptions() : super(); | 616 EnumOptions() : super(); |
| 591 EnumOptions.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.E
MPTY]) : super.fromBuffer(i, r); | 617 EnumOptions.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.E
MPTY]) : super.fromBuffer(i, r); |
| 592 EnumOptions.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]
) : super.fromJson(i, r); | 618 EnumOptions.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]
) : super.fromJson(i, r); |
| 593 EnumOptions clone() => new EnumOptions()..mergeFromMessage(this); | 619 EnumOptions clone() => new EnumOptions()..mergeFromMessage(this); |
| 594 BuilderInfo get info_ => _i; | 620 BuilderInfo get info_ => _i; |
| 621 static EnumOptions create() => new EnumOptions(); |
| 622 static PbList<EnumOptions> createRepeated() => new PbList<EnumOptions>(); |
| 595 | 623 |
| 596 bool get allowAlias => getField(2); | 624 bool get allowAlias => getField(2); |
| 597 void set allowAlias(bool v) { setField(2, v); } | 625 void set allowAlias(bool v) { setField(2, v); } |
| 598 bool hasAllowAlias() => hasField(2); | 626 bool hasAllowAlias() => hasField(2); |
| 599 void clearAllowAlias() => clearField(2); | 627 void clearAllowAlias() => clearField(2); |
| 600 | 628 |
| 601 List<UninterpretedOption> get uninterpretedOption => getField(999); | 629 List<UninterpretedOption> get uninterpretedOption => getField(999); |
| 602 } | 630 } |
| 603 | 631 |
| 604 class EnumValueOptions extends GeneratedMessage { | 632 class EnumValueOptions extends GeneratedMessage { |
| 605 static final BuilderInfo _i = new BuilderInfo('EnumValueOptions') | 633 static final BuilderInfo _i = new BuilderInfo('EnumValueOptions') |
| 606 ..m(999, 'uninterpretedOption', () => new UninterpretedOption(), () => new P
bList<UninterpretedOption>()) | 634 ..m(999, 'uninterpretedOption', UninterpretedOption.create, UninterpretedOpt
ion.createRepeated) |
| 607 ..hasExtensions = true | 635 ..hasExtensions = true |
| 608 ; | 636 ; |
| 609 | 637 |
| 610 EnumValueOptions() : super(); | 638 EnumValueOptions() : super(); |
| 611 EnumValueOptions.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegis
try.EMPTY]) : super.fromBuffer(i, r); | 639 EnumValueOptions.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegis
try.EMPTY]) : super.fromBuffer(i, r); |
| 612 EnumValueOptions.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.E
MPTY]) : super.fromJson(i, r); | 640 EnumValueOptions.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.E
MPTY]) : super.fromJson(i, r); |
| 613 EnumValueOptions clone() => new EnumValueOptions()..mergeFromMessage(this); | 641 EnumValueOptions clone() => new EnumValueOptions()..mergeFromMessage(this); |
| 614 BuilderInfo get info_ => _i; | 642 BuilderInfo get info_ => _i; |
| 643 static EnumValueOptions create() => new EnumValueOptions(); |
| 644 static PbList<EnumValueOptions> createRepeated() => new PbList<EnumValueOption
s>(); |
| 615 | 645 |
| 616 List<UninterpretedOption> get uninterpretedOption => getField(999); | 646 List<UninterpretedOption> get uninterpretedOption => getField(999); |
| 617 } | 647 } |
| 618 | 648 |
| 619 class ServiceOptions extends GeneratedMessage { | 649 class ServiceOptions extends GeneratedMessage { |
| 620 static final BuilderInfo _i = new BuilderInfo('ServiceOptions') | 650 static final BuilderInfo _i = new BuilderInfo('ServiceOptions') |
| 621 ..m(999, 'uninterpretedOption', () => new UninterpretedOption(), () => new P
bList<UninterpretedOption>()) | 651 ..m(999, 'uninterpretedOption', UninterpretedOption.create, UninterpretedOpt
ion.createRepeated) |
| 622 ..hasExtensions = true | 652 ..hasExtensions = true |
| 623 ; | 653 ; |
| 624 | 654 |
| 625 ServiceOptions() : super(); | 655 ServiceOptions() : super(); |
| 626 ServiceOptions.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistr
y.EMPTY]) : super.fromBuffer(i, r); | 656 ServiceOptions.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistr
y.EMPTY]) : super.fromBuffer(i, r); |
| 627 ServiceOptions.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMP
TY]) : super.fromJson(i, r); | 657 ServiceOptions.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMP
TY]) : super.fromJson(i, r); |
| 628 ServiceOptions clone() => new ServiceOptions()..mergeFromMessage(this); | 658 ServiceOptions clone() => new ServiceOptions()..mergeFromMessage(this); |
| 629 BuilderInfo get info_ => _i; | 659 BuilderInfo get info_ => _i; |
| 660 static ServiceOptions create() => new ServiceOptions(); |
| 661 static PbList<ServiceOptions> createRepeated() => new PbList<ServiceOptions>()
; |
| 630 | 662 |
| 631 List<UninterpretedOption> get uninterpretedOption => getField(999); | 663 List<UninterpretedOption> get uninterpretedOption => getField(999); |
| 632 } | 664 } |
| 633 | 665 |
| 634 class MethodOptions extends GeneratedMessage { | 666 class MethodOptions extends GeneratedMessage { |
| 635 static final BuilderInfo _i = new BuilderInfo('MethodOptions') | 667 static final BuilderInfo _i = new BuilderInfo('MethodOptions') |
| 636 ..m(999, 'uninterpretedOption', () => new UninterpretedOption(), () => new P
bList<UninterpretedOption>()) | 668 ..m(999, 'uninterpretedOption', UninterpretedOption.create, UninterpretedOpt
ion.createRepeated) |
| 637 ..hasExtensions = true | 669 ..hasExtensions = true |
| 638 ; | 670 ; |
| 639 | 671 |
| 640 MethodOptions() : super(); | 672 MethodOptions() : super(); |
| 641 MethodOptions.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry
.EMPTY]) : super.fromBuffer(i, r); | 673 MethodOptions.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry
.EMPTY]) : super.fromBuffer(i, r); |
| 642 MethodOptions.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPT
Y]) : super.fromJson(i, r); | 674 MethodOptions.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPT
Y]) : super.fromJson(i, r); |
| 643 MethodOptions clone() => new MethodOptions()..mergeFromMessage(this); | 675 MethodOptions clone() => new MethodOptions()..mergeFromMessage(this); |
| 644 BuilderInfo get info_ => _i; | 676 BuilderInfo get info_ => _i; |
| 677 static MethodOptions create() => new MethodOptions(); |
| 678 static PbList<MethodOptions> createRepeated() => new PbList<MethodOptions>(); |
| 645 | 679 |
| 646 List<UninterpretedOption> get uninterpretedOption => getField(999); | 680 List<UninterpretedOption> get uninterpretedOption => getField(999); |
| 647 } | 681 } |
| 648 | 682 |
| 649 class StreamOptions extends GeneratedMessage { | 683 class StreamOptions extends GeneratedMessage { |
| 650 static final BuilderInfo _i = new BuilderInfo('StreamOptions') | 684 static final BuilderInfo _i = new BuilderInfo('StreamOptions') |
| 651 ..m(999, 'uninterpretedOption', () => new UninterpretedOption(), () => new P
bList<UninterpretedOption>()) | 685 ..m(999, 'uninterpretedOption', UninterpretedOption.create, UninterpretedOpt
ion.createRepeated) |
| 652 ..hasExtensions = true | 686 ..hasExtensions = true |
| 653 ; | 687 ; |
| 654 | 688 |
| 655 StreamOptions() : super(); | 689 StreamOptions() : super(); |
| 656 StreamOptions.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry
.EMPTY]) : super.fromBuffer(i, r); | 690 StreamOptions.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry
.EMPTY]) : super.fromBuffer(i, r); |
| 657 StreamOptions.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPT
Y]) : super.fromJson(i, r); | 691 StreamOptions.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPT
Y]) : super.fromJson(i, r); |
| 658 StreamOptions clone() => new StreamOptions()..mergeFromMessage(this); | 692 StreamOptions clone() => new StreamOptions()..mergeFromMessage(this); |
| 659 BuilderInfo get info_ => _i; | 693 BuilderInfo get info_ => _i; |
| 694 static StreamOptions create() => new StreamOptions(); |
| 695 static PbList<StreamOptions> createRepeated() => new PbList<StreamOptions>(); |
| 660 | 696 |
| 661 List<UninterpretedOption> get uninterpretedOption => getField(999); | 697 List<UninterpretedOption> get uninterpretedOption => getField(999); |
| 662 } | 698 } |
| 663 | 699 |
| 664 class UninterpretedOption_NamePart extends GeneratedMessage { | 700 class UninterpretedOption_NamePart extends GeneratedMessage { |
| 665 static final BuilderInfo _i = new BuilderInfo('UninterpretedOption_NamePart') | 701 static final BuilderInfo _i = new BuilderInfo('UninterpretedOption_NamePart') |
| 666 ..a(1, 'namePart', GeneratedMessage.QS) | 702 ..a(1, 'namePart', GeneratedMessage.QS) |
| 667 ..a(2, 'isExtension', GeneratedMessage.QB) | 703 ..a(2, 'isExtension', GeneratedMessage.QB) |
| 668 ; | 704 ; |
| 669 | 705 |
| 670 UninterpretedOption_NamePart() : super(); | 706 UninterpretedOption_NamePart() : super(); |
| 671 UninterpretedOption_NamePart.fromBuffer(List<int> i, [ExtensionRegistry r = Ex
tensionRegistry.EMPTY]) : super.fromBuffer(i, r); | 707 UninterpretedOption_NamePart.fromBuffer(List<int> i, [ExtensionRegistry r = Ex
tensionRegistry.EMPTY]) : super.fromBuffer(i, r); |
| 672 UninterpretedOption_NamePart.fromJson(String i, [ExtensionRegistry r = Extensi
onRegistry.EMPTY]) : super.fromJson(i, r); | 708 UninterpretedOption_NamePart.fromJson(String i, [ExtensionRegistry r = Extensi
onRegistry.EMPTY]) : super.fromJson(i, r); |
| 673 UninterpretedOption_NamePart clone() => new UninterpretedOption_NamePart()..me
rgeFromMessage(this); | 709 UninterpretedOption_NamePart clone() => new UninterpretedOption_NamePart()..me
rgeFromMessage(this); |
| 674 BuilderInfo get info_ => _i; | 710 BuilderInfo get info_ => _i; |
| 711 static UninterpretedOption_NamePart create() => new UninterpretedOption_NamePa
rt(); |
| 712 static PbList<UninterpretedOption_NamePart> createRepeated() => new PbList<Uni
nterpretedOption_NamePart>(); |
| 675 | 713 |
| 676 String get namePart => getField(1); | 714 String get namePart => getField(1); |
| 677 void set namePart(String v) { setField(1, v); } | 715 void set namePart(String v) { setField(1, v); } |
| 678 bool hasNamePart() => hasField(1); | 716 bool hasNamePart() => hasField(1); |
| 679 void clearNamePart() => clearField(1); | 717 void clearNamePart() => clearField(1); |
| 680 | 718 |
| 681 bool get isExtension => getField(2); | 719 bool get isExtension => getField(2); |
| 682 void set isExtension(bool v) { setField(2, v); } | 720 void set isExtension(bool v) { setField(2, v); } |
| 683 bool hasIsExtension() => hasField(2); | 721 bool hasIsExtension() => hasField(2); |
| 684 void clearIsExtension() => clearField(2); | 722 void clearIsExtension() => clearField(2); |
| 685 } | 723 } |
| 686 | 724 |
| 687 class UninterpretedOption extends GeneratedMessage { | 725 class UninterpretedOption extends GeneratedMessage { |
| 688 static final BuilderInfo _i = new BuilderInfo('UninterpretedOption') | 726 static final BuilderInfo _i = new BuilderInfo('UninterpretedOption') |
| 689 ..m(2, 'name', () => new UninterpretedOption_NamePart(), () => new PbList<Un
interpretedOption_NamePart>()) | 727 ..m(2, 'name', UninterpretedOption_NamePart.create, UninterpretedOption_Name
Part.createRepeated) |
| 690 ..a(3, 'identifierValue', GeneratedMessage.OS) | 728 ..a(3, 'identifierValue', GeneratedMessage.OS) |
| 691 ..a(4, 'positiveIntValue', GeneratedMessage.OU6, () => makeLongInt(0)) | 729 ..a(4, 'positiveIntValue', GeneratedMessage.OU6, Int64.ZERO) |
| 692 ..a(5, 'negativeIntValue', GeneratedMessage.O6, () => makeLongInt(0)) | 730 ..a(5, 'negativeIntValue', GeneratedMessage.O6, Int64.ZERO) |
| 693 ..a(6, 'doubleValue', GeneratedMessage.OD) | 731 ..a(6, 'doubleValue', GeneratedMessage.OD) |
| 694 ..a(7, 'stringValue', GeneratedMessage.OY) | 732 ..a(7, 'stringValue', GeneratedMessage.OY) |
| 695 ..a(8, 'aggregateValue', GeneratedMessage.OS) | 733 ..a(8, 'aggregateValue', GeneratedMessage.OS) |
| 696 ; | 734 ; |
| 697 | 735 |
| 698 UninterpretedOption() : super(); | 736 UninterpretedOption() : super(); |
| 699 UninterpretedOption.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRe
gistry.EMPTY]) : super.fromBuffer(i, r); | 737 UninterpretedOption.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRe
gistry.EMPTY]) : super.fromBuffer(i, r); |
| 700 UninterpretedOption.fromJson(String i, [ExtensionRegistry r = ExtensionRegistr
y.EMPTY]) : super.fromJson(i, r); | 738 UninterpretedOption.fromJson(String i, [ExtensionRegistry r = ExtensionRegistr
y.EMPTY]) : super.fromJson(i, r); |
| 701 UninterpretedOption clone() => new UninterpretedOption()..mergeFromMessage(thi
s); | 739 UninterpretedOption clone() => new UninterpretedOption()..mergeFromMessage(thi
s); |
| 702 BuilderInfo get info_ => _i; | 740 BuilderInfo get info_ => _i; |
| 741 static UninterpretedOption create() => new UninterpretedOption(); |
| 742 static PbList<UninterpretedOption> createRepeated() => new PbList<Uninterprete
dOption>(); |
| 703 | 743 |
| 704 List<UninterpretedOption_NamePart> get name => getField(2); | 744 List<UninterpretedOption_NamePart> get name => getField(2); |
| 705 | 745 |
| 706 String get identifierValue => getField(3); | 746 String get identifierValue => getField(3); |
| 707 void set identifierValue(String v) { setField(3, v); } | 747 void set identifierValue(String v) { setField(3, v); } |
| 708 bool hasIdentifierValue() => hasField(3); | 748 bool hasIdentifierValue() => hasField(3); |
| 709 void clearIdentifierValue() => clearField(3); | 749 void clearIdentifierValue() => clearField(3); |
| 710 | 750 |
| 711 Int64 get positiveIntValue => getField(4); | 751 Int64 get positiveIntValue => getField(4); |
| 712 void set positiveIntValue(Int64 v) { setField(4, v); } | 752 void set positiveIntValue(Int64 v) { setField(4, v); } |
| (...skipping 26 matching lines...) Expand all Loading... |
| 739 ..a(1, 'path', GeneratedMessage.K3, () => new PbList()) | 779 ..a(1, 'path', GeneratedMessage.K3, () => new PbList()) |
| 740 ..a(2, 'span', GeneratedMessage.K3, () => new PbList()) | 780 ..a(2, 'span', GeneratedMessage.K3, () => new PbList()) |
| 741 ..hasRequiredFields = false | 781 ..hasRequiredFields = false |
| 742 ; | 782 ; |
| 743 | 783 |
| 744 SourceCodeInfo_Location() : super(); | 784 SourceCodeInfo_Location() : super(); |
| 745 SourceCodeInfo_Location.fromBuffer(List<int> i, [ExtensionRegistry r = Extensi
onRegistry.EMPTY]) : super.fromBuffer(i, r); | 785 SourceCodeInfo_Location.fromBuffer(List<int> i, [ExtensionRegistry r = Extensi
onRegistry.EMPTY]) : super.fromBuffer(i, r); |
| 746 SourceCodeInfo_Location.fromJson(String i, [ExtensionRegistry r = ExtensionReg
istry.EMPTY]) : super.fromJson(i, r); | 786 SourceCodeInfo_Location.fromJson(String i, [ExtensionRegistry r = ExtensionReg
istry.EMPTY]) : super.fromJson(i, r); |
| 747 SourceCodeInfo_Location clone() => new SourceCodeInfo_Location()..mergeFromMes
sage(this); | 787 SourceCodeInfo_Location clone() => new SourceCodeInfo_Location()..mergeFromMes
sage(this); |
| 748 BuilderInfo get info_ => _i; | 788 BuilderInfo get info_ => _i; |
| 789 static SourceCodeInfo_Location create() => new SourceCodeInfo_Location(); |
| 790 static PbList<SourceCodeInfo_Location> createRepeated() => new PbList<SourceCo
deInfo_Location>(); |
| 749 | 791 |
| 750 List<int> get path => getField(1); | 792 List<int> get path => getField(1); |
| 751 | 793 |
| 752 List<int> get span => getField(2); | 794 List<int> get span => getField(2); |
| 753 } | 795 } |
| 754 | 796 |
| 755 class SourceCodeInfo extends GeneratedMessage { | 797 class SourceCodeInfo extends GeneratedMessage { |
| 756 static final BuilderInfo _i = new BuilderInfo('SourceCodeInfo') | 798 static final BuilderInfo _i = new BuilderInfo('SourceCodeInfo') |
| 757 ..m(1, 'location', () => new SourceCodeInfo_Location(), () => new PbList<Sou
rceCodeInfo_Location>()) | 799 ..m(1, 'location', SourceCodeInfo_Location.create, SourceCodeInfo_Location.c
reateRepeated) |
| 758 ..hasRequiredFields = false | 800 ..hasRequiredFields = false |
| 759 ; | 801 ; |
| 760 | 802 |
| 761 SourceCodeInfo() : super(); | 803 SourceCodeInfo() : super(); |
| 762 SourceCodeInfo.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistr
y.EMPTY]) : super.fromBuffer(i, r); | 804 SourceCodeInfo.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistr
y.EMPTY]) : super.fromBuffer(i, r); |
| 763 SourceCodeInfo.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMP
TY]) : super.fromJson(i, r); | 805 SourceCodeInfo.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMP
TY]) : super.fromJson(i, r); |
| 764 SourceCodeInfo clone() => new SourceCodeInfo()..mergeFromMessage(this); | 806 SourceCodeInfo clone() => new SourceCodeInfo()..mergeFromMessage(this); |
| 765 BuilderInfo get info_ => _i; | 807 BuilderInfo get info_ => _i; |
| 808 static SourceCodeInfo create() => new SourceCodeInfo(); |
| 809 static PbList<SourceCodeInfo> createRepeated() => new PbList<SourceCodeInfo>()
; |
| 766 | 810 |
| 767 List<SourceCodeInfo_Location> get location => getField(1); | 811 List<SourceCodeInfo_Location> get location => getField(1); |
| 768 } | 812 } |
| 769 | 813 |
| OLD | NEW |