From 900d2d30b7587dc1bf983af242673d8c78194ec3 Mon Sep 17 00:00:00 2001 From: Rasmus Moorats Date: Tue, 21 Dec 2021 14:00:31 +0200 Subject: [PATCH] update protobuf definition --- payload_dumper/update_metadata_pb2.py | 1464 +++++++++++++++++++++---- 1 file changed, 1244 insertions(+), 220 deletions(-) diff --git a/payload_dumper/update_metadata_pb2.py b/payload_dumper/update_metadata_pb2.py index d5acb4d..70e28b0 100644 --- a/payload_dumper/update_metadata_pb2.py +++ b/payload_dumper/update_metadata_pb2.py @@ -1,14 +1,11 @@ +# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: update_metadata.proto - -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) +"""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 -from google.protobuf import descriptor_pb2 # @@protoc_insertion_point(imports) @@ -19,9 +16,9 @@ name="update_metadata.proto", package="chromeos_update_engine", syntax="proto2", - serialized_pb=_b( - '\n\x15update_metadata.proto\x12\x16\x63hromeos_update_engine"1\n\x06\x45xtent\x12\x13\n\x0bstart_block\x18\x01 \x01(\x04\x12\x12\n\nnum_blocks\x18\x02 \x01(\x04"z\n\nSignatures\x12@\n\nsignatures\x18\x01 \x03(\x0b\x32,.chromeos_update_engine.Signatures.Signature\x1a*\n\tSignature\x12\x0f\n\x07version\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c"+\n\rPartitionInfo\x12\x0c\n\x04size\x18\x01 \x01(\x04\x12\x0c\n\x04hash\x18\x02 \x01(\x0c"w\n\tImageInfo\x12\r\n\x05\x62oard\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\t\x12\x0f\n\x07\x63hannel\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\t\x12\x15\n\rbuild_channel\x18\x05 \x01(\t\x12\x15\n\rbuild_version\x18\x06 \x01(\t"\xd3\x03\n\x10InstallOperation\x12;\n\x04type\x18\x01 \x02(\x0e\x32-.chromeos_update_engine.InstallOperation.Type\x12\x13\n\x0b\x64\x61ta_offset\x18\x02 \x01(\r\x12\x13\n\x0b\x64\x61ta_length\x18\x03 \x01(\r\x12\x33\n\x0bsrc_extents\x18\x04 \x03(\x0b\x32\x1e.chromeos_update_engine.Extent\x12\x12\n\nsrc_length\x18\x05 \x01(\x04\x12\x33\n\x0b\x64st_extents\x18\x06 \x03(\x0b\x32\x1e.chromeos_update_engine.Extent\x12\x12\n\ndst_length\x18\x07 \x01(\x04\x12\x18\n\x10\x64\x61ta_sha256_hash\x18\x08 \x01(\x0c\x12\x17\n\x0fsrc_sha256_hash\x18\t \x01(\x0c"\x92\x01\n\x04Type\x12\x0b\n\x07REPLACE\x10\x00\x12\x0e\n\nREPLACE_BZ\x10\x01\x12\x08\n\x04MOVE\x10\x02\x12\n\n\x06\x42SDIFF\x10\x03\x12\x0f\n\x0bSOURCE_COPY\x10\x04\x12\x11\n\rSOURCE_BSDIFF\x10\x05\x12\x08\n\x04ZERO\x10\x06\x12\x0b\n\x07\x44ISCARD\x10\x07\x12\x0e\n\nREPLACE_XZ\x10\x08\x12\x0c\n\x08PUFFDIFF\x10\t"\xa6\x03\n\x0fPartitionUpdate\x12\x16\n\x0epartition_name\x18\x01 \x02(\t\x12\x17\n\x0frun_postinstall\x18\x02 \x01(\x08\x12\x18\n\x10postinstall_path\x18\x03 \x01(\t\x12\x17\n\x0f\x66ilesystem_type\x18\x04 \x01(\t\x12M\n\x17new_partition_signature\x18\x05 \x03(\x0b\x32,.chromeos_update_engine.Signatures.Signature\x12\x41\n\x12old_partition_info\x18\x06 \x01(\x0b\x32%.chromeos_update_engine.PartitionInfo\x12\x41\n\x12new_partition_info\x18\x07 \x01(\x0b\x32%.chromeos_update_engine.PartitionInfo\x12<\n\noperations\x18\x08 \x03(\x0b\x32(.chromeos_update_engine.InstallOperation\x12\x1c\n\x14postinstall_optional\x18\t \x01(\x08"\xc4\x05\n\x14\x44\x65ltaArchiveManifest\x12\x44\n\x12install_operations\x18\x01 \x03(\x0b\x32(.chromeos_update_engine.InstallOperation\x12K\n\x19kernel_install_operations\x18\x02 \x03(\x0b\x32(.chromeos_update_engine.InstallOperation\x12\x18\n\nblock_size\x18\x03 \x01(\r:\x04\x34\x30\x39\x36\x12\x19\n\x11signatures_offset\x18\x04 \x01(\x04\x12\x17\n\x0fsignatures_size\x18\x05 \x01(\x04\x12>\n\x0fold_kernel_info\x18\x06 \x01(\x0b\x32%.chromeos_update_engine.PartitionInfo\x12>\n\x0fnew_kernel_info\x18\x07 \x01(\x0b\x32%.chromeos_update_engine.PartitionInfo\x12>\n\x0fold_rootfs_info\x18\x08 \x01(\x0b\x32%.chromeos_update_engine.PartitionInfo\x12>\n\x0fnew_rootfs_info\x18\t \x01(\x0b\x32%.chromeos_update_engine.PartitionInfo\x12\x39\n\x0eold_image_info\x18\n \x01(\x0b\x32!.chromeos_update_engine.ImageInfo\x12\x39\n\x0enew_image_info\x18\x0b \x01(\x0b\x32!.chromeos_update_engine.ImageInfo\x12\x18\n\rminor_version\x18\x0c \x01(\r:\x01\x30\x12;\n\npartitions\x18\r \x03(\x0b\x32\'.chromeos_update_engine.PartitionUpdateB\x02H\x03' - ), + serialized_options=b"H\003", + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n\x15update_metadata.proto\x12\x16\x63hromeos_update_engine"1\n\x06\x45xtent\x12\x13\n\x0bstart_block\x18\x01 \x01(\x04\x12\x12\n\nnum_blocks\x18\x02 \x01(\x04"\x9f\x01\n\nSignatures\x12@\n\nsignatures\x18\x01 \x03(\x0b\x32,.chromeos_update_engine.Signatures.Signature\x1aO\n\tSignature\x12\x13\n\x07version\x18\x01 \x01(\rB\x02\x18\x01\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x1f\n\x17unpadded_signature_size\x18\x03 \x01(\x07"+\n\rPartitionInfo\x12\x0c\n\x04size\x18\x01 \x01(\x04\x12\x0c\n\x04hash\x18\x02 \x01(\x0c"\x8f\x01\n\tImageInfo\x12\x11\n\x05\x62oard\x18\x01 \x01(\tB\x02\x18\x01\x12\x0f\n\x03key\x18\x02 \x01(\tB\x02\x18\x01\x12\x13\n\x07\x63hannel\x18\x03 \x01(\tB\x02\x18\x01\x12\x13\n\x07version\x18\x04 \x01(\tB\x02\x18\x01\x12\x19\n\rbuild_channel\x18\x05 \x01(\tB\x02\x18\x01\x12\x19\n\rbuild_version\x18\x06 \x01(\tB\x02\x18\x01"\xa6\x04\n\x10InstallOperation\x12;\n\x04type\x18\x01 \x02(\x0e\x32-.chromeos_update_engine.InstallOperation.Type\x12\x13\n\x0b\x64\x61ta_offset\x18\x02 \x01(\x04\x12\x13\n\x0b\x64\x61ta_length\x18\x03 \x01(\x04\x12\x33\n\x0bsrc_extents\x18\x04 \x03(\x0b\x32\x1e.chromeos_update_engine.Extent\x12\x12\n\nsrc_length\x18\x05 \x01(\x04\x12\x33\n\x0b\x64st_extents\x18\x06 \x03(\x0b\x32\x1e.chromeos_update_engine.Extent\x12\x12\n\ndst_length\x18\x07 \x01(\x04\x12\x18\n\x10\x64\x61ta_sha256_hash\x18\x08 \x01(\x0c\x12\x17\n\x0fsrc_sha256_hash\x18\t \x01(\x0c"\xe5\x01\n\x04Type\x12\x0b\n\x07REPLACE\x10\x00\x12\x0e\n\nREPLACE_BZ\x10\x01\x12\x0c\n\x04MOVE\x10\x02\x1a\x02\x08\x01\x12\x0e\n\x06\x42SDIFF\x10\x03\x1a\x02\x08\x01\x12\x0f\n\x0bSOURCE_COPY\x10\x04\x12\x11\n\rSOURCE_BSDIFF\x10\x05\x12\x0e\n\nREPLACE_XZ\x10\x08\x12\x08\n\x04ZERO\x10\x06\x12\x0b\n\x07\x44ISCARD\x10\x07\x12\x11\n\rBROTLI_BSDIFF\x10\n\x12\x0c\n\x08PUFFDIFF\x10\t\x12\x0c\n\x08ZUCCHINI\x10\x0b\x12\x12\n\x0eLZ4DIFF_BSDIFF\x10\x0c\x12\x14\n\x10LZ4DIFF_PUFFDIFF\x10\r"\x81\x02\n\x11\x43owMergeOperation\x12<\n\x04type\x18\x01 \x01(\x0e\x32..chromeos_update_engine.CowMergeOperation.Type\x12\x32\n\nsrc_extent\x18\x02 \x01(\x0b\x32\x1e.chromeos_update_engine.Extent\x12\x32\n\ndst_extent\x18\x03 \x01(\x0b\x32\x1e.chromeos_update_engine.Extent\x12\x12\n\nsrc_offset\x18\x04 \x01(\r"2\n\x04Type\x12\x0c\n\x08\x43OW_COPY\x10\x00\x12\x0b\n\x07\x43OW_XOR\x10\x01\x12\x0f\n\x0b\x43OW_REPLACE\x10\x02"\xc8\x06\n\x0fPartitionUpdate\x12\x16\n\x0epartition_name\x18\x01 \x02(\t\x12\x17\n\x0frun_postinstall\x18\x02 \x01(\x08\x12\x18\n\x10postinstall_path\x18\x03 \x01(\t\x12\x17\n\x0f\x66ilesystem_type\x18\x04 \x01(\t\x12M\n\x17new_partition_signature\x18\x05 \x03(\x0b\x32,.chromeos_update_engine.Signatures.Signature\x12\x41\n\x12old_partition_info\x18\x06 \x01(\x0b\x32%.chromeos_update_engine.PartitionInfo\x12\x41\n\x12new_partition_info\x18\x07 \x01(\x0b\x32%.chromeos_update_engine.PartitionInfo\x12<\n\noperations\x18\x08 \x03(\x0b\x32(.chromeos_update_engine.InstallOperation\x12\x1c\n\x14postinstall_optional\x18\t \x01(\x08\x12=\n\x15hash_tree_data_extent\x18\n \x01(\x0b\x32\x1e.chromeos_update_engine.Extent\x12\x38\n\x10hash_tree_extent\x18\x0b \x01(\x0b\x32\x1e.chromeos_update_engine.Extent\x12\x1b\n\x13hash_tree_algorithm\x18\x0c \x01(\t\x12\x16\n\x0ehash_tree_salt\x18\r \x01(\x0c\x12\x37\n\x0f\x66\x65\x63_data_extent\x18\x0e \x01(\x0b\x32\x1e.chromeos_update_engine.Extent\x12\x32\n\nfec_extent\x18\x0f \x01(\x0b\x32\x1e.chromeos_update_engine.Extent\x12\x14\n\tfec_roots\x18\x10 \x01(\r:\x01\x32\x12\x0f\n\x07version\x18\x11 \x01(\t\x12\x43\n\x10merge_operations\x18\x12 \x03(\x0b\x32).chromeos_update_engine.CowMergeOperation\x12\x19\n\x11\x65stimate_cow_size\x18\x13 \x01(\x04"L\n\x15\x44ynamicPartitionGroup\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x0c\n\x04size\x18\x02 \x01(\x04\x12\x17\n\x0fpartition_names\x18\x03 \x03(\t"\xbe\x01\n\x18\x44ynamicPartitionMetadata\x12=\n\x06groups\x18\x01 \x03(\x0b\x32-.chromeos_update_engine.DynamicPartitionGroup\x12\x18\n\x10snapshot_enabled\x18\x02 \x01(\x08\x12\x14\n\x0cvabc_enabled\x18\x03 \x01(\x08\x12\x1e\n\x16vabc_compression_param\x18\x04 \x01(\t\x12\x13\n\x0b\x63ow_version\x18\x05 \x01(\r"c\n\x08\x41pexInfo\x12\x14\n\x0cpackage_name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12\x15\n\ris_compressed\x18\x03 \x01(\x08\x12\x19\n\x11\x64\x65\x63ompressed_size\x18\x04 \x01(\x03"C\n\x0c\x41pexMetadata\x12\x33\n\tapex_info\x18\x01 \x03(\x0b\x32 .chromeos_update_engine.ApexInfo"\x9e\x07\n\x14\x44\x65ltaArchiveManifest\x12H\n\x12install_operations\x18\x01 \x03(\x0b\x32(.chromeos_update_engine.InstallOperationB\x02\x18\x01\x12O\n\x19kernel_install_operations\x18\x02 \x03(\x0b\x32(.chromeos_update_engine.InstallOperationB\x02\x18\x01\x12\x18\n\nblock_size\x18\x03 \x01(\r:\x04\x34\x30\x39\x36\x12\x19\n\x11signatures_offset\x18\x04 \x01(\x04\x12\x17\n\x0fsignatures_size\x18\x05 \x01(\x04\x12\x42\n\x0fold_kernel_info\x18\x06 \x01(\x0b\x32%.chromeos_update_engine.PartitionInfoB\x02\x18\x01\x12\x42\n\x0fnew_kernel_info\x18\x07 \x01(\x0b\x32%.chromeos_update_engine.PartitionInfoB\x02\x18\x01\x12\x42\n\x0fold_rootfs_info\x18\x08 \x01(\x0b\x32%.chromeos_update_engine.PartitionInfoB\x02\x18\x01\x12\x42\n\x0fnew_rootfs_info\x18\t \x01(\x0b\x32%.chromeos_update_engine.PartitionInfoB\x02\x18\x01\x12=\n\x0eold_image_info\x18\n \x01(\x0b\x32!.chromeos_update_engine.ImageInfoB\x02\x18\x01\x12=\n\x0enew_image_info\x18\x0b \x01(\x0b\x32!.chromeos_update_engine.ImageInfoB\x02\x18\x01\x12\x18\n\rminor_version\x18\x0c \x01(\r:\x01\x30\x12;\n\npartitions\x18\r \x03(\x0b\x32\'.chromeos_update_engine.PartitionUpdate\x12\x15\n\rmax_timestamp\x18\x0e \x01(\x03\x12T\n\x1a\x64ynamic_partition_metadata\x18\x0f \x01(\x0b\x32\x30.chromeos_update_engine.DynamicPartitionMetadata\x12\x16\n\x0epartial_update\x18\x10 \x01(\x08\x12\x33\n\tapex_info\x18\x11 \x03(\x0b\x32 .chromeos_update_engine.ApexInfoB\x02H\x03', ) @@ -30,45 +27,167 @@ full_name="chromeos_update_engine.InstallOperation.Type", filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( - name="REPLACE", index=0, number=0, options=None, type=None + name="REPLACE", + index=0, + number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.EnumValueDescriptor( + name="REPLACE_BZ", + index=1, + number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.EnumValueDescriptor( + name="MOVE", + index=2, + number=2, + serialized_options=b"\010\001", + type=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.EnumValueDescriptor( + name="BSDIFF", + index=3, + number=3, + serialized_options=b"\010\001", + type=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.EnumValueDescriptor( + name="SOURCE_COPY", + index=4, + number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key, ), _descriptor.EnumValueDescriptor( - name="REPLACE_BZ", index=1, number=1, options=None, type=None + name="SOURCE_BSDIFF", + index=5, + number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key, ), _descriptor.EnumValueDescriptor( - name="MOVE", index=2, number=2, options=None, type=None + name="REPLACE_XZ", + index=6, + number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key, ), _descriptor.EnumValueDescriptor( - name="BSDIFF", index=3, number=3, options=None, type=None + name="ZERO", + index=7, + number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key, ), _descriptor.EnumValueDescriptor( - name="SOURCE_COPY", index=4, number=4, options=None, type=None + name="DISCARD", + index=8, + number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key, ), _descriptor.EnumValueDescriptor( - name="SOURCE_BSDIFF", index=5, number=5, options=None, type=None + name="BROTLI_BSDIFF", + index=9, + number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key, ), _descriptor.EnumValueDescriptor( - name="ZERO", index=6, number=6, options=None, type=None + name="PUFFDIFF", + index=10, + number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key, ), _descriptor.EnumValueDescriptor( - name="DISCARD", index=7, number=7, options=None, type=None + name="ZUCCHINI", + index=11, + number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key, ), _descriptor.EnumValueDescriptor( - name="REPLACE_XZ", index=8, number=8, options=None, type=None + name="LZ4DIFF_BSDIFF", + index=12, + number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key, ), _descriptor.EnumValueDescriptor( - name="PUFFDIFF", index=9, number=9, options=None, type=None + name="LZ4DIFF_PUFFDIFF", + index=13, + number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key, ), ], containing_type=None, - options=None, - serialized_start=712, - serialized_end=858, + serialized_options=None, + serialized_start=775, + serialized_end=1004, ) _sym_db.RegisterEnumDescriptor(_INSTALLOPERATION_TYPE) +_COWMERGEOPERATION_TYPE = _descriptor.EnumDescriptor( + name="Type", + full_name="chromeos_update_engine.CowMergeOperation.Type", + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name="COW_COPY", + index=0, + number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.EnumValueDescriptor( + name="COW_XOR", + index=1, + number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.EnumValueDescriptor( + name="COW_REPLACE", + index=2, + number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key, + ), + ], + containing_type=None, + serialized_options=None, + serialized_start=1214, + serialized_end=1264, +) +_sym_db.RegisterEnumDescriptor(_COWMERGEOPERATION_TYPE) + _EXTENT = _descriptor.Descriptor( name="Extent", @@ -76,6 +195,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name="start_block", @@ -92,7 +212,9 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="num_blocks", @@ -109,13 +231,15 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), ], extensions=[], nested_types=[], enum_types=[], - options=None, + serialized_options=None, is_extendable=False, syntax="proto2", extension_ranges=[], @@ -131,6 +255,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name="version", @@ -147,7 +272,9 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=b"\030\001", + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="data", @@ -158,25 +285,46 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b(""), + default_value=b"", + 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="unpadded_signature_size", + full_name="chromeos_update_engine.Signatures.Signature.unpadded_signature_size", + index=2, + number=3, + type=7, + cpp_type=3, + label=1, + has_default_value=False, + default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), ], extensions=[], nested_types=[], enum_types=[], - options=None, + serialized_options=None, is_extendable=False, syntax="proto2", extension_ranges=[], oneofs=[], - serialized_start=180, - serialized_end=222, + serialized_start=181, + serialized_end=260, ) _SIGNATURES = _descriptor.Descriptor( @@ -185,6 +333,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name="signatures", @@ -201,7 +350,9 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), ], extensions=[], @@ -209,13 +360,13 @@ _SIGNATURES_SIGNATURE, ], enum_types=[], - options=None, + serialized_options=None, is_extendable=False, syntax="proto2", extension_ranges=[], oneofs=[], - serialized_start=100, - serialized_end=222, + serialized_start=101, + serialized_end=260, ) @@ -225,6 +376,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name="size", @@ -241,7 +393,9 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="hash", @@ -252,25 +406,27 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b(""), + default_value=b"", message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), ], extensions=[], nested_types=[], enum_types=[], - options=None, + serialized_options=None, is_extendable=False, syntax="proto2", extension_ranges=[], oneofs=[], - serialized_start=224, - serialized_end=267, + serialized_start=262, + serialized_end=305, ) @@ -280,6 +436,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name="board", @@ -290,13 +447,15 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=b"\030\001", + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="key", @@ -307,13 +466,15 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=b"\030\001", + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="channel", @@ -324,13 +485,15 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=b"\030\001", + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="version", @@ -341,13 +504,15 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=b"\030\001", + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="build_channel", @@ -358,13 +523,15 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=b"\030\001", + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="build_version", @@ -375,25 +542,27 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=b"\030\001", + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), ], extensions=[], nested_types=[], enum_types=[], - options=None, + serialized_options=None, is_extendable=False, syntax="proto2", extension_ranges=[], oneofs=[], - serialized_start=269, - serialized_end=388, + serialized_start=308, + serialized_end=451, ) @@ -403,6 +572,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name="type", @@ -419,15 +589,17 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="data_offset", full_name="chromeos_update_engine.InstallOperation.data_offset", index=1, number=2, - type=13, - cpp_type=3, + type=4, + cpp_type=4, label=1, has_default_value=False, default_value=0, @@ -436,15 +608,17 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="data_length", full_name="chromeos_update_engine.InstallOperation.data_length", index=2, number=3, - type=13, - cpp_type=3, + type=4, + cpp_type=4, label=1, has_default_value=False, default_value=0, @@ -453,7 +627,9 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="src_extents", @@ -470,7 +646,9 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="src_length", @@ -487,7 +665,9 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="dst_extents", @@ -504,7 +684,9 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="dst_length", @@ -521,7 +703,9 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="data_sha256_hash", @@ -532,13 +716,15 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b(""), + default_value=b"", message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="src_sha256_hash", @@ -549,13 +735,15 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b(""), + default_value=b"", message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), ], extensions=[], @@ -563,13 +751,113 @@ enum_types=[ _INSTALLOPERATION_TYPE, ], - options=None, + serialized_options=None, + is_extendable=False, + syntax="proto2", + extension_ranges=[], + oneofs=[], + serialized_start=454, + serialized_end=1004, +) + + +_COWMERGEOPERATION = _descriptor.Descriptor( + name="CowMergeOperation", + full_name="chromeos_update_engine.CowMergeOperation", + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name="type", + full_name="chromeos_update_engine.CowMergeOperation.type", + index=0, + number=1, + 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="src_extent", + full_name="chromeos_update_engine.CowMergeOperation.src_extent", + index=1, + number=2, + 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="dst_extent", + full_name="chromeos_update_engine.CowMergeOperation.dst_extent", + index=2, + number=3, + 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="src_offset", + full_name="chromeos_update_engine.CowMergeOperation.src_offset", + index=3, + number=4, + type=13, + cpp_type=3, + 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=[ + _COWMERGEOPERATION_TYPE, + ], + serialized_options=None, is_extendable=False, syntax="proto2", extension_ranges=[], oneofs=[], - serialized_start=391, - serialized_end=858, + serialized_start=1007, + serialized_end=1264, ) @@ -579,6 +867,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name="partition_name", @@ -589,13 +878,15 @@ cpp_type=9, label=2, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="run_postinstall", @@ -612,7 +903,9 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="postinstall_path", @@ -623,13 +916,15 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="filesystem_type", @@ -640,13 +935,15 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="new_partition_signature", @@ -663,7 +960,9 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="old_partition_info", @@ -680,7 +979,9 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="new_partition_info", @@ -697,7 +998,9 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="operations", @@ -714,7 +1017,9 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="postinstall_optional", @@ -731,119 +1036,110 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), - ], - extensions=[], - nested_types=[], - enum_types=[], - options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=861, - serialized_end=1283, -) - - -_DELTAARCHIVEMANIFEST = _descriptor.Descriptor( - name="DeltaArchiveManifest", - full_name="chromeos_update_engine.DeltaArchiveManifest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ _descriptor.FieldDescriptor( - name="install_operations", - full_name="chromeos_update_engine.DeltaArchiveManifest.install_operations", - index=0, - number=1, + name="hash_tree_data_extent", + full_name="chromeos_update_engine.PartitionUpdate.hash_tree_data_extent", + index=9, + number=10, type=11, cpp_type=10, - label=3, + label=1, has_default_value=False, - default_value=[], + default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( - name="kernel_install_operations", - full_name="chromeos_update_engine.DeltaArchiveManifest.kernel_install_operations", - index=1, - number=2, + name="hash_tree_extent", + full_name="chromeos_update_engine.PartitionUpdate.hash_tree_extent", + index=10, + number=11, type=11, cpp_type=10, - label=3, + label=1, has_default_value=False, - default_value=[], + default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( - name="block_size", - full_name="chromeos_update_engine.DeltaArchiveManifest.block_size", - index=2, - number=3, - type=13, - cpp_type=3, + name="hash_tree_algorithm", + full_name="chromeos_update_engine.PartitionUpdate.hash_tree_algorithm", + index=11, + number=12, + type=9, + cpp_type=9, label=1, - has_default_value=True, - default_value=4096, + 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, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( - name="signatures_offset", - full_name="chromeos_update_engine.DeltaArchiveManifest.signatures_offset", - index=3, - number=4, - type=4, - cpp_type=4, + name="hash_tree_salt", + full_name="chromeos_update_engine.PartitionUpdate.hash_tree_salt", + index=12, + number=13, + type=12, + cpp_type=9, label=1, has_default_value=False, - default_value=0, + default_value=b"", message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( - name="signatures_size", - full_name="chromeos_update_engine.DeltaArchiveManifest.signatures_size", - index=4, - number=5, - type=4, - cpp_type=4, + name="fec_data_extent", + full_name="chromeos_update_engine.PartitionUpdate.fec_data_extent", + index=13, + number=14, + type=11, + cpp_type=10, label=1, has_default_value=False, - default_value=0, + default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( - name="old_kernel_info", - full_name="chromeos_update_engine.DeltaArchiveManifest.old_kernel_info", - index=5, - number=6, + name="fec_extent", + full_name="chromeos_update_engine.PartitionUpdate.fec_extent", + index=14, + number=15, type=11, cpp_type=10, label=1, @@ -854,62 +1150,617 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( - name="new_kernel_info", - full_name="chromeos_update_engine.DeltaArchiveManifest.new_kernel_info", - index=6, - number=7, - type=11, - cpp_type=10, + name="fec_roots", + full_name="chromeos_update_engine.PartitionUpdate.fec_roots", + index=15, + number=16, + type=13, + cpp_type=3, label=1, - has_default_value=False, - default_value=None, + has_default_value=True, + default_value=2, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( - name="old_rootfs_info", - full_name="chromeos_update_engine.DeltaArchiveManifest.old_rootfs_info", - index=7, - number=8, - type=11, - cpp_type=10, + name="version", + full_name="chromeos_update_engine.PartitionUpdate.version", + index=16, + number=17, + type=9, + cpp_type=9, label=1, has_default_value=False, - default_value=None, + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( - name="new_rootfs_info", - full_name="chromeos_update_engine.DeltaArchiveManifest.new_rootfs_info", - index=8, - number=9, + name="merge_operations", + full_name="chromeos_update_engine.PartitionUpdate.merge_operations", + index=17, + number=18, type=11, cpp_type=10, - label=1, + label=3, has_default_value=False, - default_value=None, + default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( - name="old_image_info", - full_name="chromeos_update_engine.DeltaArchiveManifest.old_image_info", + name="estimate_cow_size", + full_name="chromeos_update_engine.PartitionUpdate.estimate_cow_size", + index=18, + number=19, + type=4, + cpp_type=4, + 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=[], + serialized_options=None, + is_extendable=False, + syntax="proto2", + extension_ranges=[], + oneofs=[], + serialized_start=1267, + serialized_end=2107, +) + + +_DYNAMICPARTITIONGROUP = _descriptor.Descriptor( + name="DynamicPartitionGroup", + full_name="chromeos_update_engine.DynamicPartitionGroup", + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name="name", + full_name="chromeos_update_engine.DynamicPartitionGroup.name", + index=0, + number=1, + type=9, + cpp_type=9, + label=2, + 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="size", + full_name="chromeos_update_engine.DynamicPartitionGroup.size", + index=1, + number=2, + type=4, + cpp_type=4, + 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="partition_names", + full_name="chromeos_update_engine.DynamicPartitionGroup.partition_names", + index=2, + number=3, + 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, + ), + ], + extensions=[], + nested_types=[], + enum_types=[], + serialized_options=None, + is_extendable=False, + syntax="proto2", + extension_ranges=[], + oneofs=[], + serialized_start=2109, + serialized_end=2185, +) + + +_DYNAMICPARTITIONMETADATA = _descriptor.Descriptor( + name="DynamicPartitionMetadata", + full_name="chromeos_update_engine.DynamicPartitionMetadata", + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name="groups", + full_name="chromeos_update_engine.DynamicPartitionMetadata.groups", + index=0, + number=1, + 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="snapshot_enabled", + full_name="chromeos_update_engine.DynamicPartitionMetadata.snapshot_enabled", + index=1, + number=2, + 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, + ), + _descriptor.FieldDescriptor( + name="vabc_enabled", + full_name="chromeos_update_engine.DynamicPartitionMetadata.vabc_enabled", + index=2, + number=3, + 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, + ), + _descriptor.FieldDescriptor( + name="vabc_compression_param", + full_name="chromeos_update_engine.DynamicPartitionMetadata.vabc_compression_param", + 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="cow_version", + full_name="chromeos_update_engine.DynamicPartitionMetadata.cow_version", + index=4, + number=5, + type=13, + cpp_type=3, + 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=[], + serialized_options=None, + is_extendable=False, + syntax="proto2", + extension_ranges=[], + oneofs=[], + serialized_start=2188, + serialized_end=2378, +) + + +_APEXINFO = _descriptor.Descriptor( + name="ApexInfo", + full_name="chromeos_update_engine.ApexInfo", + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name="package_name", + full_name="chromeos_update_engine.ApexInfo.package_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="version", + full_name="chromeos_update_engine.ApexInfo.version", + index=1, + number=2, + type=3, + cpp_type=2, + 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="is_compressed", + full_name="chromeos_update_engine.ApexInfo.is_compressed", + index=2, + number=3, + 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, + ), + _descriptor.FieldDescriptor( + name="decompressed_size", + full_name="chromeos_update_engine.ApexInfo.decompressed_size", + index=3, + number=4, + type=3, + cpp_type=2, + 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=[], + serialized_options=None, + is_extendable=False, + syntax="proto2", + extension_ranges=[], + oneofs=[], + serialized_start=2380, + serialized_end=2479, +) + + +_APEXMETADATA = _descriptor.Descriptor( + name="ApexMetadata", + full_name="chromeos_update_engine.ApexMetadata", + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name="apex_info", + full_name="chromeos_update_engine.ApexMetadata.apex_info", + index=0, + number=1, + 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, + ), + ], + extensions=[], + nested_types=[], + enum_types=[], + serialized_options=None, + is_extendable=False, + syntax="proto2", + extension_ranges=[], + oneofs=[], + serialized_start=2481, + serialized_end=2548, +) + + +_DELTAARCHIVEMANIFEST = _descriptor.Descriptor( + name="DeltaArchiveManifest", + full_name="chromeos_update_engine.DeltaArchiveManifest", + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name="install_operations", + full_name="chromeos_update_engine.DeltaArchiveManifest.install_operations", + index=0, + number=1, + 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=b"\030\001", + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + ), + _descriptor.FieldDescriptor( + name="kernel_install_operations", + full_name="chromeos_update_engine.DeltaArchiveManifest.kernel_install_operations", + index=1, + number=2, + 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=b"\030\001", + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + ), + _descriptor.FieldDescriptor( + name="block_size", + full_name="chromeos_update_engine.DeltaArchiveManifest.block_size", + index=2, + number=3, + type=13, + cpp_type=3, + label=1, + has_default_value=True, + default_value=4096, + 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="signatures_offset", + full_name="chromeos_update_engine.DeltaArchiveManifest.signatures_offset", + index=3, + number=4, + type=4, + cpp_type=4, + 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="signatures_size", + full_name="chromeos_update_engine.DeltaArchiveManifest.signatures_size", + index=4, + number=5, + type=4, + cpp_type=4, + 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="old_kernel_info", + full_name="chromeos_update_engine.DeltaArchiveManifest.old_kernel_info", + index=5, + number=6, + 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=b"\030\001", + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + ), + _descriptor.FieldDescriptor( + name="new_kernel_info", + full_name="chromeos_update_engine.DeltaArchiveManifest.new_kernel_info", + 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=b"\030\001", + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + ), + _descriptor.FieldDescriptor( + name="old_rootfs_info", + full_name="chromeos_update_engine.DeltaArchiveManifest.old_rootfs_info", + index=7, + number=8, + 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=b"\030\001", + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + ), + _descriptor.FieldDescriptor( + name="new_rootfs_info", + full_name="chromeos_update_engine.DeltaArchiveManifest.new_rootfs_info", + index=8, + number=9, + 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=b"\030\001", + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + ), + _descriptor.FieldDescriptor( + name="old_image_info", + full_name="chromeos_update_engine.DeltaArchiveManifest.old_image_info", index=9, number=10, type=11, @@ -922,7 +1773,9 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=b"\030\001", + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="new_image_info", @@ -939,7 +1792,9 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=b"\030\001", + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="minor_version", @@ -956,7 +1811,9 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, ), _descriptor.FieldDescriptor( name="partitions", @@ -973,19 +1830,97 @@ containing_type=None, is_extension=False, extension_scope=None, - options=None, + serialized_options=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + ), + _descriptor.FieldDescriptor( + name="max_timestamp", + full_name="chromeos_update_engine.DeltaArchiveManifest.max_timestamp", + index=13, + number=14, + type=3, + cpp_type=2, + 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="dynamic_partition_metadata", + full_name="chromeos_update_engine.DeltaArchiveManifest.dynamic_partition_metadata", + index=14, + number=15, + 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="partial_update", + full_name="chromeos_update_engine.DeltaArchiveManifest.partial_update", + index=15, + number=16, + 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, + ), + _descriptor.FieldDescriptor( + name="apex_info", + full_name="chromeos_update_engine.DeltaArchiveManifest.apex_info", + index=16, + number=17, + 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, ), ], extensions=[], nested_types=[], enum_types=[], - options=None, + serialized_options=None, is_extendable=False, syntax="proto2", extension_ranges=[], oneofs=[], - serialized_start=1286, - serialized_end=1994, + serialized_start=2551, + serialized_end=3477, ) _SIGNATURES_SIGNATURE.containing_type = _SIGNATURES @@ -994,12 +1929,23 @@ _INSTALLOPERATION.fields_by_name["src_extents"].message_type = _EXTENT _INSTALLOPERATION.fields_by_name["dst_extents"].message_type = _EXTENT _INSTALLOPERATION_TYPE.containing_type = _INSTALLOPERATION +_COWMERGEOPERATION.fields_by_name["type"].enum_type = _COWMERGEOPERATION_TYPE +_COWMERGEOPERATION.fields_by_name["src_extent"].message_type = _EXTENT +_COWMERGEOPERATION.fields_by_name["dst_extent"].message_type = _EXTENT +_COWMERGEOPERATION_TYPE.containing_type = _COWMERGEOPERATION _PARTITIONUPDATE.fields_by_name[ "new_partition_signature" ].message_type = _SIGNATURES_SIGNATURE _PARTITIONUPDATE.fields_by_name["old_partition_info"].message_type = _PARTITIONINFO _PARTITIONUPDATE.fields_by_name["new_partition_info"].message_type = _PARTITIONINFO _PARTITIONUPDATE.fields_by_name["operations"].message_type = _INSTALLOPERATION +_PARTITIONUPDATE.fields_by_name["hash_tree_data_extent"].message_type = _EXTENT +_PARTITIONUPDATE.fields_by_name["hash_tree_extent"].message_type = _EXTENT +_PARTITIONUPDATE.fields_by_name["fec_data_extent"].message_type = _EXTENT +_PARTITIONUPDATE.fields_by_name["fec_extent"].message_type = _EXTENT +_PARTITIONUPDATE.fields_by_name["merge_operations"].message_type = _COWMERGEOPERATION +_DYNAMICPARTITIONMETADATA.fields_by_name["groups"].message_type = _DYNAMICPARTITIONGROUP +_APEXMETADATA.fields_by_name["apex_info"].message_type = _APEXINFO _DELTAARCHIVEMANIFEST.fields_by_name[ "install_operations" ].message_type = _INSTALLOPERATION @@ -1013,43 +1959,52 @@ _DELTAARCHIVEMANIFEST.fields_by_name["old_image_info"].message_type = _IMAGEINFO _DELTAARCHIVEMANIFEST.fields_by_name["new_image_info"].message_type = _IMAGEINFO _DELTAARCHIVEMANIFEST.fields_by_name["partitions"].message_type = _PARTITIONUPDATE +_DELTAARCHIVEMANIFEST.fields_by_name[ + "dynamic_partition_metadata" +].message_type = _DYNAMICPARTITIONMETADATA +_DELTAARCHIVEMANIFEST.fields_by_name["apex_info"].message_type = _APEXINFO DESCRIPTOR.message_types_by_name["Extent"] = _EXTENT DESCRIPTOR.message_types_by_name["Signatures"] = _SIGNATURES DESCRIPTOR.message_types_by_name["PartitionInfo"] = _PARTITIONINFO DESCRIPTOR.message_types_by_name["ImageInfo"] = _IMAGEINFO DESCRIPTOR.message_types_by_name["InstallOperation"] = _INSTALLOPERATION +DESCRIPTOR.message_types_by_name["CowMergeOperation"] = _COWMERGEOPERATION DESCRIPTOR.message_types_by_name["PartitionUpdate"] = _PARTITIONUPDATE +DESCRIPTOR.message_types_by_name["DynamicPartitionGroup"] = _DYNAMICPARTITIONGROUP +DESCRIPTOR.message_types_by_name["DynamicPartitionMetadata"] = _DYNAMICPARTITIONMETADATA +DESCRIPTOR.message_types_by_name["ApexInfo"] = _APEXINFO +DESCRIPTOR.message_types_by_name["ApexMetadata"] = _APEXMETADATA DESCRIPTOR.message_types_by_name["DeltaArchiveManifest"] = _DELTAARCHIVEMANIFEST _sym_db.RegisterFileDescriptor(DESCRIPTOR) Extent = _reflection.GeneratedProtocolMessageType( "Extent", (_message.Message,), - dict( - DESCRIPTOR=_EXTENT, - __module__="update_metadata_pb2" + { + "DESCRIPTOR": _EXTENT, + "__module__": "update_metadata_pb2" # @@protoc_insertion_point(class_scope:chromeos_update_engine.Extent) - ), + }, ) _sym_db.RegisterMessage(Extent) Signatures = _reflection.GeneratedProtocolMessageType( "Signatures", (_message.Message,), - dict( - Signature=_reflection.GeneratedProtocolMessageType( + { + "Signature": _reflection.GeneratedProtocolMessageType( "Signature", (_message.Message,), - dict( - DESCRIPTOR=_SIGNATURES_SIGNATURE, - __module__="update_metadata_pb2" + { + "DESCRIPTOR": _SIGNATURES_SIGNATURE, + "__module__": "update_metadata_pb2" # @@protoc_insertion_point(class_scope:chromeos_update_engine.Signatures.Signature) - ), + }, ), - DESCRIPTOR=_SIGNATURES, - __module__="update_metadata_pb2" + "DESCRIPTOR": _SIGNATURES, + "__module__": "update_metadata_pb2" # @@protoc_insertion_point(class_scope:chromeos_update_engine.Signatures) - ), + }, ) _sym_db.RegisterMessage(Signatures) _sym_db.RegisterMessage(Signatures.Signature) @@ -1057,61 +2012,130 @@ PartitionInfo = _reflection.GeneratedProtocolMessageType( "PartitionInfo", (_message.Message,), - dict( - DESCRIPTOR=_PARTITIONINFO, - __module__="update_metadata_pb2" + { + "DESCRIPTOR": _PARTITIONINFO, + "__module__": "update_metadata_pb2" # @@protoc_insertion_point(class_scope:chromeos_update_engine.PartitionInfo) - ), + }, ) _sym_db.RegisterMessage(PartitionInfo) ImageInfo = _reflection.GeneratedProtocolMessageType( "ImageInfo", (_message.Message,), - dict( - DESCRIPTOR=_IMAGEINFO, - __module__="update_metadata_pb2" + { + "DESCRIPTOR": _IMAGEINFO, + "__module__": "update_metadata_pb2" # @@protoc_insertion_point(class_scope:chromeos_update_engine.ImageInfo) - ), + }, ) _sym_db.RegisterMessage(ImageInfo) InstallOperation = _reflection.GeneratedProtocolMessageType( "InstallOperation", (_message.Message,), - dict( - DESCRIPTOR=_INSTALLOPERATION, - __module__="update_metadata_pb2" + { + "DESCRIPTOR": _INSTALLOPERATION, + "__module__": "update_metadata_pb2" # @@protoc_insertion_point(class_scope:chromeos_update_engine.InstallOperation) - ), + }, ) _sym_db.RegisterMessage(InstallOperation) +CowMergeOperation = _reflection.GeneratedProtocolMessageType( + "CowMergeOperation", + (_message.Message,), + { + "DESCRIPTOR": _COWMERGEOPERATION, + "__module__": "update_metadata_pb2" + # @@protoc_insertion_point(class_scope:chromeos_update_engine.CowMergeOperation) + }, +) +_sym_db.RegisterMessage(CowMergeOperation) + PartitionUpdate = _reflection.GeneratedProtocolMessageType( "PartitionUpdate", (_message.Message,), - dict( - DESCRIPTOR=_PARTITIONUPDATE, - __module__="update_metadata_pb2" + { + "DESCRIPTOR": _PARTITIONUPDATE, + "__module__": "update_metadata_pb2" # @@protoc_insertion_point(class_scope:chromeos_update_engine.PartitionUpdate) - ), + }, ) _sym_db.RegisterMessage(PartitionUpdate) +DynamicPartitionGroup = _reflection.GeneratedProtocolMessageType( + "DynamicPartitionGroup", + (_message.Message,), + { + "DESCRIPTOR": _DYNAMICPARTITIONGROUP, + "__module__": "update_metadata_pb2" + # @@protoc_insertion_point(class_scope:chromeos_update_engine.DynamicPartitionGroup) + }, +) +_sym_db.RegisterMessage(DynamicPartitionGroup) + +DynamicPartitionMetadata = _reflection.GeneratedProtocolMessageType( + "DynamicPartitionMetadata", + (_message.Message,), + { + "DESCRIPTOR": _DYNAMICPARTITIONMETADATA, + "__module__": "update_metadata_pb2" + # @@protoc_insertion_point(class_scope:chromeos_update_engine.DynamicPartitionMetadata) + }, +) +_sym_db.RegisterMessage(DynamicPartitionMetadata) + +ApexInfo = _reflection.GeneratedProtocolMessageType( + "ApexInfo", + (_message.Message,), + { + "DESCRIPTOR": _APEXINFO, + "__module__": "update_metadata_pb2" + # @@protoc_insertion_point(class_scope:chromeos_update_engine.ApexInfo) + }, +) +_sym_db.RegisterMessage(ApexInfo) + +ApexMetadata = _reflection.GeneratedProtocolMessageType( + "ApexMetadata", + (_message.Message,), + { + "DESCRIPTOR": _APEXMETADATA, + "__module__": "update_metadata_pb2" + # @@protoc_insertion_point(class_scope:chromeos_update_engine.ApexMetadata) + }, +) +_sym_db.RegisterMessage(ApexMetadata) + DeltaArchiveManifest = _reflection.GeneratedProtocolMessageType( "DeltaArchiveManifest", (_message.Message,), - dict( - DESCRIPTOR=_DELTAARCHIVEMANIFEST, - __module__="update_metadata_pb2" + { + "DESCRIPTOR": _DELTAARCHIVEMANIFEST, + "__module__": "update_metadata_pb2" # @@protoc_insertion_point(class_scope:chromeos_update_engine.DeltaArchiveManifest) - ), + }, ) _sym_db.RegisterMessage(DeltaArchiveManifest) -DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions( - descriptor_pb2.FileOptions(), _b("H\003") -) +DESCRIPTOR._options = None +_SIGNATURES_SIGNATURE.fields_by_name["version"]._options = None +_IMAGEINFO.fields_by_name["board"]._options = None +_IMAGEINFO.fields_by_name["key"]._options = None +_IMAGEINFO.fields_by_name["channel"]._options = None +_IMAGEINFO.fields_by_name["version"]._options = None +_IMAGEINFO.fields_by_name["build_channel"]._options = None +_IMAGEINFO.fields_by_name["build_version"]._options = None +_INSTALLOPERATION_TYPE.values_by_name["MOVE"]._options = None +_INSTALLOPERATION_TYPE.values_by_name["BSDIFF"]._options = None +_DELTAARCHIVEMANIFEST.fields_by_name["install_operations"]._options = None +_DELTAARCHIVEMANIFEST.fields_by_name["kernel_install_operations"]._options = None +_DELTAARCHIVEMANIFEST.fields_by_name["old_kernel_info"]._options = None +_DELTAARCHIVEMANIFEST.fields_by_name["new_kernel_info"]._options = None +_DELTAARCHIVEMANIFEST.fields_by_name["old_rootfs_info"]._options = None +_DELTAARCHIVEMANIFEST.fields_by_name["new_rootfs_info"]._options = None +_DELTAARCHIVEMANIFEST.fields_by_name["old_image_info"]._options = None +_DELTAARCHIVEMANIFEST.fields_by_name["new_image_info"]._options = None # @@protoc_insertion_point(module_scope)