blob: 9a6038455bd1ec0e0ba8bc5575e620b2a7decb0d [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_image.proto
4
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
14from dmi import commons_pb2 as dmi_dot_commons__pb2
15
16
17DESCRIPTOR = _descriptor.FileDescriptor(
18 name='dmi/sw_image.proto',
19 package='dmi',
20 syntax='proto3',
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020021 serialized_options=b'Z9github.com/opencord/device-management-interface/v3/go/dmi',
22 create_key=_descriptor._internal_create_key,
aghoshc301dcd2020-09-03 16:55:34 +010023 serialized_pb=b'\n\x12\x64mi/sw_image.proto\x12\x03\x64mi\x1a\x11\x64mi/commons.proto\"3\n\x0cImageVersion\x12\x12\n\nimage_name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\"x\n\x10ImageInformation\x12 \n\x05image\x18\x01 \x01(\x0b\x32\x11.dmi.ImageVersion\x12\x1c\n\x14image_install_script\x18\x02 \x01(\t\x12\x11\n\timage_url\x18\x03 \x01(\t\x12\x11\n\tsha256sum\x18\x05 \x01(\t\"\xfa\x03\n\x0bImageStatus\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12\'\n\x06reason\x18\x02 \x01(\x0e\x32\x17.dmi.ImageStatus.Reason\x12*\n\x05state\x18\x03 \x01(\x0e\x32\x1b.dmi.ImageStatus.ImageState\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\"\xd0\x01\n\nImageState\x12\x13\n\x0fUNDEFINED_STATE\x10\x00\x12\x11\n\rCOPYING_IMAGE\x10\x01\x12\x14\n\x10INSTALLING_IMAGE\x10\x02\x12\x14\n\x10\x43OMMITTING_IMAGE\x10\x03\x12\x14\n\x10REBOOTING_DEVICE\x10\x04\x12\x14\n\x10UPGRADE_COMPLETE\x10\x05\x12\x12\n\x0eUPGRADE_FAILED\x10\x06\x12\x17\n\x13\x41\x43TIVATION_COMPLETE\x10\x07\x12\x15\n\x11\x41\x43TIVATION_FAILED\x10\x08\"\x90\x01\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x14\n\x10\x45RROR_IN_REQUEST\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x19\n\x15\x44\x45VICE_IN_WRONG_STATE\x10\x03\x12\x11\n\rINVALID_IMAGE\x10\x04\x12\x18\n\x14WRONG_IMAGE_CHECKSUM\x10\x05\x42;Z9github.com/opencord/device-management-interface/v3/go/dmib\x06proto3'
uwe ottrembka66d91ea2020-08-11 10:50:55 +020024 ,
25 dependencies=[dmi_dot_commons__pb2.DESCRIPTOR,])
26
27
28
29_IMAGESTATUS_IMAGESTATE = _descriptor.EnumDescriptor(
30 name='ImageState',
31 full_name='dmi.ImageStatus.ImageState',
32 filename=None,
33 file=DESCRIPTOR,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020034 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +020035 values=[
36 _descriptor.EnumValueDescriptor(
37 name='UNDEFINED_STATE', index=0, number=0,
38 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020039 type=None,
40 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020041 _descriptor.EnumValueDescriptor(
42 name='COPYING_IMAGE', index=1, number=1,
43 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020044 type=None,
45 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020046 _descriptor.EnumValueDescriptor(
47 name='INSTALLING_IMAGE', index=2, number=2,
48 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020049 type=None,
50 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020051 _descriptor.EnumValueDescriptor(
aghoshc301dcd2020-09-03 16:55:34 +010052 name='COMMITTING_IMAGE', index=3, number=3,
uwe ottrembka66d91ea2020-08-11 10:50:55 +020053 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020054 type=None,
55 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020056 _descriptor.EnumValueDescriptor(
57 name='REBOOTING_DEVICE', index=4, number=4,
58 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020059 type=None,
60 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020061 _descriptor.EnumValueDescriptor(
62 name='UPGRADE_COMPLETE', index=5, number=5,
63 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020064 type=None,
65 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020066 _descriptor.EnumValueDescriptor(
67 name='UPGRADE_FAILED', index=6, number=6,
68 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020069 type=None,
70 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020071 _descriptor.EnumValueDescriptor(
72 name='ACTIVATION_COMPLETE', index=7, number=7,
73 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020074 type=None,
75 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020076 _descriptor.EnumValueDescriptor(
77 name='ACTIVATION_FAILED', index=8, number=8,
78 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020079 type=None,
80 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020081 ],
82 containing_type=None,
83 serialized_options=None,
84 serialized_start=373,
aghoshc301dcd2020-09-03 16:55:34 +010085 serialized_end=581,
uwe ottrembka66d91ea2020-08-11 10:50:55 +020086)
87_sym_db.RegisterEnumDescriptor(_IMAGESTATUS_IMAGESTATE)
88
89_IMAGESTATUS_REASON = _descriptor.EnumDescriptor(
90 name='Reason',
91 full_name='dmi.ImageStatus.Reason',
92 filename=None,
93 file=DESCRIPTOR,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020094 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +020095 values=[
96 _descriptor.EnumValueDescriptor(
97 name='UNDEFINED_REASON', index=0, number=0,
98 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020099 type=None,
100 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200101 _descriptor.EnumValueDescriptor(
102 name='ERROR_IN_REQUEST', index=1, number=1,
103 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200104 type=None,
105 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200106 _descriptor.EnumValueDescriptor(
107 name='INTERNAL_ERROR', index=2, number=2,
108 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200109 type=None,
110 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200111 _descriptor.EnumValueDescriptor(
112 name='DEVICE_IN_WRONG_STATE', index=3, number=3,
113 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200114 type=None,
115 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200116 _descriptor.EnumValueDescriptor(
117 name='INVALID_IMAGE', index=4, number=4,
118 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200119 type=None,
120 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200121 _descriptor.EnumValueDescriptor(
122 name='WRONG_IMAGE_CHECKSUM', index=5, number=5,
123 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200124 type=None,
125 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200126 ],
127 containing_type=None,
128 serialized_options=None,
aghoshc301dcd2020-09-03 16:55:34 +0100129 serialized_start=584,
130 serialized_end=728,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200131)
132_sym_db.RegisterEnumDescriptor(_IMAGESTATUS_REASON)
133
134
135_IMAGEVERSION = _descriptor.Descriptor(
136 name='ImageVersion',
137 full_name='dmi.ImageVersion',
138 filename=None,
139 file=DESCRIPTOR,
140 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200141 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200142 fields=[
143 _descriptor.FieldDescriptor(
144 name='image_name', full_name='dmi.ImageVersion.image_name', index=0,
145 number=1, type=9, cpp_type=9, label=1,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200146 has_default_value=False, default_value=b"".decode('utf-8'),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200147 message_type=None, enum_type=None, containing_type=None,
148 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200149 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200150 _descriptor.FieldDescriptor(
151 name='version', full_name='dmi.ImageVersion.version', index=1,
152 number=2, type=9, cpp_type=9, label=1,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200153 has_default_value=False, default_value=b"".decode('utf-8'),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200154 message_type=None, enum_type=None, containing_type=None,
155 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200156 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200157 ],
158 extensions=[
159 ],
160 nested_types=[],
161 enum_types=[
162 ],
163 serialized_options=None,
164 is_extendable=False,
165 syntax='proto3',
166 extension_ranges=[],
167 oneofs=[
168 ],
169 serialized_start=46,
170 serialized_end=97,
171)
172
173
174_IMAGEINFORMATION = _descriptor.Descriptor(
175 name='ImageInformation',
176 full_name='dmi.ImageInformation',
177 filename=None,
178 file=DESCRIPTOR,
179 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200180 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200181 fields=[
182 _descriptor.FieldDescriptor(
183 name='image', full_name='dmi.ImageInformation.image', index=0,
184 number=1, type=11, cpp_type=10, label=1,
185 has_default_value=False, default_value=None,
186 message_type=None, enum_type=None, containing_type=None,
187 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200188 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200189 _descriptor.FieldDescriptor(
190 name='image_install_script', full_name='dmi.ImageInformation.image_install_script', index=1,
191 number=2, type=9, cpp_type=9, label=1,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200192 has_default_value=False, default_value=b"".decode('utf-8'),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200193 message_type=None, enum_type=None, containing_type=None,
194 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200195 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200196 _descriptor.FieldDescriptor(
197 name='image_url', full_name='dmi.ImageInformation.image_url', index=2,
198 number=3, type=9, cpp_type=9, label=1,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200199 has_default_value=False, default_value=b"".decode('utf-8'),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200200 message_type=None, enum_type=None, containing_type=None,
201 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200202 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200203 _descriptor.FieldDescriptor(
204 name='sha256sum', full_name='dmi.ImageInformation.sha256sum', index=3,
205 number=5, type=9, cpp_type=9, label=1,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200206 has_default_value=False, default_value=b"".decode('utf-8'),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200207 message_type=None, enum_type=None, containing_type=None,
208 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200209 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200210 ],
211 extensions=[
212 ],
213 nested_types=[],
214 enum_types=[
215 ],
216 serialized_options=None,
217 is_extendable=False,
218 syntax='proto3',
219 extension_ranges=[],
220 oneofs=[
221 ],
222 serialized_start=99,
223 serialized_end=219,
224)
225
226
227_IMAGESTATUS = _descriptor.Descriptor(
228 name='ImageStatus',
229 full_name='dmi.ImageStatus',
230 filename=None,
231 file=DESCRIPTOR,
232 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200233 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200234 fields=[
235 _descriptor.FieldDescriptor(
236 name='status', full_name='dmi.ImageStatus.status', index=0,
237 number=1, type=14, cpp_type=8, label=1,
238 has_default_value=False, default_value=0,
239 message_type=None, enum_type=None, containing_type=None,
240 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200241 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200242 _descriptor.FieldDescriptor(
243 name='reason', full_name='dmi.ImageStatus.reason', index=1,
244 number=2, type=14, cpp_type=8, label=1,
245 has_default_value=False, default_value=0,
246 message_type=None, enum_type=None, containing_type=None,
247 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200248 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200249 _descriptor.FieldDescriptor(
250 name='state', full_name='dmi.ImageStatus.state', index=2,
251 number=3, type=14, cpp_type=8, label=1,
252 has_default_value=False, default_value=0,
253 message_type=None, enum_type=None, containing_type=None,
254 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200255 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200256 _descriptor.FieldDescriptor(
257 name='description', full_name='dmi.ImageStatus.description', index=3,
258 number=4, type=9, cpp_type=9, label=1,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200259 has_default_value=False, default_value=b"".decode('utf-8'),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200260 message_type=None, enum_type=None, containing_type=None,
261 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200262 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200263 ],
264 extensions=[
265 ],
266 nested_types=[],
267 enum_types=[
268 _IMAGESTATUS_IMAGESTATE,
269 _IMAGESTATUS_REASON,
270 ],
271 serialized_options=None,
272 is_extendable=False,
273 syntax='proto3',
274 extension_ranges=[],
275 oneofs=[
276 ],
277 serialized_start=222,
aghoshc301dcd2020-09-03 16:55:34 +0100278 serialized_end=728,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200279)
280
281_IMAGEINFORMATION.fields_by_name['image'].message_type = _IMAGEVERSION
282_IMAGESTATUS.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS
283_IMAGESTATUS.fields_by_name['reason'].enum_type = _IMAGESTATUS_REASON
284_IMAGESTATUS.fields_by_name['state'].enum_type = _IMAGESTATUS_IMAGESTATE
285_IMAGESTATUS_IMAGESTATE.containing_type = _IMAGESTATUS
286_IMAGESTATUS_REASON.containing_type = _IMAGESTATUS
287DESCRIPTOR.message_types_by_name['ImageVersion'] = _IMAGEVERSION
288DESCRIPTOR.message_types_by_name['ImageInformation'] = _IMAGEINFORMATION
289DESCRIPTOR.message_types_by_name['ImageStatus'] = _IMAGESTATUS
290_sym_db.RegisterFileDescriptor(DESCRIPTOR)
291
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200292ImageVersion = _reflection.GeneratedProtocolMessageType('ImageVersion', (_message.Message,), {
293 'DESCRIPTOR' : _IMAGEVERSION,
294 '__module__' : 'dmi.sw_image_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200295 # @@protoc_insertion_point(class_scope:dmi.ImageVersion)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200296 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200297_sym_db.RegisterMessage(ImageVersion)
298
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200299ImageInformation = _reflection.GeneratedProtocolMessageType('ImageInformation', (_message.Message,), {
300 'DESCRIPTOR' : _IMAGEINFORMATION,
301 '__module__' : 'dmi.sw_image_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200302 # @@protoc_insertion_point(class_scope:dmi.ImageInformation)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200303 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200304_sym_db.RegisterMessage(ImageInformation)
305
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200306ImageStatus = _reflection.GeneratedProtocolMessageType('ImageStatus', (_message.Message,), {
307 'DESCRIPTOR' : _IMAGESTATUS,
308 '__module__' : 'dmi.sw_image_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200309 # @@protoc_insertion_point(class_scope:dmi.ImageStatus)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200310 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200311_sym_db.RegisterMessage(ImageStatus)
312
313
314DESCRIPTOR._options = None
315# @@protoc_insertion_point(module_scope)