Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Side by Side Diff: lib/src/plugin.pb.dart

Issue 2103743002: Rename mixin protos and add a check for undefined mixin name (Closed) Base URL: git@github.com:dart-lang/dart-protoc-plugin.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /// 1 ///
2 // Generated code. Do not modify. 2 // Generated code. Do not modify.
3 /// 3 ///
4 library proto2.compiler_plugin; 4 library proto2.compiler_plugin;
5 5
6 import 'package:protobuf/protobuf.dart'; 6 import 'package:protobuf/protobuf.dart';
7
7 import 'descriptor.pb.dart' as proto2; 8 import 'descriptor.pb.dart' as proto2;
8 9
9 class CodeGeneratorRequest extends GeneratedMessage { 10 class CodeGeneratorRequest extends GeneratedMessage {
10 static final BuilderInfo _i = new BuilderInfo('CodeGeneratorRequest') 11 static final BuilderInfo _i = new BuilderInfo('CodeGeneratorRequest')
11 ..p/*<String>*/(1, 'fileToGenerate', PbFieldType.PS) 12 ..p/*<String>*/(1, 'fileToGenerate', PbFieldType.PS)
12 ..a/*<String>*/(2, 'parameter', PbFieldType.OS) 13 ..a/*<String>*/(2, 'parameter', PbFieldType.OS)
13 ..pp/*<proto2.FileDescriptorProto>*/(15, 'protoFile', PbFieldType.PM, proto2 .FileDescriptorProto.$checkItem, proto2.FileDescriptorProto.create) 14 ..pp/*<proto2.FileDescriptorProto>*/(15, 'protoFile', PbFieldType.PM, proto2 .FileDescriptorProto.$checkItem, proto2.FileDescriptorProto.create)
14 ; 15 ;
15 16
16 CodeGeneratorRequest() : super(); 17 CodeGeneratorRequest() : super();
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 String get error => $_get(0, 1, ''); 110 String get error => $_get(0, 1, '');
110 void set error(String v) { $_setString(0, 1, v); } 111 void set error(String v) { $_setString(0, 1, v); }
111 bool hasError() => $_has(0, 1); 112 bool hasError() => $_has(0, 1);
112 void clearError() => clearField(1); 113 void clearError() => clearField(1);
113 114
114 List<CodeGeneratorResponse_File> get file => $_get(1, 15, null); 115 List<CodeGeneratorResponse_File> get file => $_get(1, 15, null);
115 } 116 }
116 117
117 class _ReadonlyCodeGeneratorResponse extends CodeGeneratorResponse with Readonly MessageMixin {} 118 class _ReadonlyCodeGeneratorResponse extends CodeGeneratorResponse with Readonly MessageMixin {}
118 119
119 const CodeGeneratorRequest$json = const {
120 '1': 'CodeGeneratorRequest',
121 '2': const [
122 const {'1': 'file_to_generate', '3': 1, '4': 3, '5': 9},
123 const {'1': 'parameter', '3': 2, '4': 1, '5': 9},
124 const {'1': 'proto_file', '3': 15, '4': 3, '5': 11, '6': '.proto2.FileDescri ptorProto'},
125 ],
126 };
127
128 const CodeGeneratorResponse$json = const {
129 '1': 'CodeGeneratorResponse',
130 '2': const [
131 const {'1': 'error', '3': 1, '4': 1, '5': 9},
132 const {'1': 'file', '3': 15, '4': 3, '5': 11, '6': '.proto2.compiler.CodeGen eratorResponse.File'},
133 ],
134 '3': const [CodeGeneratorResponse_File$json],
135 };
136
137 const CodeGeneratorResponse_File$json = const {
138 '1': 'File',
139 '2': const [
140 const {'1': 'name', '3': 1, '4': 1, '5': 9},
141 const {'1': 'insertion_point', '3': 2, '4': 1, '5': 9},
142 const {'1': 'content', '3': 15, '4': 1, '5': 9},
143 ],
144 };
145
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698