blob: 8a4497e42b087e02f66f797430a2aa29ad972a81 [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
5import sys
6_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
7from google.protobuf import descriptor as _descriptor
8from google.protobuf import message as _message
9from google.protobuf import reflection as _reflection
10from google.protobuf import symbol_database as _symbol_database
11# @@protoc_insertion_point(imports)
12
13_sym_db = _symbol_database.Default()
14
15
16from dmi import commons_pb2 as dmi_dot_commons__pb2
17
18
19DESCRIPTOR = _descriptor.FileDescriptor(
20 name='dmi/sw_image.proto',
21 package='dmi',
22 syntax='proto3',
23 serialized_options=_b('Z9github.com/opencord/device-management-interface/v3/go/dmi'),
24 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\"\xf9\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\"\xcf\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\x13\n\x0f\x43OMMITING_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')
25 ,
26 dependencies=[dmi_dot_commons__pb2.DESCRIPTOR,])
27
28
29
30_IMAGESTATUS_IMAGESTATE = _descriptor.EnumDescriptor(
31 name='ImageState',
32 full_name='dmi.ImageStatus.ImageState',
33 filename=None,
34 file=DESCRIPTOR,
35 values=[
36 _descriptor.EnumValueDescriptor(
37 name='UNDEFINED_STATE', index=0, number=0,
38 serialized_options=None,
39 type=None),
40 _descriptor.EnumValueDescriptor(
41 name='COPYING_IMAGE', index=1, number=1,
42 serialized_options=None,
43 type=None),
44 _descriptor.EnumValueDescriptor(
45 name='INSTALLING_IMAGE', index=2, number=2,
46 serialized_options=None,
47 type=None),
48 _descriptor.EnumValueDescriptor(
49 name='COMMITING_IMAGE', index=3, number=3,
50 serialized_options=None,
51 type=None),
52 _descriptor.EnumValueDescriptor(
53 name='REBOOTING_DEVICE', index=4, number=4,
54 serialized_options=None,
55 type=None),
56 _descriptor.EnumValueDescriptor(
57 name='UPGRADE_COMPLETE', index=5, number=5,
58 serialized_options=None,
59 type=None),
60 _descriptor.EnumValueDescriptor(
61 name='UPGRADE_FAILED', index=6, number=6,
62 serialized_options=None,
63 type=None),
64 _descriptor.EnumValueDescriptor(
65 name='ACTIVATION_COMPLETE', index=7, number=7,
66 serialized_options=None,
67 type=None),
68 _descriptor.EnumValueDescriptor(
69 name='ACTIVATION_FAILED', index=8, number=8,
70 serialized_options=None,
71 type=None),
72 ],
73 containing_type=None,
74 serialized_options=None,
75 serialized_start=373,
76 serialized_end=580,
77)
78_sym_db.RegisterEnumDescriptor(_IMAGESTATUS_IMAGESTATE)
79
80_IMAGESTATUS_REASON = _descriptor.EnumDescriptor(
81 name='Reason',
82 full_name='dmi.ImageStatus.Reason',
83 filename=None,
84 file=DESCRIPTOR,
85 values=[
86 _descriptor.EnumValueDescriptor(
87 name='UNDEFINED_REASON', index=0, number=0,
88 serialized_options=None,
89 type=None),
90 _descriptor.EnumValueDescriptor(
91 name='ERROR_IN_REQUEST', index=1, number=1,
92 serialized_options=None,
93 type=None),
94 _descriptor.EnumValueDescriptor(
95 name='INTERNAL_ERROR', index=2, number=2,
96 serialized_options=None,
97 type=None),
98 _descriptor.EnumValueDescriptor(
99 name='DEVICE_IN_WRONG_STATE', index=3, number=3,
100 serialized_options=None,
101 type=None),
102 _descriptor.EnumValueDescriptor(
103 name='INVALID_IMAGE', index=4, number=4,
104 serialized_options=None,
105 type=None),
106 _descriptor.EnumValueDescriptor(
107 name='WRONG_IMAGE_CHECKSUM', index=5, number=5,
108 serialized_options=None,
109 type=None),
110 ],
111 containing_type=None,
112 serialized_options=None,
113 serialized_start=583,
114 serialized_end=727,
115)
116_sym_db.RegisterEnumDescriptor(_IMAGESTATUS_REASON)
117
118
119_IMAGEVERSION = _descriptor.Descriptor(
120 name='ImageVersion',
121 full_name='dmi.ImageVersion',
122 filename=None,
123 file=DESCRIPTOR,
124 containing_type=None,
125 fields=[
126 _descriptor.FieldDescriptor(
127 name='image_name', full_name='dmi.ImageVersion.image_name', index=0,
128 number=1, type=9, cpp_type=9, label=1,
129 has_default_value=False, default_value=_b("").decode('utf-8'),
130 message_type=None, enum_type=None, containing_type=None,
131 is_extension=False, extension_scope=None,
132 serialized_options=None, file=DESCRIPTOR),
133 _descriptor.FieldDescriptor(
134 name='version', full_name='dmi.ImageVersion.version', index=1,
135 number=2, type=9, cpp_type=9, label=1,
136 has_default_value=False, default_value=_b("").decode('utf-8'),
137 message_type=None, enum_type=None, containing_type=None,
138 is_extension=False, extension_scope=None,
139 serialized_options=None, file=DESCRIPTOR),
140 ],
141 extensions=[
142 ],
143 nested_types=[],
144 enum_types=[
145 ],
146 serialized_options=None,
147 is_extendable=False,
148 syntax='proto3',
149 extension_ranges=[],
150 oneofs=[
151 ],
152 serialized_start=46,
153 serialized_end=97,
154)
155
156
157_IMAGEINFORMATION = _descriptor.Descriptor(
158 name='ImageInformation',
159 full_name='dmi.ImageInformation',
160 filename=None,
161 file=DESCRIPTOR,
162 containing_type=None,
163 fields=[
164 _descriptor.FieldDescriptor(
165 name='image', full_name='dmi.ImageInformation.image', index=0,
166 number=1, type=11, cpp_type=10, label=1,
167 has_default_value=False, default_value=None,
168 message_type=None, enum_type=None, containing_type=None,
169 is_extension=False, extension_scope=None,
170 serialized_options=None, file=DESCRIPTOR),
171 _descriptor.FieldDescriptor(
172 name='image_install_script', full_name='dmi.ImageInformation.image_install_script', index=1,
173 number=2, type=9, cpp_type=9, label=1,
174 has_default_value=False, default_value=_b("").decode('utf-8'),
175 message_type=None, enum_type=None, containing_type=None,
176 is_extension=False, extension_scope=None,
177 serialized_options=None, file=DESCRIPTOR),
178 _descriptor.FieldDescriptor(
179 name='image_url', full_name='dmi.ImageInformation.image_url', index=2,
180 number=3, type=9, cpp_type=9, label=1,
181 has_default_value=False, default_value=_b("").decode('utf-8'),
182 message_type=None, enum_type=None, containing_type=None,
183 is_extension=False, extension_scope=None,
184 serialized_options=None, file=DESCRIPTOR),
185 _descriptor.FieldDescriptor(
186 name='sha256sum', full_name='dmi.ImageInformation.sha256sum', index=3,
187 number=5, type=9, cpp_type=9, label=1,
188 has_default_value=False, default_value=_b("").decode('utf-8'),
189 message_type=None, enum_type=None, containing_type=None,
190 is_extension=False, extension_scope=None,
191 serialized_options=None, file=DESCRIPTOR),
192 ],
193 extensions=[
194 ],
195 nested_types=[],
196 enum_types=[
197 ],
198 serialized_options=None,
199 is_extendable=False,
200 syntax='proto3',
201 extension_ranges=[],
202 oneofs=[
203 ],
204 serialized_start=99,
205 serialized_end=219,
206)
207
208
209_IMAGESTATUS = _descriptor.Descriptor(
210 name='ImageStatus',
211 full_name='dmi.ImageStatus',
212 filename=None,
213 file=DESCRIPTOR,
214 containing_type=None,
215 fields=[
216 _descriptor.FieldDescriptor(
217 name='status', full_name='dmi.ImageStatus.status', index=0,
218 number=1, type=14, cpp_type=8, label=1,
219 has_default_value=False, default_value=0,
220 message_type=None, enum_type=None, containing_type=None,
221 is_extension=False, extension_scope=None,
222 serialized_options=None, file=DESCRIPTOR),
223 _descriptor.FieldDescriptor(
224 name='reason', full_name='dmi.ImageStatus.reason', index=1,
225 number=2, type=14, cpp_type=8, label=1,
226 has_default_value=False, default_value=0,
227 message_type=None, enum_type=None, containing_type=None,
228 is_extension=False, extension_scope=None,
229 serialized_options=None, file=DESCRIPTOR),
230 _descriptor.FieldDescriptor(
231 name='state', full_name='dmi.ImageStatus.state', index=2,
232 number=3, type=14, cpp_type=8, label=1,
233 has_default_value=False, default_value=0,
234 message_type=None, enum_type=None, containing_type=None,
235 is_extension=False, extension_scope=None,
236 serialized_options=None, file=DESCRIPTOR),
237 _descriptor.FieldDescriptor(
238 name='description', full_name='dmi.ImageStatus.description', index=3,
239 number=4, type=9, cpp_type=9, label=1,
240 has_default_value=False, default_value=_b("").decode('utf-8'),
241 message_type=None, enum_type=None, containing_type=None,
242 is_extension=False, extension_scope=None,
243 serialized_options=None, file=DESCRIPTOR),
244 ],
245 extensions=[
246 ],
247 nested_types=[],
248 enum_types=[
249 _IMAGESTATUS_IMAGESTATE,
250 _IMAGESTATUS_REASON,
251 ],
252 serialized_options=None,
253 is_extendable=False,
254 syntax='proto3',
255 extension_ranges=[],
256 oneofs=[
257 ],
258 serialized_start=222,
259 serialized_end=727,
260)
261
262_IMAGEINFORMATION.fields_by_name['image'].message_type = _IMAGEVERSION
263_IMAGESTATUS.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS
264_IMAGESTATUS.fields_by_name['reason'].enum_type = _IMAGESTATUS_REASON
265_IMAGESTATUS.fields_by_name['state'].enum_type = _IMAGESTATUS_IMAGESTATE
266_IMAGESTATUS_IMAGESTATE.containing_type = _IMAGESTATUS
267_IMAGESTATUS_REASON.containing_type = _IMAGESTATUS
268DESCRIPTOR.message_types_by_name['ImageVersion'] = _IMAGEVERSION
269DESCRIPTOR.message_types_by_name['ImageInformation'] = _IMAGEINFORMATION
270DESCRIPTOR.message_types_by_name['ImageStatus'] = _IMAGESTATUS
271_sym_db.RegisterFileDescriptor(DESCRIPTOR)
272
273ImageVersion = _reflection.GeneratedProtocolMessageType('ImageVersion', (_message.Message,), dict(
274 DESCRIPTOR = _IMAGEVERSION,
275 __module__ = 'dmi.sw_image_pb2'
276 # @@protoc_insertion_point(class_scope:dmi.ImageVersion)
277 ))
278_sym_db.RegisterMessage(ImageVersion)
279
280ImageInformation = _reflection.GeneratedProtocolMessageType('ImageInformation', (_message.Message,), dict(
281 DESCRIPTOR = _IMAGEINFORMATION,
282 __module__ = 'dmi.sw_image_pb2'
283 # @@protoc_insertion_point(class_scope:dmi.ImageInformation)
284 ))
285_sym_db.RegisterMessage(ImageInformation)
286
287ImageStatus = _reflection.GeneratedProtocolMessageType('ImageStatus', (_message.Message,), dict(
288 DESCRIPTOR = _IMAGESTATUS,
289 __module__ = 'dmi.sw_image_pb2'
290 # @@protoc_insertion_point(class_scope:dmi.ImageStatus)
291 ))
292_sym_db.RegisterMessage(ImageStatus)
293
294
295DESCRIPTOR._options = None
296# @@protoc_insertion_point(module_scope)