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

Side by Side Diff: recipe_engine/result_pb2.py

Issue 2882563002: Revert of include Package proto into Result proto (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « recipe_engine/result.proto ('k') | recipe_engine/run.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Generated by the protocol buffer compiler. DO NOT EDIT! 1 # Generated by the protocol buffer compiler. DO NOT EDIT!
2 # source: result.proto 2 # source: result.proto
3 3
4 import sys 4 import sys
5 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) 5 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
6 from google.protobuf import descriptor as _descriptor 6 from google.protobuf import descriptor as _descriptor
7 from google.protobuf import message as _message 7 from google.protobuf import message as _message
8 from google.protobuf import reflection as _reflection 8 from google.protobuf import reflection as _reflection
9 from google.protobuf import symbol_database as _symbol_database 9 from google.protobuf import symbol_database as _symbol_database
10 from google.protobuf import descriptor_pb2 10 from google.protobuf import descriptor_pb2
11 # @@protoc_insertion_point(imports) 11 # @@protoc_insertion_point(imports)
12 12
13 _sym_db = _symbol_database.Default() 13 _sym_db = _symbol_database.Default()
14 14
15 15
16 import package_pb2 as package__pb2
17 16
18 17
19 DESCRIPTOR = _descriptor.FileDescriptor( 18 DESCRIPTOR = _descriptor.FileDescriptor(
20 name='result.proto', 19 name='result.proto',
21 package='recipe_engine', 20 package='recipe_engine',
22 syntax='proto3', 21 syntax='proto3',
23 serialized_pb=_b('\n\x0cresult.proto\x12\rrecipe_engine\x1a\rpackage.proto\"\x 8a\x01\n\x06Result\x12\x15\n\x0bjson_result\x18\x01 \x01(\tH\x00\x12)\n\x07\x66\ x61ilure\x18\x02 \x01(\x0b\x32\x16.recipe_engine.FailureH\x00\x12.\n\x0erecipe_p ackage\x18\x03 \x01(\x0b\x32\x16.recipe_engine.PackageB\x0e\n\x0coneof_result\"\ xe6\x01\n\x07\x46\x61ilure\x12\x14\n\x0chuman_reason\x18\x01 \x01(\t\x12)\n\x07t imeout\x18\x02 \x01(\x0b\x32\x16.recipe_engine.TimeoutH\x00\x12-\n\texception\x1 8\x03 \x01(\x0b\x32\x18.recipe_engine.ExceptionH\x00\x12,\n\tstep_data\x18\x04 \ x01(\x0b\x32\x17.recipe_engine.StepDataH\x00\x12-\n\x07\x66\x61ilure\x18\x05 \x0 1(\x0b\x32\x1a.recipe_engine.StepFailureH\x00\x42\x0e\n\x0c\x66\x61ilure_type\"\ x1e\n\tException\x12\x11\n\ttraceback\x18\x01 \x03(\t\"\x1c\n\x07Timeout\x12\x11 \n\ttimeout_s\x18\x01 \x01(\x02\"\x18\n\x08StepData\x12\x0c\n\x04step\x18\x01 \x 01(\t\"\x1b\n\x0bStepFailure\x12\x0c\n\x04step\x18\x01 \x01(\tb\x06proto3') 22 serialized_pb=_b('\n\x0cresult.proto\x12\rrecipe_engine\"Z\n\x06Result\x12\x15 \n\x0bjson_result\x18\x01 \x01(\tH\x00\x12)\n\x07\x66\x61ilure\x18\x02 \x01(\x0b \x32\x16.recipe_engine.FailureH\x00\x42\x0e\n\x0coneof_result\"\xe6\x01\n\x07\x4 6\x61ilure\x12\x14\n\x0chuman_reason\x18\x01 \x01(\t\x12)\n\x07timeout\x18\x02 \ x01(\x0b\x32\x16.recipe_engine.TimeoutH\x00\x12-\n\texception\x18\x03 \x01(\x0b\ x32\x18.recipe_engine.ExceptionH\x00\x12,\n\tstep_data\x18\x04 \x01(\x0b\x32\x17 .recipe_engine.StepDataH\x00\x12-\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32\x1a.r ecipe_engine.StepFailureH\x00\x42\x0e\n\x0c\x66\x61ilure_type\"\x1e\n\tException \x12\x11\n\ttraceback\x18\x01 \x03(\t\"\x1c\n\x07Timeout\x12\x11\n\ttimeout_s\x1 8\x01 \x01(\x02\"\x18\n\x08StepData\x12\x0c\n\x04step\x18\x01 \x01(\t\"\x1b\n\x0 bStepFailure\x12\x0c\n\x04step\x18\x01 \x01(\tb\x06proto3')
24 , 23 )
25 dependencies=[package__pb2.DESCRIPTOR,])
26 _sym_db.RegisterFileDescriptor(DESCRIPTOR) 24 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
27 25
28 26
29 27
30 28
31 _RESULT = _descriptor.Descriptor( 29 _RESULT = _descriptor.Descriptor(
32 name='Result', 30 name='Result',
33 full_name='recipe_engine.Result', 31 full_name='recipe_engine.Result',
34 filename=None, 32 filename=None,
35 file=DESCRIPTOR, 33 file=DESCRIPTOR,
36 containing_type=None, 34 containing_type=None,
37 fields=[ 35 fields=[
38 _descriptor.FieldDescriptor( 36 _descriptor.FieldDescriptor(
39 name='json_result', full_name='recipe_engine.Result.json_result', index=0, 37 name='json_result', full_name='recipe_engine.Result.json_result', index=0,
40 number=1, type=9, cpp_type=9, label=1, 38 number=1, type=9, cpp_type=9, label=1,
41 has_default_value=False, default_value=_b("").decode('utf-8'), 39 has_default_value=False, default_value=_b("").decode('utf-8'),
42 message_type=None, enum_type=None, containing_type=None, 40 message_type=None, enum_type=None, containing_type=None,
43 is_extension=False, extension_scope=None, 41 is_extension=False, extension_scope=None,
44 options=None), 42 options=None),
45 _descriptor.FieldDescriptor( 43 _descriptor.FieldDescriptor(
46 name='failure', full_name='recipe_engine.Result.failure', index=1, 44 name='failure', full_name='recipe_engine.Result.failure', index=1,
47 number=2, type=11, cpp_type=10, label=1, 45 number=2, type=11, cpp_type=10, label=1,
48 has_default_value=False, default_value=None, 46 has_default_value=False, default_value=None,
49 message_type=None, enum_type=None, containing_type=None, 47 message_type=None, enum_type=None, containing_type=None,
50 is_extension=False, extension_scope=None, 48 is_extension=False, extension_scope=None,
51 options=None), 49 options=None),
52 _descriptor.FieldDescriptor(
53 name='recipe_package', full_name='recipe_engine.Result.recipe_package', in dex=2,
54 number=3, type=11, cpp_type=10, label=1,
55 has_default_value=False, default_value=None,
56 message_type=None, enum_type=None, containing_type=None,
57 is_extension=False, extension_scope=None,
58 options=None),
59 ], 50 ],
60 extensions=[ 51 extensions=[
61 ], 52 ],
62 nested_types=[], 53 nested_types=[],
63 enum_types=[ 54 enum_types=[
64 ], 55 ],
65 options=None, 56 options=None,
66 is_extendable=False, 57 is_extendable=False,
67 syntax='proto3', 58 syntax='proto3',
68 extension_ranges=[], 59 extension_ranges=[],
69 oneofs=[ 60 oneofs=[
70 _descriptor.OneofDescriptor( 61 _descriptor.OneofDescriptor(
71 name='oneof_result', full_name='recipe_engine.Result.oneof_result', 62 name='oneof_result', full_name='recipe_engine.Result.oneof_result',
72 index=0, containing_type=None, fields=[]), 63 index=0, containing_type=None, fields=[]),
73 ], 64 ],
74 serialized_start=47, 65 serialized_start=31,
75 serialized_end=185, 66 serialized_end=121,
76 ) 67 )
77 68
78 69
79 _FAILURE = _descriptor.Descriptor( 70 _FAILURE = _descriptor.Descriptor(
80 name='Failure', 71 name='Failure',
81 full_name='recipe_engine.Failure', 72 full_name='recipe_engine.Failure',
82 filename=None, 73 filename=None,
83 file=DESCRIPTOR, 74 file=DESCRIPTOR,
84 containing_type=None, 75 containing_type=None,
85 fields=[ 76 fields=[
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 ], 117 ],
127 options=None, 118 options=None,
128 is_extendable=False, 119 is_extendable=False,
129 syntax='proto3', 120 syntax='proto3',
130 extension_ranges=[], 121 extension_ranges=[],
131 oneofs=[ 122 oneofs=[
132 _descriptor.OneofDescriptor( 123 _descriptor.OneofDescriptor(
133 name='failure_type', full_name='recipe_engine.Failure.failure_type', 124 name='failure_type', full_name='recipe_engine.Failure.failure_type',
134 index=0, containing_type=None, fields=[]), 125 index=0, containing_type=None, fields=[]),
135 ], 126 ],
136 serialized_start=188, 127 serialized_start=124,
137 serialized_end=418, 128 serialized_end=354,
138 ) 129 )
139 130
140 131
141 _EXCEPTION = _descriptor.Descriptor( 132 _EXCEPTION = _descriptor.Descriptor(
142 name='Exception', 133 name='Exception',
143 full_name='recipe_engine.Exception', 134 full_name='recipe_engine.Exception',
144 filename=None, 135 filename=None,
145 file=DESCRIPTOR, 136 file=DESCRIPTOR,
146 containing_type=None, 137 containing_type=None,
147 fields=[ 138 fields=[
148 _descriptor.FieldDescriptor( 139 _descriptor.FieldDescriptor(
149 name='traceback', full_name='recipe_engine.Exception.traceback', index=0, 140 name='traceback', full_name='recipe_engine.Exception.traceback', index=0,
150 number=1, type=9, cpp_type=9, label=3, 141 number=1, type=9, cpp_type=9, label=3,
151 has_default_value=False, default_value=[], 142 has_default_value=False, default_value=[],
152 message_type=None, enum_type=None, containing_type=None, 143 message_type=None, enum_type=None, containing_type=None,
153 is_extension=False, extension_scope=None, 144 is_extension=False, extension_scope=None,
154 options=None), 145 options=None),
155 ], 146 ],
156 extensions=[ 147 extensions=[
157 ], 148 ],
158 nested_types=[], 149 nested_types=[],
159 enum_types=[ 150 enum_types=[
160 ], 151 ],
161 options=None, 152 options=None,
162 is_extendable=False, 153 is_extendable=False,
163 syntax='proto3', 154 syntax='proto3',
164 extension_ranges=[], 155 extension_ranges=[],
165 oneofs=[ 156 oneofs=[
166 ], 157 ],
167 serialized_start=420, 158 serialized_start=356,
168 serialized_end=450, 159 serialized_end=386,
169 ) 160 )
170 161
171 162
172 _TIMEOUT = _descriptor.Descriptor( 163 _TIMEOUT = _descriptor.Descriptor(
173 name='Timeout', 164 name='Timeout',
174 full_name='recipe_engine.Timeout', 165 full_name='recipe_engine.Timeout',
175 filename=None, 166 filename=None,
176 file=DESCRIPTOR, 167 file=DESCRIPTOR,
177 containing_type=None, 168 containing_type=None,
178 fields=[ 169 fields=[
179 _descriptor.FieldDescriptor( 170 _descriptor.FieldDescriptor(
180 name='timeout_s', full_name='recipe_engine.Timeout.timeout_s', index=0, 171 name='timeout_s', full_name='recipe_engine.Timeout.timeout_s', index=0,
181 number=1, type=2, cpp_type=6, label=1, 172 number=1, type=2, cpp_type=6, label=1,
182 has_default_value=False, default_value=float(0), 173 has_default_value=False, default_value=0,
183 message_type=None, enum_type=None, containing_type=None, 174 message_type=None, enum_type=None, containing_type=None,
184 is_extension=False, extension_scope=None, 175 is_extension=False, extension_scope=None,
185 options=None), 176 options=None),
186 ], 177 ],
187 extensions=[ 178 extensions=[
188 ], 179 ],
189 nested_types=[], 180 nested_types=[],
190 enum_types=[ 181 enum_types=[
191 ], 182 ],
192 options=None, 183 options=None,
193 is_extendable=False, 184 is_extendable=False,
194 syntax='proto3', 185 syntax='proto3',
195 extension_ranges=[], 186 extension_ranges=[],
196 oneofs=[ 187 oneofs=[
197 ], 188 ],
198 serialized_start=452, 189 serialized_start=388,
199 serialized_end=480, 190 serialized_end=416,
200 ) 191 )
201 192
202 193
203 _STEPDATA = _descriptor.Descriptor( 194 _STEPDATA = _descriptor.Descriptor(
204 name='StepData', 195 name='StepData',
205 full_name='recipe_engine.StepData', 196 full_name='recipe_engine.StepData',
206 filename=None, 197 filename=None,
207 file=DESCRIPTOR, 198 file=DESCRIPTOR,
208 containing_type=None, 199 containing_type=None,
209 fields=[ 200 fields=[
210 _descriptor.FieldDescriptor( 201 _descriptor.FieldDescriptor(
211 name='step', full_name='recipe_engine.StepData.step', index=0, 202 name='step', full_name='recipe_engine.StepData.step', index=0,
212 number=1, type=9, cpp_type=9, label=1, 203 number=1, type=9, cpp_type=9, label=1,
213 has_default_value=False, default_value=_b("").decode('utf-8'), 204 has_default_value=False, default_value=_b("").decode('utf-8'),
214 message_type=None, enum_type=None, containing_type=None, 205 message_type=None, enum_type=None, containing_type=None,
215 is_extension=False, extension_scope=None, 206 is_extension=False, extension_scope=None,
216 options=None), 207 options=None),
217 ], 208 ],
218 extensions=[ 209 extensions=[
219 ], 210 ],
220 nested_types=[], 211 nested_types=[],
221 enum_types=[ 212 enum_types=[
222 ], 213 ],
223 options=None, 214 options=None,
224 is_extendable=False, 215 is_extendable=False,
225 syntax='proto3', 216 syntax='proto3',
226 extension_ranges=[], 217 extension_ranges=[],
227 oneofs=[ 218 oneofs=[
228 ], 219 ],
229 serialized_start=482, 220 serialized_start=418,
230 serialized_end=506, 221 serialized_end=442,
231 ) 222 )
232 223
233 224
234 _STEPFAILURE = _descriptor.Descriptor( 225 _STEPFAILURE = _descriptor.Descriptor(
235 name='StepFailure', 226 name='StepFailure',
236 full_name='recipe_engine.StepFailure', 227 full_name='recipe_engine.StepFailure',
237 filename=None, 228 filename=None,
238 file=DESCRIPTOR, 229 file=DESCRIPTOR,
239 containing_type=None, 230 containing_type=None,
240 fields=[ 231 fields=[
241 _descriptor.FieldDescriptor( 232 _descriptor.FieldDescriptor(
242 name='step', full_name='recipe_engine.StepFailure.step', index=0, 233 name='step', full_name='recipe_engine.StepFailure.step', index=0,
243 number=1, type=9, cpp_type=9, label=1, 234 number=1, type=9, cpp_type=9, label=1,
244 has_default_value=False, default_value=_b("").decode('utf-8'), 235 has_default_value=False, default_value=_b("").decode('utf-8'),
245 message_type=None, enum_type=None, containing_type=None, 236 message_type=None, enum_type=None, containing_type=None,
246 is_extension=False, extension_scope=None, 237 is_extension=False, extension_scope=None,
247 options=None), 238 options=None),
248 ], 239 ],
249 extensions=[ 240 extensions=[
250 ], 241 ],
251 nested_types=[], 242 nested_types=[],
252 enum_types=[ 243 enum_types=[
253 ], 244 ],
254 options=None, 245 options=None,
255 is_extendable=False, 246 is_extendable=False,
256 syntax='proto3', 247 syntax='proto3',
257 extension_ranges=[], 248 extension_ranges=[],
258 oneofs=[ 249 oneofs=[
259 ], 250 ],
260 serialized_start=508, 251 serialized_start=444,
261 serialized_end=535, 252 serialized_end=471,
262 ) 253 )
263 254
264 _RESULT.fields_by_name['failure'].message_type = _FAILURE 255 _RESULT.fields_by_name['failure'].message_type = _FAILURE
265 _RESULT.fields_by_name['recipe_package'].message_type = package__pb2._PACKAGE
266 _RESULT.oneofs_by_name['oneof_result'].fields.append( 256 _RESULT.oneofs_by_name['oneof_result'].fields.append(
267 _RESULT.fields_by_name['json_result']) 257 _RESULT.fields_by_name['json_result'])
268 _RESULT.fields_by_name['json_result'].containing_oneof = _RESULT.oneofs_by_name[ 'oneof_result'] 258 _RESULT.fields_by_name['json_result'].containing_oneof = _RESULT.oneofs_by_name[ 'oneof_result']
269 _RESULT.oneofs_by_name['oneof_result'].fields.append( 259 _RESULT.oneofs_by_name['oneof_result'].fields.append(
270 _RESULT.fields_by_name['failure']) 260 _RESULT.fields_by_name['failure'])
271 _RESULT.fields_by_name['failure'].containing_oneof = _RESULT.oneofs_by_name['one of_result'] 261 _RESULT.fields_by_name['failure'].containing_oneof = _RESULT.oneofs_by_name['one of_result']
272 _FAILURE.fields_by_name['timeout'].message_type = _TIMEOUT 262 _FAILURE.fields_by_name['timeout'].message_type = _TIMEOUT
273 _FAILURE.fields_by_name['exception'].message_type = _EXCEPTION 263 _FAILURE.fields_by_name['exception'].message_type = _EXCEPTION
274 _FAILURE.fields_by_name['step_data'].message_type = _STEPDATA 264 _FAILURE.fields_by_name['step_data'].message_type = _STEPDATA
275 _FAILURE.fields_by_name['failure'].message_type = _STEPFAILURE 265 _FAILURE.fields_by_name['failure'].message_type = _STEPFAILURE
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 319
330 StepFailure = _reflection.GeneratedProtocolMessageType('StepFailure', (_message. Message,), dict( 320 StepFailure = _reflection.GeneratedProtocolMessageType('StepFailure', (_message. Message,), dict(
331 DESCRIPTOR = _STEPFAILURE, 321 DESCRIPTOR = _STEPFAILURE,
332 __module__ = 'result_pb2' 322 __module__ = 'result_pb2'
333 # @@protoc_insertion_point(class_scope:recipe_engine.StepFailure) 323 # @@protoc_insertion_point(class_scope:recipe_engine.StepFailure)
334 )) 324 ))
335 _sym_db.RegisterMessage(StepFailure) 325 _sym_db.RegisterMessage(StepFailure)
336 326
337 327
338 # @@protoc_insertion_point(module_scope) 328 # @@protoc_insertion_point(module_scope)
OLDNEW
« no previous file with comments | « recipe_engine/result.proto ('k') | recipe_engine/run.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698