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_management_service.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 | |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 14 | from dmi import commons_pb2 as dmi_dot_commons__pb2 |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 15 | from dmi import hw_pb2 as dmi_dot_hw__pb2 |
| 16 | from dmi import sw_image_pb2 as dmi_dot_sw__image__pb2 |
| 17 | |
| 18 | |
| 19 | DESCRIPTOR = _descriptor.FileDescriptor( |
| 20 | name='dmi/sw_management_service.proto', |
| 21 | package='dmi', |
| 22 | syntax='proto3', |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 23 | serialized_options=b'Z9github.com/opencord/device-management-interface/v3/go/dmi', |
| 24 | create_key=_descriptor._internal_create_key, |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 25 | serialized_pb=b'\n\x1f\x64mi/sw_management_service.proto\x12\x03\x64mi\x1a\x11\x64mi/commons.proto\x1a\x0c\x64mi/hw.proto\x1a\x12\x64mi/sw_image.proto\"u\n\x1aSoftwareVersionInformation\x12*\n\x0f\x61\x63tive_versions\x18\x01 \x03(\x0b\x32\x11.dmi.ImageVersion\x12+\n\x10standby_versions\x18\x02 \x03(\x0b\x32\x11.dmi.ImageVersion\"\xfe\x01\n%GetSoftwareVersionInformationResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12\x41\n\x06reason\x18\x02 \x01(\x0e\x32\x31.dmi.GetSoftwareVersionInformationResponse.Reason\x12-\n\x04info\x18\x03 \x01(\x0b\x32\x1f.dmi.SoftwareVersionInformation\"F\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\"a\n\x14\x44ownloadImageRequest\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12)\n\nimage_info\x18\x02 \x01(\x0b\x32\x15.dmi.ImageInformation\"C\n\rConfigRequest\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12\x12\n\nconfig_url\x18\x02 \x01(\t\"\xf4\x01\n\x0e\x43onfigResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12*\n\x06reason\x18\x02 \x01(\x0e\x32\x1a.dmi.ConfigResponse.Reason\"\x98\x01\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x19\n\x15\x45RROR_FETCHING_CONFIG\x10\x03\x12\x12\n\x0eINVALID_CONFIG\x10\x04\x12!\n\x1dOPERATION_ALREADY_IN_PROGRESS\x10\x05\":\n\x18StartupConfigInfoRequest\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\"\xdc\x01\n\x19StartupConfigInfoResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12\x35\n\x06reason\x18\x02 \x01(\x0e\x32%.dmi.StartupConfigInfoResponse.Reason\x12\x12\n\nconfig_url\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\t\"F\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x32\xce\x03\n\x1fNativeSoftwareManagementService\x12Q\n\x12GetSoftwareVersion\x12\x0f.dmi.HardwareID\x1a*.dmi.GetSoftwareVersionInformationResponse\x12>\n\rDownloadImage\x12\x19.dmi.DownloadImageRequest\x1a\x10.dmi.ImageStatus0\x01\x12\x34\n\rActivateImage\x12\x0f.dmi.HardwareID\x1a\x10.dmi.ImageStatus0\x01\x12;\n\x14RevertToStandbyImage\x12\x0f.dmi.HardwareID\x1a\x10.dmi.ImageStatus0\x01\x12G\n\x1aUpdateStartupConfiguration\x12\x12.dmi.ConfigRequest\x1a\x13.dmi.ConfigResponse0\x01\x12\\\n\x1bGetStartupConfigurationInfo\x12\x1d.dmi.StartupConfigInfoRequest\x1a\x1e.dmi.StartupConfigInfoResponseB;Z9github.com/opencord/device-management-interface/v3/go/dmib\x06proto3' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 26 | , |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 27 | dependencies=[dmi_dot_commons__pb2.DESCRIPTOR,dmi_dot_hw__pb2.DESCRIPTOR,dmi_dot_sw__image__pb2.DESCRIPTOR,]) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 28 | |
| 29 | |
| 30 | |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 31 | _GETSOFTWAREVERSIONINFORMATIONRESPONSE_REASON = _descriptor.EnumDescriptor( |
| 32 | name='Reason', |
| 33 | full_name='dmi.GetSoftwareVersionInformationResponse.Reason', |
| 34 | filename=None, |
| 35 | file=DESCRIPTOR, |
| 36 | create_key=_descriptor._internal_create_key, |
| 37 | values=[ |
| 38 | _descriptor.EnumValueDescriptor( |
| 39 | name='UNDEFINED_REASON', index=0, number=0, |
| 40 | serialized_options=None, |
| 41 | type=None, |
| 42 | create_key=_descriptor._internal_create_key), |
| 43 | _descriptor.EnumValueDescriptor( |
| 44 | name='UNKNOWN_DEVICE', index=1, number=1, |
| 45 | serialized_options=None, |
| 46 | type=None, |
| 47 | create_key=_descriptor._internal_create_key), |
| 48 | _descriptor.EnumValueDescriptor( |
| 49 | name='INTERNAL_ERROR', index=2, number=2, |
| 50 | serialized_options=None, |
| 51 | type=None, |
| 52 | create_key=_descriptor._internal_create_key), |
| 53 | ], |
| 54 | containing_type=None, |
| 55 | serialized_options=None, |
| 56 | serialized_start=397, |
| 57 | serialized_end=467, |
| 58 | ) |
| 59 | _sym_db.RegisterEnumDescriptor(_GETSOFTWAREVERSIONINFORMATIONRESPONSE_REASON) |
| 60 | |
| 61 | _CONFIGRESPONSE_REASON = _descriptor.EnumDescriptor( |
| 62 | name='Reason', |
| 63 | full_name='dmi.ConfigResponse.Reason', |
| 64 | filename=None, |
| 65 | file=DESCRIPTOR, |
| 66 | create_key=_descriptor._internal_create_key, |
| 67 | values=[ |
| 68 | _descriptor.EnumValueDescriptor( |
| 69 | name='UNDEFINED_REASON', index=0, number=0, |
| 70 | serialized_options=None, |
| 71 | type=None, |
| 72 | create_key=_descriptor._internal_create_key), |
| 73 | _descriptor.EnumValueDescriptor( |
| 74 | name='UNKNOWN_DEVICE', index=1, number=1, |
| 75 | serialized_options=None, |
| 76 | type=None, |
| 77 | create_key=_descriptor._internal_create_key), |
| 78 | _descriptor.EnumValueDescriptor( |
| 79 | name='INTERNAL_ERROR', index=2, number=2, |
| 80 | serialized_options=None, |
| 81 | type=None, |
| 82 | create_key=_descriptor._internal_create_key), |
| 83 | _descriptor.EnumValueDescriptor( |
| 84 | name='ERROR_FETCHING_CONFIG', index=3, number=3, |
| 85 | serialized_options=None, |
| 86 | type=None, |
| 87 | create_key=_descriptor._internal_create_key), |
| 88 | _descriptor.EnumValueDescriptor( |
| 89 | name='INVALID_CONFIG', index=4, number=4, |
| 90 | serialized_options=None, |
| 91 | type=None, |
| 92 | create_key=_descriptor._internal_create_key), |
| 93 | _descriptor.EnumValueDescriptor( |
| 94 | name='OPERATION_ALREADY_IN_PROGRESS', index=5, number=5, |
| 95 | serialized_options=None, |
| 96 | type=None, |
| 97 | create_key=_descriptor._internal_create_key), |
| 98 | ], |
| 99 | containing_type=None, |
| 100 | serialized_options=None, |
| 101 | serialized_start=730, |
| 102 | serialized_end=882, |
| 103 | ) |
| 104 | _sym_db.RegisterEnumDescriptor(_CONFIGRESPONSE_REASON) |
| 105 | |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 106 | _STARTUPCONFIGINFORESPONSE_REASON = _descriptor.EnumDescriptor( |
| 107 | name='Reason', |
| 108 | full_name='dmi.StartupConfigInfoResponse.Reason', |
| 109 | filename=None, |
| 110 | file=DESCRIPTOR, |
| 111 | create_key=_descriptor._internal_create_key, |
| 112 | values=[ |
| 113 | _descriptor.EnumValueDescriptor( |
| 114 | name='UNDEFINED_REASON', index=0, number=0, |
| 115 | serialized_options=None, |
| 116 | type=None, |
| 117 | create_key=_descriptor._internal_create_key), |
| 118 | _descriptor.EnumValueDescriptor( |
| 119 | name='UNKNOWN_DEVICE', index=1, number=1, |
| 120 | serialized_options=None, |
| 121 | type=None, |
| 122 | create_key=_descriptor._internal_create_key), |
| 123 | _descriptor.EnumValueDescriptor( |
| 124 | name='INTERNAL_ERROR', index=2, number=2, |
| 125 | serialized_options=None, |
| 126 | type=None, |
| 127 | create_key=_descriptor._internal_create_key), |
| 128 | ], |
| 129 | containing_type=None, |
| 130 | serialized_options=None, |
| 131 | serialized_start=397, |
| 132 | serialized_end=467, |
| 133 | ) |
| 134 | _sym_db.RegisterEnumDescriptor(_STARTUPCONFIGINFORESPONSE_REASON) |
| 135 | |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 136 | |
| 137 | _SOFTWAREVERSIONINFORMATION = _descriptor.Descriptor( |
| 138 | name='SoftwareVersionInformation', |
| 139 | full_name='dmi.SoftwareVersionInformation', |
| 140 | filename=None, |
| 141 | file=DESCRIPTOR, |
| 142 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 143 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 144 | fields=[ |
| 145 | _descriptor.FieldDescriptor( |
| 146 | name='active_versions', full_name='dmi.SoftwareVersionInformation.active_versions', index=0, |
| 147 | number=1, type=11, cpp_type=10, label=3, |
| 148 | has_default_value=False, default_value=[], |
| 149 | message_type=None, enum_type=None, containing_type=None, |
| 150 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 151 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 152 | _descriptor.FieldDescriptor( |
| 153 | name='standby_versions', full_name='dmi.SoftwareVersionInformation.standby_versions', index=1, |
| 154 | number=2, type=11, cpp_type=10, label=3, |
| 155 | has_default_value=False, default_value=[], |
| 156 | message_type=None, enum_type=None, containing_type=None, |
| 157 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 158 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 159 | ], |
| 160 | extensions=[ |
| 161 | ], |
| 162 | nested_types=[], |
| 163 | enum_types=[ |
| 164 | ], |
| 165 | serialized_options=None, |
| 166 | is_extendable=False, |
| 167 | syntax='proto3', |
| 168 | extension_ranges=[], |
| 169 | oneofs=[ |
| 170 | ], |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 171 | serialized_start=93, |
| 172 | serialized_end=210, |
| 173 | ) |
| 174 | |
| 175 | |
| 176 | _GETSOFTWAREVERSIONINFORMATIONRESPONSE = _descriptor.Descriptor( |
| 177 | name='GetSoftwareVersionInformationResponse', |
| 178 | full_name='dmi.GetSoftwareVersionInformationResponse', |
| 179 | filename=None, |
| 180 | file=DESCRIPTOR, |
| 181 | containing_type=None, |
| 182 | create_key=_descriptor._internal_create_key, |
| 183 | fields=[ |
| 184 | _descriptor.FieldDescriptor( |
| 185 | name='status', full_name='dmi.GetSoftwareVersionInformationResponse.status', index=0, |
| 186 | number=1, type=14, cpp_type=8, label=1, |
| 187 | has_default_value=False, default_value=0, |
| 188 | message_type=None, enum_type=None, containing_type=None, |
| 189 | is_extension=False, extension_scope=None, |
| 190 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 191 | _descriptor.FieldDescriptor( |
| 192 | name='reason', full_name='dmi.GetSoftwareVersionInformationResponse.reason', index=1, |
| 193 | number=2, type=14, cpp_type=8, label=1, |
| 194 | has_default_value=False, default_value=0, |
| 195 | message_type=None, enum_type=None, containing_type=None, |
| 196 | is_extension=False, extension_scope=None, |
| 197 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 198 | _descriptor.FieldDescriptor( |
| 199 | name='info', full_name='dmi.GetSoftwareVersionInformationResponse.info', index=2, |
| 200 | number=3, type=11, cpp_type=10, label=1, |
| 201 | has_default_value=False, default_value=None, |
| 202 | message_type=None, enum_type=None, containing_type=None, |
| 203 | is_extension=False, extension_scope=None, |
| 204 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 205 | ], |
| 206 | extensions=[ |
| 207 | ], |
| 208 | nested_types=[], |
| 209 | enum_types=[ |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 210 | _GETSOFTWAREVERSIONINFORMATIONRESPONSE_REASON, |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 211 | ], |
| 212 | serialized_options=None, |
| 213 | is_extendable=False, |
| 214 | syntax='proto3', |
| 215 | extension_ranges=[], |
| 216 | oneofs=[ |
| 217 | ], |
| 218 | serialized_start=213, |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 219 | serialized_end=467, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 220 | ) |
| 221 | |
| 222 | |
| 223 | _DOWNLOADIMAGEREQUEST = _descriptor.Descriptor( |
| 224 | name='DownloadImageRequest', |
| 225 | full_name='dmi.DownloadImageRequest', |
| 226 | filename=None, |
| 227 | file=DESCRIPTOR, |
| 228 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 229 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 230 | fields=[ |
| 231 | _descriptor.FieldDescriptor( |
| 232 | name='device_uuid', full_name='dmi.DownloadImageRequest.device_uuid', index=0, |
| 233 | number=1, type=11, cpp_type=10, label=1, |
| 234 | has_default_value=False, default_value=None, |
| 235 | message_type=None, enum_type=None, containing_type=None, |
| 236 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 237 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 238 | _descriptor.FieldDescriptor( |
| 239 | name='image_info', full_name='dmi.DownloadImageRequest.image_info', index=1, |
| 240 | number=2, type=11, cpp_type=10, label=1, |
| 241 | has_default_value=False, default_value=None, |
| 242 | message_type=None, enum_type=None, containing_type=None, |
| 243 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 244 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 245 | ], |
| 246 | extensions=[ |
| 247 | ], |
| 248 | nested_types=[], |
| 249 | enum_types=[ |
| 250 | ], |
| 251 | serialized_options=None, |
| 252 | is_extendable=False, |
| 253 | syntax='proto3', |
| 254 | extension_ranges=[], |
| 255 | oneofs=[ |
| 256 | ], |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 257 | serialized_start=469, |
| 258 | serialized_end=566, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 259 | ) |
| 260 | |
amit.ghosh | ed23db0 | 2020-11-18 10:26:36 +0100 | [diff] [blame] | 261 | |
| 262 | _CONFIGREQUEST = _descriptor.Descriptor( |
| 263 | name='ConfigRequest', |
| 264 | full_name='dmi.ConfigRequest', |
| 265 | filename=None, |
| 266 | file=DESCRIPTOR, |
| 267 | containing_type=None, |
| 268 | create_key=_descriptor._internal_create_key, |
| 269 | fields=[ |
| 270 | _descriptor.FieldDescriptor( |
| 271 | name='device_uuid', full_name='dmi.ConfigRequest.device_uuid', index=0, |
| 272 | number=1, type=11, cpp_type=10, label=1, |
| 273 | has_default_value=False, default_value=None, |
| 274 | message_type=None, enum_type=None, containing_type=None, |
| 275 | is_extension=False, extension_scope=None, |
| 276 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 277 | _descriptor.FieldDescriptor( |
| 278 | name='config_url', full_name='dmi.ConfigRequest.config_url', index=1, |
| 279 | number=2, type=9, cpp_type=9, label=1, |
| 280 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 281 | message_type=None, enum_type=None, containing_type=None, |
| 282 | is_extension=False, extension_scope=None, |
| 283 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 284 | ], |
| 285 | extensions=[ |
| 286 | ], |
| 287 | nested_types=[], |
| 288 | enum_types=[ |
| 289 | ], |
| 290 | serialized_options=None, |
| 291 | is_extendable=False, |
| 292 | syntax='proto3', |
| 293 | extension_ranges=[], |
| 294 | oneofs=[ |
| 295 | ], |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 296 | serialized_start=568, |
| 297 | serialized_end=635, |
amit.ghosh | ed23db0 | 2020-11-18 10:26:36 +0100 | [diff] [blame] | 298 | ) |
| 299 | |
| 300 | |
| 301 | _CONFIGRESPONSE = _descriptor.Descriptor( |
| 302 | name='ConfigResponse', |
| 303 | full_name='dmi.ConfigResponse', |
| 304 | filename=None, |
| 305 | file=DESCRIPTOR, |
| 306 | containing_type=None, |
| 307 | create_key=_descriptor._internal_create_key, |
| 308 | fields=[ |
| 309 | _descriptor.FieldDescriptor( |
| 310 | name='status', full_name='dmi.ConfigResponse.status', index=0, |
| 311 | number=1, type=14, cpp_type=8, label=1, |
| 312 | has_default_value=False, default_value=0, |
| 313 | message_type=None, enum_type=None, containing_type=None, |
| 314 | is_extension=False, extension_scope=None, |
| 315 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 316 | _descriptor.FieldDescriptor( |
| 317 | name='reason', full_name='dmi.ConfigResponse.reason', index=1, |
| 318 | number=2, type=14, cpp_type=8, label=1, |
| 319 | has_default_value=False, default_value=0, |
| 320 | message_type=None, enum_type=None, containing_type=None, |
| 321 | is_extension=False, extension_scope=None, |
| 322 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 323 | ], |
| 324 | extensions=[ |
| 325 | ], |
| 326 | nested_types=[], |
| 327 | enum_types=[ |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 328 | _CONFIGRESPONSE_REASON, |
amit.ghosh | ed23db0 | 2020-11-18 10:26:36 +0100 | [diff] [blame] | 329 | ], |
| 330 | serialized_options=None, |
| 331 | is_extendable=False, |
| 332 | syntax='proto3', |
| 333 | extension_ranges=[], |
| 334 | oneofs=[ |
| 335 | ], |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 336 | serialized_start=638, |
| 337 | serialized_end=882, |
amit.ghosh | ed23db0 | 2020-11-18 10:26:36 +0100 | [diff] [blame] | 338 | ) |
| 339 | |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 340 | |
| 341 | _STARTUPCONFIGINFOREQUEST = _descriptor.Descriptor( |
| 342 | name='StartupConfigInfoRequest', |
| 343 | full_name='dmi.StartupConfigInfoRequest', |
| 344 | filename=None, |
| 345 | file=DESCRIPTOR, |
| 346 | containing_type=None, |
| 347 | create_key=_descriptor._internal_create_key, |
| 348 | fields=[ |
| 349 | _descriptor.FieldDescriptor( |
| 350 | name='device_uuid', full_name='dmi.StartupConfigInfoRequest.device_uuid', index=0, |
| 351 | number=1, type=11, cpp_type=10, label=1, |
| 352 | has_default_value=False, default_value=None, |
| 353 | message_type=None, enum_type=None, containing_type=None, |
| 354 | is_extension=False, extension_scope=None, |
| 355 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 356 | ], |
| 357 | extensions=[ |
| 358 | ], |
| 359 | nested_types=[], |
| 360 | enum_types=[ |
| 361 | ], |
| 362 | serialized_options=None, |
| 363 | is_extendable=False, |
| 364 | syntax='proto3', |
| 365 | extension_ranges=[], |
| 366 | oneofs=[ |
| 367 | ], |
| 368 | serialized_start=884, |
| 369 | serialized_end=942, |
| 370 | ) |
| 371 | |
| 372 | |
| 373 | _STARTUPCONFIGINFORESPONSE = _descriptor.Descriptor( |
| 374 | name='StartupConfigInfoResponse', |
| 375 | full_name='dmi.StartupConfigInfoResponse', |
| 376 | filename=None, |
| 377 | file=DESCRIPTOR, |
| 378 | containing_type=None, |
| 379 | create_key=_descriptor._internal_create_key, |
| 380 | fields=[ |
| 381 | _descriptor.FieldDescriptor( |
| 382 | name='status', full_name='dmi.StartupConfigInfoResponse.status', index=0, |
| 383 | number=1, type=14, cpp_type=8, label=1, |
| 384 | has_default_value=False, default_value=0, |
| 385 | message_type=None, enum_type=None, containing_type=None, |
| 386 | is_extension=False, extension_scope=None, |
| 387 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 388 | _descriptor.FieldDescriptor( |
| 389 | name='reason', full_name='dmi.StartupConfigInfoResponse.reason', index=1, |
| 390 | number=2, type=14, cpp_type=8, label=1, |
| 391 | has_default_value=False, default_value=0, |
| 392 | message_type=None, enum_type=None, containing_type=None, |
| 393 | is_extension=False, extension_scope=None, |
| 394 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 395 | _descriptor.FieldDescriptor( |
| 396 | name='config_url', full_name='dmi.StartupConfigInfoResponse.config_url', index=2, |
| 397 | number=3, type=9, cpp_type=9, label=1, |
| 398 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 399 | message_type=None, enum_type=None, containing_type=None, |
| 400 | is_extension=False, extension_scope=None, |
| 401 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 402 | _descriptor.FieldDescriptor( |
| 403 | name='version', full_name='dmi.StartupConfigInfoResponse.version', index=3, |
| 404 | number=4, type=9, cpp_type=9, label=1, |
| 405 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 406 | message_type=None, enum_type=None, containing_type=None, |
| 407 | is_extension=False, extension_scope=None, |
| 408 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 409 | ], |
| 410 | extensions=[ |
| 411 | ], |
| 412 | nested_types=[], |
| 413 | enum_types=[ |
| 414 | _STARTUPCONFIGINFORESPONSE_REASON, |
| 415 | ], |
| 416 | serialized_options=None, |
| 417 | is_extendable=False, |
| 418 | syntax='proto3', |
| 419 | extension_ranges=[], |
| 420 | oneofs=[ |
| 421 | ], |
| 422 | serialized_start=945, |
| 423 | serialized_end=1165, |
| 424 | ) |
| 425 | |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 426 | _SOFTWAREVERSIONINFORMATION.fields_by_name['active_versions'].message_type = dmi_dot_sw__image__pb2._IMAGEVERSION |
| 427 | _SOFTWAREVERSIONINFORMATION.fields_by_name['standby_versions'].message_type = dmi_dot_sw__image__pb2._IMAGEVERSION |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 428 | _GETSOFTWAREVERSIONINFORMATIONRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 429 | _GETSOFTWAREVERSIONINFORMATIONRESPONSE.fields_by_name['reason'].enum_type = _GETSOFTWAREVERSIONINFORMATIONRESPONSE_REASON |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 430 | _GETSOFTWAREVERSIONINFORMATIONRESPONSE.fields_by_name['info'].message_type = _SOFTWAREVERSIONINFORMATION |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 431 | _GETSOFTWAREVERSIONINFORMATIONRESPONSE_REASON.containing_type = _GETSOFTWAREVERSIONINFORMATIONRESPONSE |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 432 | _DOWNLOADIMAGEREQUEST.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID |
| 433 | _DOWNLOADIMAGEREQUEST.fields_by_name['image_info'].message_type = dmi_dot_sw__image__pb2._IMAGEINFORMATION |
amit.ghosh | ed23db0 | 2020-11-18 10:26:36 +0100 | [diff] [blame] | 434 | _CONFIGREQUEST.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID |
| 435 | _CONFIGRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 436 | _CONFIGRESPONSE.fields_by_name['reason'].enum_type = _CONFIGRESPONSE_REASON |
| 437 | _CONFIGRESPONSE_REASON.containing_type = _CONFIGRESPONSE |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 438 | _STARTUPCONFIGINFOREQUEST.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID |
| 439 | _STARTUPCONFIGINFORESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS |
| 440 | _STARTUPCONFIGINFORESPONSE.fields_by_name['reason'].enum_type = _STARTUPCONFIGINFORESPONSE_REASON |
| 441 | _STARTUPCONFIGINFORESPONSE_REASON.containing_type = _STARTUPCONFIGINFORESPONSE |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 442 | DESCRIPTOR.message_types_by_name['SoftwareVersionInformation'] = _SOFTWAREVERSIONINFORMATION |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 443 | DESCRIPTOR.message_types_by_name['GetSoftwareVersionInformationResponse'] = _GETSOFTWAREVERSIONINFORMATIONRESPONSE |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 444 | DESCRIPTOR.message_types_by_name['DownloadImageRequest'] = _DOWNLOADIMAGEREQUEST |
amit.ghosh | ed23db0 | 2020-11-18 10:26:36 +0100 | [diff] [blame] | 445 | DESCRIPTOR.message_types_by_name['ConfigRequest'] = _CONFIGREQUEST |
| 446 | DESCRIPTOR.message_types_by_name['ConfigResponse'] = _CONFIGRESPONSE |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 447 | DESCRIPTOR.message_types_by_name['StartupConfigInfoRequest'] = _STARTUPCONFIGINFOREQUEST |
| 448 | DESCRIPTOR.message_types_by_name['StartupConfigInfoResponse'] = _STARTUPCONFIGINFORESPONSE |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 449 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) |
| 450 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 451 | SoftwareVersionInformation = _reflection.GeneratedProtocolMessageType('SoftwareVersionInformation', (_message.Message,), { |
| 452 | 'DESCRIPTOR' : _SOFTWAREVERSIONINFORMATION, |
| 453 | '__module__' : 'dmi.sw_management_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 454 | # @@protoc_insertion_point(class_scope:dmi.SoftwareVersionInformation) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 455 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 456 | _sym_db.RegisterMessage(SoftwareVersionInformation) |
| 457 | |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 458 | GetSoftwareVersionInformationResponse = _reflection.GeneratedProtocolMessageType('GetSoftwareVersionInformationResponse', (_message.Message,), { |
| 459 | 'DESCRIPTOR' : _GETSOFTWAREVERSIONINFORMATIONRESPONSE, |
| 460 | '__module__' : 'dmi.sw_management_service_pb2' |
| 461 | # @@protoc_insertion_point(class_scope:dmi.GetSoftwareVersionInformationResponse) |
| 462 | }) |
| 463 | _sym_db.RegisterMessage(GetSoftwareVersionInformationResponse) |
| 464 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 465 | DownloadImageRequest = _reflection.GeneratedProtocolMessageType('DownloadImageRequest', (_message.Message,), { |
| 466 | 'DESCRIPTOR' : _DOWNLOADIMAGEREQUEST, |
| 467 | '__module__' : 'dmi.sw_management_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 468 | # @@protoc_insertion_point(class_scope:dmi.DownloadImageRequest) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 469 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 470 | _sym_db.RegisterMessage(DownloadImageRequest) |
| 471 | |
amit.ghosh | ed23db0 | 2020-11-18 10:26:36 +0100 | [diff] [blame] | 472 | ConfigRequest = _reflection.GeneratedProtocolMessageType('ConfigRequest', (_message.Message,), { |
| 473 | 'DESCRIPTOR' : _CONFIGREQUEST, |
| 474 | '__module__' : 'dmi.sw_management_service_pb2' |
| 475 | # @@protoc_insertion_point(class_scope:dmi.ConfigRequest) |
| 476 | }) |
| 477 | _sym_db.RegisterMessage(ConfigRequest) |
| 478 | |
| 479 | ConfigResponse = _reflection.GeneratedProtocolMessageType('ConfigResponse', (_message.Message,), { |
| 480 | 'DESCRIPTOR' : _CONFIGRESPONSE, |
| 481 | '__module__' : 'dmi.sw_management_service_pb2' |
| 482 | # @@protoc_insertion_point(class_scope:dmi.ConfigResponse) |
| 483 | }) |
| 484 | _sym_db.RegisterMessage(ConfigResponse) |
| 485 | |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 486 | StartupConfigInfoRequest = _reflection.GeneratedProtocolMessageType('StartupConfigInfoRequest', (_message.Message,), { |
| 487 | 'DESCRIPTOR' : _STARTUPCONFIGINFOREQUEST, |
| 488 | '__module__' : 'dmi.sw_management_service_pb2' |
| 489 | # @@protoc_insertion_point(class_scope:dmi.StartupConfigInfoRequest) |
| 490 | }) |
| 491 | _sym_db.RegisterMessage(StartupConfigInfoRequest) |
| 492 | |
| 493 | StartupConfigInfoResponse = _reflection.GeneratedProtocolMessageType('StartupConfigInfoResponse', (_message.Message,), { |
| 494 | 'DESCRIPTOR' : _STARTUPCONFIGINFORESPONSE, |
| 495 | '__module__' : 'dmi.sw_management_service_pb2' |
| 496 | # @@protoc_insertion_point(class_scope:dmi.StartupConfigInfoResponse) |
| 497 | }) |
| 498 | _sym_db.RegisterMessage(StartupConfigInfoResponse) |
| 499 | |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 500 | |
| 501 | DESCRIPTOR._options = None |
| 502 | |
| 503 | _NATIVESOFTWAREMANAGEMENTSERVICE = _descriptor.ServiceDescriptor( |
| 504 | name='NativeSoftwareManagementService', |
| 505 | full_name='dmi.NativeSoftwareManagementService', |
| 506 | file=DESCRIPTOR, |
| 507 | index=0, |
| 508 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 509 | create_key=_descriptor._internal_create_key, |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 510 | serialized_start=1168, |
| 511 | serialized_end=1630, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 512 | methods=[ |
| 513 | _descriptor.MethodDescriptor( |
| 514 | name='GetSoftwareVersion', |
| 515 | full_name='dmi.NativeSoftwareManagementService.GetSoftwareVersion', |
| 516 | index=0, |
| 517 | containing_service=None, |
| 518 | input_type=dmi_dot_hw__pb2._HARDWAREID, |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 519 | output_type=_GETSOFTWAREVERSIONINFORMATIONRESPONSE, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 520 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 521 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 522 | ), |
| 523 | _descriptor.MethodDescriptor( |
| 524 | name='DownloadImage', |
| 525 | full_name='dmi.NativeSoftwareManagementService.DownloadImage', |
| 526 | index=1, |
| 527 | containing_service=None, |
| 528 | input_type=_DOWNLOADIMAGEREQUEST, |
| 529 | output_type=dmi_dot_sw__image__pb2._IMAGESTATUS, |
| 530 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 531 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 532 | ), |
| 533 | _descriptor.MethodDescriptor( |
| 534 | name='ActivateImage', |
| 535 | full_name='dmi.NativeSoftwareManagementService.ActivateImage', |
| 536 | index=2, |
| 537 | containing_service=None, |
| 538 | input_type=dmi_dot_hw__pb2._HARDWAREID, |
| 539 | output_type=dmi_dot_sw__image__pb2._IMAGESTATUS, |
| 540 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 541 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 542 | ), |
| 543 | _descriptor.MethodDescriptor( |
| 544 | name='RevertToStandbyImage', |
| 545 | full_name='dmi.NativeSoftwareManagementService.RevertToStandbyImage', |
| 546 | index=3, |
| 547 | containing_service=None, |
| 548 | input_type=dmi_dot_hw__pb2._HARDWAREID, |
| 549 | output_type=dmi_dot_sw__image__pb2._IMAGESTATUS, |
| 550 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 551 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 552 | ), |
amit.ghosh | ed23db0 | 2020-11-18 10:26:36 +0100 | [diff] [blame] | 553 | _descriptor.MethodDescriptor( |
| 554 | name='UpdateStartupConfiguration', |
| 555 | full_name='dmi.NativeSoftwareManagementService.UpdateStartupConfiguration', |
| 556 | index=4, |
| 557 | containing_service=None, |
| 558 | input_type=_CONFIGREQUEST, |
| 559 | output_type=_CONFIGRESPONSE, |
| 560 | serialized_options=None, |
| 561 | create_key=_descriptor._internal_create_key, |
| 562 | ), |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 563 | _descriptor.MethodDescriptor( |
| 564 | name='GetStartupConfigurationInfo', |
| 565 | full_name='dmi.NativeSoftwareManagementService.GetStartupConfigurationInfo', |
| 566 | index=5, |
| 567 | containing_service=None, |
| 568 | input_type=_STARTUPCONFIGINFOREQUEST, |
| 569 | output_type=_STARTUPCONFIGINFORESPONSE, |
| 570 | serialized_options=None, |
| 571 | create_key=_descriptor._internal_create_key, |
| 572 | ), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 573 | ]) |
| 574 | _sym_db.RegisterServiceDescriptor(_NATIVESOFTWAREMANAGEMENTSERVICE) |
| 575 | |
| 576 | DESCRIPTOR.services_by_name['NativeSoftwareManagementService'] = _NATIVESOFTWAREMANAGEMENTSERVICE |
| 577 | |
| 578 | # @@protoc_insertion_point(module_scope) |