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

Side by Side Diff: lib/protobuf/plugin/protoc/plugin.pb.dart

Issue 10595002: Protocol Buffer runtime library and 'protoc' plugin (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Work around http://code.google.com/p/dart/issues/detail?id=3806 Created 8 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « lib/protobuf/plugin/protoc/descriptor.pb.dart ('k') | lib/protobuf/runtime/Builder.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ///
2 // Generated code. Do not modify.
3 ///
4 class GoogleProtobufCompiler_CodeGeneratorRequest extends GeneratedMessage {
5 static GoogleProtobufCompiler_CodeGeneratorRequest _d;
6 static GoogleProtobufCompiler_CodeGeneratorRequest_Builder newBuilder() => new GoogleProtobufCompiler_CodeGeneratorRequest_Builder();
7 static GoogleProtobufCompiler_CodeGeneratorRequest get defaultInstance() => nu ll == _d ? (_d = newBuilder().buildPartial()) : _d;
8 static GoogleProtobufCompiler_CodeGeneratorRequest parseFromBuffer(List<int> i , [ExtensionRegistry r]) => GeneratedMessage.parseBuffer(newBuilder(), i, r);
9 static Future<GoogleProtobufCompiler_CodeGeneratorRequest> parseFromStream(Inp utStream i, [ExtensionRegistry r]) => GeneratedMessage.parseStream(newBuilder(), i, r);
10 static GoogleProtobufCompiler_CodeGeneratorRequest parseFromJson(String i, [Ex tensionRegistry r]) => GeneratedMessage.parseJson(newBuilder(), i, r);
11 GoogleProtobufCompiler_CodeGeneratorRequest._fromBuilder(GoogleProtobufCompile r_CodeGeneratorRequest_Builder b) : super(b);
12 GoogleProtobufCompiler_CodeGeneratorRequest_Builder toBuilder() => newBuilder( ).mergeFromMessage(this);
13
14 // repeated string file_to_generate = 1;
15 List<String> get fileToGenerate() => g_(1);
16
17 // optional string parameter = 2;
18 String get parameter() => g_(2);
19 bool hasParameter() => h_(2);
20
21 // repeated google.protobuf.FileDescriptorProto proto_file = 15;
22 List<GoogleProtobuf_FileDescriptorProto> get protoFile() => g_(15);
23 }
24
25 class GoogleProtobufCompiler_CodeGeneratorRequest_Builder extends Builder {
26 static BuilderInfo _i;
27
28 void initialize_() {
29 if (null == _i) {
30 _i = new BuilderInfo(this, "GoogleProtobufCompiler_CodeGeneratorRequest");
31 _i.p(1, 'fileToGenerate', Builder.PS);
32 _i.a(2, 'parameter', Builder.OS);
33 _i.m(15, 'protoFile', () => new GoogleProtobuf_FileDescriptorProto_Builder (), () => new PbList<GoogleProtobuf_FileDescriptorProto>(this));
34 _i.hasRequiredFields = false;
35 }
36 }
37
38 GoogleProtobufCompiler_CodeGeneratorRequest build() => super.build();
39 GoogleProtobufCompiler_CodeGeneratorRequest buildPartial() => partial(new Goog leProtobufCompiler_CodeGeneratorRequest._fromBuilder(this));
40 BuilderInfo get info_() => _i;
41
42 List<String> get fileToGenerate() => g_(1);
43
44 String get parameter() => g_(2);
45 void set parameter(String v) { s_(2, v); }
46 bool hasParameter() => h_(2);
47 void clearParameter() => c_(2);
48
49 List<GoogleProtobuf_FileDescriptorProto> get protoFile() => g_(15);
50 }
51
52 class GoogleProtobufCompiler_CodeGeneratorResponse_File extends GeneratedMessage {
53 static GoogleProtobufCompiler_CodeGeneratorResponse_File _d;
54 static GoogleProtobufCompiler_CodeGeneratorResponse_File_Builder newBuilder() => new GoogleProtobufCompiler_CodeGeneratorResponse_File_Builder();
55 static GoogleProtobufCompiler_CodeGeneratorResponse_File get defaultInstance() => null == _d ? (_d = newBuilder().buildPartial()) : _d;
56 static GoogleProtobufCompiler_CodeGeneratorResponse_File parseFromBuffer(List< int> i, [ExtensionRegistry r]) => GeneratedMessage.parseBuffer(newBuilder(), i, r);
57 static Future<GoogleProtobufCompiler_CodeGeneratorResponse_File> parseFromStre am(InputStream i, [ExtensionRegistry r]) => GeneratedMessage.parseStream(newBuil der(), i, r);
58 static GoogleProtobufCompiler_CodeGeneratorResponse_File parseFromJson(String i, [ExtensionRegistry r]) => GeneratedMessage.parseJson(newBuilder(), i, r);
59 GoogleProtobufCompiler_CodeGeneratorResponse_File._fromBuilder(GoogleProtobufC ompiler_CodeGeneratorResponse_File_Builder b) : super(b);
60 GoogleProtobufCompiler_CodeGeneratorResponse_File_Builder toBuilder() => newBu ilder().mergeFromMessage(this);
61
62 // optional string name = 1;
63 String get name() => g_(1);
64 bool hasName() => h_(1);
65
66 // optional string insertion_point = 2;
67 String get insertionPoint() => g_(2);
68 bool hasInsertionPoint() => h_(2);
69
70 // optional string content = 15;
71 String get content() => g_(15);
72 bool hasContent() => h_(15);
73 }
74
75 class GoogleProtobufCompiler_CodeGeneratorResponse_File_Builder extends Builder {
76 static BuilderInfo _i;
77
78 void initialize_() {
79 if (null == _i) {
80 _i = new BuilderInfo(this, "GoogleProtobufCompiler_CodeGeneratorResponse_F ile");
81 _i.a(1, 'name', Builder.OS);
82 _i.a(2, 'insertionPoint', Builder.OS);
83 _i.a(15, 'content', Builder.OS);
84 _i.hasRequiredFields = false;
85 }
86 }
87
88 GoogleProtobufCompiler_CodeGeneratorResponse_File build() => super.build();
89 GoogleProtobufCompiler_CodeGeneratorResponse_File buildPartial() => partial(ne w GoogleProtobufCompiler_CodeGeneratorResponse_File._fromBuilder(this));
90 BuilderInfo get info_() => _i;
91
92 String get name() => g_(1);
93 void set name(String v) { s_(1, v); }
94 bool hasName() => h_(1);
95 void clearName() => c_(1);
96
97 String get insertionPoint() => g_(2);
98 void set insertionPoint(String v) { s_(2, v); }
99 bool hasInsertionPoint() => h_(2);
100 void clearInsertionPoint() => c_(2);
101
102 String get content() => g_(15);
103 void set content(String v) { s_(15, v); }
104 bool hasContent() => h_(15);
105 void clearContent() => c_(15);
106 }
107
108 class GoogleProtobufCompiler_CodeGeneratorResponse extends GeneratedMessage {
109 static GoogleProtobufCompiler_CodeGeneratorResponse _d;
110 static GoogleProtobufCompiler_CodeGeneratorResponse_Builder newBuilder() => ne w GoogleProtobufCompiler_CodeGeneratorResponse_Builder();
111 static GoogleProtobufCompiler_CodeGeneratorResponse get defaultInstance() => n ull == _d ? (_d = newBuilder().buildPartial()) : _d;
112 static GoogleProtobufCompiler_CodeGeneratorResponse parseFromBuffer(List<int> i, [ExtensionRegistry r]) => GeneratedMessage.parseBuffer(newBuilder(), i, r);
113 static Future<GoogleProtobufCompiler_CodeGeneratorResponse> parseFromStream(In putStream i, [ExtensionRegistry r]) => GeneratedMessage.parseStream(newBuilder() , i, r);
114 static GoogleProtobufCompiler_CodeGeneratorResponse parseFromJson(String i, [E xtensionRegistry r]) => GeneratedMessage.parseJson(newBuilder(), i, r);
115 GoogleProtobufCompiler_CodeGeneratorResponse._fromBuilder(GoogleProtobufCompil er_CodeGeneratorResponse_Builder b) : super(b);
116 GoogleProtobufCompiler_CodeGeneratorResponse_Builder toBuilder() => newBuilder ().mergeFromMessage(this);
117
118 // optional string error = 1;
119 String get error() => g_(1);
120 bool hasError() => h_(1);
121
122 // repeated google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
123 List<GoogleProtobufCompiler_CodeGeneratorResponse_File> get file() => g_(15);
124 }
125
126 class GoogleProtobufCompiler_CodeGeneratorResponse_Builder extends Builder {
127 static BuilderInfo _i;
128
129 void initialize_() {
130 if (null == _i) {
131 _i = new BuilderInfo(this, "GoogleProtobufCompiler_CodeGeneratorResponse") ;
132 _i.a(1, 'error', Builder.OS);
133 _i.m(15, 'file', () => new GoogleProtobufCompiler_CodeGeneratorResponse_Fi le_Builder(), () => new PbList<GoogleProtobufCompiler_CodeGeneratorResponse_File >(this));
134 _i.hasRequiredFields = false;
135 }
136 }
137
138 GoogleProtobufCompiler_CodeGeneratorResponse build() => super.build();
139 GoogleProtobufCompiler_CodeGeneratorResponse buildPartial() => partial(new Goo gleProtobufCompiler_CodeGeneratorResponse._fromBuilder(this));
140 BuilderInfo get info_() => _i;
141
142 String get error() => g_(1);
143 void set error(String v) { s_(1, v); }
144 bool hasError() => h_(1);
145 void clearError() => c_(1);
146
147 List<GoogleProtobufCompiler_CodeGeneratorResponse_File> get file() => g_(15);
148 }
149
OLDNEW
« no previous file with comments | « lib/protobuf/plugin/protoc/descriptor.pb.dart ('k') | lib/protobuf/runtime/Builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698