refactor(dart/transform): Update protobuf dependencies
Update - libprotoc to 2.6.1 - dart-protoc-plugin to 0.5.0 - pkg/protobuf 0.5.0 Closes #4681
This commit is contained in:
		
							parent
							
								
									be3e7db5db
								
							
						
					
					
						commit
						cf9d4662c9
					
				| @ -19,7 +19,7 @@ dependencies: | ||||
|   intl: '^0.12.4' | ||||
|   logging: '>=0.9.0 <0.12.0' | ||||
|   observe: '^0.13.1' | ||||
|   protobuf: '^0.4.2' | ||||
|   protobuf: '^0.5.0' | ||||
|   quiver: '^0.21.4' | ||||
|   source_span: '^1.0.0' | ||||
|   stack_trace: '^1.1.1' | ||||
|  | ||||
| @ -33,20 +33,20 @@ class NamedParameter extends GeneratedMessage { | ||||
|     if (v is! NamedParameter) checkItemFailed(v, 'NamedParameter'); | ||||
|   } | ||||
| 
 | ||||
|   String get name => getField(1); | ||||
|   String get name => $_get(0, 1, ''); | ||||
|   void set name(String v) { | ||||
|     setField(1, v); | ||||
|     $_setString(0, 1, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasName() => hasField(1); | ||||
|   bool hasName() => $_has(0, 1); | ||||
|   void clearName() => clearField(1); | ||||
| 
 | ||||
|   String get value => getField(2); | ||||
|   String get value => $_get(1, 2, ''); | ||||
|   void set value(String v) { | ||||
|     setField(2, v); | ||||
|     $_setString(1, 2, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasValue() => hasField(2); | ||||
|   bool hasValue() => $_has(1, 2); | ||||
|   void clearValue() => clearField(2); | ||||
| } | ||||
| 
 | ||||
| @ -88,56 +88,56 @@ class AnnotationModel extends GeneratedMessage { | ||||
|     if (v is! AnnotationModel) checkItemFailed(v, 'AnnotationModel'); | ||||
|   } | ||||
| 
 | ||||
|   String get name => getField(1); | ||||
|   String get name => $_get(0, 1, ''); | ||||
|   void set name(String v) { | ||||
|     setField(1, v); | ||||
|     $_setString(0, 1, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasName() => hasField(1); | ||||
|   bool hasName() => $_has(0, 1); | ||||
|   void clearName() => clearField(1); | ||||
| 
 | ||||
|   List<String> get parameters => getField(2); | ||||
|   List<String> get parameters => $_get(1, 2, null); | ||||
| 
 | ||||
|   List<NamedParameter> get namedParameters => getField(3); | ||||
|   List<NamedParameter> get namedParameters => $_get(2, 3, null); | ||||
| 
 | ||||
|   bool get isView => getField(4); | ||||
|   bool get isView => $_get(3, 4, false); | ||||
|   void set isView(bool v) { | ||||
|     setField(4, v); | ||||
|     $_setBool(3, 4, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasIsView() => hasField(4); | ||||
|   bool hasIsView() => $_has(3, 4); | ||||
|   void clearIsView() => clearField(4); | ||||
| 
 | ||||
|   bool get isDirective => getField(5); | ||||
|   bool get isDirective => $_get(4, 5, false); | ||||
|   void set isDirective(bool v) { | ||||
|     setField(5, v); | ||||
|     $_setBool(4, 5, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasIsDirective() => hasField(5); | ||||
|   bool hasIsDirective() => $_has(4, 5); | ||||
|   void clearIsDirective() => clearField(5); | ||||
| 
 | ||||
|   bool get isComponent => getField(6); | ||||
|   bool get isComponent => $_get(5, 6, false); | ||||
|   void set isComponent(bool v) { | ||||
|     setField(6, v); | ||||
|     $_setBool(5, 6, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasIsComponent() => hasField(6); | ||||
|   bool hasIsComponent() => $_has(5, 6); | ||||
|   void clearIsComponent() => clearField(6); | ||||
| 
 | ||||
|   bool get isInjectable => getField(7); | ||||
|   bool get isInjectable => $_get(6, 7, false); | ||||
|   void set isInjectable(bool v) { | ||||
|     setField(7, v); | ||||
|     $_setBool(6, 7, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasIsInjectable() => hasField(7); | ||||
|   bool hasIsInjectable() => $_has(6, 7); | ||||
|   void clearIsInjectable() => clearField(7); | ||||
| 
 | ||||
|   bool get isConstObject => getField(8); | ||||
|   bool get isConstObject => $_get(7, 8, false); | ||||
|   void set isConstObject(bool v) { | ||||
|     setField(8, v); | ||||
|     $_setBool(7, 8, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasIsConstObject() => hasField(8); | ||||
|   bool hasIsConstObject() => $_has(7, 8); | ||||
|   void clearIsConstObject() => clearField(8); | ||||
| } | ||||
| 
 | ||||
| @ -175,6 +175,6 @@ const AnnotationModel$json = const { | ||||
| /** | ||||
|  * Generated with: | ||||
|  * annotation_model.proto (93cb7c1fba2e56d937fec054b6e119a2a2b9afe7) | ||||
|  * libprotoc 2.5.0 | ||||
|  * dart-protoc-plugin (cc35f743de982a4916588b9c505dd21c7fe87d17) | ||||
|  * libprotoc 2.6.1 | ||||
|  * dart-protoc-plugin (af5fc2bf1de367a434c3b1847ab260510878ffc0) | ||||
|  */ | ||||
|  | ||||
| @ -12,12 +12,15 @@ class ImportModel extends GeneratedMessage { | ||||
|     ..p(3, 'hideCombinators', PbFieldType.PS) | ||||
|     ..a(4, 'prefix', PbFieldType.OS) | ||||
|     ..a(5, 'isDeferred', PbFieldType.OB) | ||||
|     ..a(6, 'isNgDeps', PbFieldType.OB) | ||||
|   ; | ||||
|     ..a(6, 'isNgDeps', PbFieldType.OB); | ||||
| 
 | ||||
|   ImportModel() : super(); | ||||
|   ImportModel.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) : super.fromBuffer(i, r); | ||||
|   ImportModel.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) : super.fromJson(i, r); | ||||
|   ImportModel.fromBuffer(List<int> i, | ||||
|       [ExtensionRegistry r = ExtensionRegistry.EMPTY]) | ||||
|       : super.fromBuffer(i, r); | ||||
|   ImportModel.fromJson(String i, | ||||
|       [ExtensionRegistry r = ExtensionRegistry.EMPTY]) | ||||
|       : super.fromJson(i, r); | ||||
|   ImportModel clone() => new ImportModel()..mergeFromMessage(this); | ||||
|   BuilderInfo get info_ => _i; | ||||
|   static ImportModel create() => new ImportModel(); | ||||
| @ -26,33 +29,46 @@ class ImportModel extends GeneratedMessage { | ||||
|     if (_defaultInstance == null) _defaultInstance = new _ReadonlyImportModel(); | ||||
|     return _defaultInstance; | ||||
|   } | ||||
| 
 | ||||
|   static ImportModel _defaultInstance; | ||||
|   static void $checkItem(ImportModel v) { | ||||
|     if (v is !ImportModel) checkItemFailed(v, 'ImportModel'); | ||||
|     if (v is! ImportModel) checkItemFailed(v, 'ImportModel'); | ||||
|   } | ||||
| 
 | ||||
|   String get uri => getField(1); | ||||
|   void set uri(String v) { setField(1, v); } | ||||
|   bool hasUri() => hasField(1); | ||||
|   String get uri => $_get(0, 1, ''); | ||||
|   void set uri(String v) { | ||||
|     $_setString(0, 1, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasUri() => $_has(0, 1); | ||||
|   void clearUri() => clearField(1); | ||||
| 
 | ||||
|   List<String> get showCombinators => getField(2); | ||||
|   List<String> get showCombinators => $_get(1, 2, null); | ||||
| 
 | ||||
|   List<String> get hideCombinators => getField(3); | ||||
|   List<String> get hideCombinators => $_get(2, 3, null); | ||||
| 
 | ||||
|   String get prefix => getField(4); | ||||
|   void set prefix(String v) { setField(4, v); } | ||||
|   bool hasPrefix() => hasField(4); | ||||
|   String get prefix => $_get(3, 4, ''); | ||||
|   void set prefix(String v) { | ||||
|     $_setString(3, 4, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasPrefix() => $_has(3, 4); | ||||
|   void clearPrefix() => clearField(4); | ||||
| 
 | ||||
|   bool get isDeferred => getField(5); | ||||
|   void set isDeferred(bool v) { setField(5, v); } | ||||
|   bool hasIsDeferred() => hasField(5); | ||||
|   bool get isDeferred => $_get(4, 5, false); | ||||
|   void set isDeferred(bool v) { | ||||
|     $_setBool(4, 5, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasIsDeferred() => $_has(4, 5); | ||||
|   void clearIsDeferred() => clearField(5); | ||||
| 
 | ||||
|   bool get isNgDeps => getField(6); | ||||
|   void set isNgDeps(bool v) { setField(6, v); } | ||||
|   bool hasIsNgDeps() => hasField(6); | ||||
|   bool get isNgDeps => $_get(5, 6, false); | ||||
|   void set isNgDeps(bool v) { | ||||
|     $_setBool(5, 6, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasIsNgDeps() => $_has(5, 6); | ||||
|   void clearIsNgDeps() => clearField(6); | ||||
| } | ||||
| 
 | ||||
| @ -62,12 +78,15 @@ class ExportModel extends GeneratedMessage { | ||||
|   static final BuilderInfo _i = new BuilderInfo('ExportModel') | ||||
|     ..a(1, 'uri', PbFieldType.QS) | ||||
|     ..p(2, 'showCombinators', PbFieldType.PS) | ||||
|     ..p(3, 'hideCombinators', PbFieldType.PS) | ||||
|   ; | ||||
|     ..p(3, 'hideCombinators', PbFieldType.PS); | ||||
| 
 | ||||
|   ExportModel() : super(); | ||||
|   ExportModel.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) : super.fromBuffer(i, r); | ||||
|   ExportModel.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) : super.fromJson(i, r); | ||||
|   ExportModel.fromBuffer(List<int> i, | ||||
|       [ExtensionRegistry r = ExtensionRegistry.EMPTY]) | ||||
|       : super.fromBuffer(i, r); | ||||
|   ExportModel.fromJson(String i, | ||||
|       [ExtensionRegistry r = ExtensionRegistry.EMPTY]) | ||||
|       : super.fromJson(i, r); | ||||
|   ExportModel clone() => new ExportModel()..mergeFromMessage(this); | ||||
|   BuilderInfo get info_ => _i; | ||||
|   static ExportModel create() => new ExportModel(); | ||||
| @ -76,19 +95,23 @@ class ExportModel extends GeneratedMessage { | ||||
|     if (_defaultInstance == null) _defaultInstance = new _ReadonlyExportModel(); | ||||
|     return _defaultInstance; | ||||
|   } | ||||
| 
 | ||||
|   static ExportModel _defaultInstance; | ||||
|   static void $checkItem(ExportModel v) { | ||||
|     if (v is !ExportModel) checkItemFailed(v, 'ExportModel'); | ||||
|     if (v is! ExportModel) checkItemFailed(v, 'ExportModel'); | ||||
|   } | ||||
| 
 | ||||
|   String get uri => getField(1); | ||||
|   void set uri(String v) { setField(1, v); } | ||||
|   bool hasUri() => hasField(1); | ||||
|   String get uri => $_get(0, 1, ''); | ||||
|   void set uri(String v) { | ||||
|     $_setString(0, 1, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasUri() => $_has(0, 1); | ||||
|   void clearUri() => clearField(1); | ||||
| 
 | ||||
|   List<String> get showCombinators => getField(2); | ||||
|   List<String> get showCombinators => $_get(1, 2, null); | ||||
| 
 | ||||
|   List<String> get hideCombinators => getField(3); | ||||
|   List<String> get hideCombinators => $_get(2, 3, null); | ||||
| } | ||||
| 
 | ||||
| class _ReadonlyExportModel extends ExportModel with ReadonlyMessageMixin {} | ||||
| @ -117,6 +140,6 @@ const ExportModel$json = const { | ||||
| /** | ||||
|  * Generated with: | ||||
|  * import_export_model.proto (c018d2ad92db2d341631d813ace70925d1ccbb9b) | ||||
|  * libprotoc 2.5.0 | ||||
|  * dart-protoc-plugin (cc35f743de982a4916588b9c505dd21c7fe87d17) | ||||
|  * libprotoc 2.6.1 | ||||
|  * dart-protoc-plugin (af5fc2bf1de367a434c3b1847ab260510878ffc0) | ||||
|  */ | ||||
|  | ||||
| @ -40,28 +40,28 @@ class NgDepsModel extends GeneratedMessage { | ||||
|     if (v is! NgDepsModel) checkItemFailed(v, 'NgDepsModel'); | ||||
|   } | ||||
| 
 | ||||
|   String get libraryUri => getField(1); | ||||
|   String get libraryUri => $_get(0, 1, ''); | ||||
|   void set libraryUri(String v) { | ||||
|     setField(1, v); | ||||
|     $_setString(0, 1, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasLibraryUri() => hasField(1); | ||||
|   bool hasLibraryUri() => $_has(0, 1); | ||||
|   void clearLibraryUri() => clearField(1); | ||||
| 
 | ||||
|   List<String> get partUris => getField(2); | ||||
|   List<String> get partUris => $_get(1, 2, null); | ||||
| 
 | ||||
|   List<ImportModel> get imports => getField(3); | ||||
|   List<ImportModel> get imports => $_get(2, 3, null); | ||||
| 
 | ||||
|   List<ExportModel> get exports => getField(4); | ||||
|   List<ExportModel> get exports => $_get(3, 4, null); | ||||
| 
 | ||||
|   List<ReflectionInfoModel> get reflectables => getField(5); | ||||
|   List<ReflectionInfoModel> get reflectables => $_get(4, 5, null); | ||||
| 
 | ||||
|   String get sourceFile => getField(6); | ||||
|   String get sourceFile => $_get(5, 6, ''); | ||||
|   void set sourceFile(String v) { | ||||
|     setField(6, v); | ||||
|     $_setString(5, 6, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasSourceFile() => hasField(6); | ||||
|   bool hasSourceFile() => $_has(5, 6); | ||||
|   void clearSourceFile() => clearField(6); | ||||
| } | ||||
| 
 | ||||
| @ -100,6 +100,6 @@ const NgDepsModel$json = const { | ||||
| /** | ||||
|  * Generated with: | ||||
|  * ng_deps_model.proto (83fe43a087fdd0a7ebee360cd6b669570df4d216) | ||||
|  * libprotoc 2.5.0 | ||||
|  * dart-protoc-plugin (cc35f743de982a4916588b9c505dd21c7fe87d17) | ||||
|  * libprotoc 2.6.1 | ||||
|  * dart-protoc-plugin (af5fc2bf1de367a434c3b1847ab260510878ffc0) | ||||
|  */ | ||||
|  | ||||
| @ -11,44 +11,60 @@ class ParameterModel extends GeneratedMessage { | ||||
|     ..a(2, 'typeArgs', PbFieldType.OS) | ||||
|     ..p(3, 'metadata', PbFieldType.PS) | ||||
|     ..a(4, 'paramName', PbFieldType.OS) | ||||
|     ..hasRequiredFields = false | ||||
|   ; | ||||
|     ..hasRequiredFields = false; | ||||
| 
 | ||||
|   ParameterModel() : super(); | ||||
|   ParameterModel.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) : super.fromBuffer(i, r); | ||||
|   ParameterModel.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) : super.fromJson(i, r); | ||||
|   ParameterModel.fromBuffer(List<int> i, | ||||
|       [ExtensionRegistry r = ExtensionRegistry.EMPTY]) | ||||
|       : super.fromBuffer(i, r); | ||||
|   ParameterModel.fromJson(String i, | ||||
|       [ExtensionRegistry r = ExtensionRegistry.EMPTY]) | ||||
|       : super.fromJson(i, r); | ||||
|   ParameterModel clone() => new ParameterModel()..mergeFromMessage(this); | ||||
|   BuilderInfo get info_ => _i; | ||||
|   static ParameterModel create() => new ParameterModel(); | ||||
|   static PbList<ParameterModel> createRepeated() => new PbList<ParameterModel>(); | ||||
|   static PbList<ParameterModel> createRepeated() => | ||||
|       new PbList<ParameterModel>(); | ||||
|   static ParameterModel getDefault() { | ||||
|     if (_defaultInstance == null) _defaultInstance = new _ReadonlyParameterModel(); | ||||
|     if (_defaultInstance == null) _defaultInstance = | ||||
|         new _ReadonlyParameterModel(); | ||||
|     return _defaultInstance; | ||||
|   } | ||||
| 
 | ||||
|   static ParameterModel _defaultInstance; | ||||
|   static void $checkItem(ParameterModel v) { | ||||
|     if (v is !ParameterModel) checkItemFailed(v, 'ParameterModel'); | ||||
|     if (v is! ParameterModel) checkItemFailed(v, 'ParameterModel'); | ||||
|   } | ||||
| 
 | ||||
|   String get typeName => getField(1); | ||||
|   void set typeName(String v) { setField(1, v); } | ||||
|   bool hasTypeName() => hasField(1); | ||||
|   String get typeName => $_get(0, 1, ''); | ||||
|   void set typeName(String v) { | ||||
|     $_setString(0, 1, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasTypeName() => $_has(0, 1); | ||||
|   void clearTypeName() => clearField(1); | ||||
| 
 | ||||
|   String get typeArgs => getField(2); | ||||
|   void set typeArgs(String v) { setField(2, v); } | ||||
|   bool hasTypeArgs() => hasField(2); | ||||
|   String get typeArgs => $_get(1, 2, ''); | ||||
|   void set typeArgs(String v) { | ||||
|     $_setString(1, 2, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasTypeArgs() => $_has(1, 2); | ||||
|   void clearTypeArgs() => clearField(2); | ||||
| 
 | ||||
|   List<String> get metadata => getField(3); | ||||
|   List<String> get metadata => $_get(2, 3, null); | ||||
| 
 | ||||
|   String get paramName => getField(4); | ||||
|   void set paramName(String v) { setField(4, v); } | ||||
|   bool hasParamName() => hasField(4); | ||||
|   String get paramName => $_get(3, 4, ''); | ||||
|   void set paramName(String v) { | ||||
|     $_setString(3, 4, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasParamName() => $_has(3, 4); | ||||
|   void clearParamName() => clearField(4); | ||||
| } | ||||
| 
 | ||||
| class _ReadonlyParameterModel extends ParameterModel with ReadonlyMessageMixin {} | ||||
| class _ReadonlyParameterModel extends ParameterModel with ReadonlyMessageMixin { | ||||
| } | ||||
| 
 | ||||
| const ParameterModel$json = const { | ||||
|   '1': 'ParameterModel', | ||||
| @ -63,6 +79,6 @@ const ParameterModel$json = const { | ||||
| /** | ||||
|  * Generated with: | ||||
|  * parameter_model.proto (2a97dcb9a65b199f50fba67120a85590bceb083a) | ||||
|  * libprotoc 2.5.0 | ||||
|  * dart-protoc-plugin (cc35f743de982a4916588b9c505dd21c7fe87d17) | ||||
|  * libprotoc 2.6.1 | ||||
|  * dart-protoc-plugin (af5fc2bf1de367a434c3b1847ab260510878ffc0) | ||||
|  */ | ||||
|  | ||||
| @ -10,93 +10,132 @@ import 'parameter_model.pb.dart'; | ||||
| class PropertyMetadataModel extends GeneratedMessage { | ||||
|   static final BuilderInfo _i = new BuilderInfo('PropertyMetadataModel') | ||||
|     ..a(1, 'name', PbFieldType.QS) | ||||
|     ..pp(2, 'annotations', PbFieldType.PM, AnnotationModel.$checkItem, AnnotationModel.create) | ||||
|   ; | ||||
|     ..pp(2, 'annotations', PbFieldType.PM, AnnotationModel.$checkItem, | ||||
|         AnnotationModel.create); | ||||
| 
 | ||||
|   PropertyMetadataModel() : super(); | ||||
|   PropertyMetadataModel.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) : super.fromBuffer(i, r); | ||||
|   PropertyMetadataModel.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) : super.fromJson(i, r); | ||||
|   PropertyMetadataModel clone() => new PropertyMetadataModel()..mergeFromMessage(this); | ||||
|   PropertyMetadataModel.fromBuffer(List<int> i, | ||||
|       [ExtensionRegistry r = ExtensionRegistry.EMPTY]) | ||||
|       : super.fromBuffer(i, r); | ||||
|   PropertyMetadataModel.fromJson(String i, | ||||
|       [ExtensionRegistry r = ExtensionRegistry.EMPTY]) | ||||
|       : super.fromJson(i, r); | ||||
|   PropertyMetadataModel clone() => | ||||
|       new PropertyMetadataModel()..mergeFromMessage(this); | ||||
|   BuilderInfo get info_ => _i; | ||||
|   static PropertyMetadataModel create() => new PropertyMetadataModel(); | ||||
|   static PbList<PropertyMetadataModel> createRepeated() => new PbList<PropertyMetadataModel>(); | ||||
|   static PbList<PropertyMetadataModel> createRepeated() => | ||||
|       new PbList<PropertyMetadataModel>(); | ||||
|   static PropertyMetadataModel getDefault() { | ||||
|     if (_defaultInstance == null) _defaultInstance = new _ReadonlyPropertyMetadataModel(); | ||||
|     if (_defaultInstance == null) _defaultInstance = | ||||
|         new _ReadonlyPropertyMetadataModel(); | ||||
|     return _defaultInstance; | ||||
|   } | ||||
| 
 | ||||
|   static PropertyMetadataModel _defaultInstance; | ||||
|   static void $checkItem(PropertyMetadataModel v) { | ||||
|     if (v is !PropertyMetadataModel) checkItemFailed(v, 'PropertyMetadataModel'); | ||||
|     if (v | ||||
|         is! PropertyMetadataModel) checkItemFailed(v, 'PropertyMetadataModel'); | ||||
|   } | ||||
| 
 | ||||
|   String get name => getField(1); | ||||
|   void set name(String v) { setField(1, v); } | ||||
|   bool hasName() => hasField(1); | ||||
|   String get name => $_get(0, 1, ''); | ||||
|   void set name(String v) { | ||||
|     $_setString(0, 1, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasName() => $_has(0, 1); | ||||
|   void clearName() => clearField(1); | ||||
| 
 | ||||
|   List<AnnotationModel> get annotations => getField(2); | ||||
|   List<AnnotationModel> get annotations => $_get(1, 2, null); | ||||
| } | ||||
| 
 | ||||
| class _ReadonlyPropertyMetadataModel extends PropertyMetadataModel with ReadonlyMessageMixin {} | ||||
| class _ReadonlyPropertyMetadataModel extends PropertyMetadataModel | ||||
|     with ReadonlyMessageMixin {} | ||||
| 
 | ||||
| class ReflectionInfoModel extends GeneratedMessage { | ||||
|   static final BuilderInfo _i = new BuilderInfo('ReflectionInfoModel') | ||||
|     ..a(1, 'name', PbFieldType.QS) | ||||
|     ..a(2, 'ctorName', PbFieldType.OS) | ||||
|     ..a(3, 'isFunction', PbFieldType.OB) | ||||
|     ..pp(4, 'annotations', PbFieldType.PM, AnnotationModel.$checkItem, AnnotationModel.create) | ||||
|     ..pp(5, 'parameters', PbFieldType.PM, ParameterModel.$checkItem, ParameterModel.create) | ||||
|     ..pp(4, 'annotations', PbFieldType.PM, AnnotationModel.$checkItem, | ||||
|         AnnotationModel.create) | ||||
|     ..pp(5, 'parameters', PbFieldType.PM, ParameterModel.$checkItem, | ||||
|         ParameterModel.create) | ||||
|     ..p(6, 'interfaces', PbFieldType.PS) | ||||
|     ..pp(7, 'propertyMetadata', PbFieldType.PM, PropertyMetadataModel.$checkItem, PropertyMetadataModel.create) | ||||
|   ; | ||||
|     ..pp(7, 'propertyMetadata', PbFieldType.PM, | ||||
|         PropertyMetadataModel.$checkItem, PropertyMetadataModel.create); | ||||
| 
 | ||||
|   ReflectionInfoModel() : super(); | ||||
|   ReflectionInfoModel.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) : super.fromBuffer(i, r); | ||||
|   ReflectionInfoModel.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) : super.fromJson(i, r); | ||||
|   ReflectionInfoModel clone() => new ReflectionInfoModel()..mergeFromMessage(this); | ||||
|   ReflectionInfoModel.fromBuffer(List<int> i, | ||||
|       [ExtensionRegistry r = ExtensionRegistry.EMPTY]) | ||||
|       : super.fromBuffer(i, r); | ||||
|   ReflectionInfoModel.fromJson(String i, | ||||
|       [ExtensionRegistry r = ExtensionRegistry.EMPTY]) | ||||
|       : super.fromJson(i, r); | ||||
|   ReflectionInfoModel clone() => | ||||
|       new ReflectionInfoModel()..mergeFromMessage(this); | ||||
|   BuilderInfo get info_ => _i; | ||||
|   static ReflectionInfoModel create() => new ReflectionInfoModel(); | ||||
|   static PbList<ReflectionInfoModel> createRepeated() => new PbList<ReflectionInfoModel>(); | ||||
|   static PbList<ReflectionInfoModel> createRepeated() => | ||||
|       new PbList<ReflectionInfoModel>(); | ||||
|   static ReflectionInfoModel getDefault() { | ||||
|     if (_defaultInstance == null) _defaultInstance = new _ReadonlyReflectionInfoModel(); | ||||
|     if (_defaultInstance == null) _defaultInstance = | ||||
|         new _ReadonlyReflectionInfoModel(); | ||||
|     return _defaultInstance; | ||||
|   } | ||||
| 
 | ||||
|   static ReflectionInfoModel _defaultInstance; | ||||
|   static void $checkItem(ReflectionInfoModel v) { | ||||
|     if (v is !ReflectionInfoModel) checkItemFailed(v, 'ReflectionInfoModel'); | ||||
|     if (v is! ReflectionInfoModel) checkItemFailed(v, 'ReflectionInfoModel'); | ||||
|   } | ||||
| 
 | ||||
|   String get name => getField(1); | ||||
|   void set name(String v) { setField(1, v); } | ||||
|   bool hasName() => hasField(1); | ||||
|   String get name => $_get(0, 1, ''); | ||||
|   void set name(String v) { | ||||
|     $_setString(0, 1, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasName() => $_has(0, 1); | ||||
|   void clearName() => clearField(1); | ||||
| 
 | ||||
|   String get ctorName => getField(2); | ||||
|   void set ctorName(String v) { setField(2, v); } | ||||
|   bool hasCtorName() => hasField(2); | ||||
|   String get ctorName => $_get(1, 2, ''); | ||||
|   void set ctorName(String v) { | ||||
|     $_setString(1, 2, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasCtorName() => $_has(1, 2); | ||||
|   void clearCtorName() => clearField(2); | ||||
| 
 | ||||
|   bool get isFunction => getField(3); | ||||
|   void set isFunction(bool v) { setField(3, v); } | ||||
|   bool hasIsFunction() => hasField(3); | ||||
|   bool get isFunction => $_get(2, 3, false); | ||||
|   void set isFunction(bool v) { | ||||
|     $_setBool(2, 3, v); | ||||
|   } | ||||
| 
 | ||||
|   bool hasIsFunction() => $_has(2, 3); | ||||
|   void clearIsFunction() => clearField(3); | ||||
| 
 | ||||
|   List<AnnotationModel> get annotations => getField(4); | ||||
|   List<AnnotationModel> get annotations => $_get(3, 4, null); | ||||
| 
 | ||||
|   List<ParameterModel> get parameters => getField(5); | ||||
|   List<ParameterModel> get parameters => $_get(4, 5, null); | ||||
| 
 | ||||
|   List<String> get interfaces => getField(6); | ||||
|   List<String> get interfaces => $_get(5, 6, null); | ||||
| 
 | ||||
|   List<PropertyMetadataModel> get propertyMetadata => getField(7); | ||||
|   List<PropertyMetadataModel> get propertyMetadata => $_get(6, 7, null); | ||||
| } | ||||
| 
 | ||||
| class _ReadonlyReflectionInfoModel extends ReflectionInfoModel with ReadonlyMessageMixin {} | ||||
| class _ReadonlyReflectionInfoModel extends ReflectionInfoModel | ||||
|     with ReadonlyMessageMixin {} | ||||
| 
 | ||||
| const PropertyMetadataModel$json = const { | ||||
|   '1': 'PropertyMetadataModel', | ||||
|   '2': const [ | ||||
|     const {'1': 'name', '3': 1, '4': 2, '5': 9}, | ||||
|     const {'1': 'annotations', '3': 2, '4': 3, '5': 11, '6': '.angular2.src.transform.common.model.proto.AnnotationModel'}, | ||||
|     const { | ||||
|       '1': 'annotations', | ||||
|       '3': 2, | ||||
|       '4': 3, | ||||
|       '5': 11, | ||||
|       '6': '.angular2.src.transform.common.model.proto.AnnotationModel' | ||||
|     }, | ||||
|   ], | ||||
| }; | ||||
| 
 | ||||
| @ -106,16 +145,34 @@ const ReflectionInfoModel$json = const { | ||||
|     const {'1': 'name', '3': 1, '4': 2, '5': 9}, | ||||
|     const {'1': 'ctor_name', '3': 2, '4': 1, '5': 9}, | ||||
|     const {'1': 'is_function', '3': 3, '4': 1, '5': 8}, | ||||
|     const {'1': 'annotations', '3': 4, '4': 3, '5': 11, '6': '.angular2.src.transform.common.model.proto.AnnotationModel'}, | ||||
|     const {'1': 'parameters', '3': 5, '4': 3, '5': 11, '6': '.angular2.src.transform.common.model.proto.ParameterModel'}, | ||||
|     const { | ||||
|       '1': 'annotations', | ||||
|       '3': 4, | ||||
|       '4': 3, | ||||
|       '5': 11, | ||||
|       '6': '.angular2.src.transform.common.model.proto.AnnotationModel' | ||||
|     }, | ||||
|     const { | ||||
|       '1': 'parameters', | ||||
|       '3': 5, | ||||
|       '4': 3, | ||||
|       '5': 11, | ||||
|       '6': '.angular2.src.transform.common.model.proto.ParameterModel' | ||||
|     }, | ||||
|     const {'1': 'interfaces', '3': 6, '4': 3, '5': 9}, | ||||
|     const {'1': 'propertyMetadata', '3': 7, '4': 3, '5': 11, '6': '.angular2.src.transform.common.model.proto.PropertyMetadataModel'}, | ||||
|     const { | ||||
|       '1': 'propertyMetadata', | ||||
|       '3': 7, | ||||
|       '4': 3, | ||||
|       '5': 11, | ||||
|       '6': '.angular2.src.transform.common.model.proto.PropertyMetadataModel' | ||||
|     }, | ||||
|   ], | ||||
| }; | ||||
| 
 | ||||
| /** | ||||
|  * Generated with: | ||||
|  * reflection_info_model.proto (71d723738054f1276f792a2672a956ef9be94a4c) | ||||
|  * libprotoc 2.5.0 | ||||
|  * dart-protoc-plugin (cc35f743de982a4916588b9c505dd21c7fe87d17) | ||||
|  * libprotoc 2.6.1 | ||||
|  * dart-protoc-plugin (af5fc2bf1de367a434c3b1847ab260510878ffc0) | ||||
|  */ | ||||
|  | ||||
| @ -10,14 +10,14 @@ dependencies: | ||||
|   code_transformers: '^0.2.8' | ||||
|   dart_style: '>=0.1.8 <0.3.0' | ||||
|   glob: '^1.0.0' | ||||
|   guinness: any | ||||
|   html: '^0.12.0' | ||||
|   intl: '^0.12.4' | ||||
|   logging: '>=0.9.0 <0.12.0' | ||||
|   observe: '^0.13.1' | ||||
|   protobuf: '^0.4.2' | ||||
|   protobuf: '^0.5.0' | ||||
|   quiver: '^0.21.4' | ||||
|   source_span: '^1.0.0' | ||||
|   stack_trace: '^1.1.1' | ||||
| dev_dependencies: | ||||
|   guinness: any | ||||
|   test: '>=0.12.0 <0.13.0' | ||||
|  | ||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user