# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: chromiumos/build/api/subtools.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor.FileDescriptor( name='chromiumos/build/api/subtools.proto', package='chromiumos.build.api', syntax='proto3', serialized_options=b'Z.go.chromium.org/chromiumos/config/go/build/api', create_key=_descriptor._internal_create_key, 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' ) _SUBTOOLPACKAGE_GCSEXPORTOPTIONS_ARCHIVEFORMAT = _descriptor.EnumDescriptor( name='ArchiveFormat', full_name='chromiumos.build.api.SubtoolPackage.GcsExportOptions.ArchiveFormat', filename=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='ARCHIVE_FORMAT_UNSPECIFIED', index=0, number=0, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='ARCHIVE_FORMAT_TAR_ZST', index=1, number=1, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, serialized_start=748, serialized_end=823, ) _sym_db.RegisterEnumDescriptor(_SUBTOOLPACKAGE_GCSEXPORTOPTIONS_ARCHIVEFORMAT) _SUBTOOLPACKAGE_EXPORTTYPE = _descriptor.EnumDescriptor( name='ExportType', full_name='chromiumos.build.api.SubtoolPackage.ExportType', filename=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='EXPORT_UNSPECIFIED', index=0, number=0, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='EXPORT_CIPD', index=1, number=1, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='EXPORT_GCS', index=2, number=2, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, serialized_start=825, serialized_end=894, ) _sym_db.RegisterEnumDescriptor(_SUBTOOLPACKAGE_EXPORTTYPE) _SUBTOOLPACKAGE_CHANGE = _descriptor.EnumDescriptor( name='Change', full_name='chromiumos.build.api.SubtoolPackage.Change', filename=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='CHANGE_UNSPECIFIED', index=0, number=0, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CHANGE_BUILD_ID_OR_REVISION', index=1, number=1, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CHANGE_REVISION_ONLY', index=2, number=2, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, serialized_start=896, serialized_end=987, ) _sym_db.RegisterEnumDescriptor(_SUBTOOLPACKAGE_CHANGE) _SUBTOOLPACKAGE_SYMLINKMODE = _descriptor.EnumDescriptor( name='SymlinkMode', full_name='chromiumos.build.api.SubtoolPackage.SymlinkMode', filename=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='SYMLINK_DEFAULT', index=0, number=0, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='SYMLINK_RESOLVE', index=1, number=1, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='SYMLINK_PRESERVE', index=2, number=2, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, serialized_start=989, serialized_end=1066, ) _sym_db.RegisterEnumDescriptor(_SUBTOOLPACKAGE_SYMLINKMODE) _SUBTOOLPACKAGE_PATHMAPPING = _descriptor.Descriptor( name='PathMapping', full_name='chromiumos.build.api.SubtoolPackage.PathMapping', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='input', full_name='chromiumos.build.api.SubtoolPackage.PathMapping.input', index=0, number=1, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='dest', full_name='chromiumos.build.api.SubtoolPackage.PathMapping.dest', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='strip_prefix_regex', full_name='chromiumos.build.api.SubtoolPackage.PathMapping.strip_prefix_regex', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='ebuild_filter', full_name='chromiumos.build.api.SubtoolPackage.PathMapping.ebuild_filter', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='opaque_data', full_name='chromiumos.build.api.SubtoolPackage.PathMapping.opaque_data', index=4, number=5, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=486, serialized_end=600, ) _SUBTOOLPACKAGE_GCSEXPORTOPTIONS = _descriptor.Descriptor( name='GcsExportOptions', full_name='chromiumos.build.api.SubtoolPackage.GcsExportOptions', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='bucket', full_name='chromiumos.build.api.SubtoolPackage.GcsExportOptions.bucket', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='prefix', full_name='chromiumos.build.api.SubtoolPackage.GcsExportOptions.prefix', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='archive_format', full_name='chromiumos.build.api.SubtoolPackage.GcsExportOptions.archive_format', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ _SUBTOOLPACKAGE_GCSEXPORTOPTIONS_ARCHIVEFORMAT, ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=603, serialized_end=823, ) _SUBTOOLPACKAGE = _descriptor.Descriptor( name='SubtoolPackage', full_name='chromiumos.build.api.SubtoolPackage', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='name', full_name='chromiumos.build.api.SubtoolPackage.name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='type', full_name='chromiumos.build.api.SubtoolPackage.type', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='max_files', full_name='chromiumos.build.api.SubtoolPackage.max_files', index=2, number=3, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='cipd_prefix', full_name='chromiumos.build.api.SubtoolPackage.cipd_prefix', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='paths', full_name='chromiumos.build.api.SubtoolPackage.paths', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='upload_trigger', full_name='chromiumos.build.api.SubtoolPackage.upload_trigger', index=5, number=6, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='gcs_export_options', full_name='chromiumos.build.api.SubtoolPackage.gcs_export_options', index=6, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='symlink_mode', full_name='chromiumos.build.api.SubtoolPackage.symlink_mode', index=7, number=8, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_SUBTOOLPACKAGE_PATHMAPPING, _SUBTOOLPACKAGE_GCSEXPORTOPTIONS, ], enum_types=[ _SUBTOOLPACKAGE_EXPORTTYPE, _SUBTOOLPACKAGE_CHANGE, _SUBTOOLPACKAGE_SYMLINKMODE, ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=62, serialized_end=1066, ) _SUBTOOLPACKAGE_PATHMAPPING.containing_type = _SUBTOOLPACKAGE _SUBTOOLPACKAGE_GCSEXPORTOPTIONS.fields_by_name['archive_format'].enum_type = _SUBTOOLPACKAGE_GCSEXPORTOPTIONS_ARCHIVEFORMAT _SUBTOOLPACKAGE_GCSEXPORTOPTIONS.containing_type = _SUBTOOLPACKAGE _SUBTOOLPACKAGE_GCSEXPORTOPTIONS_ARCHIVEFORMAT.containing_type = _SUBTOOLPACKAGE_GCSEXPORTOPTIONS _SUBTOOLPACKAGE.fields_by_name['type'].enum_type = _SUBTOOLPACKAGE_EXPORTTYPE _SUBTOOLPACKAGE.fields_by_name['paths'].message_type = _SUBTOOLPACKAGE_PATHMAPPING _SUBTOOLPACKAGE.fields_by_name['upload_trigger'].enum_type = _SUBTOOLPACKAGE_CHANGE _SUBTOOLPACKAGE.fields_by_name['gcs_export_options'].message_type = _SUBTOOLPACKAGE_GCSEXPORTOPTIONS _SUBTOOLPACKAGE.fields_by_name['symlink_mode'].enum_type = _SUBTOOLPACKAGE_SYMLINKMODE _SUBTOOLPACKAGE_EXPORTTYPE.containing_type = _SUBTOOLPACKAGE _SUBTOOLPACKAGE_CHANGE.containing_type = _SUBTOOLPACKAGE _SUBTOOLPACKAGE_SYMLINKMODE.containing_type = _SUBTOOLPACKAGE DESCRIPTOR.message_types_by_name['SubtoolPackage'] = _SUBTOOLPACKAGE _sym_db.RegisterFileDescriptor(DESCRIPTOR) SubtoolPackage = _reflection.GeneratedProtocolMessageType('SubtoolPackage', (_message.Message,), { 'PathMapping' : _reflection.GeneratedProtocolMessageType('PathMapping', (_message.Message,), { 'DESCRIPTOR' : _SUBTOOLPACKAGE_PATHMAPPING, '__module__' : 'chromiumos.build.api.subtools_pb2' # @@protoc_insertion_point(class_scope:chromiumos.build.api.SubtoolPackage.PathMapping) }) , 'GcsExportOptions' : _reflection.GeneratedProtocolMessageType('GcsExportOptions', (_message.Message,), { 'DESCRIPTOR' : _SUBTOOLPACKAGE_GCSEXPORTOPTIONS, '__module__' : 'chromiumos.build.api.subtools_pb2' # @@protoc_insertion_point(class_scope:chromiumos.build.api.SubtoolPackage.GcsExportOptions) }) , 'DESCRIPTOR' : _SUBTOOLPACKAGE, '__module__' : 'chromiumos.build.api.subtools_pb2' # @@protoc_insertion_point(class_scope:chromiumos.build.api.SubtoolPackage) }) _sym_db.RegisterMessage(SubtoolPackage) _sym_db.RegisterMessage(SubtoolPackage.PathMapping) _sym_db.RegisterMessage(SubtoolPackage.GcsExportOptions) DESCRIPTOR._options = None # @@protoc_insertion_point(module_scope)