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 | |
| 5 | import sys |
| 6 | _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) |
| 7 | from google.protobuf import descriptor as _descriptor |
| 8 | from google.protobuf import message as _message |
| 9 | from google.protobuf import reflection as _reflection |
| 10 | from google.protobuf import symbol_database as _symbol_database |
| 11 | # @@protoc_insertion_point(imports) |
| 12 | |
| 13 | _sym_db = _symbol_database.Default() |
| 14 | |
| 15 | |
| 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 | |
| 20 | DESCRIPTOR = _descriptor.FileDescriptor( |
| 21 | name='dmi/sw_management_service.proto', |
| 22 | package='dmi', |
| 23 | syntax='proto3', |
| 24 | serialized_options=_b('Z9github.com/opencord/device-management-interface/v3/go/dmi'), |
| 25 | serialized_pb=_b('\n\x1f\x64mi/sw_management_service.proto\x12\x03\x64mi\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\"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\x9c\x02\n\x1fNativeSoftwareManagementService\x12\x46\n\x12GetSoftwareVersion\x12\x0f.dmi.HardwareID\x1a\x1f.dmi.SoftwareVersionInformation\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') |
| 26 | , |
| 27 | dependencies=[dmi_dot_hw__pb2.DESCRIPTOR,dmi_dot_sw__image__pb2.DESCRIPTOR,]) |
| 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, |
| 38 | fields=[ |
| 39 | _descriptor.FieldDescriptor( |
| 40 | name='active_versions', full_name='dmi.SoftwareVersionInformation.active_versions', index=0, |
| 41 | number=1, type=11, cpp_type=10, label=3, |
| 42 | has_default_value=False, default_value=[], |
| 43 | message_type=None, enum_type=None, containing_type=None, |
| 44 | is_extension=False, extension_scope=None, |
| 45 | serialized_options=None, file=DESCRIPTOR), |
| 46 | _descriptor.FieldDescriptor( |
| 47 | name='standby_versions', full_name='dmi.SoftwareVersionInformation.standby_versions', index=1, |
| 48 | number=2, type=11, cpp_type=10, label=3, |
| 49 | has_default_value=False, default_value=[], |
| 50 | message_type=None, enum_type=None, containing_type=None, |
| 51 | is_extension=False, extension_scope=None, |
| 52 | serialized_options=None, file=DESCRIPTOR), |
| 53 | ], |
| 54 | extensions=[ |
| 55 | ], |
| 56 | nested_types=[], |
| 57 | enum_types=[ |
| 58 | ], |
| 59 | serialized_options=None, |
| 60 | is_extendable=False, |
| 61 | syntax='proto3', |
| 62 | extension_ranges=[], |
| 63 | oneofs=[ |
| 64 | ], |
| 65 | serialized_start=74, |
| 66 | serialized_end=191, |
| 67 | ) |
| 68 | |
| 69 | |
| 70 | _DOWNLOADIMAGEREQUEST = _descriptor.Descriptor( |
| 71 | name='DownloadImageRequest', |
| 72 | full_name='dmi.DownloadImageRequest', |
| 73 | filename=None, |
| 74 | file=DESCRIPTOR, |
| 75 | containing_type=None, |
| 76 | fields=[ |
| 77 | _descriptor.FieldDescriptor( |
| 78 | name='device_uuid', full_name='dmi.DownloadImageRequest.device_uuid', index=0, |
| 79 | number=1, type=11, cpp_type=10, label=1, |
| 80 | has_default_value=False, default_value=None, |
| 81 | message_type=None, enum_type=None, containing_type=None, |
| 82 | is_extension=False, extension_scope=None, |
| 83 | serialized_options=None, file=DESCRIPTOR), |
| 84 | _descriptor.FieldDescriptor( |
| 85 | name='image_info', full_name='dmi.DownloadImageRequest.image_info', index=1, |
| 86 | number=2, type=11, cpp_type=10, label=1, |
| 87 | has_default_value=False, default_value=None, |
| 88 | message_type=None, enum_type=None, containing_type=None, |
| 89 | is_extension=False, extension_scope=None, |
| 90 | serialized_options=None, file=DESCRIPTOR), |
| 91 | ], |
| 92 | extensions=[ |
| 93 | ], |
| 94 | nested_types=[], |
| 95 | enum_types=[ |
| 96 | ], |
| 97 | serialized_options=None, |
| 98 | is_extendable=False, |
| 99 | syntax='proto3', |
| 100 | extension_ranges=[], |
| 101 | oneofs=[ |
| 102 | ], |
| 103 | serialized_start=193, |
| 104 | serialized_end=290, |
| 105 | ) |
| 106 | |
| 107 | _SOFTWAREVERSIONINFORMATION.fields_by_name['active_versions'].message_type = dmi_dot_sw__image__pb2._IMAGEVERSION |
| 108 | _SOFTWAREVERSIONINFORMATION.fields_by_name['standby_versions'].message_type = dmi_dot_sw__image__pb2._IMAGEVERSION |
| 109 | _DOWNLOADIMAGEREQUEST.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID |
| 110 | _DOWNLOADIMAGEREQUEST.fields_by_name['image_info'].message_type = dmi_dot_sw__image__pb2._IMAGEINFORMATION |
| 111 | DESCRIPTOR.message_types_by_name['SoftwareVersionInformation'] = _SOFTWAREVERSIONINFORMATION |
| 112 | DESCRIPTOR.message_types_by_name['DownloadImageRequest'] = _DOWNLOADIMAGEREQUEST |
| 113 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) |
| 114 | |
| 115 | SoftwareVersionInformation = _reflection.GeneratedProtocolMessageType('SoftwareVersionInformation', (_message.Message,), dict( |
| 116 | DESCRIPTOR = _SOFTWAREVERSIONINFORMATION, |
| 117 | __module__ = 'dmi.sw_management_service_pb2' |
| 118 | # @@protoc_insertion_point(class_scope:dmi.SoftwareVersionInformation) |
| 119 | )) |
| 120 | _sym_db.RegisterMessage(SoftwareVersionInformation) |
| 121 | |
| 122 | DownloadImageRequest = _reflection.GeneratedProtocolMessageType('DownloadImageRequest', (_message.Message,), dict( |
| 123 | DESCRIPTOR = _DOWNLOADIMAGEREQUEST, |
| 124 | __module__ = 'dmi.sw_management_service_pb2' |
| 125 | # @@protoc_insertion_point(class_scope:dmi.DownloadImageRequest) |
| 126 | )) |
| 127 | _sym_db.RegisterMessage(DownloadImageRequest) |
| 128 | |
| 129 | |
| 130 | DESCRIPTOR._options = None |
| 131 | |
| 132 | _NATIVESOFTWAREMANAGEMENTSERVICE = _descriptor.ServiceDescriptor( |
| 133 | name='NativeSoftwareManagementService', |
| 134 | full_name='dmi.NativeSoftwareManagementService', |
| 135 | file=DESCRIPTOR, |
| 136 | index=0, |
| 137 | serialized_options=None, |
| 138 | serialized_start=293, |
| 139 | serialized_end=577, |
| 140 | methods=[ |
| 141 | _descriptor.MethodDescriptor( |
| 142 | name='GetSoftwareVersion', |
| 143 | full_name='dmi.NativeSoftwareManagementService.GetSoftwareVersion', |
| 144 | index=0, |
| 145 | containing_service=None, |
| 146 | input_type=dmi_dot_hw__pb2._HARDWAREID, |
| 147 | output_type=_SOFTWAREVERSIONINFORMATION, |
| 148 | serialized_options=None, |
| 149 | ), |
| 150 | _descriptor.MethodDescriptor( |
| 151 | name='DownloadImage', |
| 152 | full_name='dmi.NativeSoftwareManagementService.DownloadImage', |
| 153 | index=1, |
| 154 | containing_service=None, |
| 155 | input_type=_DOWNLOADIMAGEREQUEST, |
| 156 | output_type=dmi_dot_sw__image__pb2._IMAGESTATUS, |
| 157 | serialized_options=None, |
| 158 | ), |
| 159 | _descriptor.MethodDescriptor( |
| 160 | name='ActivateImage', |
| 161 | full_name='dmi.NativeSoftwareManagementService.ActivateImage', |
| 162 | index=2, |
| 163 | containing_service=None, |
| 164 | input_type=dmi_dot_hw__pb2._HARDWAREID, |
| 165 | output_type=dmi_dot_sw__image__pb2._IMAGESTATUS, |
| 166 | serialized_options=None, |
| 167 | ), |
| 168 | _descriptor.MethodDescriptor( |
| 169 | name='RevertToStandbyImage', |
| 170 | full_name='dmi.NativeSoftwareManagementService.RevertToStandbyImage', |
| 171 | index=3, |
| 172 | containing_service=None, |
| 173 | input_type=dmi_dot_hw__pb2._HARDWAREID, |
| 174 | output_type=dmi_dot_sw__image__pb2._IMAGESTATUS, |
| 175 | serialized_options=None, |
| 176 | ), |
| 177 | ]) |
| 178 | _sym_db.RegisterServiceDescriptor(_NATIVESOFTWAREMANAGEMENTSERVICE) |
| 179 | |
| 180 | DESCRIPTOR.services_by_name['NativeSoftwareManagementService'] = _NATIVESOFTWAREMANAGEMENTSERVICE |
| 181 | |
| 182 | # @@protoc_insertion_point(module_scope) |