blob: cc5d459272cc6fa649a807e64c3a29a66192ce8c [file] [log] [blame]
uwe ottrembka66d91ea2020-08-11 10:50:55 +02001# -*- coding: utf-8 -*-
2# Generated by the protocol buffer compiler. DO NOT EDIT!
3# source: dmi/sw_management_service.proto
Andrea Campanellacb990bc2020-09-22 12:50:56 +02004"""Generated protocol buffer code."""
uwe ottrembka66d91ea2020-08-11 10:50:55 +02005from google.protobuf import descriptor as _descriptor
6from google.protobuf import message as _message
7from google.protobuf import reflection as _reflection
8from google.protobuf import symbol_database as _symbol_database
9# @@protoc_insertion_point(imports)
10
11_sym_db = _symbol_database.Default()
12
13
aghoshc301dcd2020-09-03 16:55:34 +010014from dmi import commons_pb2 as dmi_dot_commons__pb2
uwe ottrembka66d91ea2020-08-11 10:50:55 +020015from dmi import hw_pb2 as dmi_dot_hw__pb2
16from dmi import sw_image_pb2 as dmi_dot_sw__image__pb2
17
18
19DESCRIPTOR = _descriptor.FileDescriptor(
20 name='dmi/sw_management_service.proto',
21 package='dmi',
22 syntax='proto3',
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020023 serialized_options=b'Z9github.com/opencord/device-management-interface/v3/go/dmi',
24 create_key=_descriptor._internal_create_key,
aghoshc301dcd2020-09-03 16:55:34 +010025 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 ottrembka66d91ea2020-08-11 10:50:55 +020026 ,
aghoshc301dcd2020-09-03 16:55:34 +010027 dependencies=[dmi_dot_commons__pb2.DESCRIPTOR,dmi_dot_hw__pb2.DESCRIPTOR,dmi_dot_sw__image__pb2.DESCRIPTOR,])
uwe ottrembka66d91ea2020-08-11 10:50:55 +020028
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 ottrembka5ea5c0a2020-08-31 10:37:35 +020038 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +020039 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 ottrembka5ea5c0a2020-08-31 10:37:35 +020046 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020047 _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 ottrembka5ea5c0a2020-08-31 10:37:35 +020053 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020054 ],
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 ],
aghoshc301dcd2020-09-03 16:55:34 +010066 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 ottrembka66d91ea2020-08-11 10:50:55 +0200114)
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 ottrembka5ea5c0a2020-08-31 10:37:35 +0200123 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200124 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 ottrembka5ea5c0a2020-08-31 10:37:35 +0200131 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200132 _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 ottrembka5ea5c0a2020-08-31 10:37:35 +0200138 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200139 ],
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 ],
aghoshc301dcd2020-09-03 16:55:34 +0100151 serialized_start=359,
152 serialized_end=456,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200153)
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
aghoshc301dcd2020-09-03 16:55:34 +0100157_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 ottrembka66d91ea2020-08-11 10:50:55 +0200160_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
162DESCRIPTOR.message_types_by_name['SoftwareVersionInformation'] = _SOFTWAREVERSIONINFORMATION
aghoshc301dcd2020-09-03 16:55:34 +0100163DESCRIPTOR.message_types_by_name['GetSoftwareVersionInformationResponse'] = _GETSOFTWAREVERSIONINFORMATIONRESPONSE
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200164DESCRIPTOR.message_types_by_name['DownloadImageRequest'] = _DOWNLOADIMAGEREQUEST
165_sym_db.RegisterFileDescriptor(DESCRIPTOR)
166
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200167SoftwareVersionInformation = _reflection.GeneratedProtocolMessageType('SoftwareVersionInformation', (_message.Message,), {
168 'DESCRIPTOR' : _SOFTWAREVERSIONINFORMATION,
169 '__module__' : 'dmi.sw_management_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200170 # @@protoc_insertion_point(class_scope:dmi.SoftwareVersionInformation)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200171 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200172_sym_db.RegisterMessage(SoftwareVersionInformation)
173
aghoshc301dcd2020-09-03 16:55:34 +0100174GetSoftwareVersionInformationResponse = _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 ottrembka5ea5c0a2020-08-31 10:37:35 +0200181DownloadImageRequest = _reflection.GeneratedProtocolMessageType('DownloadImageRequest', (_message.Message,), {
182 'DESCRIPTOR' : _DOWNLOADIMAGEREQUEST,
183 '__module__' : 'dmi.sw_management_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200184 # @@protoc_insertion_point(class_scope:dmi.DownloadImageRequest)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200185 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200186_sym_db.RegisterMessage(DownloadImageRequest)
187
188
189DESCRIPTOR._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 ottrembka5ea5c0a2020-08-31 10:37:35 +0200197 create_key=_descriptor._internal_create_key,
aghoshc301dcd2020-09-03 16:55:34 +0100198 serialized_start=459,
199 serialized_end=754,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200200 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,
aghoshc301dcd2020-09-03 16:55:34 +0100207 output_type=_GETSOFTWAREVERSIONINFORMATIONRESPONSE,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200208 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200209 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200210 ),
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 ottrembka5ea5c0a2020-08-31 10:37:35 +0200219 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200220 ),
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 ottrembka5ea5c0a2020-08-31 10:37:35 +0200229 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200230 ),
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 ottrembka5ea5c0a2020-08-31 10:37:35 +0200239 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200240 ),
241])
242_sym_db.RegisterServiceDescriptor(_NATIVESOFTWAREMANAGEMENTSERVICE)
243
244DESCRIPTOR.services_by_name['NativeSoftwareManagementService'] = _NATIVESOFTWAREMANAGEMENTSERVICE
245
246# @@protoc_insertion_point(module_scope)