uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 1 | # -*- coding: utf-8 -*- |
| 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 3 | # source: dmi/sw_image.proto |
Andrea Campanella | cb990bc | 2020-09-22 12:50:56 +0200 | [diff] [blame] | 4 | """Generated protocol buffer code.""" |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 5 | from google.protobuf import descriptor as _descriptor |
Girish Gowdra | 997432d | 2022-03-10 15:59:33 -0800 | [diff] [blame] | 6 | from google.protobuf import descriptor_pool as _descriptor_pool |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 7 | from google.protobuf import message as _message |
| 8 | from google.protobuf import reflection as _reflection |
| 9 | from google.protobuf import symbol_database as _symbol_database |
| 10 | # @@protoc_insertion_point(imports) |
| 11 | |
| 12 | _sym_db = _symbol_database.Default() |
| 13 | |
| 14 | |
| 15 | from dmi import commons_pb2 as dmi_dot_commons__pb2 |
| 16 | |
| 17 | |
Girish Gowdra | 997432d | 2022-03-10 15:59:33 -0800 | [diff] [blame] | 18 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12\x64mi/sw_image.proto\x12\x03\x64mi\x1a\x11\x64mi/commons.proto\"3\n\x0cImageVersion\x12\x12\n\nimage_name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\"x\n\x10ImageInformation\x12 \n\x05image\x18\x01 \x01(\x0b\x32\x11.dmi.ImageVersion\x12\x1c\n\x14image_install_script\x18\x02 \x01(\t\x12\x11\n\timage_url\x18\x03 \x01(\t\x12\x11\n\tsha256sum\x18\x05 \x01(\t\"\xe2\x04\n\x0bImageStatus\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12\'\n\x06reason\x18\x02 \x01(\x0e\x32\x17.dmi.ImageStatus.Reason\x12*\n\x05state\x18\x03 \x01(\x0e\x32\x1b.dmi.ImageStatus.ImageState\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x15\n\rreason_detail\x18\x05 \x01(\t\"\xd0\x01\n\nImageState\x12\x13\n\x0fUNDEFINED_STATE\x10\x00\x12\x11\n\rCOPYING_IMAGE\x10\x01\x12\x14\n\x10INSTALLING_IMAGE\x10\x02\x12\x14\n\x10\x43OMMITTING_IMAGE\x10\x03\x12\x14\n\x10REBOOTING_DEVICE\x10\x04\x12\x14\n\x10UPGRADE_COMPLETE\x10\x05\x12\x12\n\x0eUPGRADE_FAILED\x10\x06\x12\x17\n\x13\x41\x43TIVATION_COMPLETE\x10\x07\x12\x15\n\x11\x41\x43TIVATION_FAILED\x10\x08\"\xe1\x01\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x14\n\x10\x45RROR_IN_REQUEST\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x19\n\x15\x44\x45VICE_IN_WRONG_STATE\x10\x03\x12\x11\n\rINVALID_IMAGE\x10\x04\x12\x18\n\x14WRONG_IMAGE_CHECKSUM\x10\x05\x12!\n\x1dOPERATION_ALREADY_IN_PROGRESS\x10\x06\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x07\x12\x18\n\x14\x44\x45VICE_NOT_REACHABLE\x10\x08\x42;Z9github.com/opencord/device-management-interface/v3/go/dmib\x06proto3') |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 19 | |
| 20 | |
| 21 | |
Girish Gowdra | 997432d | 2022-03-10 15:59:33 -0800 | [diff] [blame] | 22 | _IMAGEVERSION = DESCRIPTOR.message_types_by_name['ImageVersion'] |
| 23 | _IMAGEINFORMATION = DESCRIPTOR.message_types_by_name['ImageInformation'] |
| 24 | _IMAGESTATUS = DESCRIPTOR.message_types_by_name['ImageStatus'] |
| 25 | _IMAGESTATUS_IMAGESTATE = _IMAGESTATUS.enum_types_by_name['ImageState'] |
| 26 | _IMAGESTATUS_REASON = _IMAGESTATUS.enum_types_by_name['Reason'] |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 27 | ImageVersion = _reflection.GeneratedProtocolMessageType('ImageVersion', (_message.Message,), { |
| 28 | 'DESCRIPTOR' : _IMAGEVERSION, |
| 29 | '__module__' : 'dmi.sw_image_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 30 | # @@protoc_insertion_point(class_scope:dmi.ImageVersion) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 31 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 32 | _sym_db.RegisterMessage(ImageVersion) |
| 33 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 34 | ImageInformation = _reflection.GeneratedProtocolMessageType('ImageInformation', (_message.Message,), { |
| 35 | 'DESCRIPTOR' : _IMAGEINFORMATION, |
| 36 | '__module__' : 'dmi.sw_image_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 37 | # @@protoc_insertion_point(class_scope:dmi.ImageInformation) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 38 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 39 | _sym_db.RegisterMessage(ImageInformation) |
| 40 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 41 | ImageStatus = _reflection.GeneratedProtocolMessageType('ImageStatus', (_message.Message,), { |
| 42 | 'DESCRIPTOR' : _IMAGESTATUS, |
| 43 | '__module__' : 'dmi.sw_image_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 44 | # @@protoc_insertion_point(class_scope:dmi.ImageStatus) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 45 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 46 | _sym_db.RegisterMessage(ImageStatus) |
| 47 | |
Girish Gowdra | 997432d | 2022-03-10 15:59:33 -0800 | [diff] [blame] | 48 | if _descriptor._USE_C_DESCRIPTORS == False: |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 49 | |
Girish Gowdra | 997432d | 2022-03-10 15:59:33 -0800 | [diff] [blame] | 50 | DESCRIPTOR._options = None |
| 51 | DESCRIPTOR._serialized_options = b'Z9github.com/opencord/device-management-interface/v3/go/dmi' |
| 52 | _IMAGEVERSION._serialized_start=46 |
| 53 | _IMAGEVERSION._serialized_end=97 |
| 54 | _IMAGEINFORMATION._serialized_start=99 |
| 55 | _IMAGEINFORMATION._serialized_end=219 |
| 56 | _IMAGESTATUS._serialized_start=222 |
| 57 | _IMAGESTATUS._serialized_end=832 |
| 58 | _IMAGESTATUS_IMAGESTATE._serialized_start=396 |
| 59 | _IMAGESTATUS_IMAGESTATE._serialized_end=604 |
| 60 | _IMAGESTATUS_REASON._serialized_start=607 |
| 61 | _IMAGESTATUS_REASON._serialized_end=832 |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 62 | # @@protoc_insertion_point(module_scope) |