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 |
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 | |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 15 | from dmi import commons_pb2 as dmi_dot_commons__pb2 |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 16 | from dmi import hw_pb2 as dmi_dot_hw__pb2 |
| 17 | from dmi import sw_image_pb2 as dmi_dot_sw__image__pb2 |
| 18 | |
| 19 | |
amit.ghosh | dfd5d7e | 2023-03-14 21:14:33 +0100 | [diff] [blame] | 20 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(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\"\xad\x02\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\x12\x15\n\rreason_detail\x18\x04 \x01(\t\"^\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x03\"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\"\xa3\x02\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\x12\x15\n\rreason_detail\x18\x03 \x01(\t\"\xb0\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\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x06\":\n\x18StartupConfigInfoRequest\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\"\x8b\x02\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\x12\x15\n\rreason_detail\x18\x05 \x01(\t\"^\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x03\"N\n\x16UploadDebugInfoRequest\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12\x14\n\x0clocation_url\x18\x03 \x01(\t\"\xe6\x04\n\x15UploadDebugInfoStatus\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12\x37\n\x06status\x18\x02 \x01(\x0e\x32\'.dmi.UploadDebugInfoStatus.UploadStatus\x12\x18\n\x10percent_uploaded\x18\x03 \x01(\x05\x12\x31\n\x06reason\x18\x04 \x01(\x0e\x32!.dmi.UploadDebugInfoStatus.Reason\x12\x14\n\x0clocation_url\x18\x05 \x01(\t\x12\x11\n\tfile_name\x18\x06 \x01(\t\"U\n\x0cUploadStatus\x12\x1b\n\x17UNDEFINED_UPLOAD_STATUS\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"\xa6\x02\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x18\n\x14\x44\x45VICE_NOT_REACHABLE\x10\x03\x12\x1f\n\x1bREMOTE_LOCATION_UNREACHABLE\x10\x04\x12%\n!REMOTE_LOCATION_PERMISSION_DENIED\x10\x05\x12\x17\n\x13\x45RROR_DURING_UPLOAD\x10\x06\x12\x0f\n\x0b\x44\x45VICE_BUSY\x10\x07\x12\x14\n\x10\x45RROR_IN_REQUEST\x10\x08\x12\x19\n\x15\x44\x45VICE_IN_WRONG_STATE\x10\t\x12!\n\x1dOPERATION_ALREADY_IN_PROGRESS\x10\n2\x9c\x04\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.StartupConfigInfoResponse\x12L\n\x0fUploadDebugInfo\x12\x1b.dmi.UploadDebugInfoRequest\x1a\x1a.dmi.UploadDebugInfoStatus0\x01\x42;Z9github.com/opencord/device-management-interface/v3/go/dmib\x06proto3') |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 21 | |
| 22 | |
| 23 | |
Girish Gowdra | 997432d | 2022-03-10 15:59:33 -0800 | [diff] [blame] | 24 | _SOFTWAREVERSIONINFORMATION = DESCRIPTOR.message_types_by_name['SoftwareVersionInformation'] |
| 25 | _GETSOFTWAREVERSIONINFORMATIONRESPONSE = DESCRIPTOR.message_types_by_name['GetSoftwareVersionInformationResponse'] |
| 26 | _DOWNLOADIMAGEREQUEST = DESCRIPTOR.message_types_by_name['DownloadImageRequest'] |
| 27 | _CONFIGREQUEST = DESCRIPTOR.message_types_by_name['ConfigRequest'] |
| 28 | _CONFIGRESPONSE = DESCRIPTOR.message_types_by_name['ConfigResponse'] |
| 29 | _STARTUPCONFIGINFOREQUEST = DESCRIPTOR.message_types_by_name['StartupConfigInfoRequest'] |
| 30 | _STARTUPCONFIGINFORESPONSE = DESCRIPTOR.message_types_by_name['StartupConfigInfoResponse'] |
amit.ghosh | 5a68980 | 2022-09-12 14:26:10 +0200 | [diff] [blame] | 31 | _UPLOADDEBUGINFOREQUEST = DESCRIPTOR.message_types_by_name['UploadDebugInfoRequest'] |
| 32 | _UPLOADDEBUGINFOSTATUS = DESCRIPTOR.message_types_by_name['UploadDebugInfoStatus'] |
Girish Gowdra | 997432d | 2022-03-10 15:59:33 -0800 | [diff] [blame] | 33 | _GETSOFTWAREVERSIONINFORMATIONRESPONSE_REASON = _GETSOFTWAREVERSIONINFORMATIONRESPONSE.enum_types_by_name['Reason'] |
| 34 | _CONFIGRESPONSE_REASON = _CONFIGRESPONSE.enum_types_by_name['Reason'] |
| 35 | _STARTUPCONFIGINFORESPONSE_REASON = _STARTUPCONFIGINFORESPONSE.enum_types_by_name['Reason'] |
amit.ghosh | 5a68980 | 2022-09-12 14:26:10 +0200 | [diff] [blame] | 36 | _UPLOADDEBUGINFOSTATUS_UPLOADSTATUS = _UPLOADDEBUGINFOSTATUS.enum_types_by_name['UploadStatus'] |
| 37 | _UPLOADDEBUGINFOSTATUS_REASON = _UPLOADDEBUGINFOSTATUS.enum_types_by_name['Reason'] |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 38 | SoftwareVersionInformation = _reflection.GeneratedProtocolMessageType('SoftwareVersionInformation', (_message.Message,), { |
| 39 | 'DESCRIPTOR' : _SOFTWAREVERSIONINFORMATION, |
| 40 | '__module__' : 'dmi.sw_management_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 41 | # @@protoc_insertion_point(class_scope:dmi.SoftwareVersionInformation) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 42 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 43 | _sym_db.RegisterMessage(SoftwareVersionInformation) |
| 44 | |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 45 | GetSoftwareVersionInformationResponse = _reflection.GeneratedProtocolMessageType('GetSoftwareVersionInformationResponse', (_message.Message,), { |
| 46 | 'DESCRIPTOR' : _GETSOFTWAREVERSIONINFORMATIONRESPONSE, |
| 47 | '__module__' : 'dmi.sw_management_service_pb2' |
| 48 | # @@protoc_insertion_point(class_scope:dmi.GetSoftwareVersionInformationResponse) |
| 49 | }) |
| 50 | _sym_db.RegisterMessage(GetSoftwareVersionInformationResponse) |
| 51 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 52 | DownloadImageRequest = _reflection.GeneratedProtocolMessageType('DownloadImageRequest', (_message.Message,), { |
| 53 | 'DESCRIPTOR' : _DOWNLOADIMAGEREQUEST, |
| 54 | '__module__' : 'dmi.sw_management_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 55 | # @@protoc_insertion_point(class_scope:dmi.DownloadImageRequest) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 56 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 57 | _sym_db.RegisterMessage(DownloadImageRequest) |
| 58 | |
amit.ghosh | ed23db0 | 2020-11-18 10:26:36 +0100 | [diff] [blame] | 59 | ConfigRequest = _reflection.GeneratedProtocolMessageType('ConfigRequest', (_message.Message,), { |
| 60 | 'DESCRIPTOR' : _CONFIGREQUEST, |
| 61 | '__module__' : 'dmi.sw_management_service_pb2' |
| 62 | # @@protoc_insertion_point(class_scope:dmi.ConfigRequest) |
| 63 | }) |
| 64 | _sym_db.RegisterMessage(ConfigRequest) |
| 65 | |
| 66 | ConfigResponse = _reflection.GeneratedProtocolMessageType('ConfigResponse', (_message.Message,), { |
| 67 | 'DESCRIPTOR' : _CONFIGRESPONSE, |
| 68 | '__module__' : 'dmi.sw_management_service_pb2' |
| 69 | # @@protoc_insertion_point(class_scope:dmi.ConfigResponse) |
| 70 | }) |
| 71 | _sym_db.RegisterMessage(ConfigResponse) |
| 72 | |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 73 | StartupConfigInfoRequest = _reflection.GeneratedProtocolMessageType('StartupConfigInfoRequest', (_message.Message,), { |
| 74 | 'DESCRIPTOR' : _STARTUPCONFIGINFOREQUEST, |
| 75 | '__module__' : 'dmi.sw_management_service_pb2' |
| 76 | # @@protoc_insertion_point(class_scope:dmi.StartupConfigInfoRequest) |
| 77 | }) |
| 78 | _sym_db.RegisterMessage(StartupConfigInfoRequest) |
| 79 | |
| 80 | StartupConfigInfoResponse = _reflection.GeneratedProtocolMessageType('StartupConfigInfoResponse', (_message.Message,), { |
| 81 | 'DESCRIPTOR' : _STARTUPCONFIGINFORESPONSE, |
| 82 | '__module__' : 'dmi.sw_management_service_pb2' |
| 83 | # @@protoc_insertion_point(class_scope:dmi.StartupConfigInfoResponse) |
| 84 | }) |
| 85 | _sym_db.RegisterMessage(StartupConfigInfoResponse) |
| 86 | |
amit.ghosh | 5a68980 | 2022-09-12 14:26:10 +0200 | [diff] [blame] | 87 | UploadDebugInfoRequest = _reflection.GeneratedProtocolMessageType('UploadDebugInfoRequest', (_message.Message,), { |
| 88 | 'DESCRIPTOR' : _UPLOADDEBUGINFOREQUEST, |
| 89 | '__module__' : 'dmi.sw_management_service_pb2' |
| 90 | # @@protoc_insertion_point(class_scope:dmi.UploadDebugInfoRequest) |
| 91 | }) |
| 92 | _sym_db.RegisterMessage(UploadDebugInfoRequest) |
| 93 | |
| 94 | UploadDebugInfoStatus = _reflection.GeneratedProtocolMessageType('UploadDebugInfoStatus', (_message.Message,), { |
| 95 | 'DESCRIPTOR' : _UPLOADDEBUGINFOSTATUS, |
| 96 | '__module__' : 'dmi.sw_management_service_pb2' |
| 97 | # @@protoc_insertion_point(class_scope:dmi.UploadDebugInfoStatus) |
| 98 | }) |
| 99 | _sym_db.RegisterMessage(UploadDebugInfoStatus) |
| 100 | |
Girish Gowdra | 997432d | 2022-03-10 15:59:33 -0800 | [diff] [blame] | 101 | _NATIVESOFTWAREMANAGEMENTSERVICE = DESCRIPTOR.services_by_name['NativeSoftwareManagementService'] |
| 102 | if _descriptor._USE_C_DESCRIPTORS == False: |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 103 | |
Girish Gowdra | 997432d | 2022-03-10 15:59:33 -0800 | [diff] [blame] | 104 | DESCRIPTOR._options = None |
| 105 | DESCRIPTOR._serialized_options = b'Z9github.com/opencord/device-management-interface/v3/go/dmi' |
| 106 | _SOFTWAREVERSIONINFORMATION._serialized_start=93 |
| 107 | _SOFTWAREVERSIONINFORMATION._serialized_end=210 |
| 108 | _GETSOFTWAREVERSIONINFORMATIONRESPONSE._serialized_start=213 |
| 109 | _GETSOFTWAREVERSIONINFORMATIONRESPONSE._serialized_end=514 |
| 110 | _GETSOFTWAREVERSIONINFORMATIONRESPONSE_REASON._serialized_start=420 |
| 111 | _GETSOFTWAREVERSIONINFORMATIONRESPONSE_REASON._serialized_end=514 |
| 112 | _DOWNLOADIMAGEREQUEST._serialized_start=516 |
| 113 | _DOWNLOADIMAGEREQUEST._serialized_end=613 |
| 114 | _CONFIGREQUEST._serialized_start=615 |
| 115 | _CONFIGREQUEST._serialized_end=682 |
| 116 | _CONFIGRESPONSE._serialized_start=685 |
| 117 | _CONFIGRESPONSE._serialized_end=976 |
| 118 | _CONFIGRESPONSE_REASON._serialized_start=800 |
| 119 | _CONFIGRESPONSE_REASON._serialized_end=976 |
| 120 | _STARTUPCONFIGINFOREQUEST._serialized_start=978 |
| 121 | _STARTUPCONFIGINFOREQUEST._serialized_end=1036 |
| 122 | _STARTUPCONFIGINFORESPONSE._serialized_start=1039 |
| 123 | _STARTUPCONFIGINFORESPONSE._serialized_end=1306 |
| 124 | _STARTUPCONFIGINFORESPONSE_REASON._serialized_start=420 |
| 125 | _STARTUPCONFIGINFORESPONSE_REASON._serialized_end=514 |
amit.ghosh | 5a68980 | 2022-09-12 14:26:10 +0200 | [diff] [blame] | 126 | _UPLOADDEBUGINFOREQUEST._serialized_start=1308 |
| 127 | _UPLOADDEBUGINFOREQUEST._serialized_end=1386 |
| 128 | _UPLOADDEBUGINFOSTATUS._serialized_start=1389 |
amit.ghosh | dfd5d7e | 2023-03-14 21:14:33 +0100 | [diff] [blame] | 129 | _UPLOADDEBUGINFOSTATUS._serialized_end=2003 |
amit.ghosh | 5a68980 | 2022-09-12 14:26:10 +0200 | [diff] [blame] | 130 | _UPLOADDEBUGINFOSTATUS_UPLOADSTATUS._serialized_start=1621 |
| 131 | _UPLOADDEBUGINFOSTATUS_UPLOADSTATUS._serialized_end=1706 |
| 132 | _UPLOADDEBUGINFOSTATUS_REASON._serialized_start=1709 |
amit.ghosh | dfd5d7e | 2023-03-14 21:14:33 +0100 | [diff] [blame] | 133 | _UPLOADDEBUGINFOSTATUS_REASON._serialized_end=2003 |
| 134 | _NATIVESOFTWAREMANAGEMENTSERVICE._serialized_start=2006 |
| 135 | _NATIVESOFTWAREMANAGEMENTSERVICE._serialized_end=2546 |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 136 | # @@protoc_insertion_point(module_scope) |