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 |
| 4 | |
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, |
aghosh | c301dcd | 2020-09-03 16:55:34 +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\"\x90\x01\n%GetSoftwareVersionInformationResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12\x1b\n\x06reason\x18\x02 \x01(\x0e\x32\x0b.dmi.Reason\x12-\n\x04info\x18\x03 \x01(\x0b\x32\x1f.dmi.SoftwareVersionInformation\"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.ImageInformation2\xa7\x02\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\x42;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 | |
| 31 | |
| 32 | _SOFTWAREVERSIONINFORMATION = _descriptor.Descriptor( |
| 33 | name='SoftwareVersionInformation', |
| 34 | full_name='dmi.SoftwareVersionInformation', |
| 35 | filename=None, |
| 36 | file=DESCRIPTOR, |
| 37 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 38 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 39 | fields=[ |
| 40 | _descriptor.FieldDescriptor( |
| 41 | name='active_versions', full_name='dmi.SoftwareVersionInformation.active_versions', index=0, |
| 42 | number=1, type=11, cpp_type=10, label=3, |
| 43 | has_default_value=False, default_value=[], |
| 44 | message_type=None, enum_type=None, containing_type=None, |
| 45 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 46 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 47 | _descriptor.FieldDescriptor( |
| 48 | name='standby_versions', full_name='dmi.SoftwareVersionInformation.standby_versions', index=1, |
| 49 | number=2, type=11, cpp_type=10, label=3, |
| 50 | has_default_value=False, default_value=[], |
| 51 | message_type=None, enum_type=None, containing_type=None, |
| 52 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 53 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 54 | ], |
| 55 | extensions=[ |
| 56 | ], |
| 57 | nested_types=[], |
| 58 | enum_types=[ |
| 59 | ], |
| 60 | serialized_options=None, |
| 61 | is_extendable=False, |
| 62 | syntax='proto3', |
| 63 | extension_ranges=[], |
| 64 | oneofs=[ |
| 65 | ], |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 66 | serialized_start=93, |
| 67 | serialized_end=210, |
| 68 | ) |
| 69 | |
| 70 | |
| 71 | _GETSOFTWAREVERSIONINFORMATIONRESPONSE = _descriptor.Descriptor( |
| 72 | name='GetSoftwareVersionInformationResponse', |
| 73 | full_name='dmi.GetSoftwareVersionInformationResponse', |
| 74 | filename=None, |
| 75 | file=DESCRIPTOR, |
| 76 | containing_type=None, |
| 77 | create_key=_descriptor._internal_create_key, |
| 78 | fields=[ |
| 79 | _descriptor.FieldDescriptor( |
| 80 | name='status', full_name='dmi.GetSoftwareVersionInformationResponse.status', index=0, |
| 81 | number=1, type=14, cpp_type=8, label=1, |
| 82 | has_default_value=False, default_value=0, |
| 83 | message_type=None, enum_type=None, containing_type=None, |
| 84 | is_extension=False, extension_scope=None, |
| 85 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 86 | _descriptor.FieldDescriptor( |
| 87 | name='reason', full_name='dmi.GetSoftwareVersionInformationResponse.reason', index=1, |
| 88 | number=2, type=14, cpp_type=8, label=1, |
| 89 | has_default_value=False, default_value=0, |
| 90 | message_type=None, enum_type=None, containing_type=None, |
| 91 | is_extension=False, extension_scope=None, |
| 92 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 93 | _descriptor.FieldDescriptor( |
| 94 | name='info', full_name='dmi.GetSoftwareVersionInformationResponse.info', index=2, |
| 95 | number=3, type=11, cpp_type=10, label=1, |
| 96 | has_default_value=False, default_value=None, |
| 97 | message_type=None, enum_type=None, containing_type=None, |
| 98 | is_extension=False, extension_scope=None, |
| 99 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 100 | ], |
| 101 | extensions=[ |
| 102 | ], |
| 103 | nested_types=[], |
| 104 | enum_types=[ |
| 105 | ], |
| 106 | serialized_options=None, |
| 107 | is_extendable=False, |
| 108 | syntax='proto3', |
| 109 | extension_ranges=[], |
| 110 | oneofs=[ |
| 111 | ], |
| 112 | serialized_start=213, |
| 113 | serialized_end=357, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 114 | ) |
| 115 | |
| 116 | |
| 117 | _DOWNLOADIMAGEREQUEST = _descriptor.Descriptor( |
| 118 | name='DownloadImageRequest', |
| 119 | full_name='dmi.DownloadImageRequest', |
| 120 | filename=None, |
| 121 | file=DESCRIPTOR, |
| 122 | containing_type=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 123 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 124 | fields=[ |
| 125 | _descriptor.FieldDescriptor( |
| 126 | name='device_uuid', full_name='dmi.DownloadImageRequest.device_uuid', index=0, |
| 127 | number=1, type=11, cpp_type=10, label=1, |
| 128 | has_default_value=False, default_value=None, |
| 129 | message_type=None, enum_type=None, containing_type=None, |
| 130 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 131 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 132 | _descriptor.FieldDescriptor( |
| 133 | name='image_info', full_name='dmi.DownloadImageRequest.image_info', index=1, |
| 134 | number=2, type=11, cpp_type=10, label=1, |
| 135 | has_default_value=False, default_value=None, |
| 136 | message_type=None, enum_type=None, containing_type=None, |
| 137 | is_extension=False, extension_scope=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 138 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 139 | ], |
| 140 | extensions=[ |
| 141 | ], |
| 142 | nested_types=[], |
| 143 | enum_types=[ |
| 144 | ], |
| 145 | serialized_options=None, |
| 146 | is_extendable=False, |
| 147 | syntax='proto3', |
| 148 | extension_ranges=[], |
| 149 | oneofs=[ |
| 150 | ], |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 151 | serialized_start=359, |
| 152 | serialized_end=456, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 153 | ) |
| 154 | |
| 155 | _SOFTWAREVERSIONINFORMATION.fields_by_name['active_versions'].message_type = dmi_dot_sw__image__pb2._IMAGEVERSION |
| 156 | _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] | 157 | _GETSOFTWAREVERSIONINFORMATIONRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS |
| 158 | _GETSOFTWAREVERSIONINFORMATIONRESPONSE.fields_by_name['reason'].enum_type = dmi_dot_commons__pb2._REASON |
| 159 | _GETSOFTWAREVERSIONINFORMATIONRESPONSE.fields_by_name['info'].message_type = _SOFTWAREVERSIONINFORMATION |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 160 | _DOWNLOADIMAGEREQUEST.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID |
| 161 | _DOWNLOADIMAGEREQUEST.fields_by_name['image_info'].message_type = dmi_dot_sw__image__pb2._IMAGEINFORMATION |
| 162 | DESCRIPTOR.message_types_by_name['SoftwareVersionInformation'] = _SOFTWAREVERSIONINFORMATION |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 163 | DESCRIPTOR.message_types_by_name['GetSoftwareVersionInformationResponse'] = _GETSOFTWAREVERSIONINFORMATIONRESPONSE |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 164 | DESCRIPTOR.message_types_by_name['DownloadImageRequest'] = _DOWNLOADIMAGEREQUEST |
| 165 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) |
| 166 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 167 | SoftwareVersionInformation = _reflection.GeneratedProtocolMessageType('SoftwareVersionInformation', (_message.Message,), { |
| 168 | 'DESCRIPTOR' : _SOFTWAREVERSIONINFORMATION, |
| 169 | '__module__' : 'dmi.sw_management_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 170 | # @@protoc_insertion_point(class_scope:dmi.SoftwareVersionInformation) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 171 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 172 | _sym_db.RegisterMessage(SoftwareVersionInformation) |
| 173 | |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 174 | GetSoftwareVersionInformationResponse = _reflection.GeneratedProtocolMessageType('GetSoftwareVersionInformationResponse', (_message.Message,), { |
| 175 | 'DESCRIPTOR' : _GETSOFTWAREVERSIONINFORMATIONRESPONSE, |
| 176 | '__module__' : 'dmi.sw_management_service_pb2' |
| 177 | # @@protoc_insertion_point(class_scope:dmi.GetSoftwareVersionInformationResponse) |
| 178 | }) |
| 179 | _sym_db.RegisterMessage(GetSoftwareVersionInformationResponse) |
| 180 | |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 181 | DownloadImageRequest = _reflection.GeneratedProtocolMessageType('DownloadImageRequest', (_message.Message,), { |
| 182 | 'DESCRIPTOR' : _DOWNLOADIMAGEREQUEST, |
| 183 | '__module__' : 'dmi.sw_management_service_pb2' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 184 | # @@protoc_insertion_point(class_scope:dmi.DownloadImageRequest) |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 185 | }) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 186 | _sym_db.RegisterMessage(DownloadImageRequest) |
| 187 | |
| 188 | |
| 189 | DESCRIPTOR._options = None |
| 190 | |
| 191 | _NATIVESOFTWAREMANAGEMENTSERVICE = _descriptor.ServiceDescriptor( |
| 192 | name='NativeSoftwareManagementService', |
| 193 | full_name='dmi.NativeSoftwareManagementService', |
| 194 | file=DESCRIPTOR, |
| 195 | index=0, |
| 196 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 197 | create_key=_descriptor._internal_create_key, |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 198 | serialized_start=459, |
| 199 | serialized_end=754, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 200 | methods=[ |
| 201 | _descriptor.MethodDescriptor( |
| 202 | name='GetSoftwareVersion', |
| 203 | full_name='dmi.NativeSoftwareManagementService.GetSoftwareVersion', |
| 204 | index=0, |
| 205 | containing_service=None, |
| 206 | input_type=dmi_dot_hw__pb2._HARDWAREID, |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 207 | output_type=_GETSOFTWAREVERSIONINFORMATIONRESPONSE, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 208 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 209 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 210 | ), |
| 211 | _descriptor.MethodDescriptor( |
| 212 | name='DownloadImage', |
| 213 | full_name='dmi.NativeSoftwareManagementService.DownloadImage', |
| 214 | index=1, |
| 215 | containing_service=None, |
| 216 | input_type=_DOWNLOADIMAGEREQUEST, |
| 217 | output_type=dmi_dot_sw__image__pb2._IMAGESTATUS, |
| 218 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 219 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 220 | ), |
| 221 | _descriptor.MethodDescriptor( |
| 222 | name='ActivateImage', |
| 223 | full_name='dmi.NativeSoftwareManagementService.ActivateImage', |
| 224 | index=2, |
| 225 | containing_service=None, |
| 226 | input_type=dmi_dot_hw__pb2._HARDWAREID, |
| 227 | output_type=dmi_dot_sw__image__pb2._IMAGESTATUS, |
| 228 | serialized_options=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 | ), |
| 231 | _descriptor.MethodDescriptor( |
| 232 | name='RevertToStandbyImage', |
| 233 | full_name='dmi.NativeSoftwareManagementService.RevertToStandbyImage', |
| 234 | index=3, |
| 235 | containing_service=None, |
| 236 | input_type=dmi_dot_hw__pb2._HARDWAREID, |
| 237 | output_type=dmi_dot_sw__image__pb2._IMAGESTATUS, |
| 238 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 239 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 240 | ), |
| 241 | ]) |
| 242 | _sym_db.RegisterServiceDescriptor(_NATIVESOFTWAREMANAGEMENTSERVICE) |
| 243 | |
| 244 | DESCRIPTOR.services_by_name['NativeSoftwareManagementService'] = _NATIVESOFTWAREMANAGEMENTSERVICE |
| 245 | |
| 246 | # @@protoc_insertion_point(module_scope) |