blob: 28d6ef9c7f28ee3569a74d3f3b2f7a4a9f5e3c87 [file] [log] [blame]
uwe ottrembka66d91ea2020-08-11 10:50:55 +02001# -*- coding: utf-8 -*-
2# Generated by the protocol buffer compiler. DO NOT EDIT!
3# source: dmi/sw_image.proto
Andrea Campanellacb990bc2020-09-22 12:50:56 +02004"""Generated protocol buffer code."""
uwe ottrembka66d91ea2020-08-11 10:50:55 +02005from google.protobuf import descriptor as _descriptor
Girish Gowdra997432d2022-03-10 15:59:33 -08006from google.protobuf import descriptor_pool as _descriptor_pool
uwe ottrembka66d91ea2020-08-11 10:50:55 +02007from google.protobuf import message as _message
8from google.protobuf import reflection as _reflection
9from google.protobuf import symbol_database as _symbol_database
10# @@protoc_insertion_point(imports)
11
12_sym_db = _symbol_database.Default()
13
14
15from dmi import commons_pb2 as dmi_dot_commons__pb2
16
17
Girish Gowdra997432d2022-03-10 15:59:33 -080018DESCRIPTOR = _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 ottrembka66d91ea2020-08-11 10:50:55 +020019
20
21
Girish Gowdra997432d2022-03-10 15:59:33 -080022_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 ottrembka5ea5c0a2020-08-31 10:37:35 +020027ImageVersion = _reflection.GeneratedProtocolMessageType('ImageVersion', (_message.Message,), {
28 'DESCRIPTOR' : _IMAGEVERSION,
29 '__module__' : 'dmi.sw_image_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +020030 # @@protoc_insertion_point(class_scope:dmi.ImageVersion)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020031 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +020032_sym_db.RegisterMessage(ImageVersion)
33
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020034ImageInformation = _reflection.GeneratedProtocolMessageType('ImageInformation', (_message.Message,), {
35 'DESCRIPTOR' : _IMAGEINFORMATION,
36 '__module__' : 'dmi.sw_image_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +020037 # @@protoc_insertion_point(class_scope:dmi.ImageInformation)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020038 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +020039_sym_db.RegisterMessage(ImageInformation)
40
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020041ImageStatus = _reflection.GeneratedProtocolMessageType('ImageStatus', (_message.Message,), {
42 'DESCRIPTOR' : _IMAGESTATUS,
43 '__module__' : 'dmi.sw_image_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +020044 # @@protoc_insertion_point(class_scope:dmi.ImageStatus)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020045 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +020046_sym_db.RegisterMessage(ImageStatus)
47
Girish Gowdra997432d2022-03-10 15:59:33 -080048if _descriptor._USE_C_DESCRIPTORS == False:
uwe ottrembka66d91ea2020-08-11 10:50:55 +020049
Girish Gowdra997432d2022-03-10 15:59:33 -080050 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 ottrembka66d91ea2020-08-11 10:50:55 +020062# @@protoc_insertion_point(module_scope)