blob: 963be418778e1011c8cff89bd5502f7186b5f246 [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/hw_metrics_mgmt_service.proto
Andrea Campanellacb990bc2020-09-22 12:50:56 +02004"""Generated protocol buffer code."""
uwe ottrembka66d91ea2020-08-11 10:50:55 +02005from google.protobuf.internal import enum_type_wrapper
6from google.protobuf import descriptor as _descriptor
7from google.protobuf import message as _message
8from google.protobuf import reflection as _reflection
9from google.protobuf import symbol_database as _symbol_database
10# @@protoc_insertion_point(imports)
11
12_sym_db = _symbol_database.Default()
13
14
15from dmi import commons_pb2 as dmi_dot_commons__pb2
16from dmi import hw_pb2 as dmi_dot_hw__pb2
17
18
19DESCRIPTOR = _descriptor.FileDescriptor(
20 name='dmi/hw_metrics_mgmt_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,
amit.ghoshbd2022e2021-02-22 05:58:53 +010025 serialized_pb=b'\n!dmi/hw_metrics_mgmt_service.proto\x12\x03\x64mi\x1a\x11\x64mi/commons.proto\x1a\x0c\x64mi/hw.proto\"a\n\x0cMetricConfig\x12#\n\tmetric_id\x18\x01 \x01(\x0e\x32\x10.dmi.MetricNames\x12\x15\n\ris_configured\x18\x02 \x01(\x08\x12\x15\n\rpoll_interval\x18\x03 \x01(\r\"3\n\rMetricsConfig\x12\"\n\x07metrics\x18\x01 \x03(\x0b\x32\x11.dmi.MetricConfig\"\xe8\x01\n\x13ListMetricsResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12/\n\x06reason\x18\x02 \x01(\x0e\x32\x1f.dmi.ListMetricsResponse.Reason\x12#\n\x07metrics\x18\x03 \x01(\x0b\x32\x12.dmi.MetricsConfig\"^\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x03\"\x8d\x01\n\x1bMetricsConfigurationRequest\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12%\n\x07\x63hanges\x18\x02 \x01(\x0b\x32\x12.dmi.MetricsConfigH\x00\x12\x1a\n\x10reset_to_default\x18\x03 \x01(\x08H\x00\x42\x0b\n\toperation\"\x89\x02\n\x1cMetricsConfigurationResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12\x38\n\x06reason\x18\x02 \x01(\x0e\x32(.dmi.MetricsConfigurationResponse.Reason\"\x91\x01\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x1d\n\x19POLL_INTERVAL_UNSUPPORTED\x10\x03\x12\x12\n\x0eINVALID_METRIC\x10\x04\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x05\"k\n\x0eMetricMetaData\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12!\n\x0e\x63omponent_uuid\x18\x02 \x01(\x0b\x32\t.dmi.Uuid\x12\x16\n\x0e\x63omponent_name\x18\x03 \x01(\t\"\x84\x01\n\x06Metric\x12#\n\tmetric_id\x18\x01 \x01(\x0e\x32\x10.dmi.MetricNames\x12,\n\x0fmetric_metadata\x18\x02 \x01(\x0b\x32\x13.dmi.MetricMetaData\x12\'\n\x05value\x18\x03 \x01(\x0b\x32\x18.dmi.ComponentSensorData\"_\n\x10GetMetricRequest\x12&\n\tmeta_data\x18\x01 \x01(\x0b\x32\x13.dmi.MetricMetaData\x12#\n\tmetric_id\x18\x02 \x01(\x0e\x32\x10.dmi.MetricNames\"\x88\x02\n\x11GetMetricResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12-\n\x06reason\x18\x02 \x01(\x0e\x32\x1d.dmi.GetMetricResponse.Reason\x12\x1b\n\x06metric\x18\x03 \x01(\x0b\x32\x0b.dmi.Metric\"\x89\x01\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x15\n\x11UNKNOWN_COMPONENT\x10\x02\x12\x12\n\x0eINTERNAL_ERROR\x10\x03\x12\x12\n\x0eINVALID_METRIC\x10\x04\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x05*\xd9\x05\n\x0bMetricNames\x12\x19\n\x15METRIC_NAME_UNDEFINED\x10\x00\x12\x14\n\x10METRIC_FAN_SPEED\x10\x01\x12\x13\n\x0fMETRIC_CPU_TEMP\x10\x64\x12\x1f\n\x1bMETRIC_CPU_USAGE_PERCENTAGE\x10\x65\x12\x1c\n\x17METRIC_TRANSCEIVER_TEMP\x10\xc8\x01\x12\x1f\n\x1aMETRIC_TRANSCEIVER_VOLTAGE\x10\xc9\x01\x12\x1c\n\x17METRIC_TRANSCEIVER_BIAS\x10\xca\x01\x12 \n\x1bMETRIC_TRANSCEIVER_RX_POWER\x10\xcb\x01\x12 \n\x1bMETRIC_TRANSCEIVER_TX_POWER\x10\xcc\x01\x12\"\n\x1dMETRIC_TRANSCEIVER_WAVELENGTH\x10\xcd\x01\x12\x15\n\x10METRIC_DISK_TEMP\x10\xac\x02\x12\x19\n\x14METRIC_DISK_CAPACITY\x10\xad\x02\x12\x16\n\x11METRIC_DISK_USAGE\x10\xae\x02\x12!\n\x1cMETRIC_DISK_USAGE_PERCENTAGE\x10\xaf\x02\x12&\n!METRIC_DISK_READ_WRITE_PERCENTAGE\x10\xb0\x02\x12(\n#METRIC_DISK_FAULTY_CELLS_PERCENTAGE\x10\xb1\x02\x12\x14\n\x0fMETRIC_RAM_TEMP\x10\x90\x03\x12\x18\n\x13METRIC_RAM_CAPACITY\x10\x91\x03\x12\x15\n\x10METRIC_RAM_USAGE\x10\x92\x03\x12 \n\x1bMETRIC_RAM_USAGE_PERCENTAGE\x10\x93\x03\x12\x15\n\x10METRIC_POWER_MAX\x10\xf4\x03\x12\x17\n\x12METRIC_POWER_USAGE\x10\xf5\x03\x12\"\n\x1dMETRIC_POWER_USAGE_PERCENTAGE\x10\xf6\x03\x12\"\n\x1dMETRIC_INNER_SURROUNDING_TEMP\x10\xd8\x04\x32\xf9\x01\n\x1eNativeMetricsManagementService\x12\x38\n\x0bListMetrics\x12\x0f.dmi.HardwareID\x1a\x18.dmi.ListMetricsResponse\x12\x61\n\x1aUpdateMetricsConfiguration\x12 .dmi.MetricsConfigurationRequest\x1a!.dmi.MetricsConfigurationResponse\x12:\n\tGetMetric\x12\x15.dmi.GetMetricRequest\x1a\x16.dmi.GetMetricResponseB;Z9github.com/opencord/device-management-interface/v3/go/dmib\x06proto3'
uwe ottrembka66d91ea2020-08-11 10:50:55 +020026 ,
27 dependencies=[dmi_dot_commons__pb2.DESCRIPTOR,dmi_dot_hw__pb2.DESCRIPTOR,])
28
29_METRICNAMES = _descriptor.EnumDescriptor(
30 name='MetricNames',
31 full_name='dmi.MetricNames',
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='METRIC_NAME_UNDEFINED', 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='METRIC_FAN_SPEED', 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='METRIC_CPU_TEMP', index=2, number=100,
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(
52 name='METRIC_CPU_USAGE_PERCENTAGE', index=3, number=101,
53 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='METRIC_TRANSCEIVER_TEMP', index=4, number=200,
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='METRIC_TRANSCEIVER_VOLTAGE', index=5, number=201,
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='METRIC_TRANSCEIVER_BIAS', index=6, number=202,
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='METRIC_TRANSCEIVER_RX_POWER', index=7, number=203,
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='METRIC_TRANSCEIVER_TX_POWER', index=8, number=204,
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 _descriptor.EnumValueDescriptor(
82 name='METRIC_TRANSCEIVER_WAVELENGTH', index=9, number=205,
83 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020084 type=None,
85 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020086 _descriptor.EnumValueDescriptor(
87 name='METRIC_DISK_TEMP', index=10, number=300,
88 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020089 type=None,
90 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020091 _descriptor.EnumValueDescriptor(
92 name='METRIC_DISK_CAPACITY', index=11, number=301,
93 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020094 type=None,
95 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020096 _descriptor.EnumValueDescriptor(
97 name='METRIC_DISK_USAGE', index=12, number=302,
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='METRIC_DISK_USAGE_PERCENTAGE', index=13, number=303,
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='METRIC_DISK_READ_WRITE_PERCENTAGE', index=14, number=304,
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='METRIC_DISK_FAULTY_CELLS_PERCENTAGE', index=15, number=305,
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='METRIC_RAM_TEMP', index=16, number=400,
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='METRIC_RAM_CAPACITY', index=17, number=401,
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 _descriptor.EnumValueDescriptor(
127 name='METRIC_RAM_USAGE', index=18, number=402,
128 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200129 type=None,
130 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200131 _descriptor.EnumValueDescriptor(
132 name='METRIC_RAM_USAGE_PERCENTAGE', index=19, number=403,
133 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200134 type=None,
135 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200136 _descriptor.EnumValueDescriptor(
137 name='METRIC_POWER_MAX', index=20, number=500,
138 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200139 type=None,
140 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200141 _descriptor.EnumValueDescriptor(
142 name='METRIC_POWER_USAGE', index=21, number=501,
143 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200144 type=None,
145 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200146 _descriptor.EnumValueDescriptor(
147 name='METRIC_POWER_USAGE_PERCENTAGE', index=22, number=502,
148 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200149 type=None,
150 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200151 _descriptor.EnumValueDescriptor(
152 name='METRIC_INNER_SURROUNDING_TEMP', index=23, number=600,
153 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200154 type=None,
155 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200156 ],
157 containing_type=None,
158 serialized_options=None,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100159 serialized_start=1483,
160 serialized_end=2212,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200161)
162_sym_db.RegisterEnumDescriptor(_METRICNAMES)
163
164MetricNames = enum_type_wrapper.EnumTypeWrapper(_METRICNAMES)
165METRIC_NAME_UNDEFINED = 0
166METRIC_FAN_SPEED = 1
167METRIC_CPU_TEMP = 100
168METRIC_CPU_USAGE_PERCENTAGE = 101
169METRIC_TRANSCEIVER_TEMP = 200
170METRIC_TRANSCEIVER_VOLTAGE = 201
171METRIC_TRANSCEIVER_BIAS = 202
172METRIC_TRANSCEIVER_RX_POWER = 203
173METRIC_TRANSCEIVER_TX_POWER = 204
174METRIC_TRANSCEIVER_WAVELENGTH = 205
175METRIC_DISK_TEMP = 300
176METRIC_DISK_CAPACITY = 301
177METRIC_DISK_USAGE = 302
178METRIC_DISK_USAGE_PERCENTAGE = 303
179METRIC_DISK_READ_WRITE_PERCENTAGE = 304
180METRIC_DISK_FAULTY_CELLS_PERCENTAGE = 305
181METRIC_RAM_TEMP = 400
182METRIC_RAM_CAPACITY = 401
183METRIC_RAM_USAGE = 402
184METRIC_RAM_USAGE_PERCENTAGE = 403
185METRIC_POWER_MAX = 500
186METRIC_POWER_USAGE = 501
187METRIC_POWER_USAGE_PERCENTAGE = 502
188METRIC_INNER_SURROUNDING_TEMP = 600
189
190
amit.ghoshae473032021-01-10 11:59:10 +0100191_LISTMETRICSRESPONSE_REASON = _descriptor.EnumDescriptor(
192 name='Reason',
193 full_name='dmi.ListMetricsResponse.Reason',
194 filename=None,
195 file=DESCRIPTOR,
196 create_key=_descriptor._internal_create_key,
197 values=[
198 _descriptor.EnumValueDescriptor(
199 name='UNDEFINED_REASON', index=0, number=0,
200 serialized_options=None,
201 type=None,
202 create_key=_descriptor._internal_create_key),
203 _descriptor.EnumValueDescriptor(
204 name='UNKNOWN_DEVICE', index=1, number=1,
205 serialized_options=None,
206 type=None,
207 create_key=_descriptor._internal_create_key),
208 _descriptor.EnumValueDescriptor(
209 name='INTERNAL_ERROR', index=2, number=2,
210 serialized_options=None,
211 type=None,
212 create_key=_descriptor._internal_create_key),
amit.ghoshbd2022e2021-02-22 05:58:53 +0100213 _descriptor.EnumValueDescriptor(
214 name='DEVICE_UNREACHABLE', index=3, number=3,
215 serialized_options=None,
216 type=None,
217 create_key=_descriptor._internal_create_key),
amit.ghoshae473032021-01-10 11:59:10 +0100218 ],
219 containing_type=None,
220 serialized_options=None,
221 serialized_start=366,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100222 serialized_end=460,
amit.ghoshae473032021-01-10 11:59:10 +0100223)
224_sym_db.RegisterEnumDescriptor(_LISTMETRICSRESPONSE_REASON)
225
226_METRICSCONFIGURATIONRESPONSE_REASON = _descriptor.EnumDescriptor(
227 name='Reason',
228 full_name='dmi.MetricsConfigurationResponse.Reason',
229 filename=None,
230 file=DESCRIPTOR,
231 create_key=_descriptor._internal_create_key,
232 values=[
233 _descriptor.EnumValueDescriptor(
234 name='UNDEFINED_REASON', index=0, number=0,
235 serialized_options=None,
236 type=None,
237 create_key=_descriptor._internal_create_key),
238 _descriptor.EnumValueDescriptor(
239 name='UNKNOWN_DEVICE', index=1, number=1,
240 serialized_options=None,
241 type=None,
242 create_key=_descriptor._internal_create_key),
243 _descriptor.EnumValueDescriptor(
244 name='INTERNAL_ERROR', index=2, number=2,
245 serialized_options=None,
246 type=None,
247 create_key=_descriptor._internal_create_key),
248 _descriptor.EnumValueDescriptor(
249 name='POLL_INTERVAL_UNSUPPORTED', index=3, number=3,
250 serialized_options=None,
251 type=None,
252 create_key=_descriptor._internal_create_key),
253 _descriptor.EnumValueDescriptor(
254 name='INVALID_METRIC', index=4, number=4,
255 serialized_options=None,
256 type=None,
257 create_key=_descriptor._internal_create_key),
amit.ghoshbd2022e2021-02-22 05:58:53 +0100258 _descriptor.EnumValueDescriptor(
259 name='DEVICE_UNREACHABLE', index=5, number=5,
260 serialized_options=None,
261 type=None,
262 create_key=_descriptor._internal_create_key),
amit.ghoshae473032021-01-10 11:59:10 +0100263 ],
264 containing_type=None,
265 serialized_options=None,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100266 serialized_start=727,
267 serialized_end=872,
amit.ghoshae473032021-01-10 11:59:10 +0100268)
269_sym_db.RegisterEnumDescriptor(_METRICSCONFIGURATIONRESPONSE_REASON)
270
271_GETMETRICRESPONSE_REASON = _descriptor.EnumDescriptor(
272 name='Reason',
273 full_name='dmi.GetMetricResponse.Reason',
274 filename=None,
275 file=DESCRIPTOR,
276 create_key=_descriptor._internal_create_key,
277 values=[
278 _descriptor.EnumValueDescriptor(
279 name='UNDEFINED_REASON', index=0, number=0,
280 serialized_options=None,
281 type=None,
282 create_key=_descriptor._internal_create_key),
283 _descriptor.EnumValueDescriptor(
284 name='UNKNOWN_DEVICE', index=1, number=1,
285 serialized_options=None,
286 type=None,
287 create_key=_descriptor._internal_create_key),
288 _descriptor.EnumValueDescriptor(
289 name='UNKNOWN_COMPONENT', index=2, number=2,
290 serialized_options=None,
291 type=None,
292 create_key=_descriptor._internal_create_key),
293 _descriptor.EnumValueDescriptor(
294 name='INTERNAL_ERROR', index=3, number=3,
295 serialized_options=None,
296 type=None,
297 create_key=_descriptor._internal_create_key),
298 _descriptor.EnumValueDescriptor(
299 name='INVALID_METRIC', index=4, number=4,
300 serialized_options=None,
301 type=None,
302 create_key=_descriptor._internal_create_key),
amit.ghoshbd2022e2021-02-22 05:58:53 +0100303 _descriptor.EnumValueDescriptor(
304 name='DEVICE_UNREACHABLE', index=5, number=5,
305 serialized_options=None,
306 type=None,
307 create_key=_descriptor._internal_create_key),
amit.ghoshae473032021-01-10 11:59:10 +0100308 ],
309 containing_type=None,
310 serialized_options=None,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100311 serialized_start=1343,
312 serialized_end=1480,
amit.ghoshae473032021-01-10 11:59:10 +0100313)
314_sym_db.RegisterEnumDescriptor(_GETMETRICRESPONSE_REASON)
315
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200316
317_METRICCONFIG = _descriptor.Descriptor(
318 name='MetricConfig',
319 full_name='dmi.MetricConfig',
320 filename=None,
321 file=DESCRIPTOR,
322 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200323 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200324 fields=[
325 _descriptor.FieldDescriptor(
326 name='metric_id', full_name='dmi.MetricConfig.metric_id', index=0,
327 number=1, type=14, cpp_type=8, label=1,
328 has_default_value=False, default_value=0,
329 message_type=None, enum_type=None, containing_type=None,
330 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200331 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200332 _descriptor.FieldDescriptor(
333 name='is_configured', full_name='dmi.MetricConfig.is_configured', index=1,
334 number=2, type=8, cpp_type=7, label=1,
335 has_default_value=False, default_value=False,
336 message_type=None, enum_type=None, containing_type=None,
337 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200338 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200339 _descriptor.FieldDescriptor(
340 name='poll_interval', full_name='dmi.MetricConfig.poll_interval', index=2,
341 number=3, type=13, cpp_type=3, label=1,
342 has_default_value=False, default_value=0,
343 message_type=None, enum_type=None, containing_type=None,
344 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200345 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200346 ],
347 extensions=[
348 ],
349 nested_types=[],
350 enum_types=[
351 ],
352 serialized_options=None,
353 is_extendable=False,
354 syntax='proto3',
355 extension_ranges=[],
356 oneofs=[
357 ],
358 serialized_start=75,
359 serialized_end=172,
360)
361
362
363_METRICSCONFIG = _descriptor.Descriptor(
364 name='MetricsConfig',
365 full_name='dmi.MetricsConfig',
366 filename=None,
367 file=DESCRIPTOR,
368 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200369 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200370 fields=[
371 _descriptor.FieldDescriptor(
372 name='metrics', full_name='dmi.MetricsConfig.metrics', index=0,
373 number=1, type=11, cpp_type=10, label=3,
374 has_default_value=False, default_value=[],
375 message_type=None, enum_type=None, containing_type=None,
376 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200377 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200378 ],
379 extensions=[
380 ],
381 nested_types=[],
382 enum_types=[
383 ],
384 serialized_options=None,
385 is_extendable=False,
386 syntax='proto3',
387 extension_ranges=[],
388 oneofs=[
389 ],
390 serialized_start=174,
391 serialized_end=225,
392)
393
394
395_LISTMETRICSRESPONSE = _descriptor.Descriptor(
396 name='ListMetricsResponse',
397 full_name='dmi.ListMetricsResponse',
398 filename=None,
399 file=DESCRIPTOR,
400 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200401 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200402 fields=[
403 _descriptor.FieldDescriptor(
404 name='status', full_name='dmi.ListMetricsResponse.status', index=0,
405 number=1, type=14, cpp_type=8, label=1,
406 has_default_value=False, default_value=0,
407 message_type=None, enum_type=None, containing_type=None,
408 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200409 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200410 _descriptor.FieldDescriptor(
411 name='reason', full_name='dmi.ListMetricsResponse.reason', index=1,
412 number=2, type=14, cpp_type=8, label=1,
413 has_default_value=False, default_value=0,
414 message_type=None, enum_type=None, containing_type=None,
415 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200416 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200417 _descriptor.FieldDescriptor(
418 name='metrics', full_name='dmi.ListMetricsResponse.metrics', index=2,
419 number=3, type=11, cpp_type=10, label=1,
420 has_default_value=False, default_value=None,
421 message_type=None, enum_type=None, containing_type=None,
422 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200423 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200424 ],
425 extensions=[
426 ],
427 nested_types=[],
428 enum_types=[
amit.ghoshae473032021-01-10 11:59:10 +0100429 _LISTMETRICSRESPONSE_REASON,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200430 ],
431 serialized_options=None,
432 is_extendable=False,
433 syntax='proto3',
434 extension_ranges=[],
435 oneofs=[
436 ],
amit.ghoshae473032021-01-10 11:59:10 +0100437 serialized_start=228,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100438 serialized_end=460,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200439)
440
441
442_METRICSCONFIGURATIONREQUEST = _descriptor.Descriptor(
443 name='MetricsConfigurationRequest',
444 full_name='dmi.MetricsConfigurationRequest',
445 filename=None,
446 file=DESCRIPTOR,
447 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200448 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200449 fields=[
450 _descriptor.FieldDescriptor(
451 name='device_uuid', full_name='dmi.MetricsConfigurationRequest.device_uuid', index=0,
452 number=1, type=11, cpp_type=10, label=1,
453 has_default_value=False, default_value=None,
454 message_type=None, enum_type=None, containing_type=None,
455 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200456 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200457 _descriptor.FieldDescriptor(
458 name='changes', full_name='dmi.MetricsConfigurationRequest.changes', index=1,
459 number=2, type=11, cpp_type=10, label=1,
460 has_default_value=False, default_value=None,
461 message_type=None, enum_type=None, containing_type=None,
462 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200463 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200464 _descriptor.FieldDescriptor(
465 name='reset_to_default', full_name='dmi.MetricsConfigurationRequest.reset_to_default', index=2,
466 number=3, type=8, cpp_type=7, label=1,
467 has_default_value=False, default_value=False,
468 message_type=None, enum_type=None, containing_type=None,
469 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200470 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200471 ],
472 extensions=[
473 ],
474 nested_types=[],
475 enum_types=[
476 ],
477 serialized_options=None,
478 is_extendable=False,
479 syntax='proto3',
480 extension_ranges=[],
481 oneofs=[
482 _descriptor.OneofDescriptor(
483 name='operation', full_name='dmi.MetricsConfigurationRequest.operation',
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200484 index=0, containing_type=None,
485 create_key=_descriptor._internal_create_key,
486 fields=[]),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200487 ],
amit.ghoshbd2022e2021-02-22 05:58:53 +0100488 serialized_start=463,
489 serialized_end=604,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200490)
491
492
493_METRICSCONFIGURATIONRESPONSE = _descriptor.Descriptor(
494 name='MetricsConfigurationResponse',
495 full_name='dmi.MetricsConfigurationResponse',
496 filename=None,
497 file=DESCRIPTOR,
498 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200499 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200500 fields=[
501 _descriptor.FieldDescriptor(
502 name='status', full_name='dmi.MetricsConfigurationResponse.status', index=0,
503 number=1, type=14, cpp_type=8, label=1,
504 has_default_value=False, default_value=0,
505 message_type=None, enum_type=None, containing_type=None,
506 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200507 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200508 _descriptor.FieldDescriptor(
509 name='reason', full_name='dmi.MetricsConfigurationResponse.reason', index=1,
510 number=2, type=14, cpp_type=8, label=1,
511 has_default_value=False, default_value=0,
512 message_type=None, enum_type=None, containing_type=None,
513 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200514 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200515 ],
516 extensions=[
517 ],
518 nested_types=[],
519 enum_types=[
amit.ghoshae473032021-01-10 11:59:10 +0100520 _METRICSCONFIGURATIONRESPONSE_REASON,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200521 ],
522 serialized_options=None,
523 is_extendable=False,
524 syntax='proto3',
525 extension_ranges=[],
526 oneofs=[
527 ],
amit.ghoshbd2022e2021-02-22 05:58:53 +0100528 serialized_start=607,
529 serialized_end=872,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200530)
531
532
533_METRICMETADATA = _descriptor.Descriptor(
534 name='MetricMetaData',
535 full_name='dmi.MetricMetaData',
536 filename=None,
537 file=DESCRIPTOR,
538 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200539 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200540 fields=[
541 _descriptor.FieldDescriptor(
542 name='device_uuid', full_name='dmi.MetricMetaData.device_uuid', index=0,
543 number=1, type=11, cpp_type=10, label=1,
544 has_default_value=False, default_value=None,
545 message_type=None, enum_type=None, containing_type=None,
546 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200547 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200548 _descriptor.FieldDescriptor(
549 name='component_uuid', full_name='dmi.MetricMetaData.component_uuid', index=1,
550 number=2, type=11, cpp_type=10, label=1,
551 has_default_value=False, default_value=None,
552 message_type=None, enum_type=None, containing_type=None,
553 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200554 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200555 _descriptor.FieldDescriptor(
556 name='component_name', full_name='dmi.MetricMetaData.component_name', index=2,
557 number=3, type=9, cpp_type=9, label=1,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200558 has_default_value=False, default_value=b"".decode('utf-8'),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200559 message_type=None, enum_type=None, containing_type=None,
560 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200561 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200562 ],
563 extensions=[
564 ],
565 nested_types=[],
566 enum_types=[
567 ],
568 serialized_options=None,
569 is_extendable=False,
570 syntax='proto3',
571 extension_ranges=[],
572 oneofs=[
573 ],
amit.ghoshbd2022e2021-02-22 05:58:53 +0100574 serialized_start=874,
575 serialized_end=981,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200576)
577
578
579_METRIC = _descriptor.Descriptor(
580 name='Metric',
581 full_name='dmi.Metric',
582 filename=None,
583 file=DESCRIPTOR,
584 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200585 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200586 fields=[
587 _descriptor.FieldDescriptor(
588 name='metric_id', full_name='dmi.Metric.metric_id', index=0,
589 number=1, type=14, cpp_type=8, label=1,
590 has_default_value=False, default_value=0,
591 message_type=None, enum_type=None, containing_type=None,
592 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200593 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200594 _descriptor.FieldDescriptor(
595 name='metric_metadata', full_name='dmi.Metric.metric_metadata', index=1,
596 number=2, type=11, cpp_type=10, label=1,
597 has_default_value=False, default_value=None,
598 message_type=None, enum_type=None, containing_type=None,
599 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200600 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200601 _descriptor.FieldDescriptor(
602 name='value', full_name='dmi.Metric.value', index=2,
603 number=3, type=11, cpp_type=10, label=1,
604 has_default_value=False, default_value=None,
605 message_type=None, enum_type=None, containing_type=None,
606 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200607 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200608 ],
609 extensions=[
610 ],
611 nested_types=[],
612 enum_types=[
613 ],
614 serialized_options=None,
615 is_extendable=False,
616 syntax='proto3',
617 extension_ranges=[],
618 oneofs=[
619 ],
amit.ghoshbd2022e2021-02-22 05:58:53 +0100620 serialized_start=984,
621 serialized_end=1116,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200622)
623
624
625_GETMETRICREQUEST = _descriptor.Descriptor(
626 name='GetMetricRequest',
627 full_name='dmi.GetMetricRequest',
628 filename=None,
629 file=DESCRIPTOR,
630 containing_type=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200631 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200632 fields=[
633 _descriptor.FieldDescriptor(
634 name='meta_data', full_name='dmi.GetMetricRequest.meta_data', index=0,
635 number=1, type=11, cpp_type=10, label=1,
636 has_default_value=False, default_value=None,
637 message_type=None, enum_type=None, containing_type=None,
638 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200639 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200640 _descriptor.FieldDescriptor(
641 name='metric_id', full_name='dmi.GetMetricRequest.metric_id', index=1,
642 number=2, type=14, cpp_type=8, label=1,
643 has_default_value=False, default_value=0,
644 message_type=None, enum_type=None, containing_type=None,
645 is_extension=False, extension_scope=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200646 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200647 ],
648 extensions=[
649 ],
650 nested_types=[],
651 enum_types=[
652 ],
653 serialized_options=None,
654 is_extendable=False,
655 syntax='proto3',
656 extension_ranges=[],
657 oneofs=[
658 ],
amit.ghoshbd2022e2021-02-22 05:58:53 +0100659 serialized_start=1118,
660 serialized_end=1213,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200661)
662
aghoshc301dcd2020-09-03 16:55:34 +0100663
664_GETMETRICRESPONSE = _descriptor.Descriptor(
665 name='GetMetricResponse',
666 full_name='dmi.GetMetricResponse',
667 filename=None,
668 file=DESCRIPTOR,
669 containing_type=None,
670 create_key=_descriptor._internal_create_key,
671 fields=[
672 _descriptor.FieldDescriptor(
673 name='status', full_name='dmi.GetMetricResponse.status', index=0,
674 number=1, type=14, cpp_type=8, label=1,
675 has_default_value=False, default_value=0,
676 message_type=None, enum_type=None, containing_type=None,
677 is_extension=False, extension_scope=None,
678 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
679 _descriptor.FieldDescriptor(
680 name='reason', full_name='dmi.GetMetricResponse.reason', index=1,
681 number=2, type=14, cpp_type=8, label=1,
682 has_default_value=False, default_value=0,
683 message_type=None, enum_type=None, containing_type=None,
684 is_extension=False, extension_scope=None,
685 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
686 _descriptor.FieldDescriptor(
687 name='metric', full_name='dmi.GetMetricResponse.metric', index=2,
688 number=3, type=11, cpp_type=10, label=1,
689 has_default_value=False, default_value=None,
690 message_type=None, enum_type=None, containing_type=None,
691 is_extension=False, extension_scope=None,
692 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
693 ],
694 extensions=[
695 ],
696 nested_types=[],
697 enum_types=[
amit.ghoshae473032021-01-10 11:59:10 +0100698 _GETMETRICRESPONSE_REASON,
aghoshc301dcd2020-09-03 16:55:34 +0100699 ],
700 serialized_options=None,
701 is_extendable=False,
702 syntax='proto3',
703 extension_ranges=[],
704 oneofs=[
705 ],
amit.ghoshbd2022e2021-02-22 05:58:53 +0100706 serialized_start=1216,
707 serialized_end=1480,
aghoshc301dcd2020-09-03 16:55:34 +0100708)
709
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200710_METRICCONFIG.fields_by_name['metric_id'].enum_type = _METRICNAMES
711_METRICSCONFIG.fields_by_name['metrics'].message_type = _METRICCONFIG
712_LISTMETRICSRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS
amit.ghoshae473032021-01-10 11:59:10 +0100713_LISTMETRICSRESPONSE.fields_by_name['reason'].enum_type = _LISTMETRICSRESPONSE_REASON
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200714_LISTMETRICSRESPONSE.fields_by_name['metrics'].message_type = _METRICSCONFIG
amit.ghoshae473032021-01-10 11:59:10 +0100715_LISTMETRICSRESPONSE_REASON.containing_type = _LISTMETRICSRESPONSE
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200716_METRICSCONFIGURATIONREQUEST.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID
717_METRICSCONFIGURATIONREQUEST.fields_by_name['changes'].message_type = _METRICSCONFIG
718_METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'].fields.append(
719 _METRICSCONFIGURATIONREQUEST.fields_by_name['changes'])
720_METRICSCONFIGURATIONREQUEST.fields_by_name['changes'].containing_oneof = _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation']
721_METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation'].fields.append(
722 _METRICSCONFIGURATIONREQUEST.fields_by_name['reset_to_default'])
723_METRICSCONFIGURATIONREQUEST.fields_by_name['reset_to_default'].containing_oneof = _METRICSCONFIGURATIONREQUEST.oneofs_by_name['operation']
724_METRICSCONFIGURATIONRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS
amit.ghoshae473032021-01-10 11:59:10 +0100725_METRICSCONFIGURATIONRESPONSE.fields_by_name['reason'].enum_type = _METRICSCONFIGURATIONRESPONSE_REASON
726_METRICSCONFIGURATIONRESPONSE_REASON.containing_type = _METRICSCONFIGURATIONRESPONSE
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200727_METRICMETADATA.fields_by_name['device_uuid'].message_type = dmi_dot_hw__pb2._UUID
728_METRICMETADATA.fields_by_name['component_uuid'].message_type = dmi_dot_hw__pb2._UUID
729_METRIC.fields_by_name['metric_id'].enum_type = _METRICNAMES
730_METRIC.fields_by_name['metric_metadata'].message_type = _METRICMETADATA
731_METRIC.fields_by_name['value'].message_type = dmi_dot_hw__pb2._COMPONENTSENSORDATA
732_GETMETRICREQUEST.fields_by_name['meta_data'].message_type = _METRICMETADATA
733_GETMETRICREQUEST.fields_by_name['metric_id'].enum_type = _METRICNAMES
aghoshc301dcd2020-09-03 16:55:34 +0100734_GETMETRICRESPONSE.fields_by_name['status'].enum_type = dmi_dot_commons__pb2._STATUS
amit.ghoshae473032021-01-10 11:59:10 +0100735_GETMETRICRESPONSE.fields_by_name['reason'].enum_type = _GETMETRICRESPONSE_REASON
aghoshc301dcd2020-09-03 16:55:34 +0100736_GETMETRICRESPONSE.fields_by_name['metric'].message_type = _METRIC
amit.ghoshae473032021-01-10 11:59:10 +0100737_GETMETRICRESPONSE_REASON.containing_type = _GETMETRICRESPONSE
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200738DESCRIPTOR.message_types_by_name['MetricConfig'] = _METRICCONFIG
739DESCRIPTOR.message_types_by_name['MetricsConfig'] = _METRICSCONFIG
740DESCRIPTOR.message_types_by_name['ListMetricsResponse'] = _LISTMETRICSRESPONSE
741DESCRIPTOR.message_types_by_name['MetricsConfigurationRequest'] = _METRICSCONFIGURATIONREQUEST
742DESCRIPTOR.message_types_by_name['MetricsConfigurationResponse'] = _METRICSCONFIGURATIONRESPONSE
743DESCRIPTOR.message_types_by_name['MetricMetaData'] = _METRICMETADATA
744DESCRIPTOR.message_types_by_name['Metric'] = _METRIC
745DESCRIPTOR.message_types_by_name['GetMetricRequest'] = _GETMETRICREQUEST
aghoshc301dcd2020-09-03 16:55:34 +0100746DESCRIPTOR.message_types_by_name['GetMetricResponse'] = _GETMETRICRESPONSE
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200747DESCRIPTOR.enum_types_by_name['MetricNames'] = _METRICNAMES
748_sym_db.RegisterFileDescriptor(DESCRIPTOR)
749
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200750MetricConfig = _reflection.GeneratedProtocolMessageType('MetricConfig', (_message.Message,), {
751 'DESCRIPTOR' : _METRICCONFIG,
752 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200753 # @@protoc_insertion_point(class_scope:dmi.MetricConfig)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200754 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200755_sym_db.RegisterMessage(MetricConfig)
756
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200757MetricsConfig = _reflection.GeneratedProtocolMessageType('MetricsConfig', (_message.Message,), {
758 'DESCRIPTOR' : _METRICSCONFIG,
759 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200760 # @@protoc_insertion_point(class_scope:dmi.MetricsConfig)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200761 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200762_sym_db.RegisterMessage(MetricsConfig)
763
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200764ListMetricsResponse = _reflection.GeneratedProtocolMessageType('ListMetricsResponse', (_message.Message,), {
765 'DESCRIPTOR' : _LISTMETRICSRESPONSE,
766 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200767 # @@protoc_insertion_point(class_scope:dmi.ListMetricsResponse)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200768 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200769_sym_db.RegisterMessage(ListMetricsResponse)
770
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200771MetricsConfigurationRequest = _reflection.GeneratedProtocolMessageType('MetricsConfigurationRequest', (_message.Message,), {
772 'DESCRIPTOR' : _METRICSCONFIGURATIONREQUEST,
773 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200774 # @@protoc_insertion_point(class_scope:dmi.MetricsConfigurationRequest)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200775 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200776_sym_db.RegisterMessage(MetricsConfigurationRequest)
777
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200778MetricsConfigurationResponse = _reflection.GeneratedProtocolMessageType('MetricsConfigurationResponse', (_message.Message,), {
779 'DESCRIPTOR' : _METRICSCONFIGURATIONRESPONSE,
780 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200781 # @@protoc_insertion_point(class_scope:dmi.MetricsConfigurationResponse)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200782 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200783_sym_db.RegisterMessage(MetricsConfigurationResponse)
784
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200785MetricMetaData = _reflection.GeneratedProtocolMessageType('MetricMetaData', (_message.Message,), {
786 'DESCRIPTOR' : _METRICMETADATA,
787 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200788 # @@protoc_insertion_point(class_scope:dmi.MetricMetaData)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200789 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200790_sym_db.RegisterMessage(MetricMetaData)
791
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200792Metric = _reflection.GeneratedProtocolMessageType('Metric', (_message.Message,), {
793 'DESCRIPTOR' : _METRIC,
794 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200795 # @@protoc_insertion_point(class_scope:dmi.Metric)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200796 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200797_sym_db.RegisterMessage(Metric)
798
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200799GetMetricRequest = _reflection.GeneratedProtocolMessageType('GetMetricRequest', (_message.Message,), {
800 'DESCRIPTOR' : _GETMETRICREQUEST,
801 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200802 # @@protoc_insertion_point(class_scope:dmi.GetMetricRequest)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200803 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200804_sym_db.RegisterMessage(GetMetricRequest)
805
aghoshc301dcd2020-09-03 16:55:34 +0100806GetMetricResponse = _reflection.GeneratedProtocolMessageType('GetMetricResponse', (_message.Message,), {
807 'DESCRIPTOR' : _GETMETRICRESPONSE,
808 '__module__' : 'dmi.hw_metrics_mgmt_service_pb2'
809 # @@protoc_insertion_point(class_scope:dmi.GetMetricResponse)
810 })
811_sym_db.RegisterMessage(GetMetricResponse)
812
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200813
814DESCRIPTOR._options = None
815
816_NATIVEMETRICSMANAGEMENTSERVICE = _descriptor.ServiceDescriptor(
817 name='NativeMetricsManagementService',
818 full_name='dmi.NativeMetricsManagementService',
819 file=DESCRIPTOR,
820 index=0,
821 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200822 create_key=_descriptor._internal_create_key,
amit.ghoshbd2022e2021-02-22 05:58:53 +0100823 serialized_start=2215,
824 serialized_end=2464,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200825 methods=[
826 _descriptor.MethodDescriptor(
827 name='ListMetrics',
828 full_name='dmi.NativeMetricsManagementService.ListMetrics',
829 index=0,
830 containing_service=None,
831 input_type=dmi_dot_hw__pb2._HARDWAREID,
832 output_type=_LISTMETRICSRESPONSE,
833 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200834 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200835 ),
836 _descriptor.MethodDescriptor(
837 name='UpdateMetricsConfiguration',
838 full_name='dmi.NativeMetricsManagementService.UpdateMetricsConfiguration',
839 index=1,
840 containing_service=None,
841 input_type=_METRICSCONFIGURATIONREQUEST,
842 output_type=_METRICSCONFIGURATIONRESPONSE,
843 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200844 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200845 ),
846 _descriptor.MethodDescriptor(
847 name='GetMetric',
848 full_name='dmi.NativeMetricsManagementService.GetMetric',
849 index=2,
850 containing_service=None,
851 input_type=_GETMETRICREQUEST,
aghoshc301dcd2020-09-03 16:55:34 +0100852 output_type=_GETMETRICRESPONSE,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200853 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200854 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200855 ),
856])
857_sym_db.RegisterServiceDescriptor(_NATIVEMETRICSMANAGEMENTSERVICE)
858
859DESCRIPTOR.services_by_name['NativeMetricsManagementService'] = _NATIVEMETRICSMANAGEMENTSERVICE
860
861# @@protoc_insertion_point(module_scope)