The Android Open Source Project | cf31fe9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 1 | #!/usr/bin/python2.4 |
| 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 3 | |
| 4 | from froofle.protobuf import descriptor |
| 5 | from froofle.protobuf import message |
| 6 | from froofle.protobuf import reflection |
| 7 | from froofle.protobuf import service |
| 8 | from froofle.protobuf import service_reflection |
| 9 | from 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. Pearce | ec18b4b | 2008-11-11 18:45:55 -0800 | [diff] [blame] | 30 | name='UNKNOWN_CHANGE', index=3, number=9, |
The Android Open Source Project | cf31fe9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 31 | options=None, |
| 32 | type=None), |
| 33 | descriptor.EnumValueDescriptor( |
Shawn O. Pearce | ec18b4b | 2008-11-11 18:45:55 -0800 | [diff] [blame] | 34 | name='CHANGE_CLOSED', index=4, number=10, |
The Android Open Source Project | cf31fe9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 35 | options=None, |
| 36 | type=None), |
| 37 | descriptor.EnumValueDescriptor( |
Joe Onorato | 2896a79 | 2008-11-17 16:56:36 -0500 | [diff] [blame] | 38 | name='UNKNOWN_EMAIL', index=5, number=11, |
The Android Open Source Project | cf31fe9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 39 | options=None, |
| 40 | type=None), |
| 41 | descriptor.EnumValueDescriptor( |
Joe Onorato | 2896a79 | 2008-11-17 16:56:36 -0500 | [diff] [blame] | 42 | name='UNKNOWN_PROJECT', index=6, number=2, |
The Android Open Source Project | cf31fe9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 43 | options=None, |
| 44 | type=None), |
| 45 | descriptor.EnumValueDescriptor( |
Joe Onorato | 2896a79 | 2008-11-17 16:56:36 -0500 | [diff] [blame] | 46 | name='UNKNOWN_BRANCH', index=7, number=3, |
Shawn O. Pearce | ec18b4b | 2008-11-11 18:45:55 -0800 | [diff] [blame] | 47 | options=None, |
| 48 | type=None), |
| 49 | descriptor.EnumValueDescriptor( |
Joe Onorato | 2896a79 | 2008-11-17 16:56:36 -0500 | [diff] [blame] | 50 | name='UNKNOWN_BUNDLE', index=8, number=5, |
Shawn O. Pearce | ec18b4b | 2008-11-11 18:45:55 -0800 | [diff] [blame] | 51 | options=None, |
| 52 | type=None), |
| 53 | descriptor.EnumValueDescriptor( |
Joe Onorato | 2896a79 | 2008-11-17 16:56:36 -0500 | [diff] [blame] | 54 | name='NOT_BUNDLE_OWNER', index=9, number=6, |
| 55 | options=None, |
| 56 | type=None), |
| 57 | descriptor.EnumValueDescriptor( |
| 58 | name='BUNDLE_CLOSED', index=10, number=8, |
The Android Open Source Project | cf31fe9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 59 | options=None, |
| 60 | type=None), |
| 61 | ], |
| 62 | options=None, |
| 63 | ) |
| 64 | |
| 65 | |
Shawn O. Pearce | ec18b4b | 2008-11-11 18:45:55 -0800 | [diff] [blame] | 66 | _REPLACEPATCHSET = descriptor.Descriptor( |
| 67 | name='ReplacePatchSet', |
| 68 | full_name='codereview.ReplacePatchSet', |
| 69 | filename='upload_bundle.proto', |
| 70 | containing_type=None, |
| 71 | fields=[ |
| 72 | descriptor.FieldDescriptor( |
| 73 | name='change_id', full_name='codereview.ReplacePatchSet.change_id', index=0, |
| 74 | number=1, type=9, cpp_type=9, label=2, |
| 75 | default_value=unicode("", "utf-8"), |
| 76 | message_type=None, enum_type=None, containing_type=None, |
| 77 | is_extension=False, extension_scope=None, |
| 78 | options=None), |
| 79 | descriptor.FieldDescriptor( |
| 80 | name='object_id', full_name='codereview.ReplacePatchSet.object_id', index=1, |
| 81 | number=2, type=9, cpp_type=9, label=2, |
| 82 | default_value=unicode("", "utf-8"), |
| 83 | message_type=None, enum_type=None, containing_type=None, |
| 84 | is_extension=False, extension_scope=None, |
| 85 | options=None), |
| 86 | ], |
| 87 | extensions=[ |
| 88 | ], |
| 89 | nested_types=[], # TODO(robinson): Implement. |
| 90 | enum_types=[ |
| 91 | ], |
| 92 | options=None) |
| 93 | |
| 94 | |
The Android Open Source Project | cf31fe9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 95 | _UPLOADBUNDLEREQUEST = descriptor.Descriptor( |
| 96 | name='UploadBundleRequest', |
| 97 | full_name='codereview.UploadBundleRequest', |
| 98 | filename='upload_bundle.proto', |
| 99 | containing_type=None, |
| 100 | fields=[ |
| 101 | descriptor.FieldDescriptor( |
| 102 | name='dest_project', full_name='codereview.UploadBundleRequest.dest_project', index=0, |
| 103 | number=10, type=9, cpp_type=9, label=2, |
| 104 | default_value=unicode("", "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='dest_branch', full_name='codereview.UploadBundleRequest.dest_branch', index=1, |
| 110 | number=11, type=9, cpp_type=9, label=2, |
| 111 | default_value=unicode("", "utf-8"), |
| 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='partial_upload', full_name='codereview.UploadBundleRequest.partial_upload', index=2, |
| 117 | number=12, type=8, cpp_type=7, label=2, |
| 118 | default_value=False, |
| 119 | message_type=None, enum_type=None, containing_type=None, |
| 120 | is_extension=False, extension_scope=None, |
| 121 | options=None), |
| 122 | descriptor.FieldDescriptor( |
| 123 | name='bundle_data', full_name='codereview.UploadBundleRequest.bundle_data', index=3, |
| 124 | number=13, type=12, cpp_type=9, label=2, |
| 125 | default_value="", |
| 126 | message_type=None, enum_type=None, containing_type=None, |
| 127 | is_extension=False, extension_scope=None, |
| 128 | options=None), |
| 129 | descriptor.FieldDescriptor( |
| 130 | name='contained_object', full_name='codereview.UploadBundleRequest.contained_object', index=4, |
| 131 | number=1, type=9, cpp_type=9, label=3, |
| 132 | default_value=[], |
| 133 | message_type=None, enum_type=None, containing_type=None, |
| 134 | is_extension=False, extension_scope=None, |
| 135 | options=None), |
Shawn O. Pearce | ec18b4b | 2008-11-11 18:45:55 -0800 | [diff] [blame] | 136 | descriptor.FieldDescriptor( |
| 137 | name='replace', full_name='codereview.UploadBundleRequest.replace', index=5, |
| 138 | number=2, type=11, cpp_type=10, label=3, |
| 139 | default_value=[], |
| 140 | message_type=None, enum_type=None, containing_type=None, |
| 141 | is_extension=False, extension_scope=None, |
| 142 | options=None), |
Joe Onorato | 2896a79 | 2008-11-17 16:56:36 -0500 | [diff] [blame] | 143 | descriptor.FieldDescriptor( |
| 144 | name='reviewers', full_name='codereview.UploadBundleRequest.reviewers', index=6, |
| 145 | number=3, type=9, cpp_type=9, label=3, |
| 146 | default_value=[], |
| 147 | message_type=None, enum_type=None, containing_type=None, |
| 148 | is_extension=False, extension_scope=None, |
| 149 | options=None), |
| 150 | descriptor.FieldDescriptor( |
| 151 | name='cc', full_name='codereview.UploadBundleRequest.cc', index=7, |
| 152 | number=4, type=9, cpp_type=9, label=3, |
| 153 | default_value=[], |
| 154 | message_type=None, enum_type=None, containing_type=None, |
| 155 | is_extension=False, extension_scope=None, |
| 156 | options=None), |
The Android Open Source Project | cf31fe9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 157 | ], |
| 158 | extensions=[ |
| 159 | ], |
| 160 | nested_types=[], # TODO(robinson): Implement. |
| 161 | enum_types=[ |
| 162 | ], |
| 163 | options=None) |
| 164 | |
| 165 | |
| 166 | _UPLOADBUNDLERESPONSE = descriptor.Descriptor( |
| 167 | name='UploadBundleResponse', |
| 168 | full_name='codereview.UploadBundleResponse', |
| 169 | filename='upload_bundle.proto', |
| 170 | containing_type=None, |
| 171 | fields=[ |
| 172 | descriptor.FieldDescriptor( |
| 173 | name='status_code', full_name='codereview.UploadBundleResponse.status_code', index=0, |
| 174 | number=10, type=14, cpp_type=8, label=2, |
| 175 | default_value=1, |
| 176 | message_type=None, enum_type=None, containing_type=None, |
| 177 | is_extension=False, extension_scope=None, |
| 178 | options=None), |
| 179 | descriptor.FieldDescriptor( |
| 180 | name='bundle_id', full_name='codereview.UploadBundleResponse.bundle_id', index=1, |
| 181 | number=11, type=9, cpp_type=9, label=1, |
| 182 | default_value=unicode("", "utf-8"), |
| 183 | message_type=None, enum_type=None, containing_type=None, |
| 184 | is_extension=False, extension_scope=None, |
| 185 | options=None), |
Joe Onorato | 2896a79 | 2008-11-17 16:56:36 -0500 | [diff] [blame] | 186 | descriptor.FieldDescriptor( |
| 187 | name='invalid_reviewers', full_name='codereview.UploadBundleResponse.invalid_reviewers', index=2, |
| 188 | number=12, type=9, cpp_type=9, label=3, |
| 189 | default_value=[], |
| 190 | message_type=None, enum_type=None, containing_type=None, |
| 191 | is_extension=False, extension_scope=None, |
| 192 | options=None), |
| 193 | descriptor.FieldDescriptor( |
| 194 | name='invalid_cc', full_name='codereview.UploadBundleResponse.invalid_cc', index=3, |
| 195 | number=13, type=9, cpp_type=9, label=3, |
| 196 | default_value=[], |
| 197 | message_type=None, enum_type=None, containing_type=None, |
| 198 | is_extension=False, extension_scope=None, |
| 199 | options=None), |
The Android Open Source Project | cf31fe9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 200 | ], |
| 201 | extensions=[ |
| 202 | ], |
| 203 | nested_types=[], # TODO(robinson): Implement. |
| 204 | enum_types=[ |
| 205 | _UPLOADBUNDLERESPONSE_CODETYPE, |
| 206 | ], |
| 207 | options=None) |
| 208 | |
| 209 | |
| 210 | _UPLOADBUNDLECONTINUE = descriptor.Descriptor( |
| 211 | name='UploadBundleContinue', |
| 212 | full_name='codereview.UploadBundleContinue', |
| 213 | filename='upload_bundle.proto', |
| 214 | containing_type=None, |
| 215 | fields=[ |
| 216 | descriptor.FieldDescriptor( |
| 217 | name='bundle_id', full_name='codereview.UploadBundleContinue.bundle_id', index=0, |
| 218 | number=10, type=9, cpp_type=9, label=2, |
| 219 | default_value=unicode("", "utf-8"), |
| 220 | message_type=None, enum_type=None, containing_type=None, |
| 221 | is_extension=False, extension_scope=None, |
| 222 | options=None), |
| 223 | descriptor.FieldDescriptor( |
| 224 | name='segment_id', full_name='codereview.UploadBundleContinue.segment_id', index=1, |
| 225 | number=11, type=5, cpp_type=1, label=2, |
| 226 | default_value=0, |
| 227 | message_type=None, enum_type=None, containing_type=None, |
| 228 | is_extension=False, extension_scope=None, |
| 229 | options=None), |
| 230 | descriptor.FieldDescriptor( |
| 231 | name='partial_upload', full_name='codereview.UploadBundleContinue.partial_upload', index=2, |
| 232 | number=12, type=8, cpp_type=7, label=2, |
| 233 | default_value=False, |
| 234 | message_type=None, enum_type=None, containing_type=None, |
| 235 | is_extension=False, extension_scope=None, |
| 236 | options=None), |
| 237 | descriptor.FieldDescriptor( |
| 238 | name='bundle_data', full_name='codereview.UploadBundleContinue.bundle_data', index=3, |
| 239 | number=13, type=12, cpp_type=9, label=1, |
| 240 | default_value="", |
| 241 | message_type=None, enum_type=None, containing_type=None, |
| 242 | is_extension=False, extension_scope=None, |
| 243 | options=None), |
| 244 | ], |
| 245 | extensions=[ |
| 246 | ], |
| 247 | nested_types=[], # TODO(robinson): Implement. |
| 248 | enum_types=[ |
| 249 | ], |
| 250 | options=None) |
| 251 | |
| 252 | |
Shawn O. Pearce | ec18b4b | 2008-11-11 18:45:55 -0800 | [diff] [blame] | 253 | _UPLOADBUNDLEREQUEST.fields_by_name['replace'].message_type = _REPLACEPATCHSET |
The Android Open Source Project | cf31fe9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 254 | _UPLOADBUNDLERESPONSE.fields_by_name['status_code'].enum_type = _UPLOADBUNDLERESPONSE_CODETYPE |
| 255 | |
Shawn O. Pearce | ec18b4b | 2008-11-11 18:45:55 -0800 | [diff] [blame] | 256 | class ReplacePatchSet(message.Message): |
| 257 | __metaclass__ = reflection.GeneratedProtocolMessageType |
| 258 | DESCRIPTOR = _REPLACEPATCHSET |
| 259 | |
The Android Open Source Project | cf31fe9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 260 | class UploadBundleRequest(message.Message): |
| 261 | __metaclass__ = reflection.GeneratedProtocolMessageType |
| 262 | DESCRIPTOR = _UPLOADBUNDLEREQUEST |
| 263 | |
| 264 | class UploadBundleResponse(message.Message): |
| 265 | __metaclass__ = reflection.GeneratedProtocolMessageType |
| 266 | DESCRIPTOR = _UPLOADBUNDLERESPONSE |
| 267 | |
| 268 | class UploadBundleContinue(message.Message): |
| 269 | __metaclass__ = reflection.GeneratedProtocolMessageType |
| 270 | DESCRIPTOR = _UPLOADBUNDLECONTINUE |
| 271 | |