1# -*- coding: utf-8 -*- 2# Generated by the protocol buffer compiler. DO NOT EDIT! 3# source: chromiumos/build/api/subtools.proto 4"""Generated protocol buffer code.""" 5from google.protobuf import descriptor as _descriptor 6from google.protobuf import message as _message 7from google.protobuf import reflection as _reflection 8from google.protobuf import symbol_database as _symbol_database 9# @@protoc_insertion_point(imports) 10 11_sym_db = _symbol_database.Default() 12 13 14 15 16DESCRIPTOR = _descriptor.FileDescriptor( 17 name='chromiumos/build/api/subtools.proto', 18 package='chromiumos.build.api', 19 syntax='proto3', 20 serialized_options=b'Z.go.chromium.org/chromiumos/config/go/build/api', 21 create_key=_descriptor._internal_create_key, 22 serialized_pb=b'\n#chromiumos/build/api/subtools.proto\x12\x14\x63hromiumos.build.api\"\xec\x07\n\x0eSubtoolPackage\x12\x0c\n\x04name\x18\x01 \x01(\t\x12=\n\x04type\x18\x02 \x01(\x0e\x32/.chromiumos.build.api.SubtoolPackage.ExportType\x12\x11\n\tmax_files\x18\x03 \x01(\x05\x12\x13\n\x0b\x63ipd_prefix\x18\x04 \x01(\t\x12?\n\x05paths\x18\x05 \x03(\x0b\x32\x30.chromiumos.build.api.SubtoolPackage.PathMapping\x12\x43\n\x0eupload_trigger\x18\x06 \x01(\x0e\x32+.chromiumos.build.api.SubtoolPackage.Change\x12Q\n\x12gcs_export_options\x18\x07 \x01(\x0b\x32\x35.chromiumos.build.api.SubtoolPackage.GcsExportOptions\x12\x46\n\x0csymlink_mode\x18\x08 \x01(\x0e\x32\x30.chromiumos.build.api.SubtoolPackage.SymlinkMode\x1ar\n\x0bPathMapping\x12\r\n\x05input\x18\x01 \x03(\t\x12\x0c\n\x04\x64\x65st\x18\x02 \x01(\t\x12\x1a\n\x12strip_prefix_regex\x18\x03 \x01(\t\x12\x15\n\rebuild_filter\x18\x04 \x01(\t\x12\x13\n\x0bopaque_data\x18\x05 \x01(\x08\x1a\xdc\x01\n\x10GcsExportOptions\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x0e\n\x06prefix\x18\x02 \x01(\t\x12[\n\x0e\x61rchive_format\x18\x03 \x01(\x0e\x32\x43.chromiumos.build.api.SubtoolPackage.GcsExportOptions.ArchiveFormat\"K\n\rArchiveFormat\x12\x1e\n\x1a\x41RCHIVE_FORMAT_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x41RCHIVE_FORMAT_TAR_ZST\x10\x01\"E\n\nExportType\x12\x16\n\x12\x45XPORT_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x45XPORT_CIPD\x10\x01\x12\x0e\n\nEXPORT_GCS\x10\x02\"[\n\x06\x43hange\x12\x16\n\x12\x43HANGE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x43HANGE_BUILD_ID_OR_REVISION\x10\x01\x12\x18\n\x14\x43HANGE_REVISION_ONLY\x10\x02\"M\n\x0bSymlinkMode\x12\x13\n\x0fSYMLINK_DEFAULT\x10\x00\x12\x13\n\x0fSYMLINK_RESOLVE\x10\x01\x12\x14\n\x10SYMLINK_PRESERVE\x10\x02\x42\x30Z.go.chromium.org/chromiumos/config/go/build/apib\x06proto3' 23) 24 25 26 27_SUBTOOLPACKAGE_GCSEXPORTOPTIONS_ARCHIVEFORMAT = _descriptor.EnumDescriptor( 28 name='ArchiveFormat', 29 full_name='chromiumos.build.api.SubtoolPackage.GcsExportOptions.ArchiveFormat', 30 filename=None, 31 file=DESCRIPTOR, 32 create_key=_descriptor._internal_create_key, 33 values=[ 34 _descriptor.EnumValueDescriptor( 35 name='ARCHIVE_FORMAT_UNSPECIFIED', index=0, number=0, 36 serialized_options=None, 37 type=None, 38 create_key=_descriptor._internal_create_key), 39 _descriptor.EnumValueDescriptor( 40 name='ARCHIVE_FORMAT_TAR_ZST', index=1, number=1, 41 serialized_options=None, 42 type=None, 43 create_key=_descriptor._internal_create_key), 44 ], 45 containing_type=None, 46 serialized_options=None, 47 serialized_start=748, 48 serialized_end=823, 49) 50_sym_db.RegisterEnumDescriptor(_SUBTOOLPACKAGE_GCSEXPORTOPTIONS_ARCHIVEFORMAT) 51 52_SUBTOOLPACKAGE_EXPORTTYPE = _descriptor.EnumDescriptor( 53 name='ExportType', 54 full_name='chromiumos.build.api.SubtoolPackage.ExportType', 55 filename=None, 56 file=DESCRIPTOR, 57 create_key=_descriptor._internal_create_key, 58 values=[ 59 _descriptor.EnumValueDescriptor( 60 name='EXPORT_UNSPECIFIED', index=0, number=0, 61 serialized_options=None, 62 type=None, 63 create_key=_descriptor._internal_create_key), 64 _descriptor.EnumValueDescriptor( 65 name='EXPORT_CIPD', index=1, number=1, 66 serialized_options=None, 67 type=None, 68 create_key=_descriptor._internal_create_key), 69 _descriptor.EnumValueDescriptor( 70 name='EXPORT_GCS', index=2, number=2, 71 serialized_options=None, 72 type=None, 73 create_key=_descriptor._internal_create_key), 74 ], 75 containing_type=None, 76 serialized_options=None, 77 serialized_start=825, 78 serialized_end=894, 79) 80_sym_db.RegisterEnumDescriptor(_SUBTOOLPACKAGE_EXPORTTYPE) 81 82_SUBTOOLPACKAGE_CHANGE = _descriptor.EnumDescriptor( 83 name='Change', 84 full_name='chromiumos.build.api.SubtoolPackage.Change', 85 filename=None, 86 file=DESCRIPTOR, 87 create_key=_descriptor._internal_create_key, 88 values=[ 89 _descriptor.EnumValueDescriptor( 90 name='CHANGE_UNSPECIFIED', index=0, number=0, 91 serialized_options=None, 92 type=None, 93 create_key=_descriptor._internal_create_key), 94 _descriptor.EnumValueDescriptor( 95 name='CHANGE_BUILD_ID_OR_REVISION', index=1, number=1, 96 serialized_options=None, 97 type=None, 98 create_key=_descriptor._internal_create_key), 99 _descriptor.EnumValueDescriptor( 100 name='CHANGE_REVISION_ONLY', index=2, number=2, 101 serialized_options=None, 102 type=None, 103 create_key=_descriptor._internal_create_key), 104 ], 105 containing_type=None, 106 serialized_options=None, 107 serialized_start=896, 108 serialized_end=987, 109) 110_sym_db.RegisterEnumDescriptor(_SUBTOOLPACKAGE_CHANGE) 111 112_SUBTOOLPACKAGE_SYMLINKMODE = _descriptor.EnumDescriptor( 113 name='SymlinkMode', 114 full_name='chromiumos.build.api.SubtoolPackage.SymlinkMode', 115 filename=None, 116 file=DESCRIPTOR, 117 create_key=_descriptor._internal_create_key, 118 values=[ 119 _descriptor.EnumValueDescriptor( 120 name='SYMLINK_DEFAULT', index=0, number=0, 121 serialized_options=None, 122 type=None, 123 create_key=_descriptor._internal_create_key), 124 _descriptor.EnumValueDescriptor( 125 name='SYMLINK_RESOLVE', index=1, number=1, 126 serialized_options=None, 127 type=None, 128 create_key=_descriptor._internal_create_key), 129 _descriptor.EnumValueDescriptor( 130 name='SYMLINK_PRESERVE', index=2, number=2, 131 serialized_options=None, 132 type=None, 133 create_key=_descriptor._internal_create_key), 134 ], 135 containing_type=None, 136 serialized_options=None, 137 serialized_start=989, 138 serialized_end=1066, 139) 140_sym_db.RegisterEnumDescriptor(_SUBTOOLPACKAGE_SYMLINKMODE) 141 142 143_SUBTOOLPACKAGE_PATHMAPPING = _descriptor.Descriptor( 144 name='PathMapping', 145 full_name='chromiumos.build.api.SubtoolPackage.PathMapping', 146 filename=None, 147 file=DESCRIPTOR, 148 containing_type=None, 149 create_key=_descriptor._internal_create_key, 150 fields=[ 151 _descriptor.FieldDescriptor( 152 name='input', full_name='chromiumos.build.api.SubtoolPackage.PathMapping.input', index=0, 153 number=1, type=9, cpp_type=9, label=3, 154 has_default_value=False, default_value=[], 155 message_type=None, enum_type=None, containing_type=None, 156 is_extension=False, extension_scope=None, 157 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 158 _descriptor.FieldDescriptor( 159 name='dest', full_name='chromiumos.build.api.SubtoolPackage.PathMapping.dest', index=1, 160 number=2, type=9, cpp_type=9, label=1, 161 has_default_value=False, default_value=b"".decode('utf-8'), 162 message_type=None, enum_type=None, containing_type=None, 163 is_extension=False, extension_scope=None, 164 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 165 _descriptor.FieldDescriptor( 166 name='strip_prefix_regex', full_name='chromiumos.build.api.SubtoolPackage.PathMapping.strip_prefix_regex', index=2, 167 number=3, type=9, cpp_type=9, label=1, 168 has_default_value=False, default_value=b"".decode('utf-8'), 169 message_type=None, enum_type=None, containing_type=None, 170 is_extension=False, extension_scope=None, 171 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 172 _descriptor.FieldDescriptor( 173 name='ebuild_filter', full_name='chromiumos.build.api.SubtoolPackage.PathMapping.ebuild_filter', index=3, 174 number=4, type=9, cpp_type=9, label=1, 175 has_default_value=False, default_value=b"".decode('utf-8'), 176 message_type=None, enum_type=None, containing_type=None, 177 is_extension=False, extension_scope=None, 178 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 179 _descriptor.FieldDescriptor( 180 name='opaque_data', full_name='chromiumos.build.api.SubtoolPackage.PathMapping.opaque_data', index=4, 181 number=5, type=8, cpp_type=7, label=1, 182 has_default_value=False, default_value=False, 183 message_type=None, enum_type=None, containing_type=None, 184 is_extension=False, extension_scope=None, 185 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 186 ], 187 extensions=[ 188 ], 189 nested_types=[], 190 enum_types=[ 191 ], 192 serialized_options=None, 193 is_extendable=False, 194 syntax='proto3', 195 extension_ranges=[], 196 oneofs=[ 197 ], 198 serialized_start=486, 199 serialized_end=600, 200) 201 202_SUBTOOLPACKAGE_GCSEXPORTOPTIONS = _descriptor.Descriptor( 203 name='GcsExportOptions', 204 full_name='chromiumos.build.api.SubtoolPackage.GcsExportOptions', 205 filename=None, 206 file=DESCRIPTOR, 207 containing_type=None, 208 create_key=_descriptor._internal_create_key, 209 fields=[ 210 _descriptor.FieldDescriptor( 211 name='bucket', full_name='chromiumos.build.api.SubtoolPackage.GcsExportOptions.bucket', index=0, 212 number=1, type=9, cpp_type=9, label=1, 213 has_default_value=False, default_value=b"".decode('utf-8'), 214 message_type=None, enum_type=None, containing_type=None, 215 is_extension=False, extension_scope=None, 216 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 217 _descriptor.FieldDescriptor( 218 name='prefix', full_name='chromiumos.build.api.SubtoolPackage.GcsExportOptions.prefix', index=1, 219 number=2, type=9, cpp_type=9, label=1, 220 has_default_value=False, default_value=b"".decode('utf-8'), 221 message_type=None, enum_type=None, containing_type=None, 222 is_extension=False, extension_scope=None, 223 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 224 _descriptor.FieldDescriptor( 225 name='archive_format', full_name='chromiumos.build.api.SubtoolPackage.GcsExportOptions.archive_format', index=2, 226 number=3, type=14, cpp_type=8, label=1, 227 has_default_value=False, default_value=0, 228 message_type=None, enum_type=None, containing_type=None, 229 is_extension=False, extension_scope=None, 230 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 231 ], 232 extensions=[ 233 ], 234 nested_types=[], 235 enum_types=[ 236 _SUBTOOLPACKAGE_GCSEXPORTOPTIONS_ARCHIVEFORMAT, 237 ], 238 serialized_options=None, 239 is_extendable=False, 240 syntax='proto3', 241 extension_ranges=[], 242 oneofs=[ 243 ], 244 serialized_start=603, 245 serialized_end=823, 246) 247 248_SUBTOOLPACKAGE = _descriptor.Descriptor( 249 name='SubtoolPackage', 250 full_name='chromiumos.build.api.SubtoolPackage', 251 filename=None, 252 file=DESCRIPTOR, 253 containing_type=None, 254 create_key=_descriptor._internal_create_key, 255 fields=[ 256 _descriptor.FieldDescriptor( 257 name='name', full_name='chromiumos.build.api.SubtoolPackage.name', index=0, 258 number=1, type=9, cpp_type=9, label=1, 259 has_default_value=False, default_value=b"".decode('utf-8'), 260 message_type=None, enum_type=None, containing_type=None, 261 is_extension=False, extension_scope=None, 262 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 263 _descriptor.FieldDescriptor( 264 name='type', full_name='chromiumos.build.api.SubtoolPackage.type', index=1, 265 number=2, type=14, cpp_type=8, label=1, 266 has_default_value=False, default_value=0, 267 message_type=None, enum_type=None, containing_type=None, 268 is_extension=False, extension_scope=None, 269 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 270 _descriptor.FieldDescriptor( 271 name='max_files', full_name='chromiumos.build.api.SubtoolPackage.max_files', index=2, 272 number=3, type=5, cpp_type=1, label=1, 273 has_default_value=False, default_value=0, 274 message_type=None, enum_type=None, containing_type=None, 275 is_extension=False, extension_scope=None, 276 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 277 _descriptor.FieldDescriptor( 278 name='cipd_prefix', full_name='chromiumos.build.api.SubtoolPackage.cipd_prefix', index=3, 279 number=4, type=9, cpp_type=9, label=1, 280 has_default_value=False, default_value=b"".decode('utf-8'), 281 message_type=None, enum_type=None, containing_type=None, 282 is_extension=False, extension_scope=None, 283 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 284 _descriptor.FieldDescriptor( 285 name='paths', full_name='chromiumos.build.api.SubtoolPackage.paths', index=4, 286 number=5, type=11, cpp_type=10, label=3, 287 has_default_value=False, default_value=[], 288 message_type=None, enum_type=None, containing_type=None, 289 is_extension=False, extension_scope=None, 290 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 291 _descriptor.FieldDescriptor( 292 name='upload_trigger', full_name='chromiumos.build.api.SubtoolPackage.upload_trigger', index=5, 293 number=6, type=14, cpp_type=8, label=1, 294 has_default_value=False, default_value=0, 295 message_type=None, enum_type=None, containing_type=None, 296 is_extension=False, extension_scope=None, 297 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 298 _descriptor.FieldDescriptor( 299 name='gcs_export_options', full_name='chromiumos.build.api.SubtoolPackage.gcs_export_options', index=6, 300 number=7, type=11, cpp_type=10, label=1, 301 has_default_value=False, default_value=None, 302 message_type=None, enum_type=None, containing_type=None, 303 is_extension=False, extension_scope=None, 304 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 305 _descriptor.FieldDescriptor( 306 name='symlink_mode', full_name='chromiumos.build.api.SubtoolPackage.symlink_mode', index=7, 307 number=8, type=14, cpp_type=8, label=1, 308 has_default_value=False, default_value=0, 309 message_type=None, enum_type=None, containing_type=None, 310 is_extension=False, extension_scope=None, 311 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 312 ], 313 extensions=[ 314 ], 315 nested_types=[_SUBTOOLPACKAGE_PATHMAPPING, _SUBTOOLPACKAGE_GCSEXPORTOPTIONS, ], 316 enum_types=[ 317 _SUBTOOLPACKAGE_EXPORTTYPE, 318 _SUBTOOLPACKAGE_CHANGE, 319 _SUBTOOLPACKAGE_SYMLINKMODE, 320 ], 321 serialized_options=None, 322 is_extendable=False, 323 syntax='proto3', 324 extension_ranges=[], 325 oneofs=[ 326 ], 327 serialized_start=62, 328 serialized_end=1066, 329) 330 331_SUBTOOLPACKAGE_PATHMAPPING.containing_type = _SUBTOOLPACKAGE 332_SUBTOOLPACKAGE_GCSEXPORTOPTIONS.fields_by_name['archive_format'].enum_type = _SUBTOOLPACKAGE_GCSEXPORTOPTIONS_ARCHIVEFORMAT 333_SUBTOOLPACKAGE_GCSEXPORTOPTIONS.containing_type = _SUBTOOLPACKAGE 334_SUBTOOLPACKAGE_GCSEXPORTOPTIONS_ARCHIVEFORMAT.containing_type = _SUBTOOLPACKAGE_GCSEXPORTOPTIONS 335_SUBTOOLPACKAGE.fields_by_name['type'].enum_type = _SUBTOOLPACKAGE_EXPORTTYPE 336_SUBTOOLPACKAGE.fields_by_name['paths'].message_type = _SUBTOOLPACKAGE_PATHMAPPING 337_SUBTOOLPACKAGE.fields_by_name['upload_trigger'].enum_type = _SUBTOOLPACKAGE_CHANGE 338_SUBTOOLPACKAGE.fields_by_name['gcs_export_options'].message_type = _SUBTOOLPACKAGE_GCSEXPORTOPTIONS 339_SUBTOOLPACKAGE.fields_by_name['symlink_mode'].enum_type = _SUBTOOLPACKAGE_SYMLINKMODE 340_SUBTOOLPACKAGE_EXPORTTYPE.containing_type = _SUBTOOLPACKAGE 341_SUBTOOLPACKAGE_CHANGE.containing_type = _SUBTOOLPACKAGE 342_SUBTOOLPACKAGE_SYMLINKMODE.containing_type = _SUBTOOLPACKAGE 343DESCRIPTOR.message_types_by_name['SubtoolPackage'] = _SUBTOOLPACKAGE 344_sym_db.RegisterFileDescriptor(DESCRIPTOR) 345 346SubtoolPackage = _reflection.GeneratedProtocolMessageType('SubtoolPackage', (_message.Message,), { 347 348 'PathMapping' : _reflection.GeneratedProtocolMessageType('PathMapping', (_message.Message,), { 349 'DESCRIPTOR' : _SUBTOOLPACKAGE_PATHMAPPING, 350 '__module__' : 'chromiumos.build.api.subtools_pb2' 351 # @@protoc_insertion_point(class_scope:chromiumos.build.api.SubtoolPackage.PathMapping) 352 }) 353 , 354 355 'GcsExportOptions' : _reflection.GeneratedProtocolMessageType('GcsExportOptions', (_message.Message,), { 356 'DESCRIPTOR' : _SUBTOOLPACKAGE_GCSEXPORTOPTIONS, 357 '__module__' : 'chromiumos.build.api.subtools_pb2' 358 # @@protoc_insertion_point(class_scope:chromiumos.build.api.SubtoolPackage.GcsExportOptions) 359 }) 360 , 361 'DESCRIPTOR' : _SUBTOOLPACKAGE, 362 '__module__' : 'chromiumos.build.api.subtools_pb2' 363 # @@protoc_insertion_point(class_scope:chromiumos.build.api.SubtoolPackage) 364 }) 365_sym_db.RegisterMessage(SubtoolPackage) 366_sym_db.RegisterMessage(SubtoolPackage.PathMapping) 367_sym_db.RegisterMessage(SubtoolPackage.GcsExportOptions) 368 369 370DESCRIPTOR._options = None 371# @@protoc_insertion_point(module_scope) 372