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 |
| 6 | from google.protobuf import message as _message |
| 7 | from google.protobuf import reflection as _reflection |
| 8 | from google.protobuf import symbol_database as _symbol_database |
| 9 | # @@protoc_insertion_point(imports) |
| 10 | |
| 11 | _sym_db = _symbol_database.Default() |
| 12 | |
| 13 | |
| 14 | from dmi import commons_pb2 as dmi_dot_commons__pb2 |
| 15 | |
| 16 | |
| 17 | DESCRIPTOR = _descriptor.FileDescriptor( |
| 18 | name='dmi/sw_image.proto', |
| 19 | package='dmi', |
| 20 | syntax='proto3', |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 21 | serialized_options=b'Z9github.com/opencord/device-management-interface/v3/go/dmi', |
| 22 | create_key=_descriptor._internal_create_key, |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame^] | 23 | serialized_pb=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] | 24 | , |
| 25 | dependencies=[dmi_dot_commons__pb2.DESCRIPTOR,]) |
| 26 | |
| 27 | |
| 28 | |
| 29 | _IMAGESTATUS_IMAGESTATE = _descriptor.EnumDescriptor( |
| 30 | name='ImageState', |
| 31 | full_name='dmi.ImageStatus.ImageState', |
| 32 | filename=None, |
| 33 | file=DESCRIPTOR, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 34 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 35 | values=[ |
| 36 | _descriptor.EnumValueDescriptor( |
| 37 | name='UNDEFINED_STATE', index=0, number=0, |
| 38 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 39 | type=None, |
| 40 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 41 | _descriptor.EnumValueDescriptor( |
| 42 | name='COPYING_IMAGE', index=1, number=1, |
| 43 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 44 | type=None, |
| 45 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 46 | _descriptor.EnumValueDescriptor( |
| 47 | name='INSTALLING_IMAGE', index=2, number=2, |
| 48 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 49 | type=None, |
| 50 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 51 | _descriptor.EnumValueDescriptor( |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 52 | name='COMMITTING_IMAGE', index=3, number=3, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 53 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 54 | type=None, |
| 55 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 56 | _descriptor.EnumValueDescriptor( |
| 57 | name='REBOOTING_DEVICE', index=4, number=4, |
| 58 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 59 | type=None, |
| 60 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 61 | _descriptor.EnumValueDescriptor( |
| 62 | name='UPGRADE_COMPLETE', index=5, number=5, |
| 63 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 64 | type=None, |
| 65 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 66 | _descriptor.EnumValueDescriptor( |
| 67 | name='UPGRADE_FAILED', index=6, number=6, |
| 68 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 69 | type=None, |
| 70 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 71 | _descriptor.EnumValueDescriptor( |
| 72 | name='ACTIVATION_COMPLETE', index=7, number=7, |
| 73 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 74 | type=None, |
| 75 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 76 | _descriptor.EnumValueDescriptor( |
| 77 | name='ACTIVATION_FAILED', index=8, number=8, |
| 78 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 79 | type=None, |
| 80 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 81 | ], |
| 82 | containing_type=None, |
| 83 | serialized_options=None, |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame^] | 84 | serialized_start=396, |
| 85 | serialized_end=604, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 86 | ) |
| 87 | _sym_db.RegisterEnumDescriptor(_IMAGESTATUS_IMAGESTATE) |
| 88 | |
| 89 | _IMAGESTATUS_REASON = _descriptor.EnumDescriptor( |
| 90 | name='Reason', |
| 91 | full_name='dmi.ImageStatus.Reason', |
| 92 | filename=None, |
| 93 | file=DESCRIPTOR, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 94 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 95 | values=[ |
| 96 | _descriptor.EnumValueDescriptor( |
| 97 | name='UNDEFINED_REASON', index=0, number=0, |
| 98 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 99 | type=None, |
| 100 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 101 | _descriptor.EnumValueDescriptor( |
| 102 | name='ERROR_IN_REQUEST', index=1, number=1, |
| 103 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 104 | type=None, |
| 105 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 106 | _descriptor.EnumValueDescriptor( |
| 107 | name='INTERNAL_ERROR', index=2, number=2, |
| 108 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 109 | type=None, |
| 110 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 111 | _descriptor.EnumValueDescriptor( |
| 112 | name='DEVICE_IN_WRONG_STATE', index=3, number=3, |
| 113 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 114 | type=None, |
| 115 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 116 | _descriptor.EnumValueDescriptor( |
| 117 | name='INVALID_IMAGE', index=4, number=4, |
| 118 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 119 | type=None, |
| 120 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 121 | _descriptor.EnumValueDescriptor( |
| 122 | name='WRONG_IMAGE_CHECKSUM', index=5, number=5, |
| 123 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 124 | type=None, |
| 125 | create_key=_descriptor._internal_create_key), |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 126 | _descriptor.EnumValueDescriptor( |
| 127 | name='OPERATION_ALREADY_IN_PROGRESS', index=6, number=6, |
| 128 | serialized_options=None, |
| 129 | type=None, |
| 130 | create_key=_descriptor._internal_create_key), |
| 131 | _descriptor.EnumValueDescriptor( |
| 132 | name='UNKNOWN_DEVICE', index=7, number=7, |
| 133 | serialized_options=None, |
| 134 | type=None, |
| 135 | create_key=_descriptor._internal_create_key), |
| 136 | _descriptor.EnumValueDescriptor( |
| 137 | name='DEVICE_NOT_REACHABLE', index=8, number=8, |
| 138 | serialized_options=None, |
| 139 | type=None, |
| 140 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 141 | ], |
| 142 | containing_type=None, |
| 143 | serialized_options=None, |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame^] | 144 | serialized_start=607, |
| 145 | serialized_end=832, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 146 | ) |
| 147 | _sym_db.RegisterEnumDescriptor(_IMAGESTATUS_REASON) |
| 148 | |
| 149 | |
| 150 | _IMAGEVERSION = _descriptor.Descriptor( |
| 151 | name='ImageVersion', |
| 152 | full_name='dmi.ImageVersion', |
| 153 | filename=None, |
| 154 | file=DESCRIPTOR, |
| 155 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 156 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 157 | fields=[ |
| 158 | _descriptor.FieldDescriptor( |
| 159 | name='image_name', full_name='dmi.ImageVersion.image_name', index=0, |
| 160 | number=1, type=9, cpp_type=9, label=1, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 161 | has_default_value=False, default_value=b"".decode('utf-8'), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 162 | message_type=None, enum_type=None, containing_type=None, |
| 163 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 164 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 165 | _descriptor.FieldDescriptor( |
| 166 | name='version', full_name='dmi.ImageVersion.version', index=1, |
| 167 | number=2, type=9, cpp_type=9, label=1, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 168 | has_default_value=False, default_value=b"".decode('utf-8'), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 169 | message_type=None, enum_type=None, containing_type=None, |
| 170 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 171 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 172 | ], |
| 173 | extensions=[ |
| 174 | ], |
| 175 | nested_types=[], |
| 176 | enum_types=[ |
| 177 | ], |
| 178 | serialized_options=None, |
| 179 | is_extendable=False, |
| 180 | syntax='proto3', |
| 181 | extension_ranges=[], |
| 182 | oneofs=[ |
| 183 | ], |
| 184 | serialized_start=46, |
| 185 | serialized_end=97, |
| 186 | ) |
| 187 | |
| 188 | |
| 189 | _IMAGEINFORMATION = _descriptor.Descriptor( |
| 190 | name='ImageInformation', |
| 191 | full_name='dmi.ImageInformation', |
| 192 | filename=None, |
| 193 | file=DESCRIPTOR, |
| 194 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 195 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 196 | fields=[ |
| 197 | _descriptor.FieldDescriptor( |
| 198 | name='image', full_name='dmi.ImageInformation.image', index=0, |
| 199 | number=1, type=11, cpp_type=10, label=1, |
| 200 | has_default_value=False, default_value=None, |
| 201 | message_type=None, enum_type=None, containing_type=None, |
| 202 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 203 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 204 | _descriptor.FieldDescriptor( |
| 205 | name='image_install_script', full_name='dmi.ImageInformation.image_install_script', index=1, |
| 206 | number=2, type=9, cpp_type=9, label=1, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 207 | has_default_value=False, default_value=b"".decode('utf-8'), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 208 | message_type=None, enum_type=None, containing_type=None, |
| 209 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 210 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 211 | _descriptor.FieldDescriptor( |
| 212 | name='image_url', full_name='dmi.ImageInformation.image_url', index=2, |
| 213 | number=3, type=9, cpp_type=9, label=1, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 214 | has_default_value=False, default_value=b"".decode('utf-8'), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 215 | message_type=None, enum_type=None, containing_type=None, |
| 216 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 217 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 218 | _descriptor.FieldDescriptor( |
| 219 | name='sha256sum', full_name='dmi.ImageInformation.sha256sum', index=3, |
| 220 | number=5, type=9, cpp_type=9, label=1, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 221 | has_default_value=False, default_value=b"".decode('utf-8'), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 222 | message_type=None, enum_type=None, containing_type=None, |
| 223 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 224 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 225 | ], |
| 226 | extensions=[ |
| 227 | ], |
| 228 | nested_types=[], |
| 229 | enum_types=[ |
| 230 | ], |
| 231 | serialized_options=None, |
| 232 | is_extendable=False, |
| 233 | syntax='proto3', |
| 234 | extension_ranges=[], |
| 235 | oneofs=[ |
| 236 | ], |
| 237 | serialized_start=99, |
| 238 | serialized_end=219, |
| 239 | ) |
| 240 | |
| 241 | |
| 242 | _IMAGESTATUS = _descriptor.Descriptor( |
| 243 | name='ImageStatus', |
| 244 | full_name='dmi.ImageStatus', |
| 245 | filename=None, |
| 246 | file=DESCRIPTOR, |
| 247 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 248 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 249 | fields=[ |
| 250 | _descriptor.FieldDescriptor( |
| 251 | name='status', full_name='dmi.ImageStatus.status', index=0, |
| 252 | number=1, type=14, cpp_type=8, label=1, |
| 253 | has_default_value=False, default_value=0, |
| 254 | message_type=None, enum_type=None, containing_type=None, |
| 255 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 256 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 257 | _descriptor.FieldDescriptor( |
| 258 | name='reason', full_name='dmi.ImageStatus.reason', index=1, |
| 259 | number=2, type=14, cpp_type=8, label=1, |
| 260 | has_default_value=False, default_value=0, |
| 261 | message_type=None, enum_type=None, containing_type=None, |
| 262 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 263 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 264 | _descriptor.FieldDescriptor( |
| 265 | name='state', full_name='dmi.ImageStatus.state', index=2, |
| 266 | number=3, type=14, cpp_type=8, label=1, |
| 267 | has_default_value=False, default_value=0, |
| 268 | message_type=None, enum_type=None, containing_type=None, |
| 269 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 270 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 271 | _descriptor.FieldDescriptor( |
| 272 | name='description', full_name='dmi.ImageStatus.description', index=3, |
| 273 | number=4, type=9, cpp_type=9, label=1, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 274 | has_default_value=False, default_value=b"".decode('utf-8'), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 275 | message_type=None, enum_type=None, containing_type=None, |
| 276 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 277 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame^] | 278 | _descriptor.FieldDescriptor( |
| 279 | name='reason_detail', full_name='dmi.ImageStatus.reason_detail', index=4, |
| 280 | number=5, type=9, cpp_type=9, label=1, |
| 281 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 282 | message_type=None, enum_type=None, containing_type=None, |
| 283 | is_extension=False, extension_scope=None, |
| 284 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 285 | ], |
| 286 | extensions=[ |
| 287 | ], |
| 288 | nested_types=[], |
| 289 | enum_types=[ |
| 290 | _IMAGESTATUS_IMAGESTATE, |
| 291 | _IMAGESTATUS_REASON, |
| 292 | ], |
| 293 | serialized_options=None, |
| 294 | is_extendable=False, |
| 295 | syntax='proto3', |
| 296 | extension_ranges=[], |
| 297 | oneofs=[ |
| 298 | ], |
| 299 | serialized_start=222, |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame^] | 300 | serialized_end=832, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 301 | ) |
| 302 | |
| 303 | _IMAGEINFORMATION.fields_by_name['image'].message_type = _IMAGEVERSION |
| 304 | _IMAGESTATUS.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS |
| 305 | _IMAGESTATUS.fields_by_name['reason'].enum_type = _IMAGESTATUS_REASON |
| 306 | _IMAGESTATUS.fields_by_name['state'].enum_type = _IMAGESTATUS_IMAGESTATE |
| 307 | _IMAGESTATUS_IMAGESTATE.containing_type = _IMAGESTATUS |
| 308 | _IMAGESTATUS_REASON.containing_type = _IMAGESTATUS |
| 309 | DESCRIPTOR.message_types_by_name['ImageVersion'] = _IMAGEVERSION |
| 310 | DESCRIPTOR.message_types_by_name['ImageInformation'] = _IMAGEINFORMATION |
| 311 | DESCRIPTOR.message_types_by_name['ImageStatus'] = _IMAGESTATUS |
| 312 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) |
| 313 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 314 | ImageVersion = _reflection.GeneratedProtocolMessageType('ImageVersion', (_message.Message,), { |
| 315 | 'DESCRIPTOR' : _IMAGEVERSION, |
| 316 | '__module__' : 'dmi.sw_image_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 317 | # @@protoc_insertion_point(class_scope:dmi.ImageVersion) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 318 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 319 | _sym_db.RegisterMessage(ImageVersion) |
| 320 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 321 | ImageInformation = _reflection.GeneratedProtocolMessageType('ImageInformation', (_message.Message,), { |
| 322 | 'DESCRIPTOR' : _IMAGEINFORMATION, |
| 323 | '__module__' : 'dmi.sw_image_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 324 | # @@protoc_insertion_point(class_scope:dmi.ImageInformation) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 325 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 326 | _sym_db.RegisterMessage(ImageInformation) |
| 327 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 328 | ImageStatus = _reflection.GeneratedProtocolMessageType('ImageStatus', (_message.Message,), { |
| 329 | 'DESCRIPTOR' : _IMAGESTATUS, |
| 330 | '__module__' : 'dmi.sw_image_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 331 | # @@protoc_insertion_point(class_scope:dmi.ImageStatus) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 332 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 333 | _sym_db.RegisterMessage(ImageStatus) |
| 334 | |
| 335 | |
| 336 | DESCRIPTOR._options = None |
| 337 | # @@protoc_insertion_point(module_scope) |