blob: f3aadee3433b23d87861bd08417147d2ce7d6b72 [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
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 hw_pb2 as dmi_dot_hw__pb2
15from dmi import sw_image_pb2 as dmi_dot_sw__image__pb2
16
17
18DESCRIPTOR = _descriptor.FileDescriptor(
19 name='dmi/sw_management_service.proto',
20 package='dmi',
21 syntax='proto3',
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020022 serialized_options=b'Z9github.com/opencord/device-management-interface/v3/go/dmi',
23 create_key=_descriptor._internal_create_key,
24 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'
uwe ottrembka66d91ea2020-08-11 10:50:55 +020025 ,
26 dependencies=[dmi_dot_hw__pb2.DESCRIPTOR,dmi_dot_sw__image__pb2.DESCRIPTOR,])
27
28
29
30
31_SOFTWAREVERSIONINFORMATION = _descriptor.Descriptor(
32 name='SoftwareVersionInformation',
33 full_name='dmi.SoftwareVersionInformation',
34 filename=None,
35 file=DESCRIPTOR,
36 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020037 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +020038 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,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020045 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020046 _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,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020052 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020053 ],
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,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020076 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +020077 fields=[
78 _descriptor.FieldDescriptor(
79 name='device_uuid', full_name='dmi.DownloadImageRequest.device_uuid', index=0,
80 number=1, type=11, cpp_type=10, label=1,
81 has_default_value=False, default_value=None,
82 message_type=None, enum_type=None, containing_type=None,
83 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020084 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020085 _descriptor.FieldDescriptor(
86 name='image_info', full_name='dmi.DownloadImageRequest.image_info', index=1,
87 number=2, type=11, cpp_type=10, label=1,
88 has_default_value=False, default_value=None,
89 message_type=None, enum_type=None, containing_type=None,
90 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020091 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020092 ],
93 extensions=[
94 ],
95 nested_types=[],
96 enum_types=[
97 ],
98 serialized_options=None,
99 is_extendable=False,
100 syntax='proto3',
101 extension_ranges=[],
102 oneofs=[
103 ],
104 serialized_start=193,
105 serialized_end=290,
106)
107
108_SOFTWAREVERSIONINFORMATION.fields_by_name['active_versions'].message_type = dmi_dot_sw__image__pb2._IMAGEVERSION
109_SOFTWAREVERSIONINFORMATION.fields_by_name['standby_versions'].message_type = dmi_dot_sw__image__pb2._IMAGEVERSION
110_DOWNLOADIMAGEREQUEST.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID
111_DOWNLOADIMAGEREQUEST.fields_by_name['image_info'].message_type = dmi_dot_sw__image__pb2._IMAGEINFORMATION
112DESCRIPTOR.message_types_by_name['SoftwareVersionInformation'] = _SOFTWAREVERSIONINFORMATION
113DESCRIPTOR.message_types_by_name['DownloadImageRequest'] = _DOWNLOADIMAGEREQUEST
114_sym_db.RegisterFileDescriptor(DESCRIPTOR)
115
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200116SoftwareVersionInformation = _reflection.GeneratedProtocolMessageType('SoftwareVersionInformation', (_message.Message,), {
117 'DESCRIPTOR' : _SOFTWAREVERSIONINFORMATION,
118 '__module__' : 'dmi.sw_management_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200119 # @@protoc_insertion_point(class_scope:dmi.SoftwareVersionInformation)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200120 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200121_sym_db.RegisterMessage(SoftwareVersionInformation)
122
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200123DownloadImageRequest = _reflection.GeneratedProtocolMessageType('DownloadImageRequest', (_message.Message,), {
124 'DESCRIPTOR' : _DOWNLOADIMAGEREQUEST,
125 '__module__' : 'dmi.sw_management_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200126 # @@protoc_insertion_point(class_scope:dmi.DownloadImageRequest)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200127 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200128_sym_db.RegisterMessage(DownloadImageRequest)
129
130
131DESCRIPTOR._options = None
132
133_NATIVESOFTWAREMANAGEMENTSERVICE = _descriptor.ServiceDescriptor(
134 name='NativeSoftwareManagementService',
135 full_name='dmi.NativeSoftwareManagementService',
136 file=DESCRIPTOR,
137 index=0,
138 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200139 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200140 serialized_start=293,
141 serialized_end=577,
142 methods=[
143 _descriptor.MethodDescriptor(
144 name='GetSoftwareVersion',
145 full_name='dmi.NativeSoftwareManagementService.GetSoftwareVersion',
146 index=0,
147 containing_service=None,
148 input_type=dmi_dot_hw__pb2._HARDWAREID,
149 output_type=_SOFTWAREVERSIONINFORMATION,
150 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200151 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200152 ),
153 _descriptor.MethodDescriptor(
154 name='DownloadImage',
155 full_name='dmi.NativeSoftwareManagementService.DownloadImage',
156 index=1,
157 containing_service=None,
158 input_type=_DOWNLOADIMAGEREQUEST,
159 output_type=dmi_dot_sw__image__pb2._IMAGESTATUS,
160 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200161 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200162 ),
163 _descriptor.MethodDescriptor(
164 name='ActivateImage',
165 full_name='dmi.NativeSoftwareManagementService.ActivateImage',
166 index=2,
167 containing_service=None,
168 input_type=dmi_dot_hw__pb2._HARDWAREID,
169 output_type=dmi_dot_sw__image__pb2._IMAGESTATUS,
170 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200171 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200172 ),
173 _descriptor.MethodDescriptor(
174 name='RevertToStandbyImage',
175 full_name='dmi.NativeSoftwareManagementService.RevertToStandbyImage',
176 index=3,
177 containing_service=None,
178 input_type=dmi_dot_hw__pb2._HARDWAREID,
179 output_type=dmi_dot_sw__image__pb2._IMAGESTATUS,
180 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200181 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200182 ),
183])
184_sym_db.RegisterServiceDescriptor(_NATIVESOFTWAREMANAGEMENTSERVICE)
185
186DESCRIPTOR.services_by_name['NativeSoftwareManagementService'] = _NATIVESOFTWAREMANAGEMENTSERVICE
187
188# @@protoc_insertion_point(module_scope)