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

Side by Side Diff: recipe_engine/source_manifest_pb2.py

Issue 2998523002: Add deployment manifest proto to recipe_engine. (Closed)
Patch Set: Rename some stuff Created 3 years, 4 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
(Empty)
1 # Generated by the protocol buffer compiler. DO NOT EDIT!
2 # source: source_manifest.proto
3
4 import sys
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
7 from google.protobuf import message as _message
8 from google.protobuf import reflection as _reflection
9 from google.protobuf import symbol_database as _symbol_database
10 from google.protobuf import descriptor_pb2
11 # @@protoc_insertion_point(imports)
12
13 _sym_db = _symbol_database.Default()
14
15
16
17
18 DESCRIPTOR = _descriptor.FileDescriptor(
19 name='source_manifest.proto',
20 package='',
21 syntax='proto3',
22 serialized_pb=_b('\n\x15source_manifest.proto\"\xb0\x04\n\x08Manifest\x12\x0f\ n\x07version\x18\x01 \x01(\x05\x12)\n\x0b\x64\x65ployments\x18\x02 \x03(\x0b\x32 \x14.Manifest.Deployment\x1aZ\n\x0bGitCheckout\x12\x10\n\x08repo_url\x18\x01 \x0 1(\t\x12\x11\n\tfetch_url\x18\x02 \x01(\t\x12\x10\n\x08revision\x18\x03 \x01(\x0 c\x12\x14\n\x0ctracking_ref\x18\x04 \x01(\t\x1a\x8f\x01\n\x0b\x43IPDPackage\x12\ x17\n\x0f\x63ipd_server_url\x18\x01 \x01(\t\x12\x19\n\x11\x63ipd_package_name\x1 8\x02 \x01(\t\x12\x1c\n\x14\x63ipd_package_pattern\x18\x03 \x01(\t\x12\x18\n\x10 \x63ipd_instance_id\x18\x04 \x01(\x0c\x12\x14\n\x0c\x63ipd_version\x18\x05 \x01( \t\x1a>\n\x08Isolated\x12\x1b\n\x13isolated_server_url\x18\x01 \x01(\t\x12\x15\n \risolated_hash\x18\x02 \x01(\x0c\x1a\xb9\x01\n\nDeployment\x12\x12\n\nlocal_pat h\x18\x01 \x01(\t\x12-\n\x0cgit_checkout\x18\x02 \x01(\x0b\x32\x15.Manifest.GitC heckoutH\x00\x12-\n\x0c\x63ipd_package\x18\x03 \x01(\x0b\x32\x15.Manifest.CIPDPa ckageH\x00\x12&\n\x08isolated\x18\x04 \x01(\x0b\x32\x12.Manifest.IsolatedH\x00\x 42\x11\n\x0f\x64\x65ployment_typeb\x06proto3')
23 )
24 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
25
26
27
28
29 _MANIFEST_GITCHECKOUT = _descriptor.Descriptor(
30 name='GitCheckout',
31 full_name='Manifest.GitCheckout',
32 filename=None,
33 file=DESCRIPTOR,
34 containing_type=None,
35 fields=[
36 _descriptor.FieldDescriptor(
37 name='repo_url', full_name='Manifest.GitCheckout.repo_url', index=0,
38 number=1, type=9, cpp_type=9, label=1,
39 has_default_value=False, default_value=_b("").decode('utf-8'),
40 message_type=None, enum_type=None, containing_type=None,
41 is_extension=False, extension_scope=None,
42 options=None),
43 _descriptor.FieldDescriptor(
44 name='fetch_url', full_name='Manifest.GitCheckout.fetch_url', index=1,
45 number=2, type=9, cpp_type=9, label=1,
46 has_default_value=False, default_value=_b("").decode('utf-8'),
47 message_type=None, enum_type=None, containing_type=None,
48 is_extension=False, extension_scope=None,
49 options=None),
50 _descriptor.FieldDescriptor(
51 name='revision', full_name='Manifest.GitCheckout.revision', index=2,
52 number=3, type=12, cpp_type=9, label=1,
53 has_default_value=False, default_value=_b(""),
54 message_type=None, enum_type=None, containing_type=None,
55 is_extension=False, extension_scope=None,
56 options=None),
57 _descriptor.FieldDescriptor(
58 name='tracking_ref', full_name='Manifest.GitCheckout.tracking_ref', index= 3,
59 number=4, type=9, cpp_type=9, label=1,
60 has_default_value=False, default_value=_b("").decode('utf-8'),
61 message_type=None, enum_type=None, containing_type=None,
62 is_extension=False, extension_scope=None,
63 options=None),
64 ],
65 extensions=[
66 ],
67 nested_types=[],
68 enum_types=[
69 ],
70 options=None,
71 is_extendable=False,
72 syntax='proto3',
73 extension_ranges=[],
74 oneofs=[
75 ],
76 serialized_start=98,
77 serialized_end=188,
78 )
79
80 _MANIFEST_CIPDPACKAGE = _descriptor.Descriptor(
81 name='CIPDPackage',
82 full_name='Manifest.CIPDPackage',
83 filename=None,
84 file=DESCRIPTOR,
85 containing_type=None,
86 fields=[
87 _descriptor.FieldDescriptor(
88 name='cipd_server_url', full_name='Manifest.CIPDPackage.cipd_server_url', index=0,
89 number=1, type=9, cpp_type=9, label=1,
90 has_default_value=False, default_value=_b("").decode('utf-8'),
91 message_type=None, enum_type=None, containing_type=None,
92 is_extension=False, extension_scope=None,
93 options=None),
94 _descriptor.FieldDescriptor(
95 name='cipd_package_name', full_name='Manifest.CIPDPackage.cipd_package_nam e', index=1,
96 number=2, type=9, cpp_type=9, label=1,
97 has_default_value=False, default_value=_b("").decode('utf-8'),
98 message_type=None, enum_type=None, containing_type=None,
99 is_extension=False, extension_scope=None,
100 options=None),
101 _descriptor.FieldDescriptor(
102 name='cipd_package_pattern', full_name='Manifest.CIPDPackage.cipd_package_ pattern', index=2,
103 number=3, type=9, cpp_type=9, label=1,
104 has_default_value=False, default_value=_b("").decode('utf-8'),
105 message_type=None, enum_type=None, containing_type=None,
106 is_extension=False, extension_scope=None,
107 options=None),
108 _descriptor.FieldDescriptor(
109 name='cipd_instance_id', full_name='Manifest.CIPDPackage.cipd_instance_id' , index=3,
110 number=4, type=12, cpp_type=9, label=1,
111 has_default_value=False, default_value=_b(""),
112 message_type=None, enum_type=None, containing_type=None,
113 is_extension=False, extension_scope=None,
114 options=None),
115 _descriptor.FieldDescriptor(
116 name='cipd_version', full_name='Manifest.CIPDPackage.cipd_version', index= 4,
117 number=5, type=9, cpp_type=9, label=1,
118 has_default_value=False, default_value=_b("").decode('utf-8'),
119 message_type=None, enum_type=None, containing_type=None,
120 is_extension=False, extension_scope=None,
121 options=None),
122 ],
123 extensions=[
124 ],
125 nested_types=[],
126 enum_types=[
127 ],
128 options=None,
129 is_extendable=False,
130 syntax='proto3',
131 extension_ranges=[],
132 oneofs=[
133 ],
134 serialized_start=191,
135 serialized_end=334,
136 )
137
138 _MANIFEST_ISOLATED = _descriptor.Descriptor(
139 name='Isolated',
140 full_name='Manifest.Isolated',
141 filename=None,
142 file=DESCRIPTOR,
143 containing_type=None,
144 fields=[
145 _descriptor.FieldDescriptor(
146 name='isolated_server_url', full_name='Manifest.Isolated.isolated_server_u rl', index=0,
147 number=1, type=9, cpp_type=9, label=1,
148 has_default_value=False, default_value=_b("").decode('utf-8'),
149 message_type=None, enum_type=None, containing_type=None,
150 is_extension=False, extension_scope=None,
151 options=None),
152 _descriptor.FieldDescriptor(
153 name='isolated_hash', full_name='Manifest.Isolated.isolated_hash', index=1 ,
154 number=2, type=12, cpp_type=9, label=1,
155 has_default_value=False, default_value=_b(""),
156 message_type=None, enum_type=None, containing_type=None,
157 is_extension=False, extension_scope=None,
158 options=None),
159 ],
160 extensions=[
161 ],
162 nested_types=[],
163 enum_types=[
164 ],
165 options=None,
166 is_extendable=False,
167 syntax='proto3',
168 extension_ranges=[],
169 oneofs=[
170 ],
171 serialized_start=336,
172 serialized_end=398,
173 )
174
175 _MANIFEST_DEPLOYMENT = _descriptor.Descriptor(
176 name='Deployment',
177 full_name='Manifest.Deployment',
178 filename=None,
179 file=DESCRIPTOR,
180 containing_type=None,
181 fields=[
182 _descriptor.FieldDescriptor(
183 name='local_path', full_name='Manifest.Deployment.local_path', index=0,
184 number=1, type=9, cpp_type=9, label=1,
185 has_default_value=False, default_value=_b("").decode('utf-8'),
186 message_type=None, enum_type=None, containing_type=None,
187 is_extension=False, extension_scope=None,
188 options=None),
189 _descriptor.FieldDescriptor(
190 name='git_checkout', full_name='Manifest.Deployment.git_checkout', index=1 ,
191 number=2, type=11, cpp_type=10, label=1,
192 has_default_value=False, default_value=None,
193 message_type=None, enum_type=None, containing_type=None,
194 is_extension=False, extension_scope=None,
195 options=None),
196 _descriptor.FieldDescriptor(
197 name='cipd_package', full_name='Manifest.Deployment.cipd_package', index=2 ,
198 number=3, type=11, cpp_type=10, label=1,
199 has_default_value=False, default_value=None,
200 message_type=None, enum_type=None, containing_type=None,
201 is_extension=False, extension_scope=None,
202 options=None),
203 _descriptor.FieldDescriptor(
204 name='isolated', full_name='Manifest.Deployment.isolated', index=3,
205 number=4, type=11, cpp_type=10, label=1,
206 has_default_value=False, default_value=None,
207 message_type=None, enum_type=None, containing_type=None,
208 is_extension=False, extension_scope=None,
209 options=None),
210 ],
211 extensions=[
212 ],
213 nested_types=[],
214 enum_types=[
215 ],
216 options=None,
217 is_extendable=False,
218 syntax='proto3',
219 extension_ranges=[],
220 oneofs=[
221 _descriptor.OneofDescriptor(
222 name='deployment_type', full_name='Manifest.Deployment.deployment_type',
223 index=0, containing_type=None, fields=[]),
224 ],
225 serialized_start=401,
226 serialized_end=586,
227 )
228
229 _MANIFEST = _descriptor.Descriptor(
230 name='Manifest',
231 full_name='Manifest',
232 filename=None,
233 file=DESCRIPTOR,
234 containing_type=None,
235 fields=[
236 _descriptor.FieldDescriptor(
237 name='version', full_name='Manifest.version', index=0,
238 number=1, type=5, cpp_type=1, label=1,
239 has_default_value=False, default_value=0,
240 message_type=None, enum_type=None, containing_type=None,
241 is_extension=False, extension_scope=None,
242 options=None),
243 _descriptor.FieldDescriptor(
244 name='deployments', full_name='Manifest.deployments', index=1,
245 number=2, type=11, cpp_type=10, label=3,
246 has_default_value=False, default_value=[],
247 message_type=None, enum_type=None, containing_type=None,
248 is_extension=False, extension_scope=None,
249 options=None),
250 ],
251 extensions=[
252 ],
253 nested_types=[_MANIFEST_GITCHECKOUT, _MANIFEST_CIPDPACKAGE, _MANIFEST_ISOLATED , _MANIFEST_DEPLOYMENT, ],
254 enum_types=[
255 ],
256 options=None,
257 is_extendable=False,
258 syntax='proto3',
259 extension_ranges=[],
260 oneofs=[
261 ],
262 serialized_start=26,
263 serialized_end=586,
264 )
265
266 _MANIFEST_GITCHECKOUT.containing_type = _MANIFEST
267 _MANIFEST_CIPDPACKAGE.containing_type = _MANIFEST
268 _MANIFEST_ISOLATED.containing_type = _MANIFEST
269 _MANIFEST_DEPLOYMENT.fields_by_name['git_checkout'].message_type = _MANIFEST_GIT CHECKOUT
270 _MANIFEST_DEPLOYMENT.fields_by_name['cipd_package'].message_type = _MANIFEST_CIP DPACKAGE
271 _MANIFEST_DEPLOYMENT.fields_by_name['isolated'].message_type = _MANIFEST_ISOLATE D
272 _MANIFEST_DEPLOYMENT.containing_type = _MANIFEST
273 _MANIFEST_DEPLOYMENT.oneofs_by_name['deployment_type'].fields.append(
274 _MANIFEST_DEPLOYMENT.fields_by_name['git_checkout'])
275 _MANIFEST_DEPLOYMENT.fields_by_name['git_checkout'].containing_oneof = _MANIFEST _DEPLOYMENT.oneofs_by_name['deployment_type']
276 _MANIFEST_DEPLOYMENT.oneofs_by_name['deployment_type'].fields.append(
277 _MANIFEST_DEPLOYMENT.fields_by_name['cipd_package'])
278 _MANIFEST_DEPLOYMENT.fields_by_name['cipd_package'].containing_oneof = _MANIFEST _DEPLOYMENT.oneofs_by_name['deployment_type']
279 _MANIFEST_DEPLOYMENT.oneofs_by_name['deployment_type'].fields.append(
280 _MANIFEST_DEPLOYMENT.fields_by_name['isolated'])
281 _MANIFEST_DEPLOYMENT.fields_by_name['isolated'].containing_oneof = _MANIFEST_DEP LOYMENT.oneofs_by_name['deployment_type']
282 _MANIFEST.fields_by_name['deployments'].message_type = _MANIFEST_DEPLOYMENT
283 DESCRIPTOR.message_types_by_name['Manifest'] = _MANIFEST
284
285 Manifest = _reflection.GeneratedProtocolMessageType('Manifest', (_message.Messag e,), dict(
286
287 GitCheckout = _reflection.GeneratedProtocolMessageType('GitCheckout', (_messag e.Message,), dict(
288 DESCRIPTOR = _MANIFEST_GITCHECKOUT,
289 __module__ = 'source_manifest_pb2'
290 # @@protoc_insertion_point(class_scope:Manifest.GitCheckout)
291 ))
292 ,
293
294 CIPDPackage = _reflection.GeneratedProtocolMessageType('CIPDPackage', (_messag e.Message,), dict(
295 DESCRIPTOR = _MANIFEST_CIPDPACKAGE,
296 __module__ = 'source_manifest_pb2'
297 # @@protoc_insertion_point(class_scope:Manifest.CIPDPackage)
298 ))
299 ,
300
301 Isolated = _reflection.GeneratedProtocolMessageType('Isolated', (_message.Mess age,), dict(
302 DESCRIPTOR = _MANIFEST_ISOLATED,
303 __module__ = 'source_manifest_pb2'
304 # @@protoc_insertion_point(class_scope:Manifest.Isolated)
305 ))
306 ,
307
308 Deployment = _reflection.GeneratedProtocolMessageType('Deployment', (_message. Message,), dict(
309 DESCRIPTOR = _MANIFEST_DEPLOYMENT,
310 __module__ = 'source_manifest_pb2'
311 # @@protoc_insertion_point(class_scope:Manifest.Deployment)
312 ))
313 ,
314 DESCRIPTOR = _MANIFEST,
315 __module__ = 'source_manifest_pb2'
316 # @@protoc_insertion_point(class_scope:Manifest)
317 ))
318 _sym_db.RegisterMessage(Manifest)
319 _sym_db.RegisterMessage(Manifest.GitCheckout)
320 _sym_db.RegisterMessage(Manifest.CIPDPackage)
321 _sym_db.RegisterMessage(Manifest.Isolated)
322 _sym_db.RegisterMessage(Manifest.Deployment)
323
324
325 # @@protoc_insertion_point(module_scope)
OLDNEW
« recipe_engine/source_manifest.proto ('K') | « recipe_engine/source_manifest.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698