188 lines
11 KiB
Python
188 lines
11 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: config.proto
|
|
"""Generated protocol buffer code."""
|
|
from google.protobuf import descriptor as _descriptor
|
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
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_pool.Default().AddSerializedFile(b'\n\x0c\x63onfig.proto\x12\x0e\x61ndroid.bundle\"\x91\x04\n\x0c\x42undleConfig\x12.\n\nbundletool\x18\x01 \x01(\x0b\x32\x1a.android.bundle.Bundletool\x12\x34\n\roptimizations\x18\x02 \x01(\x0b\x32\x1d.android.bundle.Optimizations\x12\x30\n\x0b\x63ompression\x18\x03 \x01(\x0b\x32\x1b.android.bundle.Compression\x12\x39\n\x10master_resources\x18\x04 \x01(\x0b\x32\x1f.android.bundle.MasterResources\x12/\n\x0b\x61pex_config\x18\x05 \x01(\x0b\x32\x1a.android.bundle.ApexConfig\x12O\n\x1cunsigned_embedded_apk_config\x18\x06 \x03(\x0b\x32).android.bundle.UnsignedEmbeddedApkConfig\x12@\n\x14\x61sset_modules_config\x18\x07 \x01(\x0b\x32\".android.bundle.AssetModulesConfig\x12\x35\n\x04type\x18\x08 \x01(\x0e\x32\'.android.bundle.BundleConfig.BundleType\"3\n\nBundleType\x12\x0b\n\x07REGULAR\x10\x00\x12\x08\n\x04\x41PEX\x10\x01\x12\x0e\n\nASSET_ONLY\x10\x02\"#\n\nBundletool\x12\x0f\n\x07version\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02\"\xe0\x01\n\x0b\x43ompression\x12\x19\n\x11uncompressed_glob\x18\x01 \x03(\t\x12i\n-install_time_asset_module_default_compression\x18\x02 \x01(\x0e\x32\x32.android.bundle.Compression.AssetModuleCompression\"K\n\x16\x41ssetModuleCompression\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x10\n\x0cUNCOMPRESSED\x10\x01\x12\x0e\n\nCOMPRESSED\x10\x02\"?\n\x0fMasterResources\x12\x14\n\x0cresource_ids\x18\x01 \x03(\x05\x12\x16\n\x0eresource_names\x18\x02 \x03(\t\"\x93\x02\n\rOptimizations\x12\x33\n\rsplits_config\x18\x01 \x01(\x0b\x32\x1c.android.bundle.SplitsConfig\x12N\n\x1buncompress_native_libraries\x18\x02 \x01(\x0b\x32).android.bundle.UncompressNativeLibraries\x12@\n\x14uncompress_dex_files\x18\x03 \x01(\x0b\x32\".android.bundle.UncompressDexFiles\x12;\n\x11standalone_config\x18\x04 \x01(\x0b\x32 .android.bundle.StandaloneConfig\",\n\x19UncompressNativeLibraries\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\"%\n\x12UncompressDexFiles\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\"G\n\x0cSplitsConfig\x12\x37\n\x0fsplit_dimension\x18\x01 \x03(\x0b\x32\x1e.android.bundle.SplitDimension\"\xfa\x01\n\x10StandaloneConfig\x12\x37\n\x0fsplit_dimension\x18\x01 \x03(\x0b\x32\x1e.android.bundle.SplitDimension\x12\x1e\n\x16strip_64_bit_libraries\x18\x02 \x01(\x08\x12Q\n\x14\x64\x65x_merging_strategy\x18\x03 \x01(\x0e\x32\x33.android.bundle.StandaloneConfig.DexMergingStrategy\":\n\x12\x44\x65xMergingStrategy\x12\x13\n\x0fMERGE_IF_NEEDED\x10\x00\x12\x0f\n\x0bNEVER_MERGE\x10\x01\"\x8c\x02\n\x0eSplitDimension\x12\x33\n\x05value\x18\x01 \x01(\x0e\x32$.android.bundle.SplitDimension.Value\x12\x0e\n\x06negate\x18\x02 \x01(\x08\x12\x39\n\x10suffix_stripping\x18\x03 \x01(\x0b\x32\x1f.android.bundle.SuffixStripping\"z\n\x05Value\x12\x15\n\x11UNSPECIFIED_VALUE\x10\x00\x12\x07\n\x03\x41\x42I\x10\x01\x12\x12\n\x0eSCREEN_DENSITY\x10\x02\x12\x0c\n\x08LANGUAGE\x10\x03\x12\x1e\n\x1aTEXTURE_COMPRESSION_FORMAT\x10\x04\x12\x0f\n\x0b\x44\x45VICE_TIER\x10\x06\":\n\x0fSuffixStripping\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x16\n\x0e\x64\x65\x66\x61ult_suffix\x18\x02 \x01(\t\"U\n\nApexConfig\x12G\n\x18\x61pex_embedded_apk_config\x18\x01 \x03(\x0b\x32%.android.bundle.ApexEmbeddedApkConfig\";\n\x15\x41pexEmbeddedApkConfig\x12\x14\n\x0cpackage_name\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\")\n\x19UnsignedEmbeddedApkConfig\x12\x0c\n\x04path\x18\x01 \x01(\t\"D\n\x12\x41ssetModulesConfig\x12\x13\n\x0b\x61pp_version\x18\x01 \x03(\x03\x12\x19\n\x11\x61sset_version_tag\x18\x02 \x01(\tB\x14\n\x12\x63om.android.bundleb\x06proto3')
|
|
|
|
|
|
|
|
_BUNDLECONFIG = DESCRIPTOR.message_types_by_name['BundleConfig']
|
|
_BUNDLETOOL = DESCRIPTOR.message_types_by_name['Bundletool']
|
|
_COMPRESSION = DESCRIPTOR.message_types_by_name['Compression']
|
|
_MASTERRESOURCES = DESCRIPTOR.message_types_by_name['MasterResources']
|
|
_OPTIMIZATIONS = DESCRIPTOR.message_types_by_name['Optimizations']
|
|
_UNCOMPRESSNATIVELIBRARIES = DESCRIPTOR.message_types_by_name['UncompressNativeLibraries']
|
|
_UNCOMPRESSDEXFILES = DESCRIPTOR.message_types_by_name['UncompressDexFiles']
|
|
_SPLITSCONFIG = DESCRIPTOR.message_types_by_name['SplitsConfig']
|
|
_STANDALONECONFIG = DESCRIPTOR.message_types_by_name['StandaloneConfig']
|
|
_SPLITDIMENSION = DESCRIPTOR.message_types_by_name['SplitDimension']
|
|
_SUFFIXSTRIPPING = DESCRIPTOR.message_types_by_name['SuffixStripping']
|
|
_APEXCONFIG = DESCRIPTOR.message_types_by_name['ApexConfig']
|
|
_APEXEMBEDDEDAPKCONFIG = DESCRIPTOR.message_types_by_name['ApexEmbeddedApkConfig']
|
|
_UNSIGNEDEMBEDDEDAPKCONFIG = DESCRIPTOR.message_types_by_name['UnsignedEmbeddedApkConfig']
|
|
_ASSETMODULESCONFIG = DESCRIPTOR.message_types_by_name['AssetModulesConfig']
|
|
_BUNDLECONFIG_BUNDLETYPE = _BUNDLECONFIG.enum_types_by_name['BundleType']
|
|
_COMPRESSION_ASSETMODULECOMPRESSION = _COMPRESSION.enum_types_by_name['AssetModuleCompression']
|
|
_STANDALONECONFIG_DEXMERGINGSTRATEGY = _STANDALONECONFIG.enum_types_by_name['DexMergingStrategy']
|
|
_SPLITDIMENSION_VALUE = _SPLITDIMENSION.enum_types_by_name['Value']
|
|
BundleConfig = _reflection.GeneratedProtocolMessageType('BundleConfig', (_message.Message,), {
|
|
'DESCRIPTOR' : _BUNDLECONFIG,
|
|
'__module__' : 'config_pb2'
|
|
# @@protoc_insertion_point(class_scope:android.bundle.BundleConfig)
|
|
})
|
|
_sym_db.RegisterMessage(BundleConfig)
|
|
|
|
Bundletool = _reflection.GeneratedProtocolMessageType('Bundletool', (_message.Message,), {
|
|
'DESCRIPTOR' : _BUNDLETOOL,
|
|
'__module__' : 'config_pb2'
|
|
# @@protoc_insertion_point(class_scope:android.bundle.Bundletool)
|
|
})
|
|
_sym_db.RegisterMessage(Bundletool)
|
|
|
|
Compression = _reflection.GeneratedProtocolMessageType('Compression', (_message.Message,), {
|
|
'DESCRIPTOR' : _COMPRESSION,
|
|
'__module__' : 'config_pb2'
|
|
# @@protoc_insertion_point(class_scope:android.bundle.Compression)
|
|
})
|
|
_sym_db.RegisterMessage(Compression)
|
|
|
|
MasterResources = _reflection.GeneratedProtocolMessageType('MasterResources', (_message.Message,), {
|
|
'DESCRIPTOR' : _MASTERRESOURCES,
|
|
'__module__' : 'config_pb2'
|
|
# @@protoc_insertion_point(class_scope:android.bundle.MasterResources)
|
|
})
|
|
_sym_db.RegisterMessage(MasterResources)
|
|
|
|
Optimizations = _reflection.GeneratedProtocolMessageType('Optimizations', (_message.Message,), {
|
|
'DESCRIPTOR' : _OPTIMIZATIONS,
|
|
'__module__' : 'config_pb2'
|
|
# @@protoc_insertion_point(class_scope:android.bundle.Optimizations)
|
|
})
|
|
_sym_db.RegisterMessage(Optimizations)
|
|
|
|
UncompressNativeLibraries = _reflection.GeneratedProtocolMessageType('UncompressNativeLibraries', (_message.Message,), {
|
|
'DESCRIPTOR' : _UNCOMPRESSNATIVELIBRARIES,
|
|
'__module__' : 'config_pb2'
|
|
# @@protoc_insertion_point(class_scope:android.bundle.UncompressNativeLibraries)
|
|
})
|
|
_sym_db.RegisterMessage(UncompressNativeLibraries)
|
|
|
|
UncompressDexFiles = _reflection.GeneratedProtocolMessageType('UncompressDexFiles', (_message.Message,), {
|
|
'DESCRIPTOR' : _UNCOMPRESSDEXFILES,
|
|
'__module__' : 'config_pb2'
|
|
# @@protoc_insertion_point(class_scope:android.bundle.UncompressDexFiles)
|
|
})
|
|
_sym_db.RegisterMessage(UncompressDexFiles)
|
|
|
|
SplitsConfig = _reflection.GeneratedProtocolMessageType('SplitsConfig', (_message.Message,), {
|
|
'DESCRIPTOR' : _SPLITSCONFIG,
|
|
'__module__' : 'config_pb2'
|
|
# @@protoc_insertion_point(class_scope:android.bundle.SplitsConfig)
|
|
})
|
|
_sym_db.RegisterMessage(SplitsConfig)
|
|
|
|
StandaloneConfig = _reflection.GeneratedProtocolMessageType('StandaloneConfig', (_message.Message,), {
|
|
'DESCRIPTOR' : _STANDALONECONFIG,
|
|
'__module__' : 'config_pb2'
|
|
# @@protoc_insertion_point(class_scope:android.bundle.StandaloneConfig)
|
|
})
|
|
_sym_db.RegisterMessage(StandaloneConfig)
|
|
|
|
SplitDimension = _reflection.GeneratedProtocolMessageType('SplitDimension', (_message.Message,), {
|
|
'DESCRIPTOR' : _SPLITDIMENSION,
|
|
'__module__' : 'config_pb2'
|
|
# @@protoc_insertion_point(class_scope:android.bundle.SplitDimension)
|
|
})
|
|
_sym_db.RegisterMessage(SplitDimension)
|
|
|
|
SuffixStripping = _reflection.GeneratedProtocolMessageType('SuffixStripping', (_message.Message,), {
|
|
'DESCRIPTOR' : _SUFFIXSTRIPPING,
|
|
'__module__' : 'config_pb2'
|
|
# @@protoc_insertion_point(class_scope:android.bundle.SuffixStripping)
|
|
})
|
|
_sym_db.RegisterMessage(SuffixStripping)
|
|
|
|
ApexConfig = _reflection.GeneratedProtocolMessageType('ApexConfig', (_message.Message,), {
|
|
'DESCRIPTOR' : _APEXCONFIG,
|
|
'__module__' : 'config_pb2'
|
|
# @@protoc_insertion_point(class_scope:android.bundle.ApexConfig)
|
|
})
|
|
_sym_db.RegisterMessage(ApexConfig)
|
|
|
|
ApexEmbeddedApkConfig = _reflection.GeneratedProtocolMessageType('ApexEmbeddedApkConfig', (_message.Message,), {
|
|
'DESCRIPTOR' : _APEXEMBEDDEDAPKCONFIG,
|
|
'__module__' : 'config_pb2'
|
|
# @@protoc_insertion_point(class_scope:android.bundle.ApexEmbeddedApkConfig)
|
|
})
|
|
_sym_db.RegisterMessage(ApexEmbeddedApkConfig)
|
|
|
|
UnsignedEmbeddedApkConfig = _reflection.GeneratedProtocolMessageType('UnsignedEmbeddedApkConfig', (_message.Message,), {
|
|
'DESCRIPTOR' : _UNSIGNEDEMBEDDEDAPKCONFIG,
|
|
'__module__' : 'config_pb2'
|
|
# @@protoc_insertion_point(class_scope:android.bundle.UnsignedEmbeddedApkConfig)
|
|
})
|
|
_sym_db.RegisterMessage(UnsignedEmbeddedApkConfig)
|
|
|
|
AssetModulesConfig = _reflection.GeneratedProtocolMessageType('AssetModulesConfig', (_message.Message,), {
|
|
'DESCRIPTOR' : _ASSETMODULESCONFIG,
|
|
'__module__' : 'config_pb2'
|
|
# @@protoc_insertion_point(class_scope:android.bundle.AssetModulesConfig)
|
|
})
|
|
_sym_db.RegisterMessage(AssetModulesConfig)
|
|
|
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
|
DESCRIPTOR._options = None
|
|
DESCRIPTOR._serialized_options = b'\n\022com.android.bundle'
|
|
_BUNDLECONFIG._serialized_start=33
|
|
_BUNDLECONFIG._serialized_end=562
|
|
_BUNDLECONFIG_BUNDLETYPE._serialized_start=511
|
|
_BUNDLECONFIG_BUNDLETYPE._serialized_end=562
|
|
_BUNDLETOOL._serialized_start=564
|
|
_BUNDLETOOL._serialized_end=599
|
|
_COMPRESSION._serialized_start=602
|
|
_COMPRESSION._serialized_end=826
|
|
_COMPRESSION_ASSETMODULECOMPRESSION._serialized_start=751
|
|
_COMPRESSION_ASSETMODULECOMPRESSION._serialized_end=826
|
|
_MASTERRESOURCES._serialized_start=828
|
|
_MASTERRESOURCES._serialized_end=891
|
|
_OPTIMIZATIONS._serialized_start=894
|
|
_OPTIMIZATIONS._serialized_end=1169
|
|
_UNCOMPRESSNATIVELIBRARIES._serialized_start=1171
|
|
_UNCOMPRESSNATIVELIBRARIES._serialized_end=1215
|
|
_UNCOMPRESSDEXFILES._serialized_start=1217
|
|
_UNCOMPRESSDEXFILES._serialized_end=1254
|
|
_SPLITSCONFIG._serialized_start=1256
|
|
_SPLITSCONFIG._serialized_end=1327
|
|
_STANDALONECONFIG._serialized_start=1330
|
|
_STANDALONECONFIG._serialized_end=1580
|
|
_STANDALONECONFIG_DEXMERGINGSTRATEGY._serialized_start=1522
|
|
_STANDALONECONFIG_DEXMERGINGSTRATEGY._serialized_end=1580
|
|
_SPLITDIMENSION._serialized_start=1583
|
|
_SPLITDIMENSION._serialized_end=1851
|
|
_SPLITDIMENSION_VALUE._serialized_start=1729
|
|
_SPLITDIMENSION_VALUE._serialized_end=1851
|
|
_SUFFIXSTRIPPING._serialized_start=1853
|
|
_SUFFIXSTRIPPING._serialized_end=1911
|
|
_APEXCONFIG._serialized_start=1913
|
|
_APEXCONFIG._serialized_end=1998
|
|
_APEXEMBEDDEDAPKCONFIG._serialized_start=2000
|
|
_APEXEMBEDDEDAPKCONFIG._serialized_end=2059
|
|
_UNSIGNEDEMBEDDEDAPKCONFIG._serialized_start=2061
|
|
_UNSIGNEDEMBEDDEDAPKCONFIG._serialized_end=2102
|
|
_ASSETMODULESCONFIG._serialized_start=2104
|
|
_ASSETMODULESCONFIG._serialized_end=2172
|
|
# @@protoc_insertion_point(module_scope)
|