blob: 48c365127a68b36c5c50b1a2b8909ddc4405cda0 [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(
30 name='UNKNOWN_PROJECT', index=3, number=2,
31 options=None,
32 type=None),
33 descriptor.EnumValueDescriptor(
34 name='UNKNOWN_BRANCH', index=4, number=3,
35 options=None,
36 type=None),
37 descriptor.EnumValueDescriptor(
38 name='UNKNOWN_BUNDLE', index=5, number=5,
39 options=None,
40 type=None),
41 descriptor.EnumValueDescriptor(
42 name='NOT_BUNDLE_OWNER', index=6, number=6,
43 options=None,
44 type=None),
45 descriptor.EnumValueDescriptor(
46 name='BUNDLE_CLOSED', index=7, number=8,
47 options=None,
48 type=None),
49 ],
50 options=None,
51)
52
53
54_UPLOADBUNDLEREQUEST = descriptor.Descriptor(
55 name='UploadBundleRequest',
56 full_name='codereview.UploadBundleRequest',
57 filename='upload_bundle.proto',
58 containing_type=None,
59 fields=[
60 descriptor.FieldDescriptor(
61 name='dest_project', full_name='codereview.UploadBundleRequest.dest_project', index=0,
62 number=10, type=9, cpp_type=9, label=2,
63 default_value=unicode("", "utf-8"),
64 message_type=None, enum_type=None, containing_type=None,
65 is_extension=False, extension_scope=None,
66 options=None),
67 descriptor.FieldDescriptor(
68 name='dest_branch', full_name='codereview.UploadBundleRequest.dest_branch', index=1,
69 number=11, type=9, cpp_type=9, label=2,
70 default_value=unicode("", "utf-8"),
71 message_type=None, enum_type=None, containing_type=None,
72 is_extension=False, extension_scope=None,
73 options=None),
74 descriptor.FieldDescriptor(
75 name='partial_upload', full_name='codereview.UploadBundleRequest.partial_upload', index=2,
76 number=12, type=8, cpp_type=7, label=2,
77 default_value=False,
78 message_type=None, enum_type=None, containing_type=None,
79 is_extension=False, extension_scope=None,
80 options=None),
81 descriptor.FieldDescriptor(
82 name='bundle_data', full_name='codereview.UploadBundleRequest.bundle_data', index=3,
83 number=13, type=12, cpp_type=9, label=2,
84 default_value="",
85 message_type=None, enum_type=None, containing_type=None,
86 is_extension=False, extension_scope=None,
87 options=None),
88 descriptor.FieldDescriptor(
89 name='contained_object', full_name='codereview.UploadBundleRequest.contained_object', index=4,
90 number=1, type=9, cpp_type=9, label=3,
91 default_value=[],
92 message_type=None, enum_type=None, containing_type=None,
93 is_extension=False, extension_scope=None,
94 options=None),
95 ],
96 extensions=[
97 ],
98 nested_types=[], # TODO(robinson): Implement.
99 enum_types=[
100 ],
101 options=None)
102
103
104_UPLOADBUNDLERESPONSE = descriptor.Descriptor(
105 name='UploadBundleResponse',
106 full_name='codereview.UploadBundleResponse',
107 filename='upload_bundle.proto',
108 containing_type=None,
109 fields=[
110 descriptor.FieldDescriptor(
111 name='status_code', full_name='codereview.UploadBundleResponse.status_code', index=0,
112 number=10, type=14, cpp_type=8, label=2,
113 default_value=1,
114 message_type=None, enum_type=None, containing_type=None,
115 is_extension=False, extension_scope=None,
116 options=None),
117 descriptor.FieldDescriptor(
118 name='bundle_id', full_name='codereview.UploadBundleResponse.bundle_id', index=1,
119 number=11, type=9, cpp_type=9, label=1,
120 default_value=unicode("", "utf-8"),
121 message_type=None, enum_type=None, containing_type=None,
122 is_extension=False, extension_scope=None,
123 options=None),
124 ],
125 extensions=[
126 ],
127 nested_types=[], # TODO(robinson): Implement.
128 enum_types=[
129 _UPLOADBUNDLERESPONSE_CODETYPE,
130 ],
131 options=None)
132
133
134_UPLOADBUNDLECONTINUE = descriptor.Descriptor(
135 name='UploadBundleContinue',
136 full_name='codereview.UploadBundleContinue',
137 filename='upload_bundle.proto',
138 containing_type=None,
139 fields=[
140 descriptor.FieldDescriptor(
141 name='bundle_id', full_name='codereview.UploadBundleContinue.bundle_id', index=0,
142 number=10, type=9, cpp_type=9, label=2,
143 default_value=unicode("", "utf-8"),
144 message_type=None, enum_type=None, containing_type=None,
145 is_extension=False, extension_scope=None,
146 options=None),
147 descriptor.FieldDescriptor(
148 name='segment_id', full_name='codereview.UploadBundleContinue.segment_id', index=1,
149 number=11, type=5, cpp_type=1, label=2,
150 default_value=0,
151 message_type=None, enum_type=None, containing_type=None,
152 is_extension=False, extension_scope=None,
153 options=None),
154 descriptor.FieldDescriptor(
155 name='partial_upload', full_name='codereview.UploadBundleContinue.partial_upload', index=2,
156 number=12, type=8, cpp_type=7, label=2,
157 default_value=False,
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_data', full_name='codereview.UploadBundleContinue.bundle_data', index=3,
163 number=13, type=12, cpp_type=9, label=1,
164 default_value="",
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 ],
174 options=None)
175
176
177_UPLOADBUNDLERESPONSE.fields_by_name['status_code'].enum_type = _UPLOADBUNDLERESPONSE_CODETYPE
178
179class UploadBundleRequest(message.Message):
180 __metaclass__ = reflection.GeneratedProtocolMessageType
181 DESCRIPTOR = _UPLOADBUNDLEREQUEST
182
183class UploadBundleResponse(message.Message):
184 __metaclass__ = reflection.GeneratedProtocolMessageType
185 DESCRIPTOR = _UPLOADBUNDLERESPONSE
186
187class UploadBundleContinue(message.Message):
188 __metaclass__ = reflection.GeneratedProtocolMessageType
189 DESCRIPTOR = _UPLOADBUNDLECONTINUE
190