blob: 7cf2f86ea3695f1ea5bcb4cc5f5f814b7dd85cf2 [file] [log] [blame]
The Android Open Source Projectcf31fe92008-10-21 07:00:00 -07001#!/usr/bin/python2.4
2# Generated by the protocol buffer compiler. DO NOT EDIT!
3
4from froofle.protobuf import descriptor
5from froofle.protobuf import message
6from froofle.protobuf import reflection
7from froofle.protobuf import service
8from froofle.protobuf import service_reflection
9from froofle.protobuf import descriptor_pb2
10
11
12_UPLOADBUNDLERESPONSE_CODETYPE = descriptor.EnumDescriptor(
13 name='CodeType',
14 full_name='codereview.UploadBundleResponse.CodeType',
15 filename='CodeType',
16 values=[
17 descriptor.EnumValueDescriptor(
18 name='RECEIVED', index=0, number=1,
19 options=None,
20 type=None),
21 descriptor.EnumValueDescriptor(
22 name='CONTINUE', index=1, number=4,
23 options=None,
24 type=None),
25 descriptor.EnumValueDescriptor(
26 name='UNAUTHORIZED_USER', index=2, number=7,
27 options=None,
28 type=None),
29 descriptor.EnumValueDescriptor(
Shawn O. Pearceec18b4b2008-11-11 18:45:55 -080030 name='UNKNOWN_CHANGE', index=3, number=9,
The Android Open Source Projectcf31fe92008-10-21 07:00:00 -070031 options=None,
32 type=None),
33 descriptor.EnumValueDescriptor(
Shawn O. Pearceec18b4b2008-11-11 18:45:55 -080034 name='CHANGE_CLOSED', index=4, number=10,
The Android Open Source Projectcf31fe92008-10-21 07:00:00 -070035 options=None,
36 type=None),
37 descriptor.EnumValueDescriptor(
Shawn O. Pearceec18b4b2008-11-11 18:45:55 -080038 name='UNKNOWN_PROJECT', index=5, number=2,
The Android Open Source Projectcf31fe92008-10-21 07:00:00 -070039 options=None,
40 type=None),
41 descriptor.EnumValueDescriptor(
Shawn O. Pearceec18b4b2008-11-11 18:45:55 -080042 name='UNKNOWN_BRANCH', index=6, number=3,
The Android Open Source Projectcf31fe92008-10-21 07:00:00 -070043 options=None,
44 type=None),
45 descriptor.EnumValueDescriptor(
Shawn O. Pearceec18b4b2008-11-11 18:45:55 -080046 name='UNKNOWN_BUNDLE', index=7, number=5,
47 options=None,
48 type=None),
49 descriptor.EnumValueDescriptor(
50 name='NOT_BUNDLE_OWNER', index=8, number=6,
51 options=None,
52 type=None),
53 descriptor.EnumValueDescriptor(
54 name='BUNDLE_CLOSED', index=9, number=8,
The Android Open Source Projectcf31fe92008-10-21 07:00:00 -070055 options=None,
56 type=None),
57 ],
58 options=None,
59)
60
61
Shawn O. Pearceec18b4b2008-11-11 18:45:55 -080062_REPLACEPATCHSET = descriptor.Descriptor(
63 name='ReplacePatchSet',
64 full_name='codereview.ReplacePatchSet',
65 filename='upload_bundle.proto',
66 containing_type=None,
67 fields=[
68 descriptor.FieldDescriptor(
69 name='change_id', full_name='codereview.ReplacePatchSet.change_id', index=0,
70 number=1, type=9, cpp_type=9, label=2,
71 default_value=unicode("", "utf-8"),
72 message_type=None, enum_type=None, containing_type=None,
73 is_extension=False, extension_scope=None,
74 options=None),
75 descriptor.FieldDescriptor(
76 name='object_id', full_name='codereview.ReplacePatchSet.object_id', index=1,
77 number=2, type=9, cpp_type=9, label=2,
78 default_value=unicode("", "utf-8"),
79 message_type=None, enum_type=None, containing_type=None,
80 is_extension=False, extension_scope=None,
81 options=None),
82 ],
83 extensions=[
84 ],
85 nested_types=[], # TODO(robinson): Implement.
86 enum_types=[
87 ],
88 options=None)
89
90
The Android Open Source Projectcf31fe92008-10-21 07:00:00 -070091_UPLOADBUNDLEREQUEST = descriptor.Descriptor(
92 name='UploadBundleRequest',
93 full_name='codereview.UploadBundleRequest',
94 filename='upload_bundle.proto',
95 containing_type=None,
96 fields=[
97 descriptor.FieldDescriptor(
98 name='dest_project', full_name='codereview.UploadBundleRequest.dest_project', index=0,
99 number=10, type=9, cpp_type=9, label=2,
100 default_value=unicode("", "utf-8"),
101 message_type=None, enum_type=None, containing_type=None,
102 is_extension=False, extension_scope=None,
103 options=None),
104 descriptor.FieldDescriptor(
105 name='dest_branch', full_name='codereview.UploadBundleRequest.dest_branch', index=1,
106 number=11, type=9, cpp_type=9, label=2,
107 default_value=unicode("", "utf-8"),
108 message_type=None, enum_type=None, containing_type=None,
109 is_extension=False, extension_scope=None,
110 options=None),
111 descriptor.FieldDescriptor(
112 name='partial_upload', full_name='codereview.UploadBundleRequest.partial_upload', index=2,
113 number=12, type=8, cpp_type=7, label=2,
114 default_value=False,
115 message_type=None, enum_type=None, containing_type=None,
116 is_extension=False, extension_scope=None,
117 options=None),
118 descriptor.FieldDescriptor(
119 name='bundle_data', full_name='codereview.UploadBundleRequest.bundle_data', index=3,
120 number=13, type=12, cpp_type=9, label=2,
121 default_value="",
122 message_type=None, enum_type=None, containing_type=None,
123 is_extension=False, extension_scope=None,
124 options=None),
125 descriptor.FieldDescriptor(
126 name='contained_object', full_name='codereview.UploadBundleRequest.contained_object', index=4,
127 number=1, type=9, cpp_type=9, label=3,
128 default_value=[],
129 message_type=None, enum_type=None, containing_type=None,
130 is_extension=False, extension_scope=None,
131 options=None),
Shawn O. Pearceec18b4b2008-11-11 18:45:55 -0800132 descriptor.FieldDescriptor(
133 name='replace', full_name='codereview.UploadBundleRequest.replace', index=5,
134 number=2, type=11, cpp_type=10, label=3,
135 default_value=[],
136 message_type=None, enum_type=None, containing_type=None,
137 is_extension=False, extension_scope=None,
138 options=None),
The Android Open Source Projectcf31fe92008-10-21 07:00:00 -0700139 ],
140 extensions=[
141 ],
142 nested_types=[], # TODO(robinson): Implement.
143 enum_types=[
144 ],
145 options=None)
146
147
148_UPLOADBUNDLERESPONSE = descriptor.Descriptor(
149 name='UploadBundleResponse',
150 full_name='codereview.UploadBundleResponse',
151 filename='upload_bundle.proto',
152 containing_type=None,
153 fields=[
154 descriptor.FieldDescriptor(
155 name='status_code', full_name='codereview.UploadBundleResponse.status_code', index=0,
156 number=10, type=14, cpp_type=8, label=2,
157 default_value=1,
158 message_type=None, enum_type=None, containing_type=None,
159 is_extension=False, extension_scope=None,
160 options=None),
161 descriptor.FieldDescriptor(
162 name='bundle_id', full_name='codereview.UploadBundleResponse.bundle_id', index=1,
163 number=11, type=9, cpp_type=9, label=1,
164 default_value=unicode("", "utf-8"),
165 message_type=None, enum_type=None, containing_type=None,
166 is_extension=False, extension_scope=None,
167 options=None),
168 ],
169 extensions=[
170 ],
171 nested_types=[], # TODO(robinson): Implement.
172 enum_types=[
173 _UPLOADBUNDLERESPONSE_CODETYPE,
174 ],
175 options=None)
176
177
178_UPLOADBUNDLECONTINUE = descriptor.Descriptor(
179 name='UploadBundleContinue',
180 full_name='codereview.UploadBundleContinue',
181 filename='upload_bundle.proto',
182 containing_type=None,
183 fields=[
184 descriptor.FieldDescriptor(
185 name='bundle_id', full_name='codereview.UploadBundleContinue.bundle_id', index=0,
186 number=10, type=9, cpp_type=9, label=2,
187 default_value=unicode("", "utf-8"),
188 message_type=None, enum_type=None, containing_type=None,
189 is_extension=False, extension_scope=None,
190 options=None),
191 descriptor.FieldDescriptor(
192 name='segment_id', full_name='codereview.UploadBundleContinue.segment_id', index=1,
193 number=11, type=5, cpp_type=1, label=2,
194 default_value=0,
195 message_type=None, enum_type=None, containing_type=None,
196 is_extension=False, extension_scope=None,
197 options=None),
198 descriptor.FieldDescriptor(
199 name='partial_upload', full_name='codereview.UploadBundleContinue.partial_upload', index=2,
200 number=12, type=8, cpp_type=7, label=2,
201 default_value=False,
202 message_type=None, enum_type=None, containing_type=None,
203 is_extension=False, extension_scope=None,
204 options=None),
205 descriptor.FieldDescriptor(
206 name='bundle_data', full_name='codereview.UploadBundleContinue.bundle_data', index=3,
207 number=13, type=12, cpp_type=9, label=1,
208 default_value="",
209 message_type=None, enum_type=None, containing_type=None,
210 is_extension=False, extension_scope=None,
211 options=None),
212 ],
213 extensions=[
214 ],
215 nested_types=[], # TODO(robinson): Implement.
216 enum_types=[
217 ],
218 options=None)
219
220
Shawn O. Pearceec18b4b2008-11-11 18:45:55 -0800221_UPLOADBUNDLEREQUEST.fields_by_name['replace'].message_type = _REPLACEPATCHSET
The Android Open Source Projectcf31fe92008-10-21 07:00:00 -0700222_UPLOADBUNDLERESPONSE.fields_by_name['status_code'].enum_type = _UPLOADBUNDLERESPONSE_CODETYPE
223
Shawn O. Pearceec18b4b2008-11-11 18:45:55 -0800224class ReplacePatchSet(message.Message):
225 __metaclass__ = reflection.GeneratedProtocolMessageType
226 DESCRIPTOR = _REPLACEPATCHSET
227
The Android Open Source Projectcf31fe92008-10-21 07:00:00 -0700228class UploadBundleRequest(message.Message):
229 __metaclass__ = reflection.GeneratedProtocolMessageType
230 DESCRIPTOR = _UPLOADBUNDLEREQUEST
231
232class UploadBundleResponse(message.Message):
233 __metaclass__ = reflection.GeneratedProtocolMessageType
234 DESCRIPTOR = _UPLOADBUNDLERESPONSE
235
236class UploadBundleContinue(message.Message):
237 __metaclass__ = reflection.GeneratedProtocolMessageType
238 DESCRIPTOR = _UPLOADBUNDLECONTINUE
239